Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Eigen Vectors


Linear Algebra·EigenvectorsAn eigenvector is a direction A leaves alone — only stretches by some factor λ. Drag v around. When v and Av line up, you've found one. Eigenvalue is |Av|/|v| (signed).
λ=2λ=0.5Avv
v=(2, 1)
Av=(4, 0.5)
Animation
0.00 / 1.00

Diagonal matrix

2 distinct real · λ = 2, 0.5

A diagonal matrix scales each axis independently. The standard basis vectors are themselves eigenvectors: ê₁ stretches by 2, ê₂ shrinks by 0.5. The eigendirections are exactly the coordinate axes.

01Livedrag v

|v|2.24|Av|4.03|Av| / |v|1.8angle(v, Av)-19.44°
Drag v until Av aligns with it.

02Eigen structure of A

λ1=2v(1, 0)
λ2=0.5v(0, 1)
λ² − 2.5·λ + 1 = 0  ·  Δ = 2.25







Key Terms

Eigenvector — A nonzero vector vv such that Av=λvAv = \lambda v for some scalar λ\lambda. Matrix AA leaves the direction of vv unchanged and only scales it.

Eigenvalue — The scalar λ\lambda in Av=λvAv = \lambda v. It is the stretch factor along the eigenvector direction. A negative eigenvalue means the vector flips.

Eigendirection — The line through the origin spanned by an eigenvector. Every vector on this line is also an eigenvector with the same eigenvalue.

Characteristic Polynomial — The quadratic λ2tr(A)λ+det(A)=0\lambda^2 - \text{tr}(A)\lambda + \det(A) = 0 whose roots are the eigenvalues of a 2×22 \times 2 matrix AA.

Defective Matrix — A matrix with a repeated eigenvalue but fewer eigenvectors than the algebraic multiplicity. Cannot be diagonalized.

Spectral Theorem — Every symmetric matrix has perpendicular eigenvectors and real eigenvalues.

Getting Started

The canvas shows the standard grid in gray, dashed green lines marking the eigendirections of AA, the test vector vv in orange, and its image AvAv in cyan. You control vv; the matrix AA comes from the scenarios panel on the left.

The mission is simple: drag vv around until it lines up with AvAv. When that happens, vv is an eigenvector and the ratio Av/v|Av|/|v| is its eigenvalue λ\lambda.

Three quick experiments:

• Drag $v$ off the green dashed line — AvAv swings to a different direction. They do not match.
• Drag $v$ onto the green dashed line — the two vectors snap to amber and the status strip announces the eigenvalue.
• Drag $v$ to the perpendicular eigendirection (in the diagonal preset) — same alignment, different λ\lambda.

The green dashed lines are cheat sheets. The whole canvas is a search for the moments when vv and AvAv are collinear.

Dragging v and Watching Av

Only the orange vv handle is draggable. Everything else — AvAv, the angle arc, the alignment color — updates instantly.

• Drag $v$ in a circle — watch AvAv trace its own loop. The two curves agree only at the eigendirections.
• Speed of $Av$ relative to $v$ — in stretchy directions AvAv runs ahead; in shrinking directions it lags behind. The eigenvalue magnitude is exactly that speed ratio.
• Drag $v$ near the origin — both vectors shrink. The ratio Av/v|Av|/|v| stays defined as long as vv is nonzero.

A faster diagnostic than chasing alignment by eye: watch the angle readout. As you approach an eigendirection, angle(v,Av)\text{angle}(v, Av) heads to 0deg0\deg or 180deg180\deg. The status strip flips when the alignment is within roughly four degrees.

The Alignment Signal and Eigenvalue Readout

Card 01 (Live) shows four numbers updating in real time.

• $|v|$ — length of your test vector.
• $|Av|$ — length of its image. Larger when AA stretches in this direction, smaller when it shrinks.
• $|Av|/|v|$ — the candidate eigenvalue magnitude. Only equals λ|\lambda| exactly when vv is an eigenvector.
• angle$(v, Av)$ — the smoking gun. At zero or 180 degrees, vv is parallel to AvAv, so you have an eigenvector.

When alignment is detected, the status strip turns amber and reads v is an eigenvector · λ ≈ (value). The sign of λ\lambda comes from dot(v,Av)\text{dot}(v, Av): positive when they point the same way, negative when opposite (reflection-type eigendirection).

The Eigen Structure Card

Card 02 (Eigen structure of A) shows all eigenvalues of the current matrix, plus a unit eigenvector beside each, and the characteristic polynomial at the bottom.

Four possible appearances:

• Two distinct real — rows λ1\lambda_1 and λ2\lambda_2 in green, each with its unit eigenvector (x,y)(x, y). Two green dashed lines on the canvas.
• Defective — one row in pink with the repeated λ\lambda and a single eigenvector, plus a note that a generalized eigenvector is required for a full basis.
• Isotropic — one row in green: λ\lambda with the message "every direction is eigen". On the canvas, concentric green rings replace the lines.
• Complex — one row in purple: λ=a±bi\lambda = a \pm bi with the note "no real eigenvector".

The bottom line shows λ2tr(A)λ+det(A)=0\lambda^2 - \text{tr}(A)\lambda + \det(A) = 0 with the actual trace and determinant filled in, plus the discriminant Δ\Delta.

Using the Snap Button

The green button at the bottom of the eigen structure card jumps vv directly to the nearest eigendirection.

• Distinct case — snaps to whichever of the two eigenlines is closer to vv, preserving the current length of vv.
• Defective case — snaps to the single eigendirection that exists.
• Isotropic case — leaves vv unchanged (any direction already qualifies).
• Complex case — button is disabled and reads "No real eigenvectors" because no direction satisfies Av=λvAv = \lambda v in real two-dimensional space.

This is the fastest way to confirm what the eigen structure card claims: hit snap, watch vv lock to a dashed green line, see the alignment indicator turn amber, and read λ\lambda in the live card.

Preset Scenarios — Four Categories

The scenarios panel on the left jumps the matrix AA to eleven canonical examples grouped by eigen structure.

• Two distinct real — diagonal (λ=2,0.5)(\lambda = 2, 0.5), symmetric (λ=3,1)(\lambda = 3, 1) with perpendicular eigenvectors, reflection across y=xy=x (λ=1,1)(\lambda = 1, -1), upper-triangular (λ=3,2)(\lambda = 3, 2) with non-orthogonal eigenvectors.
• Isotropic — identity (every direction, λ=1\lambda = 1) and uniform scaling by 2 (every direction, λ=2\lambda = 2).
• Defective — shear λ=1\lambda = 1 doubled, and defective λ=2\lambda = 2 doubled. Only one eigendirection in each.
• Complex — rotation by 30deg30\deg, quarter turn (λ=±i)(\lambda = \pm i), and rotating spiral. No real eigendirection in any of them.

The explanation card at the top of the right column updates with a brief description of the structural feature for each preset.

Display Layer Toggles

The chip strip toggles which visual elements appear on the canvas.

• grid — gray standard grid. Off for a cleaner background.
• eigenlines — the dashed green lines marking all real eigendirections. Turn off to hunt for them by alignment alone.
• v / Av lines — thin dashed extensions of vv and AvAv through the origin. Helps eyeball alignment when the vectors are short.
• angle arc — the small arc between vv and AvAv. Visual companion to the angle readout in the live card.
• labels — the vv, AvAv, and λ\lambda name tags. Off for screenshots or clean exploration.

Useful pairing: turn off eigenlines and try to find them yourself, then turn them back on to check your guesses.

What Is an Eigenvector?

Given a square matrix AA, an eigenvector is a nonzero vector vv that is mapped to a scalar multiple of itself:

Av=λvA v = \lambda v


The scalar λ\lambda is the eigenvalue. Geometrically, AA does many things to most vectors — rotates them, shears them, mixes their components — but along an eigenvector it does only one thing: stretch or shrink. The direction is invariant.

This is why eigenvectors matter: they reveal the natural axes of a linear transformation. In coordinates aligned with the eigenvectors, AA becomes a diagonal matrix, which is the simplest description possible.

For deeper coverage of definitions, properties, and applications, see eigenvectors theory page, eigenvalues definition, and matrix diagonalization.

Four Cases: Distinct, Isotropic, Defective, Complex

Every 2×22 \times 2 matrix falls into one of four structural categories.

• Two distinct real eigenvalues — the generic case. Two independent eigendirections. AA is diagonalizable. Symmetric matrices always land here and additionally have perpendicular eigenvectors.
• Isotropic (repeated, diagonalizable) — AA is a scalar multiple of the identity. Every direction is an eigendirection with the same λ\lambda.
• Defective (repeated, not diagonalizable) — the eigenvalue repeats but only one eigenvector exists. Classic example: a shear. Diagonalization fails; Jordan form is needed.
• Complex conjugate pair — eigenvalues are a±bia \pm bi with b0b \neq 0. AA has a rotational component. No real direction is preserved.

The discriminant Δ=tr(A)24det(A)\Delta = \text{tr}(A)^2 - 4\det(A) in the characteristic polynomial diagnoses the case: positive means distinct real, zero means repeated, negative means complex.

For full treatment see characteristic polynomial, defective matrices, and complex eigenvalues.

Related Concepts

Eigenvalues — the scalar stretch factors that pair with each eigenvector.

Characteristic Polynomial — the source equation det(AλI)=0\det(A - \lambda I) = 0 whose roots are the eigenvalues.

Diagonalization — rewriting AA as PDP1PDP^{-1} where DD is diagonal and PP has eigenvectors as columns.

Spectral Theorem — guarantees perpendicular eigenvectors and real eigenvalues for symmetric matrices.

Singular Value Decomposition — a generalization of eigendecomposition that works for any matrix, not just square diagonalizable ones.

Change of Basis — expressing AA in the eigenbasis turns it into a diagonal matrix.

Matrix Trace and Determinant — the two invariants that appear in the characteristic polynomial.