Course contentsShow
← Mathematics
Lesson 2194 of 3,12145. Linear Algebra — Determinants and EigenvaluesFree lesson

Diagonalizing 3×3 Matrices

Complete example of diagonalizing a 3×3 matrix including finding eigenvectors and forming P.

Diagonalizing 3×3 Matrices

What you'll learn: You'll work through a complete example of diagonalizing a 3×3 matrix by finding all eigenvalues, computing their eigenvectors, and constructing the matrices P and D.

The Complete Process

Diagonalizing a 3×3 matrix follows the same steps as the 2×2 case, but involves more computation. Let's walk through a full example.

Example: Diagonalize Matrix A

Consider:

A = [4  0  1]
    [2  3  2]
    [1  0  4]

Step 1: Find the characteristic polynomial

Compute det(A - λI):

det([4-λ  0    1  ]
    [2    3-λ  2  ]) = (4-λ)(3-λ)(4-λ) - (3-λ) - 2·2·(4-λ)
    [1    0    4-λ]

After expansion: -λ³ + 11λ² - 36λ + 36 = 0

Step 2: Solve for eigenvalues

Factoring gives: λ₁ = 3, λ₂ = 3, λ₃ = 5

Step 3: Find eigenvectors for each eigenvalue

For λ = 3, solve (A - 3I)v = 0:

[1  0  1][v₁]   [0]
[2  0  2][v₂] = [0]
[1  0  1][v₃]   [0]

Two linearly independent eigenvectors: v₁ = [0, 1, 0]ᵀ and v₂ = [-1, 0, 1]ᵀ

For λ = 5, solve (A - 5I)v = 0: Eigenvector: v₃ = [1, 2, 1]ᵀ

Step 4: Form P and D

P = [0  -1   1]    D = [3  0  0]
    [1   0   2]        [0  3  0]
    [0   1   1]        [0  0  5]

Verify: A = PDP⁻¹

Key Takeaway: To diagonalize a 3×3 matrix, find three linearly independent eigenvectors (solving the characteristic equation and null spaces), arrange them as columns of P, and place corresponding eigenvalues on the diagonal of D.