p(λ) = det(λI − A)Characteristic polynomial
Form det(λI − A), then set it equal to zero. For a 2×2 matrix, use trace and determinant to check the quadratic.
Use this eigenvalue calculator for AI explanations of characteristic polynomials, eigenvectors, repeated roots, and complex eigenvalues. Paste a square matrix and check Av = λv.
eigenvalue calculator
Characteristic polynomial
Eigenvectors and eigenspaces
Repeated eigenvalues
Paste each matrix row in brackets, or upload a clear image. State the operation and ask for steps. Responses are AI-generated; check important arithmetic independently.
eigenvalue calculator
Find the roots, solve for the corresponding vectors, and keep multiplicity and the number system in view.
p(λ) = det(λI − A)Form det(λI − A), then set it equal to zero. For a 2×2 matrix, use trace and determinant to check the quadratic.
(A − λI)v = 0For each eigenvalue, solve (A − λI)v = 0. Eigenvectors must be nonzero; any nonzero scalar multiple is also valid.
1 ≤ dim Eλ ≤ mλCompare algebraic multiplicity with eigenspace dimension. A repeated eigenvalue alone does not decide diagonalizability.
A = PDP⁻¹State whether you work over ℝ or ℂ. A real matrix can have complex eigenvalues; diagonalization needs a full eigenvector basis.
Method
Keep the original matrix visible while you follow the explanation.
A ∈ ℝⁿˣⁿKeep every row and sign. Specify real or complex scalars and whether you need eigenvectors.
det(A − λI) = 0Subtract λ on the diagonal and evaluate det(A − λI). Its zeros give the eigenvalues.
v ∈ ker(A − λI), v ≠ 0For every root, row-reduce A − λI and choose nonzero vectors from its null space.
Av − λv = 0Check Av = λv. Count independent eigenvectors if diagonalization is requested.
Tip: det(A − λI) and det(λI − A) differ by (−1)ⁿ, but have the same roots. Keep one polynomial convention throughout.
Quick reference
Count eigenvalues with algebraic multiplicity when checking their sum and product.
Eigenpair
Av = λv, v ≠ 0An eigenvalue scales a corresponding nonzero eigenvector.
2×2 polynomial
p(λ) = λ² − tr(A)λ + det(A)For A = [[a,b],[c,d]], tr(A) = a + d and det(A) = ad − bc.
Sum and product
Σλᵢ = tr(A); ∏λᵢ = det(A)Include repeated roots in both checks, and complex roots when needed.
Diagonalization
AP = PDColumns of P must be n linearly independent eigenvectors; D holds the matching eigenvalues.
Worked example
These reviewed examples show the method, result, and an independent check. Use the example prompts above to try them in the solver.
Worked example 1
Eigenpairs of A = [[3,1],[0,2]]A triangular matrix with two distinct eigenvalues.
Result: λ = 3: span{[1,0]}; λ = 2: span{[−1,1]}
Check: A[1,0] = [3,0]; A[−1,1] = [−2,2] = 2[−1,1]. Sum 5 = tr(A); product 6 = det(A).
Worked example 2
Repeated root: A = [[2,1],[0,2]]Two equal roots do not guarantee two independent eigenvectors.
Result: λ = 2 (multiplicity 2); A is not diagonalizable.
Check: A[1,0] = 2[1,0]. The trace is 4 and the determinant is 4, consistent with roots 2, 2.
Worked example 3
Complex roots: A = [[0,−1],[1,0]]A quarter-turn rotation has no real eigenvalues.
Result: λ = i, −i; diagonalizable over ℂ, not over ℝ.
Check: A[1,−i] = [i,1] = i[1,−i]; the sum is 0 and product is 1.
Check the conditions before trusting a result.
The zero vector satisfies Av = λv for every λ, so it is excluded from the definition of eigenvector.
A repeated root may have too few independent eigenvectors. Solve its null space before deciding diagonalizability.
A real matrix need not have real eigenvalues. Specify the field and check all roots with multiplicity.

