Eigenvalues and Eigenvectors Calculator
Find the eigenvalues and corresponding eigenvectors of a square matrix using the relationship Av = λv. Eigenvalues and eigenvectors describe directions that remain unchanged in direction under a linear transformation, although their magnitudes may change.
A
Learn About Eigenvalues and Eigenvectors
In linear algebra, an eigenvector of a square matrix $\mathbf{A} \in \mathbb{R}^{n \times n}$ is a non-zero vector $\mathbf{v}$ whose direction is preserved under the transformation. Matrix multiplication by $\mathbf{A}$ merely scales $\mathbf{v}$ by a scalar factor $\lambda$, called the eigenvalue:
Rewritten in homogeneous form:
Eigenvalues and eigenvectors reveal the principal vibrational modes in physics, system stability in control theory, principal components in data science, and the foundation of matrix diagonalization.
Two-Step Computation Procedure
- The Characteristic Equation:
A non-trivial solution $\mathbf{v} \ne \mathbf{0}$ exists if and only if $(\mathbf{A} - \lambda \mathbf{I}_n)$ is singular, meaning its determinant must be zero:
Expanding this determinant yields an $n$-th degree polynomial whose roots are the eigenvalues $\lambda_1, \dots, \lambda_k$.
- The Eigenspace ($E_\lambda$):
For each distinct eigenvalue $\lambda_i$, the set of all corresponding eigenvectors (plus zero) forms the eigenspace, which is the null space of $(\mathbf{A} - \lambda_i \mathbf{I}_n)$:
Solving this homogeneous system via Gaussian elimination yields a basis of eigenvectors.
Multiplicity and Diagonalizability
- Algebraic Multiplicity ($AM$): The multiplicity of $\lambda$ as a root of the characteristic polynomial.
- Geometric Multiplicity ($GM$): The dimension of the eigenspace, $\dim(E_\lambda) = \operatorname{nullity}(\mathbf{A} - \lambda \mathbf{I}_n)$.
- Multiplicity Inequality: $1 \le GM(\lambda) \le AM(\lambda)$ holds for every eigenvalue.
- Diagonalizability: A matrix is diagonalizable ($\mathbf{A} = \mathbf{P}\mathbf{D}\mathbf{P}^{-1}$) if and only if $GM(\lambda) = AM(\lambda)$ for all eigenvalues. If $GM(\lambda) < AM(\lambda)$, the matrix is called defective.
Fundamental Invariants
- Trace Sum: $\sum_{i=1}^n \lambda_i = \operatorname{tr}(\mathbf{A})$
- Determinant Product: $\prod_{i=1}^n \lambda_i = \det(\mathbf{A})$
Worked Numerical Example
Find the eigenvalues and eigenvectors of:
- Characteristic Equation:
Factoring gives $(\lambda - 5)(\lambda - 2) = 0 \implies \lambda_1 = 5, \, \lambda_2 = 2$.
- Eigenvector for $\lambda_1 = 5$:
Check: $\mathbf{A}\mathbf{v}_1 = \begin{bmatrix} 4(1)+1 \\ 2(1)+3 \end{bmatrix} = \begin{bmatrix} 5 \\ 5 \end{bmatrix} = 5\mathbf{v}_1$.
- Eigenvector for $\lambda_2 = 2$:
Check: $\mathbf{A}\mathbf{v}_2 = \begin{bmatrix} 4(1)-2 \\ 2(1)-6 \end{bmatrix} = \begin{bmatrix} 2 \\ -4 \end{bmatrix} = 2\mathbf{v}_2$.
Because $GM = AM = 1$ for both eigenvalues, $\mathbf{A}$ has a full set of independent eigenvectors and is diagonalizable.
Can a real matrix have complex eigenvalues?
Yes. If a real matrix is non-symmetric, its characteristic polynomial can produce complex conjugate root pairs $\lambda = a \pm bi$. The corresponding eigenvectors also contain complex entries. Geometrically, complex eigenvalues represent 2D plane rotations accompanied by scaling.
What is the Spectral Theorem for symmetric matrices?
The Spectral Theorem states that every real symmetric matrix ($\mathbf{A} = \mathbf{A}^T$) has purely real eigenvalues and an orthonormal basis of eigenvectors. Consequently, every real symmetric matrix can be orthogonally diagonalized: $\mathbf{A} = \mathbf{Q}\mathbf{D}\mathbf{Q}^T$ where $\mathbf{Q}^{-1} = \mathbf{Q}^T$.
What does an eigenvalue of zero mean?
An eigenvalue $\lambda = 0$ means $(\mathbf{A} - 0\mathbf{I})\mathbf{v} = \mathbf{A}\mathbf{v} = \mathbf{0}$ for a non-zero $\mathbf{v}$, indicating that $\mathbf{A}$ has a non-trivial null space. Thus, $\lambda = 0$ is an eigenvalue if and only if $\det(\mathbf{A}) = 0$ and the matrix is singular.
What is the difference between an eigenvector and an eigenspace?
An eigenvector is a single non-zero vector satisfying $\mathbf{A}\mathbf{v} = \lambda \mathbf{v}$. Any non-zero scalar multiple $c\mathbf{v}$ is also an eigenvector. The eigenspace $E_\lambda$ is the complete vector subspace consisting of all eigenvectors associated with $\lambda$, plus the zero vector.
- Google's PageRank Algorithm: The original PageRank algorithm modeled web browsing as a Markov chain. The importance ranking of web pages corresponds to the principal eigenvector associated with dominant eigenvalue $\lambda = 1$ of the web hyperlink transition matrix.
- Quantum Observables: In quantum mechanics, physical observables (energy, momentum, spin) are represented by self-adjoint operators (Hermitian matrices). The only possible measurable values of an observable are its eigenvalues, and the quantum state collapses into the corresponding eigenvector upon measurement.