A diagonalize matrix calculator finds whether a square matrix can be written as A = PDP⁻¹, where D is a diagonal matrix of eigenvalues and P is a matrix of eigenvectors. Step-by-step solutions help linear algebra students master eigenvalues, eigenvectors and diagonalization.
Here’s the process. First, find the eigenvalues by solving the characteristic equation det(A − λI) = 0. Second, for each eigenvalue, solve (A − λI)v = 0 to find eigenvectors. Third, put the eigenvectors into the columns of P and the matching eigenvalues on the diagonal of D. For A = [[4, 1], [2, 3]], the characteristic equation is λ² − 7λ + 10 = 0, so the eigenvalues are 5 and 2. Eigenvectors are (1, 1) for λ = 5 and (1, −2) for λ = 2.
A matrix is diagonalizable when it has enough linearly independent eigenvectors, one for each dimension. Matrices with distinct eigenvalues are always diagonalizable. Symmetric matrices are always diagonalizable, even with orthogonal eigenvectors. Some matrices, like [[1, 1], [0, 1]], aren’t diagonalizable because they don’t have enough eigenvectors.
Why it matters: diagonalization makes computing powers of matrices easy, since Aⁿ = PDⁿP⁻¹, and Dⁿ just raises each diagonal entry to the nth power. It’s used in Markov chains, differential equations, computer graphics and machine learning.
Why use an online Diagonalize Matrix Calculator: it saves time, avoids simple arithmetic mistakes and shows each step, so you can check your homework, plan a project or make a decision with confidence. Bookmark the page so it’s ready the next time you need it.
Tips for getting accurate results from the Diagonalize Matrix Calculator: double-check that every input uses the right units, enter numbers without commas or symbols, and run the calculation a second time with a quick estimate in your head to confirm the answer looks reasonable.
Learn more on Wikipedia’s diagonalizable matrix article. Find Jacobian, unit vector and covariance calculators on Minedit.