Eigenvectors
About this app
A·v = λ·v — the unit circle becomes an ellipse, eigenvectors are its principal axes. Interactive vector, exact eigenvalue computation, every special case: real, complex, defective, singular.
The idea
An eigenvector v of a matrix A is a nonzero vector whose direction A does not change: A·v = λ·v, where λ is the eigenvalue. With λ > 1 the vector is stretched, with 0 < λ < 1 shrunk, with λ < 0 also flipped, and with λ = 0 sent to zero. In 2D the eigenvalues solve the characteristic polynomial λ² − tr(A)·λ + det(A) = 0. Its discriminant tr² − 4·det decides: positive means two real eigenvalues, zero a repeated one, negative a complex pair with no real eigendirection.
What you see
In 2D the unit circle (or a square or grid) is deformed by A into an ellipse, and the eigenvector directions appear as lines. An interactive vector follows your mouse: the white arrow is the input v, the coloured one is A·v. When both lie on one line, you have found an eigenvector. The app shows eigenvalues, determinant and discriminant. In 3D the unit sphere becomes an ellipsoid; symmetric matrices are solved with the Jacobi method, while for non-symmetric ones power iteration shows only the dominant eigenvectors.
Things to try
Work through the examples: Diagonal 2,3 and Symm. 3+1 have two real eigendirections, which are perpendicular for the symmetric matrix. Rot. 45° and Spiral have complex eigenvalues, so no direction survives. Defective has a repeated eigenvalue but only one eigenline. Projection has an eigenvalue of 0 and is singular. For the identity, every vector is an eigenvector. In each case, move the mouse around the circle and compare v with A·v.
Frequently asked questions
- What is an eigenvector, intuitively?
- An eigenvector is a direction that a linear map does not rotate: the vector is only stretched, shrunk or flipped. Formally A·v = λ·v with v ≠ 0, and the factor λ is the eigenvalue. For a symmetric 2×2 matrix the eigendirections are the principal axes of the ellipse that the unit circle is mapped to.
- How do you find the eigenvalues of a 2×2 matrix?
- Solve det(A − λI) = 0, which for a 2×2 matrix is λ² − tr(A)·λ + det(A) = 0, where tr(A) is the sum of the diagonal entries. The quadratic formula gives λ = (tr ± √(tr² − 4·det)) / 2. The eigenvectors then follow from (A − λI)·v = 0.
- What do complex eigenvalues mean geometrically?
- For a real matrix, complex eigenvalues come as a conjugate pair when tr² − 4·det < 0. No real direction is preserved; the map contains a rotation, often combined with stretching or shrinking, which looks like a spiral. A 45° rotation is a typical example.
- What does the Eigenvectors app show?
- It shows in 2D and 3D how a matrix turns a circle or sphere into an ellipse or ellipsoid and marks the eigendirections. You enter the matrix yourself or load examples for real, complex, defective and singular cases, and compare v with A·v using a vector that follows your pointer.
Subject: Linear algebra
More from Linear algebra
- Gaussian elimination step by step
- Equations as scales
- Linear combination & linear independence (3D)
- Matrix × vector
- Matrizen rechnen: Produkt, Inverse, Transponierte
- Matrices like numbers: identity, inverse, A·x = b
- Matrix multiplication
- Horse and rail: the dot product as work
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps