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

Constructing P and D from Eigenvectors

Building the diagonalization P and D using eigenvectors as columns and eigenvalues on the diagonal.

Constructing P and D from Eigenvectors

What You'll Learn

You'll learn how to build the matrices P and D that accomplish diagonalization by organizing eigenvectors and eigenvalues in a specific structure.

The Core Idea

Once you've found that a matrix A is diagonalizable, the actual construction is straightforward:

  • Matrix P: Form this by placing the eigenvectors of A as columns. The order matters—each column position corresponds to a specific eigenvalue.
  • Matrix D: This is a diagonal matrix where the diagonal entries are the eigenvalues, placed in the same order as their corresponding eigenvectors appear in P.

The relationship is: A = PDP⁻¹ or equivalently P⁻¹AP = D.

Example Walkthrough

Suppose you've found that matrix A has:

  • Eigenvalue λ₁ = 3 with eigenvector v₁ = [1, 0]ᵀ
  • Eigenvalue λ₂ = 5 with eigenvector v₂ = [1, 2]ᵀ

Construct:

P = [v₁ | v₂] = [1  1]
                [0  2]

D = [3  0]
    [0  5]

Notice how the first column of P (eigenvector v₁) corresponds to the first diagonal entry in D (eigenvalue 3). This pairing is crucial.

Why This Works

Think of P as a "change of coordinates" matrix. The eigenvectors form a basis where A acts simply by scaling—those scale factors are exactly the eigenvalues on the diagonal of D. You're essentially viewing the transformation in its "natural" coordinate system.

Key Takeaway: To diagonalize A, construct P by placing eigenvectors as columns and D by placing the corresponding eigenvalues on the diagonal in matching order.