Comprehensive Exercises on Eigenvalues and Eigenvectors

Exercises

Exercise 1

Find the eigenvalues and eigenvectors of A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.

eigenvalueeigenvectorcharacteristic equationvector

Approach: Follow the steps for finding eigenvalues and eigenvectors.

Steps:

  1. The characteristic equation: ∣A−λI∣=∣2−λ112−λ∣=0\lvert A - \lambda I\rvert = \begin{vmatrix} 2-\lambda & 1 \\ 1 & 2-\lambda \end{vmatrix} = 0
  2. Expanding: (2−λ)2−1=λ2−4λ+3=0(2-\lambda)^2 - 1 = \lambda^2 - 4\lambda + 3 = 0
  3. Solving: λ=1\lambda = 1 or λ=3\lambda = 3
  4. For λ=1\lambda = 1:
    • Solve the system (A−I)x⃗=0⃗(A - I)\vec{x} = \vec{0}
    • (1111)(xy)=(00)\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
    • This gives the eigenvector x⃗=(1,−1)\vec{x} = (1, -1)
  5. For λ=3\lambda = 3:
    • Solve the system (A−3I)x⃗=0⃗(A - 3I)\vec{x} = \vec{0}
    • (−111−1)(xy)=(00)\begin{pmatrix} -1 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
    • This gives the eigenvector x⃗=(1,1)\vec{x} = (1, 1)

Answer: the eigenvalues are λ1=1\lambda_1 = 1, λ2=3\lambda_2 = 3; the corresponding eigenvectors are x⃗1=(1,−1)\vec{x}_1 = (1, -1), x⃗2=(1,1)\vec{x}_2 = (1, 1)

Exercise 2

Decide whether A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} is diagonalisable.

eigenvalueeigenvectorcharacteristic equationvector

Approach: Check whether there are enough linearly independent eigenvectors.

Steps:

  1. The characteristic equation: ∣A−λI∣=(1−λ)2=0\lvert A - \lambda I\rvert = (1-\lambda)^2 = 0
  2. The eigenvalue: λ=1\lambda = 1 (a double root)
  3. Find the eigenvectors: solve (A−I)x⃗=0⃗(A - I)\vec{x} = \vec{0}
  4. (0100)(xy)=(00)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
  5. This gives the eigenvector x⃗=(1,0)\vec{x} = (1, 0)
  6. There is only one linearly independent eigenvector, fewer than the order of the matrix, which is 2

Answer: it is not diagonalisable

Exercise 3

Let the eigenvalues of AA be 1,2,31,2,3. Write down ∣A∣\lvert A\rvert and tr⁡A\operatorname{tr}A.

eigenvalueeigenvectorcharacteristic equationdeterminant

Approach: Use the properties of the eigenvalues.

Steps:

  1. The product of the eigenvalues equals the determinant: ∣A∣=1×2×3=6\lvert A\rvert = 1 \times 2 \times 3 = 6
  2. The sum of the eigenvalues equals the trace: tr⁡A=1+2+3=6\operatorname{tr}A = 1 + 2 + 3 = 6

Answer: ∣A∣=6\lvert A\rvert = 6, tr⁡A=6\operatorname{tr}A = 6

Exercise 4

Decide whether A=(0110)A = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} is a real symmetric matrix, and state whether all of its eigenvalues are real.

eigenvalueeigenvectorcharacteristic equationmatrix

Approach: Check the symmetry of the matrix and its eigenvalues.

Steps:

  1. Check symmetry: AT=(0110)=AA^T = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} = A, so it is a real symmetric matrix
  2. Find the eigenvalues: ∣A−λI∣=λ2−1=0\lvert A - \lambda I\rvert = \lambda^2 - 1 = 0
  3. The eigenvalues: λ=1\lambda = 1 or λ=−1\lambda = -1, both real

Answer: it is a real symmetric matrix, and all its eigenvalues are real

Exercise 5

Let AA be diagonalisable. Write down its diagonalisation.

eigenvalueeigenvectorcharacteristic equationdiagonalisation

Approach: Use the definition of diagonalisation.

Steps:

  1. If AA is diagonalisable, then there exist an invertible matrix PP and a diagonal matrix DD such that A=PDP−1A = PDP^{-1}
  2. Here the columns of PP are linearly independent eigenvectors of AA
  3. The diagonal entries of DD are the eigenvalues of AA

Answer: A=PDP−1A = PDP^{-1}, where DD is a diagonal matrix and PP is the eigenvector matrix

Exercise 6

Find the eigenvalues and eigenvectors of the matrix A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix}.

eigenvalueeigenvectorcharacteristic equationvector

Approach: Follow the steps for finding eigenvalues and eigenvectors.

Steps:

  1. The characteristic equation: ∣A−λI∣=∣3−λ102−λ∣=0\lvert A - \lambda I\rvert = \begin{vmatrix} 3-\lambda & 1 \\ 0 & 2-\lambda \end{vmatrix} = 0
  2. Expanding: (3−λ)(2−λ)=0(3-\lambda)(2-\lambda) = 0
  3. Solving: λ=2\lambda = 2 or λ=3\lambda = 3
  4. For λ=2\lambda = 2:
    • Solve the system (A−2I)x⃗=0⃗(A - 2I)\vec{x} = \vec{0}
    • (1100)(xy)=(00)\begin{pmatrix} 1 & 1 \\ 0 & 0 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
    • This gives the eigenvector x⃗=(1,−1)\vec{x} = (1, -1)
  5. For λ=3\lambda = 3:
    • Solve the system (A−3I)x⃗=0⃗(A - 3I)\vec{x} = \vec{0}
    • (010−1)(xy)=(00)\begin{pmatrix} 0 & 1 \\ 0 & -1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
    • This gives the eigenvector x⃗=(1,0)\vec{x} = (1, 0)

Answer: the eigenvalues are λ1=2\lambda_1 = 2, λ2=3\lambda_2 = 3; the corresponding eigenvectors are x⃗1=(1,−1)\vec{x}_1 = (1, -1), x⃗2=(1,0)\vec{x}_2 = (1, 0)

Exercise 7

Find the diagonalisation of the matrix A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.

eigenvalueeigenvectorcharacteristic equationdiagonalisation

Approach: Follow the steps of diagonalisation.

Steps:

  1. The characteristic equation: ∣A−λI∣=λ2−4λ+3=0\lvert A - \lambda I\rvert = \lambda^2 - 4\lambda + 3 = 0
  2. The eigenvalues: λ1=1\lambda_1 = 1, λ2=3\lambda_2 = 3
  3. The eigenvectors:
    • λ1=1\lambda_1 = 1: x⃗1=(1,−1)\vec{x}_1 = (1, -1)
    • λ2=3\lambda_2 = 3: x⃗2=(1,1)\vec{x}_2 = (1, 1)
  4. Construct the matrices:
    • P=(11−11)P = \begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}
    • D=(1003)D = \begin{pmatrix} 1 & 0 \\ 0 & 3 \end{pmatrix}
  5. The diagonalisation: A=PDP−1A = PDP^{-1}

Answer: A=PDP−1A = PDP^{-1}, where P=(11−11)P = \begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix} and D=(1003)D = \begin{pmatrix} 1 & 0 \\ 0 & 3 \end{pmatrix}

Exercise 8

Find the orthogonal diagonalisation of the matrix A=(3113)A = \begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix}.

eigenvalueeigenvectorcharacteristic equationorthogonal diagonalisation

Approach: Follow the steps of orthogonal diagonalisation.

Steps:

  1. The characteristic equation: ∣A−λI∣=(3−λ)2−1=λ2−6λ+8=0\lvert A - \lambda I\rvert = (3-\lambda)^2 - 1 = \lambda^2 - 6\lambda + 8 = 0
  2. The eigenvalues: λ1=2\lambda_1 = 2, λ2=4\lambda_2 = 4
  3. The eigenvectors:
    • λ1=2\lambda_1 = 2: x⃗1=(1,−1)\vec{x}_1 = (1, -1)
    • λ2=4\lambda_2 = 4: x⃗2=(1,1)\vec{x}_2 = (1, 1)
  4. Normalisation:
    • q⃗1=12(1,−1)\vec{q}_1 = \frac{1}{\sqrt{2}}(1, -1)
    • q⃗2=12(1,1)\vec{q}_2 = \frac{1}{\sqrt{2}}(1, 1)
  5. Construct the matrices:
    • Q=12(11−11)Q = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}
    • D=(2004)D = \begin{pmatrix} 2 & 0 \\ 0 & 4 \end{pmatrix}
  6. The orthogonal diagonalisation: A=QDQTA = QDQ^T

Answer: A=QDQTA = QDQ^T, where Q=12(11−11)Q = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix} and D=(2004)D = \begin{pmatrix} 2 & 0 \\ 0 & 4 \end{pmatrix}

Exercise 9

Decide whether the matrix A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} is positive definite.

eigenvalueeigenvectorcharacteristic equationleading principal minor

Approach: Check the eigenvalues or the leading principal minors.

Steps:

  1. Method 1: find the eigenvalues
    • The characteristic equation: ∣A−λI∣=λ2−4λ+3=0\lvert A - \lambda I\rvert = \lambda^2 - 4\lambda + 3 = 0
    • The eigenvalues: λ1=1\lambda_1 = 1, λ2=3\lambda_2 = 3, both positive
  2. Method 2: check the leading principal minors
    • ∣A1∣=2>0\lvert A_1\rvert = 2 > 0
    • ∣A2∣=3>0\lvert A_2\rvert = 3 > 0

Answer: it is a positive definite matrix

Exercise 10

Prove that: similar matrices have the same eigenvalues.

eigenvalueeigenvectorcharacteristic equationcharacteristic polynomial

Approach: Use the property that similar matrices have the same characteristic polynomial.

Steps:

  1. Let A∼BA \sim B, that is, B=P−1APB = P^{-1}AP
  2. Similar matrices have the same characteristic polynomial: ∣A−λI∣=∣B−λI∣\lvert A - \lambda I\rvert = \lvert B - \lambda I\rvert
  3. The eigenvalues are the roots of the characteristic polynomial
  4. Therefore AA and BB have the same eigenvalues

Answer: the proof is complete

Exercise 11

Let A=PDP−1A = PDP^{-1}. Find AnA^n.

eigenvalueeigenvectorcharacteristic equationdiagonalisation

Approach: Use the property of powers of a diagonalised matrix.

Steps:

  1. A=PDP−1A = PDP^{-1}
  2. An=(PDP−1)n=PDnP−1A^n = (PDP^{-1})^n = PD^nP^{-1}
  3. Dn=diag⁡(λ1n,λ2n,…,λnn)D^n = \operatorname{diag}(\lambda_1^n, \lambda_2^n, \dots, \lambda_n^n)

Answer: An=PDnP−1A^n = PD^nP^{-1}, where Dn=diag⁡(λ1n,λ2n,…,λnn)D^n = \operatorname{diag}(\lambda_1^n, \lambda_2^n, \dots, \lambda_n^n)

Exercise 12

Prove that: eigenvectors corresponding to distinct eigenvalues are linearly independent.

eigenvalueeigenvectorcharacteristic equationvector

Approach: Use a proof by contradiction.

Steps:

  1. Suppose that the eigenvectors x⃗1,x⃗2,…,x⃗k\vec{x}_1, \vec{x}_2, \dots, \vec{x}_k corresponding to the distinct eigenvalues λ1,λ2,…,λk\lambda_1, \lambda_2, \dots, \lambda_k are linearly dependent
  2. Then there exist constants c1,c2,…,ckc_1, c_2, \dots, c_k, not all zero, such that c1x⃗1+c2x⃗2+⋯+ckx⃗k=0⃗c_1\vec{x}_1 + c_2\vec{x}_2 + \dots + c_k\vec{x}_k = \vec{0}
  3. Taking c1≠0c_1 \neq 0, we get x⃗1=−c2c1x⃗2−⋯−ckc1x⃗k\vec{x}_1 = -\frac{c_2}{c_1}\vec{x}_2 - \dots - \frac{c_k}{c_1}\vec{x}_k
  4. Left-multiplying by AA: Ax⃗1=−c2c1Ax⃗2−⋯−ckc1Ax⃗kA\vec{x}_1 = -\frac{c_2}{c_1}A\vec{x}_2 - \dots - \frac{c_k}{c_1}A\vec{x}_k
  5. That is, λ1x⃗1=−c2c1λ2x⃗2−⋯−ckc1λkx⃗k\lambda_1\vec{x}_1 = -\frac{c_2}{c_1}\lambda_2\vec{x}_2 - \dots - \frac{c_k}{c_1}\lambda_k\vec{x}_k
  6. This contradicts the fact that the eigenvalues are distinct

Answer: the proof is complete

Exercise 13

Find the eigenvalues and eigenvectors of the matrix A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}.

eigenvalueeigenvectorcharacteristic equationvector

Approach: Follow the steps for finding eigenvalues and eigenvectors.

Steps:

  1. The characteristic equation: ∣A−λI∣=∣1−λ101−λ∣=0\lvert A - \lambda I\rvert = \begin{vmatrix} 1-\lambda & 1 \\ 0 & 1-\lambda \end{vmatrix} = 0
  2. Expanding: (1−λ)2=0(1-\lambda)^2 = 0
  3. Solving: λ=1\lambda = 1 (a double root)
  4. For λ=1\lambda = 1:
    • Solve the system (A−I)x⃗=0⃗(A - I)\vec{x} = \vec{0}
    • (0100)(xy)=(00)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
    • This gives the eigenvector x⃗=(1,0)\vec{x} = (1, 0)

Answer: the eigenvalue is λ=1\lambda = 1 (a double root); the corresponding eigenvector is x⃗=(1,0)\vec{x} = (1, 0)

Exercise 14

Prove that: the eigenvalues of a real symmetric matrix are all real.

eigenvalueeigenvectorcharacteristic equationreal symmetric matrix

Approach: Use the properties of real symmetric matrices.

Steps:

  1. Let λ\lambda be an eigenvalue of AA and x⃗\vec{x} the corresponding eigenvector
  2. Ax⃗=λx⃗A\vec{x} = \lambda\vec{x}
  3. Take the conjugate transpose of both sides: x⃗∗AT=λ∗x⃗∗\vec{x}^*A^T = \lambda^*\vec{x}^*
  4. Since AA is real symmetric, AT=AA^T = A, so: x⃗∗A=λ∗x⃗∗\vec{x}^*A = \lambda^*\vec{x}^*
  5. Right-multiply both sides by x⃗\vec{x}: x⃗∗Ax⃗=λ∗x⃗∗x⃗\vec{x}^*A\vec{x} = \lambda^*\vec{x}^*\vec{x}
  6. On the left: x⃗∗Ax⃗=x⃗∗λx⃗=λx⃗∗x⃗\vec{x}^*A\vec{x} = \vec{x}^*\lambda\vec{x} = \lambda\vec{x}^*\vec{x}
  7. Therefore: λx⃗∗x⃗=λ∗x⃗∗x⃗\lambda\vec{x}^*\vec{x} = \lambda^*\vec{x}^*\vec{x}
  8. Since x⃗≠0⃗\vec{x} \neq \vec{0}, we have x⃗∗x⃗>0\vec{x}^*\vec{x} > 0, so λ=λ∗\lambda = \lambda^*, that is, λ\lambda is real

Answer: the proof is complete

Exercise 15

Let AA be a real symmetric matrix. Prove that: AA can be orthogonally diagonalised.

eigenvalueeigenvectorcharacteristic equationreal symmetric matrix

Approach: Use the properties of real symmetric matrices.

Steps:

  1. All the eigenvalues of the real symmetric matrix AA are real, so it has a complete set of eigenvalues over the real numbers.
  2. The eigenvectors of a real symmetric matrix belonging to distinct eigenvalues are necessarily mutually orthogonal; those belonging to the same eigenvalue can also be made orthogonal by Gram-Schmidt orthogonalisation.
  3. Therefore AA has nn linearly independent orthogonal eigenvectors, which arranged as columns form an orthogonal matrix QQ.
  4. Then Q−1AQQ^{-1}AQ is a diagonal matrix, which is exactly what orthogonal diagonalisation means.

Answer: the proof is complete

Found an issue with this content?

Tell us what could be improved.