Clear methods, worked examples and practical results.toolsgenio.com
☰

2×2 Eigenvalue and Eigenvector Calculator

Your inputs

Calculated result

3.000000, 1.000000

Your result

Eigenvectors (1.0000, 1.0000); (1.0000, -1.0000)

This calculator provides an estimate based on the entered values. Verify the assumptions and results before making decisions.

Intro

Eigenvalues and eigenvectors are more than numerical outputs: they reveal the internal structure of a linear transformation. For a 2×2 matrix, the characteristic polynomial identifies possible eigenvalues, while the null space of A − λI determines the eigendirections associated with each value. This distinction becomes especially important when an eigenvalue is repeated.

Two equal roots do not necessarily provide two independent eigenvectors, and a matrix may therefore fail to be diagonalizable even though its characteristic polynomial is easy to solve. This guide develops the mathematical reasoning behind these situations. It explains algebraic and geometric multiplicity, the relationship between determinant and invertibility, and the significance of complex eigenvalues. A repeated-eigenvalue example demonstrates why careful eigenspace analysis is essential.

About this result

How to use

Enter the requested values, then select Calculate to view the result.

Formula

For A = [[a, b], [c, d]], the eigenvalue equation Av = λv can be rewritten as (A − λI)v = 0. A nonzero solution requires det(A − λI) = 0. Expanding this determinant yields the characteristic polynomial p(λ) = λ² − (a + d)λ + ad − bc.

Introduce T = tr(A) = a + d and D = det(A) = ad − bc. The quadratic formula gives λ = (T ± √Δ)/2, where Δ = T² − 4D = (a − d)² + 4bc. The sign of Δ classifies the eigenvalues of a real 2×2 matrix. If Δ is positive, two distinct real eigenvalues exist.

If Δ is zero, one eigenvalue has algebraic multiplicity two. If Δ is negative, the eigenvalues form a nonreal complex-conjugate pair. After finding λ, construct A − λI and solve its homogeneous system.

The dimension of its null space is the geometric multiplicity. By the rank-nullity theorem, nullity(A − λI) = 2 − rank(A − λI). For a repeated eigenvalue λ in a 2×2 matrix, two independent eigenvectors exist exactly when A − λI is the zero matrix, meaning A = λI. Otherwise, the repeated-eigenvalue eigenspace has dimension one.

This provides a direct diagonalizability test for the repeated-root case. When a repeated eigenvalue has only one independent eigenvector, a generalized eigenvector may be introduced for Jordan-form analysis, but it is not an ordinary eigenvector. A generalized vector can satisfy (A − λI)²w = 0 without satisfying (A − λI)w = 0.

For complex eigenvalues, the same determinant and null-space equations apply over the complex numbers. Their mathematical validity does not establish whether any particular calculator supports complex-number representations.

Worked example

Consider the matrix A = [[3, 1], [0, 3]]. This matrix has a repeated eigenvalue but does not have two independent eigenvectors. Step 1: Calculate the trace.

T = 3 + 3 = 6. Step 2: Calculate the determinant. D = 3 × 3 − 1 × 0 = 9.

Step 3: Find the discriminant. Δ = T² − 4D = 36 − 36 = 0. Step 4: Calculate the eigenvalue. λ = (6 ± √0)/2 = 3.

Therefore, λ = 3 has algebraic multiplicity two. Step 5: Construct A − 3I. Subtracting three from each diagonal entry gives [[0, 1], [0, 0]].

Step 6: Solve (A − 3I)[x, y] = [0, 0]. The system reduces to y = 0. The coordinate x is free.

Every nonzero vector of the form [x, 0] is therefore an eigenvector. Step 7: Choose v = [2, 0] and verify. A[2, 0] = [6, 0], while 3[2, 0] = [6, 0].

The equality is exact. Step 8: Determine eigenspace dimension. Because all eigenvectors are multiples of [1, 0], the eigenspace has dimension one. The geometric multiplicity is one, even though the algebraic multiplicity is two.

Step 9: Test an independent candidate. For [1, 1], A[1, 1] = [4, 3], whereas 3[1, 1] = [3, 3]. The vectors differ, so [1, 1] is not an eigenvector.

The matrix is defective: it lacks two independent eigenvectors and cannot be diagonalized. Contrast this with [[3, 0], [0, 3]], which has the same repeated eigenvalue but every nonzero vector as an eigenvector. The characteristic polynomial alone cannot distinguish these eigenspace structures.

Understand the calculation

An eigenpair consists of a scalar λ and a nonzero vector v satisfying Av = λv. This definition applies to linear transformations represented by square matrices. For a real 2×2 matrix, it is useful to distinguish the real vector space from its complex extension: the same real matrix may have no real eigenvectors but possess complex eigenpairs.

The characteristic polynomial determines the possible eigenvalues. For A = [[a, b], [c, d]], it is p(λ) = λ² − (a + d)λ + (ad − bc). Its roots are the eigenvalues, counted according to their algebraic multiplicities.

However, the polynomial alone does not determine how many independent eigenvectors correspond to a particular root. The eigenspace associated with an eigenvalue λ is the null space ker(A − λI). It contains every vector satisfying (A − λI)v = 0, including the zero vector.

The nonzero members of this space are the eigenvectors. The dimension of the eigenspace is called the geometric multiplicity of that eigenvalue. Algebraic multiplicity counts how many times an eigenvalue appears as a root of the characteristic polynomial. Geometric multiplicity counts the independent eigenvector directions associated with that eigenvalue.

Geometric multiplicity is at least one and cannot exceed algebraic multiplicity. For a 2×2 matrix with two distinct eigenvalues, the corresponding eigenvectors are linearly independent. Such a matrix can be diagonalized over a field containing its eigenvalues.

A repeated eigenvalue is more subtle. A scalar matrix A = λI has two independent eigenvector directions, and in fact every nonzero vector is an eigenvector. A nontrivial Jordan block with the same repeated eigenvalue has only one independent eigendirection.

This difference is important because diagonalization requires enough independent eigenvectors to form a basis. When a matrix is diagonalizable, it can be written A = PDP⁻¹, with the columns of P forming an eigenvector basis and D containing the corresponding eigenvalues. A defective matrix lacks the required basis and cannot be diagonalized.

Other useful structural facts follow directly from the eigenvalues. Their sum equals the trace, and their product equals the determinant. In particular, zero is an eigenvalue exactly when the determinant is zero, meaning the matrix is singular.

These relationships are invariant under a change of basis by an invertible similarity transformation. Understanding these distinctions prevents the mistaken assumption that every quadratic characteristic equation automatically provides two independent real eigenvectors. Specific numerical algorithms, result formats, and exceptional-case handling in a website implementation remain unverified.

Questions

What is the difference between algebraic and geometric multiplicity?

Algebraic multiplicity is the number of times an eigenvalue occurs as a root of the characteristic polynomial. Geometric multiplicity is the dimension of its eigenspace, measuring how many independent eigenvector directions exist.

Does a repeated eigenvalue guarantee two independent eigenvectors?

No. A 2×2 matrix with a repeated eigenvalue may have only one independent eigenvector. Two independent eigenvectors exist in the repeated-root case precisely when the matrix is a scalar multiple of the identity.

What makes a 2×2 matrix defective?

A defective 2×2 matrix has insufficient independent eigenvectors to form a basis. This occurs when it has a repeated eigenvalue but only a one-dimensional eigenspace, preventing ordinary matrix diagonalization.

How does the determinant reveal whether zero is an eigenvalue?

The determinant equals the product of the two eigenvalues, counting multiplicity. Therefore, zero is an eigenvalue exactly when the determinant is zero, which also means the matrix is not invertible.

Can a real matrix have purely imaginary eigenvalues?

Yes. For example, the real matrix [[0, −1], [1, 0]] has eigenvalues i and −i. They are complex conjugates, and the matrix has no nonzero real eigenvectors.

Why is the eigenspace defined as a null space?

Rearranging Av = λv gives (A − λI)v = 0. All solutions form the null space of A − λI, while its nonzero elements are the eigenvectors associated with λ.

Are eigenvalues preserved when the coordinate basis changes?

Yes, under an invertible change of basis represented by a similarity transformation B = P⁻¹AP. The characteristic polynomial and eigenvalues remain unchanged, although the eigenvector coordinates change with the basis.