Algebra • Spectral Theory

Eigenvector Calculator

Compute linearly independent eigenvectors (v), eigenspace nullity kernels, basis vectors, and verify directional invariance under linear matrix transformations.

|
Last Updated: September 2026
|
Verified Accurate: Linear Vector Spaces & Nullspaces
Square Matrix A (2×2) a_ij elements
Preset Transformations:
Calculated Eigenvectors Real Eigenbasis Found
Basis Dimension 2 of 2
Multiplicity GM = AM
Orthogonal No
Defective No (Complete)

Geometric Eigen-Axes on Cartesian Plane

Av = λv
v₁ Span
v₂ Span

Step-by-Step Eigenspace Kernel Derivation: (A − λI)v = 0 Nullspace Basis Vectors

Direct Answer & Overview
Verified Educational Guide

How to Calculate Matrix Eigenvectors

To calculate the eigenvectors of an n × n square matrix A, first determine its eigenvalues λ by solving det(A - λI) = 0. For each distinct eigenvalue λ, construct the characteristic matrix (A - λI) by subtracting λ from each diagonal entry. Set up the homogeneous linear matrix equation (A - λI)v = 0. Perform Gaussian elimination or row reduction to reduced row echelon form (RREF). Identify the free variables, express basic variables in terms of free parameters, and write the basis vectors spanning the eigenspace Null(A - λI). Normalize the basis vectors if an orthonormal coordinate system is needed.

Primary Mathematical Formula Homogeneous Eigenspace Kernel Equation
Standard Equation
ƒ(x)
Q.E.D.
(A−λI)v=0⟺v∈Null(A−λI),v≠0(A - \lambda I)\mathbf{v} = \mathbf{0} \quad \Longleftrightarrow \quad \mathbf{v} \in \text{Null}(A - \lambda I), \quad \mathbf{v} \neq \mathbf{0}
Eigenvectors are never unique: any non-zero scalar multiple c·v is also a valid eigenvector spanning the same 1D invariant line.
Exact Formula
Input Parameters
Required
1
Square Matrix A: 2×2 or 3×3 real matrix coefficients.
2
Eigenvalue λ: Computed from characteristic polynomial or user-specified scalar.
Expected Outputs
Calculated
Eigenvector Basis v: Non-zero column vector satisfying Av = λv.
Geometric Multiplicity (GM): Dimension of the eigenspace nullity.
Defectiveness Status: Verification if matrix possesses a complete eigenbasis.
Worked Numerical Example
Instant Verification
Find the eigenvector of A = [[4, 1], [2, 3]] corresponding to λ = 5
→ (A - 5I)v = [[-1, 1], [2, -2]][[x], [y]] = 0. Row 1 yields -x + y = 0 ⇒ y = x. Set free variable x = 1.
v₁ = [1, 1]ᵀ (or normalized [1/√2, 1/√2]ᵀ)

Definition of Eigenvectors & The Nullspace Kernel

While eigenvalues represent scalar magnification factors, eigenvectors represent the fundamental axes of stability in a linear transformation. When a square matrix A transforms space, most arbitrary vectors are simultaneously rotated and stretched. An eigenvector v is an exceptional vector whose spatial span remains completely unaltered by the transformation:

A · v = λ · v   (v ≠ 0)

The linear transformation A acts purely as a scalar multiplier along the 1D subspace spanned by v.

To convert this geometric requirement into an algorithmic procedure, we collect all vectors onto the left side of the equation and introduce the identity matrix I:

(A - λI) · v = 0

In abstract linear algebra, the solution set of all vectors v that are mapped to the zero vector by an operator M is called the nullspace or kernel of M, denoted Null(M). Therefore, every eigenvector corresponding to eigenvalue λ belongs to the nullspace of the shifted matrix (A - λI). If you need to calculate eigenvalues first, explore our Eigenvalue Calculator.

Finding Eigenspace Basis via Gaussian Elimination

Because λ was chosen specifically as a root of the characteristic determinant det(A - λI) = 0, the rows of (A - λI) are guaranteed to be linearly dependent. Consequently, Gaussian row elimination will always create at least one row of zeros:

Step 1: Construct the Characteristic Matrix
Subtract scalar λ from each entry along the main diagonal: (A - λI).
Step 2: Augment with the Zero Vector
Form the augmented matrix [ (A - λI) | 0 ].
Step 3: Row Reduce to Echelon Form
Use elementary row operations (pivot scaling and row subtraction) to reach row echelon form. Automate this step using our Row Echelon Form Calculator.
Step 4: Parametrize the Free Variables
Any column without a leading pivot corresponds to a free variable (e.g. t). Express basic pivot variables in terms of free variables to write the general parametric vector.

For any non-trivial system of linear equations, you can also cross-verify your nullspace kernel using our dedicated System of Equations Calculator.

Eigenvector Normalization & Directional Rays

An essential property of linear equations is homogeneity: if v is an eigenvector of A, then any scalar multiple c · v (for c ≠ 0) is also an eigenvector:

A · (c · v) = c · (A · v) = c · (λ · v) = λ · (c · v)

Thus, an eigenvector does not represent a single point, but an entire invariant line (ray) passing through the origin. To standardize eigenvectors across scientific literature, machine learning libraries, and numerical algorithms, vectors are conventionally normalized to unit Euclidean length (||v|| = 1):

v_norm = v / ||v|| = v / √( v₁² + v₂² + … + v_n² )

Normalized eigenvectors ensure numerical stability when assembling the modal transformation matrix P in diagonalization and matrix powers. Compute dot products and verify unit lengths using our Dot Product Calculator.

Geometric vs Algebraic Multiplicity & Defective Spaces

When an eigenvalue repeats as a root of the characteristic polynomial, the dimension of its eigenspace determines whether the matrix is diagonalizable:

Algebraic Multiplicity (AM)

The exponent of the linear factor (λ - λ₀) in the characteristic polynomial. Measures how many times λ₀ appears as a root.

Geometric Multiplicity (GM)

The dimension of the nullspace dim(Null(A - λ₀I)). Measures the number of linearly independent eigenvectors associated with λ₀.

It is an unbreakable mathematical theorem that 1 ≤ GM ≤ AM. If GM < AM, the matrix has an "eigenvector deficit" and is called defective. For example, the shear matrix [[2, 1], [0, 2]] has λ = 2 with AM = 2, but row reduction reveals only 1 linearly independent eigenvector (GM = 1).

Orthogonal Eigenbases & The Real Spectral Theorem

For real symmetric matrices (Aᵀ = A), the Spectral Theorem provides an extraordinary structural guarantee:

  • Real Spectrum: All eigenvalues are guaranteed to be real numbers; complex conjugate eigenvalues cannot occur.
  • Orthogonal Eigenspaces: Eigenvectors corresponding to distinct eigenvalues are mutually perpendicular: v₁ · v₂ = 0.
  • Full Orthonormal Basis: Even if eigenvalues repeat (AM > 1), the geometric multiplicity always equals the algebraic multiplicity (GM = AM), so symmetric matrices are never defective!

This property enables orthogonal matrix diagonalization A = Q D Qᵀ, where Q is an orthogonal rotation matrix whose columns are normalized eigenvectors. To multiply and invert modal transformation matrices, explore our Matrix Multiplication Calculator.

Step-by-Step Worked Calculation Examples

Example 1: 2×2 Matrix with Distinct Eigenvalues Difficulty: Fundamental

Given matrix A = [[4, 1], [2, 3]] with eigenvalues λ₁ = 5 and λ₂ = 2, find both eigenvectors.

1. For λ₁ = 5: Form (A - 5I) = [[4 - 5, 1], [2, 3 - 5]] = [[-1, 1], [2, -2]].
2. System: [[-1, 1], [2, -2]] [[x], [y]] = [[0], [0]] ⇒ -x + y = 0 ⇒ y = x.
3. Choose free parameter x = 1 ⇒ v₁ = [1, 1]ᵀ. Normalized: [1/√2, 1/√2]ᵀ.
4. For λ₂ = 2: Form (A - 2I) = [[4 - 2, 1], [2, 3 - 2]] = [[2, 1], [2, 1]].
5. System: [[2, 1], [2, 1]] [[x], [y]] = [[0], [0]] ⇒ 2x + y = 0 ⇒ y = -2x.
6. Choose free parameter x = 1 ⇒ v₂ = [1, -2]ᵀ. Normalized: [1/√5, -2/√5]ᵀ.
Result: Two linearly independent eigenvectors spanning the complete 2D plane.
Example 2: Defective Shear Matrix Difficulty: Intermediate

Find the eigenvectors of the horizontal shear matrix A = [[3, 2], [0, 3]].

1. Characteristic equation: det(A - λI) = (3 - λ)² = 0 ⇒ λ = 3 (AM = 2).
2. Form (A - 3I) = [[3 - 3, 2], [0, 3 - 3]] = [[0, 2], [0, 0]].
3. Equation: 0·x + 2y = 0 ⇒ y = 0, while x is completely free!
4. Setting x = 1 yields v₁ = [1, 0]ᵀ. No second independent eigenvector exists!
Conclusion: GM = 1 < AM = 2. The shear matrix is defective and non-diagonalizable.

Common Pitfalls & Diagnostic Table

Mistake Erroneous Practice Correct Mathematical Rule
Zero Vector Confusion Reporting v = [0, 0]ᵀ as an eigenvector Eigenvectors must be strictly non-zero (v ≠ 0) by mathematical axiom.
Assuming Unique Vector Thinking there is only one exact eigenvector answer Any scalar multiple c·v is equally valid; they span the exact same invariant 1D subspace.
Row Reducing A Directly Row reducing matrix A to find eigenvectors Row operations alter eigenvectors! You must row reduce the shifted matrix (A - λI).
Defectiveness Blindness Assuming repeated eigenvalues always give multiple vectors When GM < AM, the matrix is defective and lacks a full basis of eigenvectors.
Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

How do you calculate eigenvectors from a known eigenvalue?
Given a square matrix A and an eigenvalue λ, subtract λ times the identity matrix to form the characteristic matrix (A - λI). Then solve the homogeneous linear system (A - λI)v = 0 using Gaussian elimination or row reduction. The non-trivial solutions span the eigenspace corresponding to λ.
Can an eigenvector be the zero vector (v = 0)?
No. By mathematical definition, an eigenvector must be non-zero (v ≠ 0). The zero vector trivially satisfies A·0 = λ·0 for every scalar λ, making it mathematically meaningless as an invariant directional axis.
What is the eigenspace of a matrix?
The eigenspace corresponding to an eigenvalue λ is the set of all eigenvectors associated with λ, along with the zero vector. It forms a true vector subspace equal to the nullspace (kernel) of the matrix operator (A - λI).
What does geometric multiplicity mean for eigenvectors?
The geometric multiplicity of an eigenvalue λ is the dimension of its eigenspace, dim(Null(A - λI)). It represents the maximum number of linearly independent eigenvectors associated with that eigenvalue.
Why are eigenvectors of symmetric matrices always orthogonal?
By the real Spectral Theorem, eigenvectors corresponding to distinct eigenvalues of a real symmetric matrix (Aᵀ = A) are always mutually orthogonal (their dot product equals zero). For repeated eigenvalues, an orthogonal basis can always be chosen using the Gram-Schmidt orthogonalization process.
How do you normalize an eigenvector?
An eigenvector v is normalized by dividing each of its components by its Euclidean magnitude ||v||: v_norm = v / √(v₁² + v₂² + ... + v_n²). The resulting unit eigenvector has a length of exactly 1.