Quiz: eigenvalues & eigenvectors

Short questions to test your understanding of eigenvalues and eigenvectors. Try each on paper first, then open the answer.


Q1. In one sentence: what makes a vector \(\mathbf{v}\) an eigenvector of a matrix \(A\)?

Think about how the direction of \(\mathbf{v}\) changes (or doesn’t) when you apply \(A\).

\(A\) only scales \(\mathbf{v}\) — it stays on the same line through the origin — instead of rotating it onto a new direction. Formally \(A\mathbf{v} = \lambda\mathbf{v}\) for some scalar \(\lambda\) (with \(\mathbf{v}\neq\mathbf{0}\)).


Q2. \(A\mathbf{v} = \begin{pmatrix} 6 \\ 9 \end{pmatrix}\) and \(\mathbf{v} = \begin{pmatrix} 2 \\ 3 \end{pmatrix}\). Is \(\mathbf{v}\) an eigenvector? If so, what is \(\lambda\)?

Is the output a scalar multiple of \(\mathbf{v}\)?

\((6,9) = 3(2,3)\), so yes — \(\mathbf{v}\) is an eigenvector with \(\lambda = 3\).


Q3. What are the eigenvalues of the triangular matrix \(A = \begin{pmatrix} 5 & 2 \\ 0 & 4 \end{pmatrix}\)? Show that \((1, 0)\) is an eigenvector.

For a triangular matrix the eigenvalues sit on the diagonal. For the eigenvector, multiply.

\(\lambda = 5\) and \(\lambda = 4\), the diagonal entries. \(A\begin{pmatrix}1\\0\end{pmatrix} = \begin{pmatrix}5\\0\end{pmatrix} = 5\begin{pmatrix}1\\0\end{pmatrix}\), so \((1,0)\) is an eigenvector with \(\lambda = 5\).


Q4. Without calculating: what are the eigenvectors and eigenvalues of \(P = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}\), which projects every vector onto the x-axis?

Which direction does a projection leave alone, and which does it squash?

The x-axis \((1,0)\) is kept as it is: \(\lambda = 1\). The y-axis \((0,1)\) is squashed to zero: \(P\begin{pmatrix}0\\1\end{pmatrix} = \begin{pmatrix}0\\0\end{pmatrix} = 0\cdot\begin{pmatrix}0\\1\end{pmatrix}\), so \(\lambda = 0\). (Trace check: \(1 + 0 = 1\).)


Q5. Find the eigenvalues of \(A = \begin{pmatrix} 2 & 0 \\ 0 & 7 \end{pmatrix}\) by inspection.

For a diagonal matrix the eigenvalues are sitting right there.

\(\lambda = 2\) and \(\lambda = 7\) — the diagonal entries. (Eigenvectors are the axes \((1,0)\) and \((0,1)\).)


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

It has the symmetric pattern \(\begin{pmatrix} a & b \\ b & a \end{pmatrix}\). Try \((1,1)\) and \((1,-1)\).

\(A\begin{pmatrix}1\\1\end{pmatrix} = \begin{pmatrix}5\\5\end{pmatrix} = 5\begin{pmatrix}1\\1\end{pmatrix}\) and \(A\begin{pmatrix}1\\-1\end{pmatrix} = \begin{pmatrix}1\\-1\end{pmatrix}\). So \(\lambda = 5\) for \((1,1)\) and \(\lambda = 1\) for \((1,-1)\). (Check: trace \(6 = 5+1\).)


Q7. Your \(2\times2\) matrix has trace 7. One eigenvalue is 3. What is the other?

The eigenvalues add up to the trace.

The other is \(7 - 3 = 4\). Eigenvalues 3 and 4.


Q8. For \(A = \begin{pmatrix} 4 & 1 \\ 0 & 4 \end{pmatrix}\) (eigenvalue \(\lambda = 4\), repeated), find an eigenvector.

Solve \((A - 4I)\mathbf{v} = \mathbf{0}\). What does the top row force?

\(A - 4I = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}\). With \(\mathbf v = (x, y)\), row 1 says \(y = 0\), with \(x\) free, so \(\mathbf{v} = (1, 0)\). (Note: even though \(\lambda=4\) is repeated, this matrix has only one eigen-direction — it is not symmetric.)


Q9. Why is a symmetric matrix nice? Give the two guarantees.

Spectral theorem — think about realness and angles.

  1. All eigenvalues are real (never complex). (2) Eigenvectors for different eigenvalues are orthogonal. This is why covariance matrices give clean perpendicular axes of variation.

Q10. A pure rotation \(\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}\) has no real eigenvector. Explain why, geometrically.

What does a \(90^\circ\) rotation do to every direction?

A \(90^\circ\) rotation moves every vector onto a new direction, so no nonzero real vector comes back as a multiple of itself. The characteristic equation \(\lambda^2 + 1 = 0\) has no real root, confirming this.


Q11. A covariance matrix has eigenvalues \(\lambda_1 = 12\) (eigenvector \(\mathbf{v}_1\)) and \(\lambda_2 = 2\) (eigenvector \(\mathbf{v}_2\)). Along which direction does the data vary most, and how much variance is there along the perpendicular direction?

The eigenvalue measures the variance captured along its eigenvector.

The data vary most along \(\mathbf{v}_1\) (largest eigenvalue, 12) — the long axis of the cloud. Along the perpendicular direction \(\mathbf{v}_2\) the variance is 2. (This is exactly the idea behind the first principal component.)


Q12. True or false: if \(\mathbf{v}\) is an eigenvector of \(A\), then so is \(-5\mathbf{v}\), with the same eigenvalue.

\(A(-5\mathbf{v}) = -5(A\mathbf{v})\).

True. \(A(-5\mathbf{v}) = -5(A\mathbf{v}) = -5(\lambda\mathbf{v}) = \lambda(-5\mathbf{v})\). Any nonzero multiple of an eigenvector is an eigenvector with the same eigenvalue — an eigenvector really specifies a whole line (a direction).