LINEAR-ALGEBRA

The Vectors That Refuse to Turn: Eigenvalues & Eigenvectors

IKey Formulas Reference

Formula Name Description
Ax=λxA\mathbf{x} = \lambda \mathbf{x} Eigenvalue equation x≠0\mathbf{x} \neq \mathbf{0} is an eigenvector; λ\lambda is its eigenvalue
λ1+λ2+⋯+λn=tr(A)\lambda_1 + \lambda_2 + \cdots + \lambda_n = \text{tr}(A) Sum of eigenvalues Equals the trace (sum of diagonal entries)
λ1⋅λ2⋯λn=det⁡(A)\lambda_1 \cdot \lambda_2 \cdots \lambda_n = \det(A) Product of eigenvalues Equals the determinant
λ=0  ⟺  A\lambda = 0 \iff A is singular Singularity test Zero eigenvalue means det⁡(A)=0\det(A) = 0

IIVisualization 1 — The Direction That Won't Turn

Which directions does A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} leave on their own line — and by what factor λ\lambda?

💡 Because AA is symmetric, its two eigen-directions are perpendicular and its eigenvalues are always real.

IIIVisualization 2 — Eigenvalues Stretch Each Axis

Each eigenvalue stretches, flips, or crushes space along one eigen-axis — the other axis is untouched.

IVVisualization 3 — Rotation Has No Real Eigenvector

A pure rotation turns every vector by the same angle, so no real direction can return to its own line.

💡 Every other angle gives complex eigenvalues e±iθe^{\pm i\theta} — the reason a real matrix can still force you into complex numbers.

VQuiz Questions

Question 1 · The Eigenvalue Equation

Suppose AA is a 2×22 \times 2 matrix and x≠0\mathbf{x} \neq \mathbf{0} is an eigenvector of AA with eigenvalue λ=−3\lambda = -3.

Which statement is correct?

✅ Correct! A negative eigenvalue flips the eigenvector, and the length scales by ∣λ∣|\lambda|.

❌ Not quite. Remember: Ax=λxA\mathbf{x} = \lambda \mathbf{x}. A negative λ\lambda means the output is on the same line but flipped, with length ∣λ∣|\lambda| times the original.

Show solution

Solution:

The eigenvalue equation says Ax=λxA\mathbf{x} = \lambda \mathbf{x}. With λ=−3\lambda = -3:

Ax=−3 xA\mathbf{x} = -3\,\mathbf{x}

  • The magnitude is ∣−3∣=3|-3| = 3 times the length of x\mathbf{x}.
  • The sign is negative, so AxA\mathbf{x} points in the opposite direction.
  • It is still on the same line as x\mathbf{x} (just flipped) — so it's not perpendicular and it's not zero.

Question 2 · Trace and Determinant

A 3×33 \times 3 matrix AA has eigenvalues λ1=4\lambda_1 = 4, λ2=−1\lambda_2 = -1, λ3=2\lambda_3 = 2.

What are the trace and determinant of AA?

✅ Correct! Sum of eigenvalues = trace; product of eigenvalues = determinant.

❌ Not quite. Remember: tr(A)=∑λi\text{tr}(A) = \sum \lambda_i (sum), and det⁡(A)=∏λi\det(A) = \prod \lambda_i (product).

Show solution

Solution:

  • Trace = sum of eigenvalues: 4+(−1)+2=54 + (-1) + 2 = 5
  • Determinant = product of eigenvalues: 4⋅(−1)⋅2=−84 \cdot (-1) \cdot 2 = -8

So tr(A)=5\text{tr}(A) = 5 and det⁡(A)=−8\det(A) = -8.

Common mistake: swapping trace and determinant, or using the wrong operation (sum vs. product).

Question 3 · Zero Eigenvalue

True or False: If λ=0\lambda = 0 is an eigenvalue of matrix AA, then AA must be singular (i.e., det⁡(A)=0\det(A) = 0).

✅ Correct! A zero eigenvalue forces det⁡(A)=0\det(A) = 0 because the determinant is the product of eigenvalues.

❌ Not quite. Recall that det⁡(A)=∏λi\det(A) = \prod \lambda_i. If any λi=0\lambda_i = 0, the product is zero.

Show solution

Solution:

The determinant equals the product of all eigenvalues: det⁡(A)=λ1⋅λ2⋯λn\det(A) = \lambda_1 \cdot \lambda_2 \cdots \lambda_n

If any eigenvalue is zero, the entire product is zero, so det⁡(A)=0\det(A) = 0 and AA is singular.

Equivalently: λ=0\lambda = 0 means there is a nonzero x\mathbf{x} with Ax=0A\mathbf{x} = \mathbf{0}, so AA has a nontrivial null space — the hallmark of a singular matrix.

Question 4 · Identifying Eigenvectors

Let A=(0110)A = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} (the swap matrix from the video).

Which of the following vectors is an eigenvector of AA?

✅ Correct! A[−1,1]T=[1,−1]T=−1⋅[−1,1]TA[-1,1]^T = [1,-1]^T = -1 \cdot [-1,1]^T, so λ=−1\lambda = -1.

❌ Not quite. The output AxA\mathbf{x} must be a scalar multiple of x\mathbf{x} — check whether the output is just x\mathbf{x} scaled by one number.

Show solution

Solution:

A vector x\mathbf{x} is an eigenvector of AA when Ax=λxA\mathbf{x} = \lambda \mathbf{x} — the output must be a scalar multiple of the input.

Check each option:

  • A[2,3]T=[3,2]TA[2,3]^T = [3,2]^T. Is [3,2]=λ[2,3][3,2] = \lambda [2,3]? That would need λ=3/2\lambda = 3/2 and λ=2/3\lambda = 2/3. ❌ Not an eigenvector.
  • A[1,0]T=[0,1]TA[1,0]^T = [0,1]^T. Is [0,1]=λ[1,0][0,1] = \lambda [1,0]? Need 0=λ⋅10 = \lambda \cdot 1 and 1=λ⋅01 = \lambda \cdot 0 — impossible. ❌
  • A[−1,1]T=[1,−1]TA[-1,1]^T = [1,-1]^T. Is [1,−1]=λ[−1,1][1,-1] = \lambda [-1,1]? Yes, with λ=−1\lambda = -1. ✅ Eigenvector with eigenvalue −1-1.
  • A[1,2]T=[2,1]TA[1,2]^T = [2,1]^T. Is [2,1]=λ[1,2][2,1] = \lambda[1,2]? Need λ=2\lambda = 2 and λ=1/2\lambda = 1/2. ❌

So only [−1,1][-1, 1] qualifies — it's the eigenvector with λ=−1\lambda = -1.

VISummary

You've explored the core ideas of eigenvalues and eigenvectors:

These ideas power PageRank, PCA, vibration analysis, and much more.

Solved: 0 / 4