Transformation of Matrices
Senior 6 · Mathematics
Transformation of Matrices
Lesson 5 of 5
40 min
Raising a diagonal matrix to a power needs no work at all: . Raising to the tenth power by hand needs nine matrix products. The eigenvectors of lesson 4 remove the difference. Measured along its eigenvector directions, is just "stretch by 5 along , stretch by 2 along ": a diagonal matrix in disguise. This lesson takes the disguise off.
Definition
A square matrix is diagonalisable if there is an invertible matrix and a diagonal matrix such that
Finding such and is called diagonalising . Matrices and with for some invertible are called similar; similar matrices have the same characteristic polynomial, hence the same eigenvalues, trace and determinant.
Important
Theorem. A square matrix of order is diagonalisable if and only if it has linearly independent eigenvectors . Then
with the eigenvalue of , in the same order.
Reason. Column of is , which is column of . So , and, since independent columns make invertible, .
Sufficient condition. Eigenvectors for different eigenvalues are linearly independent, so a matrix of order with distinct real eigenvalues is always diagonalisable. With a repeated eigenvalue, it is diagonalisable exactly when each eigenspace has dimension equal to the number of times its eigenvalue is repeated.
Important
Powers. If , then for every positive integer
Reason. : each inner cancels. Induction gives every .
Worked example 1: diagonalise, then a formula for
Diagonalise and find .
Solution. From lesson 4: with and with . Two distinct eigenvalues, so is diagonalisable:
Then
Check with : , and directly .
Worked example 2: a repeated eigenvalue that still works
Diagonalise and find .
Solution. From lesson 4: and . The double eigenvalue 1 has a 2-dimensional eigenspace, so there are three independent eigenvectors:
Multiplying out gives
Check with : diagonal , off-diagonal , which matches computed directly.
Worked example 3: a matrix that cannot be diagonalised
Show that the shear is not diagonalisable, and find another way.
Solution. is triangular, so its only eigenvalue is 1, repeated twice. But has rank 1, so has dimension 1. There are not two independent eigenvectors, so is not diagonalisable. (If it were, would be and , which is false.)
Compute: , . Suppose ; then . By induction, .
Some quantities change each year by a fixed matrix rule. Suppose (an illustrative model, not census data) that in a district, each year 10% of the rural residents move to town and 20% of the town residents move back, and nobody enters or leaves the district. If and are the rural and town shares after years, then
Worked example 4: the long run
In the model above, all residents start rural: . Find and its limit as .
Solution. and , so .
: , so : eigenvector . : : eigenvector .
Starting from : and . Since , , so the shares tend to rural and town, whatever the start. The limit is the eigenvector for , , scaled so that its entries add up to 1. After 3 years, .
Warning
Keep the orders matching. Column of must be the eigenvector of the -th diagonal entry of . Swapping two columns of without swapping the eigenvalues gives a wrong .
, not . Only the middle matrix is raised to the power.
A repeated eigenvalue is not the end. in worked example 2 has one and is diagonalisable; in worked example 3 has one and is not. Check the dimension of the eigenspace.
Tip
Test any formula for at (it must give ) and at (it must give ). In worked example 1, gives .
MIT OpenCourseWare: Lecture 22 of 18.06 Linear Algebra, Diagonalization and Powers of A, with Gilbert Strang (about 52 min). Watch how he writes AS = SΛ with the eigenvectors as the columns of S, the same as AP = PD here, and uses it for the powers of A and for Fibonacci numbers.
Practice
Questions 1 to 3 are routine; 4 to 6 need more care; 7 asks for a reason.
Further reading for this unit
Sources and credits