Linear Simultaneous Equations
A system of linear equations can be written as a matrix multiplication equation. For example:
\begin{split} 3x + 4y - z = 5 \\ 2x + y - 2z = -12 \\ x + 3z = 4 \\ \pmatrix{3 & 4 & -1 \\ 2 & 1 & -2 \\ 1 & 0 & 3}\pmatrix{x\\y\\z} = \pmatrix{5\\-12\\4} \end{split}The matrix equation can then be solved.
In general, a system of linear equations can be represented by the matrix equation:
Where M is a matrix of coefficients, X is a column vector of variables, and B is the right-hand side of each equation. This matrix equation can then be solved for the variables:
If M is singular, then there is no unique solution to the system.
Linear Transformations
The first column of a transformation matrix is the image of , and the second column is the image of .
2D Transformations
Rotations
For a rotation with angle anticlockwise, the rotation matrix is given by: \pmatrix{\cos\theta & -\sin\theta \\ \sin\theta & \cos\theta}
Reflections
A reflection in the axis is given by: \pmatrix{1 & 0 \\ 0 & -1} A reflection in the axis is given by: \pmatrix{-1 & 0 \\ 0 & 1} A reflection in the line is given by: \pmatrix{0 & 1 \\ 1 & 0} A reflection in the line is given by: \pmatrix{0 & -1 \\ -1 & 0}
Enlargement
For an enlargement with scale factor centred on the origin, the transformation matrix is given by: \pmatrix{k & 0 \\ 0 & k}
Stretches
For a stretch with scale factor and -axis invariant: \pmatrix{1 & 0 \\ 0 & k} For a stretch with scale factor and -axis invariant: \pmatrix{k & 0 \\ 0 & 1}
Shears
Shears preserve orientation and area. For a shear with and -axis invariant: \pmatrix{1 & k \\ 0 & 1} For a shear with and -axis invariant: \pmatrix{1 & 0 \\ k & 1}
3D Transformations
Reflections
There are three planes of reflection (needed for this course): the plane, the plane, and the plane. Consider a reflection in the plane. This is defined by all points where , so a reflection in the plane has the matrix: \pmatrix{1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1} Similar reasoning can be used to find other reflection matrices in 3D.
Rotations
There are three axes of rotation: about the three coordinate axis. The axis of rotation is not affected, so one of the matrix columns is a unit vector. The other matrix elements are populated by the standard 2D rotation matrix . For example, the matrix for a rotation by anticlockwise about the axis is:
\pmatrix{1 & 0 & 0 \\ 0 & \cos\theta & -\sin\theta \\ 0 & \sin\theta & \cos\theta}Note that for rotations about the axis, the signs on the and elements are swapped.
Determinant
For a matrix transformation in two dimensions:
- The determinant gives the area scale factor.
- If the determinant is negative then the transformation reverses orientation.
For a matrix transformation in three dimensions:
- The determinant gives the volume scale factor.
- If the determinant is negative then the transformation changes orientation.
For common 2D transformations:
- The determinant of a rotation is 1.
- The determinant of a reflection is -1.
- The determinant of an enlargement with scale factor is .
- The determinant of a stretch with scale factor is .
- The determinant of a shear is 1.
Combining and Inverses
A matrix M representing transformation A followed by transformation B is given by: The matrix that is applied first is on the right. This stems from function notation (where the rightmost function in a composite function is applied first).
The inverse transformation is represented by the inverse matrix. For a combined transformation :
Invariant Points and Lines
An invariant point of a linear transformation maps to itself. The origin is an invariant point for all linear transformations. An invariant point of matrix M is defined as:
A line of invariant points is formed when there are infinitely many solutions of the form . Lines of invariant points can be found by applying the transformation to a general point , and solving simultaneously.
An invariant line is a line where the image of any point on the line is also on the line. Lines of invariant points are a subset of invariant lines. Invariant lines can be found by considering the image of a general line (or potentially ).