Calculate eigenvalues, eigenvectors, and diagonalization of matrices. Step-by-step linear algebra tool for students and professionals.
Diagonalization is the process of finding a diagonal matrix D that is similar to a given square matrix A. A matrix is diagonalizable if it can be expressed in the form A = PDP⁻¹, where D is a diagonal matrix and P is an invertible matrix.
Mathematical Definition:
An n×n matrix A is diagonalizable if there exists an invertible matrix P and a diagonal matrix D such that:
A = PDP⁻¹
The diagonal entries of D are the eigenvalues of A, and the columns of P are the corresponding eigenvectors.
Eigenvalue Condition: An n×n matrix is diagonalizable if and only if it has n linearly independent eigenvectors.
Algebraic vs. Geometric Multiplicity: For each eigenvalue, its geometric multiplicity (dimension of eigenspace) must equal its algebraic multiplicity (multiplicity as a root of the characteristic polynomial).
Special Cases: A symmetric matrix is always diagonalizable. A matrix with n distinct eigenvalues is always diagonalizable.
| Step | Description | Example |
|---|---|---|
| 1 | Find the eigenvalues λ by solving det(A - λI) = 0 | For A = [[2,1],[1,2]], eigenvalues are λ=1,3 |
| 2 | For each eigenvalue, find eigenvectors by solving (A - λI)v = 0 | For λ=1: v₁=[1,-1]; for λ=3: v₂=[1,1] |
| 3 | Construct matrix P with eigenvectors as columns | P = [[1,1],[-1,1]] |
| 4 | Construct diagonal matrix D with eigenvalues on diagonal | D = [[1,0],[0,3]] |
| 5 | Verify that A = PDP⁻¹ or D = P⁻¹AP | A = PDP⁻¹ |
Calculator Features:
Complex Eigenvalues: Occur in conjugate pairs for real matrices
Format: a + bi where i² = -1
Example: 2 + 3i has real part 2, imaginary part 3
Note: Complex eigenvalues indicate rotational components in the transformation