All revision notes topics

Diagonalisation of symmetric matricesEdexcel International A Level Further Maths: Revision notes

Section 1

Symmetric matrices

A square matrix is symmetric if AT=A\mathbf{A}^T=\mathbf{A}, so the entry in row ii, column jj equals the entry in row jj, column ii. Symmetric matrices have two properties that make them special:

  • all their eigenvalues are real;
  • eigenvectors corresponding to different eigenvalues are perpendicular, i.e. their scalar product is 00. Example: S=(3113)\mathbf{S}=\begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix} has λ=4\lambda=4 with (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix} and λ=2\lambda=2 with (1−1)\begin{pmatrix} 1 \\ -1 \end{pmatrix}, and (1)(1)+(1)(−1)=0(1)(1)+(1)(-1)=0.
Key termssymmetric matrixperpendicular
Common mistake

Assuming every pair of eigenvectors is perpendicular. This is only guaranteed for symmetric matrices, and only for different eigenvalues.

Section 2

Orthogonal matrices

A square matrix P\mathbf{P} is orthogonal if PTP=I,soP−1=PT.\mathbf{P}^T\mathbf{P}=\mathbf{I},\quad\text{so}\quad\mathbf{P}^{-1}=\mathbf{P}^T. Equivalently, the columns of P\mathbf{P} are orthonormal: each column has magnitude 11 and every pair of columns has scalar product 00 (the same is true of the rows). Then det⁡P=±1\det\mathbf{P}=\pm1. For example 12(11−11)\frac{1}{\sqrt2}\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix} is orthogonal: both columns have magnitude 122=1\frac{1}{\sqrt2}\sqrt2=1 and their scalar product is 12(1−1)=0\frac12(1-1)=0.

Key termsorthogonal matrixorthonormal
Common mistake

Writing a matrix whose columns are perpendicular but not of length 1. Perpendicular columns alone do not make a matrix orthogonal.

Section 3

Diagonalising a symmetric matrix

For a symmetric matrix A\mathbf{A}, the method is:

  1. Find the eigenvalues from det⁡(A−λI)=0\det(\mathbf{A}-\lambda\mathbf{I})=0.
  2. Find an eigenvector for each eigenvalue by solving (A−λI)x=0(\mathbf{A}-\lambda\mathbf{I})\mathbf{x}=\mathbf{0}.
  3. Normalise each eigenvector (divide by its magnitude).
  4. Put the normalised eigenvectors in the columns of P\mathbf{P}, and the matching eigenvalues, in the same order, on the diagonal of D\mathbf{D}. Then P\mathbf{P} is orthogonal and PTAP=D.\mathbf{P}^T\mathbf{A}\mathbf{P}=\mathbf{D}. Equivalently A=PDPT\mathbf{A}=\mathbf{P}\mathbf{D}\mathbf{P}^T, because P−1=PT\mathbf{P}^{-1}=\mathbf{P}^T.
Key termsdiagonal matrixdiagonalisation
Exam tip

Choose the order of the eigenvalues first, then build P\mathbf{P} and D\mathbf{D} in that same order.

Section 4

Worked 2×2 example

Diagonalise S=(122−2)\mathbf{S}=\begin{pmatrix} 1 & 2 \\ 2 & -2 \end{pmatrix}. det⁡(S−λI)=(1−λ)(−2−λ)−4=λ2+λ−6\det(\mathbf{S}-\lambda\mathbf{I})=(1-\lambda)(-2-\lambda)-4=\lambda^2+\lambda-6, so λ=2\lambda=2 or −3-3. λ=2\lambda=2: −x+2y=0-x+2y=0 gives (21)\begin{pmatrix} 2 \\ 1 \end{pmatrix}. λ=−3\lambda=-3: 4x+2y=04x+2y=0 gives (1−2)\begin{pmatrix} 1 \\ -2 \end{pmatrix}. Each has magnitude 5\sqrt5. P=15(211−2),D=(200−3).\mathbf{P}=\frac{1}{\sqrt5}\begin{pmatrix} 2 & 1 \\ 1 & -2 \end{pmatrix},\qquad\mathbf{D}=\begin{pmatrix} 2 & 0 \\ 0 & -3 \end{pmatrix}. Check: the eigenvectors are perpendicular since 2×1+1×(−2)=02\times1+1\times(-2)=0.

Exam tip

If your two eigenvectors do not have a scalar product of zero, you have made an error: stop and recheck.

Section 5

Worked 3×3 example and checks

For A=(20−102−1−1−13)\mathbf{A}=\begin{pmatrix} 2 & 0 & -1 \\ 0 & 2 & -1 \\ -1 & -1 & 3 \end{pmatrix} the eigenvalues are 11, 22, 44 with eigenvectors (111)\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}, (1−10)\begin{pmatrix} 1 \\ -1 \\ 0 \end{pmatrix}, (11−2)\begin{pmatrix} 1 \\ 1 \\ -2 \end{pmatrix} of magnitudes 3\sqrt3, 2\sqrt2, 6\sqrt6. So P\mathbf{P} has columns 13(1,1,1)T\frac{1}{\sqrt3}(1,1,1)^{T}, 12(1,−1,0)T\frac{1}{\sqrt2}(1,-1,0)^{T}, 16(1,1,−2)T\frac{1}{\sqrt6}(1,1,-2)^{T} and D=diag(1,2,4)\mathbf{D}=\mathrm{diag}(1,2,4). Checks: the three eigenvectors are mutually perpendicular; the trace of A\mathbf{A} equals the sum of the diagonal of D\mathbf{D}; det⁡A=det⁡D\det\mathbf{A}=\det\mathbf{D} (since det⁡Pdet⁡PT=1\det\mathbf{P}\det\mathbf{P}^T=1).

Common mistake

Mixing up the order: if the first column of P\mathbf{P} belongs to λ=4\lambda=4, then the first diagonal entry of D\mathbf{D} must be 44.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Diagonalisation of symmetric matrices

  1. The symmetric matrix S=(3113)\mathbf{S}=\begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix}.
    Show that eigenvectors of S\mathbf{S} corresponding to its two different eigenvalues are perpendicular.2 marks
  2. The symmetric matrix T=(200052022)\mathbf{T}=\begin{pmatrix} 2 & 0 & 0 \\ 0 & 5 & 2 \\ 0 & 2 & 2 \end{pmatrix} can be reduced to diagonal form by an orthogonal matrix P\mathbf{P}, so that PTTP\mathbf{P}^T\mathbf{T}\mathbf{P} is diagonal.
    Find a normalised eigenvector of T\mathbf{T} corresponding to the eigenvalue 66.2 marks
  3. The symmetric matrix S=(122−2)\mathbf{S}=\begin{pmatrix} 1 & 2 \\ 2 & -2 \end{pmatrix}.
    Find the eigenvalues of S\mathbf{S}.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).