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=(4−211)\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)=(4−211)−λ(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 4−4λ−λ+λ2+2=04 - 4\lambda - \lambda + \lambda^2 + 2 = 0 λ2−5λ+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=(4−211)\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 (A−2I)x=0(\mathbf{A} - 2\mathbf{I})\mathbf{x} = \mathbf{0} (4−2−211−2)(xy)=(00)\begin{pmatrix} 4-2 & -2 \\ 1 & 1-2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} (2−21−1)(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: 2x−2y=02x - 2y = 0 (which simplifies to x−y=0x - y = 0) and x−y=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 (A−3I)x=0(\mathbf{A} - 3\mathbf{I})\mathbf{x} = \mathbf{0} (4−3−211−3)(xy)=(00)\begin{pmatrix} 4-3 & -2 \\ 1 & 1-3 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} (1−21−2)(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 x−2y=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 λ3−2λ2−5λ+6=0\lambda^3 - 2\lambda^2 - 5\lambda + 6 = 0. (a) Find an expression for M−1\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: M3−2M2−5M+6I=0\mathbf{M}^3 - 2\mathbf{M}^2 - 5\mathbf{M} + 6\mathbf{I} = \mathbf{0}.

(a) To find M−1\mathbf{M}^{-1}, we multiply the entire equation by M−1\mathbf{M}^{-1}: M−1(M3−2M2−5M+6I)=M−10\mathbf{M}^{-1}(\mathbf{M}^3 - 2\mathbf{M}^2 - 5\mathbf{M} + 6\mathbf{I}) = \mathbf{M}^{-1}\mathbf{0} M2−2M−5I+6M−1=0\mathbf{M}^2 - 2\mathbf{M} - 5\mathbf{I} + 6\mathbf{M}^{-1} = \mathbf{0} Now, we rearrange to make M−1\mathbf{M}^{-1} the subject: 6M−1=−M2+2M+5I6\mathbf{M}^{-1} = -\mathbf{M}^2 + 2\mathbf{M} + 5\mathbf{I} M−1=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+5M−6I\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+5M−6I)\mathbf{M}^4 = \mathbf{M}(\mathbf{M}^3) = \mathbf{M}(2\mathbf{M}^2 + 5\mathbf{M} - 6\mathbf{I}) M4=2M3+5M2−6M\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+5M−6I)+5M2−6M\mathbf{M}^4 = 2(2\mathbf{M}^2 + 5\mathbf{M} - 6\mathbf{I}) + 5\mathbf{M}^2 - 6\mathbf{M} M4=4M2+10M−12I+5M2−6M\mathbf{M}^4 = 4\mathbf{M}^2 + 10\mathbf{M} - 12\mathbf{I} + 5\mathbf{M}^2 - 6\mathbf{M} M4=9M2+4M−12I\mathbf{M}^4 = 9\mathbf{M}^2 + 4\mathbf{M} - 12\mathbf{I}.