Linear Algebra

Linear functions and matrices in the 2D plane

- projection, reflection and dilation from geometric point of view
- matrix representation
DEAR STUDENT
This form can send your answers to the teacher.
When you are ready with the problems, just push the Send Button in the end.

Do not quit this page before answering the questions and sending them.

If you are forced to stop, please send before quitting what you did achieve, and return to send the answers to the rest of the problems.



DEAR VISITOR
Also visitors to this worksheet are heartly wellcomed to send their answers and encouraged to evaluate the sheet or send their comments.

Name:
Student number:
Email address:


Purpose of this Worksheet
The purpose of this Worksheet is to reinforce the understanding of
- basic linear functions in the euclidean plane
- matrix representation of linear a function

Contents

Short instructions
I Basic Linear Functions
II Linear Functions: Matrix Representations
III Student Feedback

Short Instructions

This Example applet construction visualizes the standard vector addition +, multiplication by scalars (as the scaling function) and linear combinations of plane vectors.
This page requires a Java capable browser. In these JavaSketchpad applet constructions (which we call sketches here) you usually can drag (move in the usual way using the mouse) the coloured endpoints. These represent usually either point in the plane or real values on a line.
The red point labeled u in the sketch beside corresponds to a plane vector starting from the origin of the two-dimensional Euclidean plane R2, while the red point c tied to a line, stands for a real scalar (number) on the real line R.
The vector cu is the image of the pair (c, u) with respect to the scaling function; we call it the result of the scaling in question.

A sketch is activated by a mouse click. To restart an active sketch from its original situation press the key 'R'.


I Basic Linear Functions

The following Javasketchpad sketches show the elementary linear functions:
projections, reflections, dilations, and rotations
in the Euclidean Plane R2.

The arithmetic operations in the plane are, of course, the ordinary addition of vectors coordinate-wise and the multiplication by scalars.
With the computer mouse you can drag the variable u and control the functions in suitable ways. Feel free to explore!

I A) Projection on horizontal axis.

This page requires a Java capable browser.
Problem I A. Let us investigate the projection to the horizontal axis as a function R2R2.

1. The image of the point (2 4)T is (4 0)T (2 0)T 2 (0 2)T don't know

2. The pre-image of the point (2 4)T is
(4 2)T (2 0)T 2 empty don't know

3. The pre-image of the point (2 0)T is
(4 2)T (2 4)T (2 0)T {(2 y)T | y in R} don't know

You may use animations in the following:
4. What is the image of the segment (-6 2)T → (-4 -2)T ?
(-6 -4)T segment (-6 0)T → (-4 0)T {(-6 0)T,(-4 0)T} don't know
5. What is the image of a circle? point circle segment don't know


I B) Reflection over the horizontal axis

This page requires a Java capable browser.
Problem I B). Let us investigate the reflection over the horizontal axis as a function R2R2.

2. The image of the point (2 4)T is
(4 0)T (2 -4)T 2 (-2 4)T don't know

2. The pre-image of the point (2 4)T is
(4 2)T (-2 -4)T 2 (2 -4)T don't know

3. What is the image of a circle? point circle segment don't know


I C) Dilations in the Plane

This page requires a Java capable browser.
Problem I C). Let c and d be two real scalars. Let us investigate the separate dilations as functions R2R2:
To begin with, use the left hand side options in the Sketch.

1. What is the image of a segment under the function C, when c is not zero?
segment circle triangle line don't know
2. What is the image of a circle under the function C, when c is not zero?
segment ellipse parabola line don't know

Let us now investigate a composite function (composition), where coordinates are scaled by constants that can be varied using the "Change"-options in the bottom.

Use now the options for compositions in the bottom (Compose C and D) and for example a circular animation.
4. For what kind of values c and d the image of an origin-centered circle is a circle, under the composed mapping DoC?
It must be:


DEFINITION OF LINEAR FUNCTION
Let (V, +, ) and (W, +, ) be linear spaces (vector spaces) over the same field (here the real scalar field) and L: VW a function.
The function L is linear, if the following conditions hold:
(i) L(u + v) = L(u) + L(v) for all u, v in the set V
(ii) L(c u) = c L(u) for all u in the set V, for all scalars c.


NOW STOP FOR TODAY, GIVE YOUR FEEDBACK AT THE END OF THE WORKSHEET, thank you!


II Linear Functions: Matrix Representation

In this part we consider transformation of vectors and different figures under linear functions in the plane V : = R2. Especially we investigate the effect of the matrix to the transformations.

Instructions

II Sketch 1: only the draggable domain vector u and its image L(u) are shown.

II Sketch 2: you may, in addition, use some pre-defined animations. You may find it convenient to look at each particular item separately - use the appropriate Hide buttons.

II Sketch 3: you also find the matrix A = AL of the function together with its determinant det(A). The matrix elements can be controlled using the sliding points a, b, c, d on the real axis in the lower part of the sketch.

II Sketch 4: finally you can use the matrix A = AL, its determinant det(A), trace tr(A) and the two eigenvalues eig(A). The matrix elements can again be controlled using the sliding points a, b, c, d on the real axis.


THE MATRIX REPRESENTATION OF LINEAR FUNCTION IN THE PLANE
When  2x2 matrix A of L]and  plane vector u,
the function   linear function L from plane to itselfis defined by
L(u)  =  image of u under L:=   matrix productA u.
Perhaps you still remember how the matrix of a linear function is obtained by calculations?
Namely: the images of the standard basis are the columns of the matrix!

See a separate document about the matrix representation

Recall that the determinant of the 2x2-matrix A is
det(A) = ad - bc,
and the trace is the sum of the diagonal elements
tr(A) = a + d.
A scalar c is an eigenvalue of a linear function L (and its matrix) if
L(u) = cu.
for some nonzero vector u.

A non-zero vector u satistying the condition is called an eigenvector (for the eigenvalue c).


II Problems 1. In this Sketch only the draggable domain vector u and its image L(u) are shown. You may show/hide segments and the tracing facility Trace.
You may use the segment PQ as a tool.
The Sketch is activated by a click of the mouse.
An active Sketch is reset by keyboard 'R'.
Tracing is cleaned by the red cross in the lower right corner.
This page requires a Java capable browser. Using for example tracing:
a) How does the function L map straight lines, i.e. what is the image of a line like?

b) What is the image of a square like?

c) When you turn u around the origin counterclockwise, how does the image L(u) behave?
Using tracing or the segment tool PQ:
d) Which points are mapped to the vertical axis?

e) Which vectors u are parallel to L(u)?

f) Can you find fixed points, i.e. points u for which u = L(u) ?
What points?

Your comments to II Problems 1:


II Problems 2. Also in this Sketch the draggable domain vector u and its image L(u) are shown and, if needed, the coordinates. In addition, you can use some pre-defined animations. You can move the circle and segment of animation as you please.
It may be most advantageous to look at each item separately - use the Hide buttons where appropriate.
The Sketch is activated by a click of the mouse.
An active Sketch is reset by keyboard 'R'.
Tracing is cleaned by the red cross in the lower right corner. Again you may show/hide segments and use the segment PQ as a tool.
This page requires a Java capable browser. Using tracing or animations (then see Locus):
a) What geometrical figure is the image of a circle under the mapping L ?

b) What is the image of a segment under the mapping L ?

c) What are the images of the standard base vectors (1 0)T (0 1)T under the mapping L (see coordinates) ?
L(1 0)T =
L(0 1)T =
d) What is the matrix of the function L ?

e) What vectors u are parallel with their image L(u) ?

f) What are the fixed points, (i.e. points u for which u = L(u)) ?

Your comments to II Problems 2:



II Problems 3. In this Sketch you see the variable vector u and its image L(u), and in addition to the animations and coordinates the matrix A = AL and its determinant det(A).
Here you may change the matrix by dragging its elements, the points a, b, c, d on the real line. This means that you are allowed to change the linear function L.
The Sketch is activated by a click of the mouse.
An active Sketch is reset by keyboard 'R'.
Tracing is cleaned by the red cross in the lower right corner.
You can get all kinds of linear functions by controlling the elements!
This page requires a Java capable browser. a) What geometrical objects can the images of circles be under linear functions?

b) What geometrical objects can the images of segments be under linear functions?

c) What is the value of the determinant, when the image of a circle is a segment?
det(A) =
d) Move the animation circle to contain the origin and make the vector u turn around circle (use animation!).
What is the difference between the determinant value in cases, where the the image L(u) turns around the origin to the same vs. opposite direction when compared to the movement of u ?

e) Reset the Sketch. Without changing the matrix A, find by using the Sketch the eigenvalues and the eigenvectors of the function (and the matrix, of course):
eigval1(L) = , eigvect1(L) =
eigval2(L) = , eigvect2(L) =
f) Is the following conjecture correct:
If the determinant is positive, there are no real eigenvalues.
Prove the statement if it is correct, or find a counterexample.

Your comments to II Problems 3:


II Problems 4. In this Sketch you see, in addition to the vectors, animations, matrix and determinant, the trace tr(A) and eigenvalues eig(A).
Here you may change the matrix by dragging its elements a, b, c, d on the real line. This means that you are allowed to change the linear function L.
The Sketch is activated by a click of the mouse.
An active Sketch is reset by keyboard 'R'.
Tracing is cleaned by the red cross in the lower right corner.
You can get all kinds of linear functions by controlling the elements.
This page requires a Java capable browser. a) What is the effect of the individual movement of number b ?

b) Reset, show the representation of L and start the circle animation. Adjust the matrix elements so that the circle is mapped to a segment. What are the numbers:
det(A) =
eigval1(A) =
eigval2(A) =
c) What is the kernel of the function L ?
ker(L) =
d) Find a matrix A which maps a circle to a circle of the same size.

e) What is the determinant of your matrix ?
det(A) =
f) Find a simple relation involving the area of the interior of a circle, the area inside the image curve (locus) of that circle, and the determinant.

Your comments to II Problems 4:


III Student Feedback

Here we ask you to tell what do you think about this kind of Problems and working on this kind of worksheet.


REMEMBER TO SEND YOUR ANSWERS BY CLICKING THE SEND BUTTON BELOW!




Anyone interested in this kind of worksheets may contact Martti.Pesonen(cat tail)uef.fi
Updated 6.3.2016