Skip to content

9231 · 2.2

Matrices — practice questions

Practice and worked examples for 9231 Matrices. Short previews only — attempt the full question in MarkScheme against the official scheme.

Worked example 1

Find the eigenvalues of the matrix A=(4211)\mathbf{A} = \begin{pmatrix} 4 & -2 \\ 1 & 1 \end{pmatrix}.

Show solution outline
  1. First, we set up the matrix (AλI)(\mathbf{A} - \lambda\mathbf{I}). (AλI)=(4211)λ(1001)=(4λ211λ)(\mathbf{A} - \lambda\mathbf{I}) = \begin{pmatrix} 4 & -2 \\ 1 & 1 \end{pmatrix} - \lambda\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 4-\lambda & -2 \\ 1 & 1-\lambda \end{pmatrix}.
  2. Now, we find the determinant and set it to zero to form the characteristic equation. det(AλI)=(4λ)(1λ)(2)(1)=0\det(\mathbf{A} - \lambda\mathbf{I}) = (4-\lambda)(1-\lambda) - (-2)(1) = 0 44λλ+λ2+2=04 - 4\lambda - \lambda + \lambda^2 + 2 = 0 λ25λ+6=0\lambda^2 - 5\lambda + 6 = 0.
  3. We solve this quadratic equation for λ\lambda. (λ2)(λ3)=0(\lambda - 2)(\lambda - 3) = 0. The eigenvalues are λ1=2\lambda_1 = 2 and λ2=3\lambda_2 = 3.

Worked example 2

For the matrix A=(4211)\mathbf{A} = \begin{pmatrix} 4 & -2 \\ 1 & 1 \end{pmatrix}, find the eigenvectors corresponding to the eigenvalues λ1=2\lambda_1 = 2 and λ2=3\lambda_2 = 3.

Show solution outline

We solve (AλI)x=0(\mathbf{A} - \lambda\mathbf{I})\mathbf{x} = \mathbf{0} for each eigenvalue. Let x=(xy)\mathbf{x} = \begin{pmatrix} x \\ y \end{pmatrix}.

Case 1: λ1=2\lambda_1 = 2 (A2I)x=0(\mathbf{A} - 2\mathbf{I})\mathbf{x} = \mathbf{0} (422112)(xy)=(00)\begin{pmatrix} 4-2 & -2 \\ 1 & 1-2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} (2211)(xy)=(00)\begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} This gives two identical equations: 2x2y=02x - 2y = 0 (which simplifies to xy=0x - y = 0) and xy=0x - y = 0. So, x=yx = y. We can choose any non-zero value. Let y=1y=1, then x=1x=1. An eigenvector corresponding to λ1=2\lambda_1 = 2 is e1=(11)\mathbf{e}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}.

Case 2: λ2=3\lambda_2 = 3 (A3I)x=0(\mathbf{A} - 3\mathbf{I})\mathbf{x} = \mathbf{0} (432113)(xy)=(00)\begin{pmatrix} 4-3 & -2 \\ 1 & 1-3 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} (1212)(xy)=(00)\begin{pmatrix} 1 & -2 \\ 1 & -2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} This gives the equation x2y=0x - 2y = 0, so x=2yx = 2y. Let y=1y=1, then x=2x=2. An eigenvector corresponding to λ2=3\lambda_2 = 3 is e2=(21)\mathbf{e}_2 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}.

Worked example 3

The characteristic equation of a 3x3 matrix M\mathbf{M} is given by λ32λ25λ+6=0\lambda^3 - 2\lambda^2 - 5\lambda + 6 = 0. (a) Find an expression for M1\mathbf{M}^{-1} in terms of M2\mathbf{M}^2, M\mathbf{M} and I\mathbf{I}. (b) Find an expression for M4\mathbf{M}^4 in terms of M2\mathbf{M}^2, M\mathbf{M} and I\mathbf{I}.

Show solution outline

By the Cayley-Hamilton theorem, the matrix M\mathbf{M} satisfies its own characteristic equation: M32M25M+6I=0\mathbf{M}^3 - 2\mathbf{M}^2 - 5\mathbf{M} + 6\mathbf{I} = \mathbf{0}.

(a) To find M1\mathbf{M}^{-1}, we multiply the entire equation by M1\mathbf{M}^{-1}: M1(M32M25M+6I)=M10\mathbf{M}^{-1}(\mathbf{M}^3 - 2\mathbf{M}^2 - 5\mathbf{M} + 6\mathbf{I}) = \mathbf{M}^{-1}\mathbf{0} M22M5I+6M1=0\mathbf{M}^2 - 2\mathbf{M} - 5\mathbf{I} + 6\mathbf{M}^{-1} = \mathbf{0} Now, we rearrange to make M1\mathbf{M}^{-1} the subject: 6M1=M2+2M+5I6\mathbf{M}^{-1} = -\mathbf{M}^2 + 2\mathbf{M} + 5\mathbf{I} M1=16(M2+2M+5I)\mathbf{M}^{-1} = \frac{1}{6}(-\mathbf{M}^2 + 2\mathbf{M} + 5\mathbf{I}).

(b) To find M4\mathbf{M}^4, we first rearrange the characteristic equation to express M3\mathbf{M}^3: M3=2M2+5M6I\mathbf{M}^3 = 2\mathbf{M}^2 + 5\mathbf{M} - 6\mathbf{I}. Now, multiply by M\mathbf{M} to get M4\mathbf{M}^4: M4=M(M3)=M(2M2+5M6I)\mathbf{M}^4 = \mathbf{M}(\mathbf{M}^3) = \mathbf{M}(2\mathbf{M}^2 + 5\mathbf{M} - 6\mathbf{I}) M4=2M3+5M26M\mathbf{M}^4 = 2\mathbf{M}^3 + 5\mathbf{M}^2 - 6\mathbf{M}. We can substitute the expression for M3\mathbf{M}^3 back into this equation: M4=2(2M2+5M6I)+5M26M\mathbf{M}^4 = 2(2\mathbf{M}^2 + 5\mathbf{M} - 6\mathbf{I}) + 5\mathbf{M}^2 - 6\mathbf{M} M4=4M2+10M12I+5M26M\mathbf{M}^4 = 4\mathbf{M}^2 + 10\mathbf{M} - 12\mathbf{I} + 5\mathbf{M}^2 - 6\mathbf{M} M4=9M2+4M12I\mathbf{M}^4 = 9\mathbf{M}^2 + 4\mathbf{M} - 12\mathbf{I}.