Matrix algebra and linear transformations
Studying this course? Keep your progress in one place.
Key facts
- Add or subtract matrices entry by entry; a scalar multiplies every entry.
- For to exist, columns of must equal rows of . Multiplication is not commutative.
- The columns of a matrix are the images of and .
- means first, then .
- A matrix transforms 3-D points, with columns the images of the three unit vectors.
Matrix arithmetic
Add entry by entry; multiply rows by columns, which only works when the sizes match.
Matrices of the same size are added or subtracted entry by entry. A scalar multiplies every entry.
The product exists when the matrices are conformable: columns of equal rows of . Each entry is a row of times a column of .
Multiplication is associative but not commutative: in general.
- 1
Check conformability
columns of A must equal rows of B
- 2
Row times column
multiply along row i of A and down column j of B
- 3
Add the products
the sum is the entry in row i, column j of AB
- times gives
- Entry in row , column row of A times column of B
Worked example
Find and for and .
- 1
Top row of : and .
- 2
Bottom row: and .
- 3
Now . Top row: and .
- 4
Bottom row: and .
is and is . What is the size of ?
Zero and identity matrices
The zero matrix wipes everything out; the identity matrix leaves everything unchanged.
The zero matrix has every entry zero, so and .
The identity matrix has s on the leading diagonal and s elsewhere, so . It represents the transformation that does nothing.
Powers work as normal: and .
Zero matrix
- Adding it changes nothing
- Multiplying gives
Identity matrix
- Maps every point to itself
is the rotation through anticlockwise about the origin. What is ?
Linear transformations in 2-D
The columns of the matrix are the images of and .
A matrix maps to .
Its columns are the images of the unit vectors: and . To build a matrix, find where and go and write them as columns.
For the unit square becomes a parallelogram. The shape that results is the image.
Reflections
- -axis:
- -axis:
- :
- :
Rotation and enlargement
- Anticlockwise :
- Clockwise: use
- Enlargement factor :
Stretches
- Parallel to -axis, factor :
- Parallel to -axis, factor :
Which matrix represents an anticlockwise rotation of about the origin?
Successive transformations
means do first, then : the first transformation sits next to the point.
If is applied first and then , the point becomes .
So read the product from right to left, in the order the transformations happen. This is called a pair of successive transformations.
- first, then
Worked example
Find the single matrix for a reflection in followed by a rotation through anticlockwise, and describe it.
- 1
Reflection: . Rotation: .
- 2
The reflection is first, so it goes on the right: .
- 3
Multiplying gives .
- 4
Check with a point: .
is a stretch and is a rotation. A point is stretched first, then rotated. Which product gives this?
Transformations in 3-D
A matrix has columns that are the images of , and .
The 3-D transformations in this specification are a reflection in a plane (a coordinate plane) and a rotation about an axis (a coordinate axis).
Reflection in changes the sign of only; for and the sign change moves to the second or third coordinate.
The axis you rotate about is fixed, so its row and column are those of the identity. Successive 3-D transformations multiply in the same right-to-left order as in 2-D.
- 1
Image of (1, 0, 0)
goes to (0, 1, 0): first column
- 2
Image of (0, 1, 0)
goes to (−1, 0, 0): second column
- 3
Image of (0, 0, 1)
stays (0, 0, 1) on the axis: third column
About the -axis
About the -axis
About the -axis
A reflection in the plane is applied to . Where does it go?
Try an exam question
Rotation through anticlockwise about the origin is followed by reflection in the line . Find the single matrix that represents the combined transformation and describe it.
[4 marks]
- [1]Rotation matrix stated.
- [1]Reflection matrix stated.
- [1]Product in the correct order (reflection on the left):
- [1], a reflection in the -axis.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme