FP3.6 - Further matrix algebra
- Syllabus
- 2019
- Topic
- —
- Level
- A2
A matrix represents a linear transformation by multiplying a column vector. If T:Rn→Rm has matrix A, thenT(x)=Ax.Linearity means T(u+v)=T(u)+T(v) and T(ku)=kT(u), so the origin maps to the origin.
The columns of A are the images of the standard basis vectors. In three dimensions,A=∣T(e1)∣∣T(e2)∣∣T(e3)∣.This gives the matrix immediately when the action on i,j,k is known, and explains why matrix multiplication forms the correct linear combination of those images.
| Transformation | Matrix size | Multiplication |
|---|---|---|
| R2→R2 | 2×2 | two-component output from a two-component input |
| R3→R3 | 3×3 | three-component output from a three-component input |
| Rn→Rm | m×n | m rows determine output components; n columns match inputs |
LetA=1020−11210.Its columns show T(e1)=(1,0,2)T, T(e2)=(0,−1,1)T and T(e3)=(2,1,0)T. HenceT(1,2,−1)T=A12−1=−1−34.The same result is the linear combination T(e1)+2T(e2)−T(e3).
If images of enough independent vectors are supplied instead of basis vectors, put the input vectors as columns of a matrix X and their images as columns of Y. The unknown transformation matrix satisfies AX=Y; when X is invertible, A=YX−1. Verify every supplied mapping after solving.
A matrix represents a linear transformation only when the coordinate conventions and vector order are fixed. Do not place basis images in rows, and do not include a translation term in a purely linear matrix transformation. A map that sends the zero vector to a non-zero vector is affine, not linear.
Matrix products encode successive transformations, but the rightmost matrix acts first. If B is followed by A, thenxBBxAA(Bx)=(AB)x.This is why the product AB represents B followed by A.
A product AB exists when the number of columns of A equals the number of rows of B. The result has the rows of A and columns of B. Each entry is a row-column dot product; dimension compatibility must be checked before interpreting a composition.
LetA=(100−1),B=(1021).ThenAB=(102−1)represents the shear B followed by reflection A. For (1,1)T, B gives (3,1)T and A gives (3,−1)T, matching AB(1,1)T.
Reversing the order givesBA=(10−2−1),which sends (1,1)T to (−1,−1)T. Thus AB=BA in general. A quick test vector can reveal an order error even before the full product is interpreted.
The identity matrix I leaves every vector unchanged, so AI=IA=A. If two successive transformations undo one another, their product is I in the appropriate order; this becomes the basis of inverse transformations later in the Topic.
Read a written sequence from the action on the vector, not from left to right in the matrix product. Matrix multiplication is associative, so parentheses may move in ABC, but it is not generally commutative, so factors may not be reordered.
The transpose AT is formed by exchanging rows and columns: its (i,j) entry is the (j,i) entry of A. Therefore an m×n matrix becomes an n×m matrix, and (AT)T=A.
| Operation | Transpose rule |
|---|---|
| Sum | (A+B)T=AT+BT |
| Scalar multiple | (kA)T=kAT |
| Product | (AB)T=BTAT |
| Inverse, when it exists | (A−1)T=(AT)−1 |
| Symmetric matrix | AT=A |
The product order reverses because(AB)ijT=(AB)ji=k∑AjkBki=k∑(BT)ik(AT)kj.So the row-column pairing becomes BTAT, not ATBT.
ForA=(102−1),B=(3214),we have AB=(7−29−4) and(AB)T=(79−2−4)=BTAT.Direct multiplication confirms both the entries and reversed order.
Transposes convert column information into row information and are central to dot products and orthogonality. If a square matrix P has orthonormal columns, then PTP=I, so P−1=PT; this is used when symmetric matrices are diagonalised.
Transposition does not reverse entries within each row; it swaps the row and column indices. Do not distribute it over a product without reversing factor order. A symmetric matrix must be square, and matching diagonal entries alone is not enough: every off-diagonal pair must also agree.
The determinant of a square matrix is a scalar that measures signed scale under its transformation. For a 3×3 matrix, expand along any row or column using signed 2×2 minors. A matrix is singular exactly when its determinant is zero; otherwise it is non-singular and has an inverse.
detadgbehcfi=a(ei−fh)−b(di−fg)+c(dh−eg)
| Determinant condition | Algebraic consequence | Transformation consequence |
|---|---|---|
| detA=0 | Unique inverse A−1 exists | No dimension is collapsed; volume scale is ∣detA∣. |
| detA=0 | A is singular; no inverse | Some non-zero direction is collapsed; transformed volume is zero. |
| detA<0 | Still invertible if non-zero | Orientation is reversed; physical volume uses ∣detA∣. |
ForM=2−10134021,expansion along the first row givesdetM=2(3⋅1−2⋅4)−1((−1)⋅1−2⋅0)=−10+1=−9.Thus M is non-singular and multiplies volumes by 9, while reversing orientation.
For a matrix containing a parameter, calculate and factor the determinant, then solve detA=0 to find exactly the singular values. Any later inverse formula must explicitly exclude those values. Substitute a candidate back into the determinant as a check.
Swapping two rows changes the determinant's sign; multiplying one row by k multiplies the determinant by k; adding a multiple of one row to another leaves it unchanged. These rules can simplify an evaluation, but every operation's effect must be tracked.
The cofactor signs alternate +,−,+ across the first row. Do not confuse a negative determinant with singularity: only zero is singular. When determinant magnitude is used as an area or volume scale, take the absolute value.
A square matrix A has an inverse only when detA=0. The inverse satisfiesAA−1=A−1A=Iand can be calculated from cofactors:A−1=detA1adjA.The adjugate is the transpose of the cofactor matrix.
| Step | Action |
|---|---|
| 1. Determinant | Calculate detA and state any excluded parameter values. |
| 2. Minors | Delete row i and column j to form each 2×2 minor. |
| 3. Cofactors | Apply signs +−+−+−+−+. |
| 4. Adjugate | Transpose the cofactor matrix. |
| 5. Divide/check | Divide by detA and verify a product with A gives I. |
ForA=100110011,detA=1,the inverse isA−1=100−1101−11.Multiplying AA−1 gives I, including the cancellation 1−1=0 and 1−1=0 in the upper off-diagonal entries.
For invertible A and B,(AB)−1=B−1A−1.Indeed, (AB)(B−1A−1)=AIA−1=I. The order reverses because the most recently applied transformation must be undone first.
The equation Ax=b has the unique solution x=A−1b when A is non-singular. In exact work, retain fractions and parameter restrictions until the final result, then verify by substitution.
Do not call the cofactor matrix the adjugate before transposing it, and do not divide by a determinant that may be zero. Taking reciprocals of individual entries does not form a matrix inverse. Both left and right identity products are valid checks for a square inverse.
If a transformation sends x to y=Ax and A is non-singular, its inverse sends the image back to the original vector:x=A−1y.No inverse transformation exists when A is singular because distinct inputs have been collapsed to the same output.
If B acts first and A second, the combined matrix is AB. To reverse the combination, undo A first and then B:y=ABx⟹x=B−1A−1y.Thus (AB)−1=B−1A−1 is both an algebraic and procedural rule.
A linear transformation maps every point and direction vector of a line. To find the preimage of an image liney=p+λd,apply A−1 to both fixed vectors:x=A−1p+λA−1d.The same parameter remains because matrix multiplication is linear.
LetA=diag(2,−1,21)and suppose the image line isy=(4,1,3)T+λ(2,−2,1)T.Since A−1=diag(1/2,−1,2), the original line isx=(2,−1,6)T+λ(1,2,2)T.Applying A to its point and direction recovers the image line.
Check an inverse transformation in both directions on a general vector or on the defining point/direction data. For a combination, multiply the proposed inverse by the combined matrix in the correct order and require the identity matrix.
An inverse matrix reverses a transformation; it is not the transpose unless the matrix is orthogonal. Do not reverse a product without reversing factor order, and do not attempt an inverse transformation before checking that the determinant is non-zero.
A non-zero vector v is an eigenvector of A when the transformation changes only its scale (and possibly direction):Av=λv.The scalar λ is the corresponding eigenvalue. The zero vector is never an eigenvector.
| Stage | Calculation |
|---|---|
| Find eigenvalues | Solve det(A−λI)=0. |
| Find an eigenvector | For each λ, solve (A−λI)v=0 for a non-zero vector. |
| Check | Verify Av=λv. |
| Normalise if required | Replace v by v/∣v∣; its negative is equally valid. |
ForA=(4213),the characteristic equation is(4−λ)(3−λ)−2=λ2−7λ+10=0,so λ=5 or 2.
For λ=5, (A−5I)v=0 gives y=x, so one eigenvector is (1,1)T and a normalised choice is (1,1)T/2. For λ=2, the equation gives y=−2x, so a normalised choice is (1,−2)T/5. Direct multiplication verifies both pairs.
If a vector is supplied, multiply it by A and compare corresponding non-zero components. It is an eigenvector only if one common scalar λ works in every component, including components that are zero. If an eigenvalue is supplied, substitute it into the nullspace equations rather than recomputing every root.
The same method applies to 3×3 matrices: the characteristic determinant is cubic and each eigenvector comes from a homogeneous three-variable system. Row-reduce without forcing the free parameter to zero, then choose a convenient non-zero scale before normalising.
Solving only det(A−λI)=0 finds eigenvalues, not eigenvectors. Eigenvectors are non-zero and are not unique: every non-zero scalar multiple represents the same eigendirection. Normalising changes length to 1 but does not determine a unique sign.
A real symmetric matrix A=AT has an orthonormal basis of eigenvectors. Put those unit eigenvectors into the columns of an orthogonal matrix P. ThenPTP=I,P−1=PT,D=PTAPis diagonal.
| Step | Required consistency |
|---|---|
| 1. Eigenvalues | Find all eigenvalues of A. |
| 2. Eigenvectors | Find a basis for each eigenspace. |
| 3. Orthonormalise | Normalise mutually perpendicular eigenvectors; within a repeated eigenspace choose an orthonormal basis. |
| 4. Assemble P | Place the unit eigenvectors as columns. |
| 5. Assemble D | Put the matching eigenvalues on the diagonal in the same column order. |
Writing the column equations together gives AP=PD. Multiplying on the left by PT=P−1 yields PTAP=D. Orthogonality is what makes the change of coordinates preserve lengths and turns the inverse into a transpose.
ForA=(2112),the eigenvalue 3 has unit eigenvector (1,1)T/2, and eigenvalue 1 has unit eigenvector (1,−1)T/2. ThereforeP=21(111−1),D=(3001),and direct multiplication gives PTAP=D.
Permuting the columns of P is allowed only when the diagonal entries of D are permuted in exactly the same way. Changing the sign of any eigenvector column leaves orthogonality and the resulting diagonal entry unchanged.
Diagonalisation by an orthogonal P is guaranteed here because A is real and symmetric; do not assume every matrix has an orthogonal eigenbasis. Columns of P must be unit and mutually perpendicular, and their order must match the eigenvalues in D.