Matrix eigenvalue calculator • 2026 advanced math
| Index | Value | Real Part | Imaginary Part |
|---|---|---|---|
| 1 | 6.24 | 6.24 | 0.00 |
| 2 | 3.00 | 3.00 | 0.00 |
| 3 | 2.76 | 2.76 | 0.00 |
| Vector | Components | Normalization |
|---|---|---|
| v₁ | [0.707, 0.000, 0.707] | 1.000 |
| v₂ | [0.000, 1.000, 0.000] | 1.000 |
| v₃ | [-0.707, 0.000, 0.707] | 1.000 |
For a square matrix A, an eigenvector v and eigenvalue λ satisfy: Av = λv. This means when A transforms v, the result is a scaled version of v. Eigenvalues represent the scaling factors, and eigenvectors represent directions that remain invariant under the transformation. They are fundamental in understanding matrix behavior and have applications in physics, engineering, computer science, and data analysis.
The eigenvalues are found by solving the characteristic equation: det(A - λI) = 0. For a 2×2 matrix, this yields a quadratic equation. For larger matrices, it produces a polynomial of degree n. The roots of this polynomial are the eigenvalues. For a 3×3 matrix, the characteristic polynomial is a cubic equation that can be solved analytically or numerically.
Key properties of eigenvalues:
For the 2×2 matrix [[3, 1], [0, 2]], what are the eigenvalues?
For matrix A = [[3, 1], [0, 2]], we solve det(A - λI) = 0:
det([[3-λ, 1], [0, 2-λ]]) = (3-λ)(2-λ) - (1×0) = (3-λ)(2-λ) = 0
This gives us: λ₁ = 3 and λ₂ = 2
For an upper triangular matrix, eigenvalues are the diagonal entries.
This problem demonstrates the characteristic polynomial method for finding eigenvalues. The key insight is that for triangular matrices (upper or lower), the eigenvalues are simply the diagonal elements. This is because the determinant of a triangular matrix is the product of its diagonal elements, making the characteristic polynomial especially easy to solve.
Eigenvalue: Scaling factor when matrix acts on eigenvector
Eigenvector: Vector that changes only in magnitude under transformation
Characteristic Polynomial: det(A - λI) = 0
• Triangular matrices: eigenvalues = diagonal elements
• Trace = sum of eigenvalues
• Determinant = product of eigenvalues
• Check: sum of eigenvalues = trace of matrix
• Verify: product of eigenvalues = determinant
• Upper/lower triangular: use diagonal elements
• Forgetting to subtract λ from diagonal elements
• Miscalculating the determinant
• Not recognizing triangular matrix shortcut
For the matrix [[4, 2], [1, 3]] with eigenvalue λ = 5, find the corresponding eigenvector.
We need to solve (A - 5I)v = 0:
(A - 5I) = [[4-5, 2], [1, 3-5]] = [[-1, 2], [1, -2]]
So we have the system: [-1, 2]·v = 0 and [1, -2]·v = 0
This gives us: -v₁ + 2v₂ = 0, so v₁ = 2v₂
Any vector of the form [2t, t] is an eigenvector. Normalizing with t=1: v = [2, 1]
Verification: [[4, 2], [1, 3]]·[2, 1] = [10, 5] = 5·[2, 1] ✓
This example shows how to find eigenvectors once eigenvalues are known. We solve the homogeneous system (A - λI)v = 0. The solution space is the eigenspace corresponding to that eigenvalue. Any non-zero vector in this space is an eigenvector. We typically normalize for convenience, but any scalar multiple is also an eigenvector.
Eigenspace: Space of all eigenvectors for an eigenvalue
Homogeneous System: System with zero vector on RHSNormalization: Scaling vector to unit length
• Solve (A - λI)v = 0 for each eigenvalue
• Eigenspace dimension ≤ multiplicity of eigenvalue
• Verify result by checking Av = λv
• Always verify your solution
• Use free variables to parameterize solution
• Choose convenient values for parameters
• Not solving the correct system (A - λI)v = 0
• Forgetting to normalize eigenvectors
• Not checking the final result
A 3×3 matrix has eigenvalues λ₁ = 2, λ₂ = 2, λ₃ = 5 with corresponding eigenvectors v₁ = [1, 0, 0], v₂ = [0, 1, 0], v₃ = [1, 1, 1]. Can this matrix be diagonalized? If yes, find the diagonalization.
Since we have 3 linearly independent eigenvectors (v₁, v₂, v₃ are linearly independent), the matrix is diagonalizable.
Matrix P = [v₁ v₂ v₃] = [[1, 0, 1], [0, 1, 1], [0, 0, 1]]
Diagonal matrix D = [[2, 0, 0], [0, 2, 0], [0, 0, 5]]
The diagonalization is A = PDP⁻¹, where A = [[2, 0, 1], [0, 2, 1], [0, 0, 5]]
This is possible because the algebraic multiplicity of each eigenvalue equals its geometric multiplicity.
This problem demonstrates matrix diagonalization. A matrix is diagonalizable if it has n linearly independent eigenvectors for an n×n matrix. The matrix P is formed by eigenvectors as columns, and D is the diagonal matrix of eigenvalues. Diagonalization is useful for computing matrix powers and solving differential equations. The repeated eigenvalue λ = 2 has geometric multiplicity 2 (same as algebraic multiplicity), which allows diagonalization.
Diagonalization: Expressing A as PDP⁻¹
Algebraic Multiplicity: Number of times eigenvalue appears as root
Geometric Multiplicity: Dimension of eigenspace
• Matrix diagonalizable ⟺ n independent eigenvectors
• Geometric multiplicity ≤ algebraic multiplicity
• Equal multiplicities allow diagonalization
• Check independence of eigenvectors
• Verify A = PDP⁻¹
• Diagonalization enables matrix power calculation
• Assuming all matrices with n eigenvalues are diagonalizable
• Not checking independence of eigenvectors
• Forgetting that repeated eigenvalues need independent eigenvectors
A dynamical system is represented by the matrix A = [[0.5, 0.2], [0.1, 0.6]]. Determine if the system is stable by analyzing its eigenvalues. What does stability mean in this context?
For stability in discrete systems, all eigenvalues must have absolute value less than 1.
det(A - λI) = (0.5-λ)(0.6-λ) - (0.2×0.1) = λ² - 1.1λ + 0.28 = 0
Using quadratic formula: λ = (1.1 ± √(1.21 - 1.12))/2 = (1.1 ± √0.09)/2 = (1.1 ± 0.3)/2
So λ₁ = 0.7 and λ₂ = 0.4
Since |λ₁| = 0.7 < 1 and |λ₂| = 0.4 < 1, the system is stable.
Stability means the system converges to equilibrium over time.
This example connects eigenvalues to system stability. In discrete dynamical systems (x_{n+1} = Ax_n), the eigenvalues determine long-term behavior. If all eigenvalues have absolute value less than 1, the system converges to zero (stable). If any eigenvalue has absolute value greater than 1, the system diverges (unstable). This principle applies to economics, biology, and engineering systems.
Stable System: Converges to equilibrium over time
Discrete Dynamical System: x_{n+1} = Ax_n
Equilibrium Point: State where system remains constant
• Discrete system stable: |λ| < 1 for all eigenvalues
• Continuous system stable: Re(λ) < 0 for all eigenvalues
• Eigenvalues determine system behavior
• Distinguish between discrete and continuous systems
• Check all eigenvalues for stability
• Consider real vs. complex eigenvalues
• Confusing discrete vs. continuous stability criteria
• Only checking dominant eigenvalue
• Not considering complex eigenvalues properly
Which of the following statements about eigenvalues is FALSE?
The answer is C) Symmetric matrices always have distinct eigenvalues. This is false. Symmetric matrices always have real eigenvalues and can be orthogonally diagonalized, but they can have repeated eigenvalues. For example, the identity matrix is symmetric and has all eigenvalues equal to 1. The other statements are true: trace = sum of eigenvalues, determinant = product of eigenvalues, and real matrices can have complex eigenvalues (though they come in conjugate pairs).
This question tests understanding of fundamental eigenvalue properties. The key insight is that symmetry guarantees real eigenvalues but not distinctness. The identity matrix is the most extreme example of a symmetric matrix with repeated eigenvalues. This distinction is important for understanding when matrices are diagonalizable and what properties they possess.
Symmetric Matrix: A = A^T
Orthogonal Diagonalization: A = QDQ^T where Q is orthogonal
Distinct Eigenvalues: All eigenvalues different
• Symmetric ⟹ Real eigenvalues
• Symmetric ⟹ Orthogonal diagonalization
• Symmetric ⟸̸ Distinct eigenvalues
• Think of counterexamples to test statements
• Identity matrix is symmetric with repeated eigenvalues
• Check properties individually
• Confusing necessary and sufficient conditions
• Assuming all symmetric matrices have distinct eigenvalues
• Not considering special cases like identity matrix
Scalars λ where Av = λv for non-zero vector v. Formula: det(A - λI) = 0. Eigenvalues reveal matrix transformation properties.
Common approaches: Characteristic polynomial (analytical), QR algorithm (numerical), Power iteration (largest eigenvalue), Jacobi method (symmetric matrices).
Used in PCA, stability analysis, quantum mechanics, graph theory, and differential equations.
Q: Can a matrix have complex eigenvalues?
A: Yes! Real matrices can have complex eigenvalues, but they appear in conjugate pairs (a±bi). Symmetric real matrices always have real eigenvalues. Complex eigenvalues indicate rotation/scaling in the transformation.
Q: Why are eigenvalues important in machine learning?
A: Eigenvalues are crucial in Principal Component Analysis (PCA) for dimensionality reduction. They indicate the variance explained by each component. In graph neural networks, they help understand connectivity patterns.