Diagonalize Matrix Calculator

Diagonalize a matrix up to order three over the real or complex numbers. Find the eigenvector matrix, diagonal matrix, and inverse.

Result
—

How to calculate

Arrange independent eigenvectors as columns of X and use their eigenvalues in the same order on the diagonal of D. A full eigenvector basis gives A = XDX⁻¹.

Worked example

Use Square matrix A 2, 1 / 0, 3 · Diagonalize over Real numbers. The result is A = XDX⁻¹.

Input and result notes

Use a real square matrix of order 1, 2, or 3. Use one row per line and separate entries with commas or spaces. Integers, decimals, and compact fractions such as 3/5 are supported. A real matrix can require complex eigenvectors. A matrix with too few independent eigenvectors is defective.

MIT OpenCourseWare diagonalization

Related calculators