Examples from Geometric examples
All examples from Geometric examples.
Reading a matrix map in coordinates
For
the associated map is
The matrix columns give the images of the standard basis vectors, so the coordinate formula is determined by those three images.
[routine]
Constructing the matrix from a formula
Suppose
Evaluating at the standard basis vectors gives
Therefore
whose columns reproduce the given coordinate formula.
[routine]
Scaling in
For fixed positive factors , the map
has matrix
The two coordinate directions are scaled independently. Each axis is sent to itself: is sent to and to . Any other line through the origin is sent to a line through the origin, but its slope can change unless .
[routine]
[routine]
Rotation about the origin
Write . A counterclockwise rotation through sends the angle to . The angle-addition identities give
Explicitly,
and similarly the second coordinate is . So the signs and the placement of in the matrix are forced by these identities, not a convention to memorise.
The first column is the image of , namely and the second is the image of , namely .
Under the identification , write . Multiplication by gives
so the real and imaginary parts are the two coordinates produced by the rotation matrix. Polar form and the matrix describe the same rotation.
[routine]
Reflection in a line through the origin
More generally, reflection in a line through the origin making angle with the positive -axis has matrix
Setting gives reflection in the -axis, while gives reflection in the -axis.
To derive the formula, observe that a vector at angle reflects to angle . Applying the cosine and sine subtraction identities to this new angle produces the two rows of the matrix.
[routine]
A dot-product map
Fix and define
Bilinearity of the dot product gives
Thus taking the dot product with a fixed vector is a linear map.
[routine]
- [1]:Linear map
Projection onto a line
For , the projection of onto the line spanned by is
To see this, write the projected vector as . The residual must be perpendicular to and solving gives . The condition makes the denominator positive.
The projection map is therefore
Since is a fixed non-zero scalar, bilinearity gives
Hence projection onto a fixed line through the origin is a linear map.
For orthogonal projection onto a subspace , every vector in is fixed and every vector in is sent to zero. When those subspaces are non-zero, they are eigenspaces for eigenvalues and respectively; this links projection geometry to eigenvalues.
[routine]
- [1]:Linear map