PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Math Visualization

Other simulators in this category — or see all 46.

View category →
NewUniversity / research

Lorenz Strange Attractor

σ, ρ, β ODEs; sensitive butterfly in (x,z) projection — RK4 trace.

Launch Simulator
NewUniversity / research

STFT & Spectrogram

Slide a windowed FFT across the signal: chirps, two-tones, bursts. Tune window M, hop, type — see the time–frequency trade-off live.

Launch Simulator
NewUniversity / research

Morlet Wavelet (CWT)

Continuous wavelet transform with the complex Morlet wavelet: scaleogram |W(s,t)|, log-frequency axis, cone of influence, adjustable ω₀ and scale range.

Launch Simulator
NewUniversity / research

Butterworth / Chebyshev IIR

Design Butterworth, Chebyshev I/II LP/HP filters: |H(f)|, phase, impulse response, and z-plane pole–zero plot via bilinear transform.

Launch Simulator
NewUniversity / research

Kalman Filter (1-D)

Recursive optimal estimation: noisy measurements, hidden truth, predict + update with Q and R; random-walk or constant-velocity model with ±2σ band and innovations.

Launch Simulator
NewUniversity / research

Mandelbrot Deep Zoom

Drag/wheel deep zoom into the Mandelbrot set with smooth continuous coloring and named landmarks.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/2×2 Matrix & Eigenvectors

2×2 Matrix & Eigenvectors

Linear transformations of the plane, represented by 2×2 matrices, are visualized through the deformation of a coordinate grid. The core mathematical operation is the matrix-vector multiplication v' = M v, where v is a position vector of a point in the original grid and v' is its transformed location. The simulator maps every point of the plane according to this rule, stretching, rotating, shearing, or compressing the space. A central concept explored is that of eigenvectors and eigenvalues. For a given matrix M, an eigenvector x is a special non-zero vector whose direction remains unchanged after transformation, satisfying M x = λ x. The scalar λ is the eigenvalue, which determines if the vector is stretched (|λ|>1), shrunk (|λ|<1), reversed (λ<0), or left unchanged in length (|λ|=1). The simulator visually identifies these invariant directions by drawing arrows along the eigenvectors, with their length scaled by the corresponding eigenvalue. This model simplifies the concept by focusing on real eigenvalues and eigenvectors, excluding cases with complex eigenvalues which correspond to rotational transformations without invariant lines in the real plane. By interacting with the grid and adjusting the matrix entries, students directly learn how the algebraic properties of the matrix—its trace, determinant, and characteristic equation det(M - λI)=0—dictate the geometric action on the plane and the existence and nature of its eigen-directions.

Who it's for: Undergraduate students in linear algebra or engineering courses learning about linear transformations, eigenvectors, and diagonalization.

Key terms

  • Linear Transformation
  • Eigenvector
  • Eigenvalue
  • Matrix Multiplication
  • Determinant
  • Characteristic Equation
  • Invariant Direction
  • Diagonalization

M = [[a,b],[c,d]]

1.2
0.35
0.15
0.85

Measured values

tr(M)2.050
det(M)0.968
eigenvalues1.313, 0.737

How it works

A linear map (x,y) ↦ (ax+by, cx+dy) sends a square grid to a parallelogram lattice. Eigenvectors (when λ are real) lie along directions that are only scaled — the right panel overlays two eigen-direction arrows from the origin when discriminant ≥ 0. Complex λ means no real eigen-direction pair in ℝ² (rotation–scale mix); the grid still deforms nicely.

Key equations

det(M − λI) = 0 · tr = a+d · det = ad − bc

Frequently asked questions

Why do some matrices not show eigenvector arrows?
The simulator displays eigenvectors only for real eigenvalues. If the matrix has complex eigenvalues, its transformation involves a rotation component, and there are no invariant lines (real eigenvectors) in the plane. The eigenvectors exist in a complex vector space, which is not visualized here. This is a key limitation of the real-plane visualization.
What does it mean if the eigenvector arrows point in opposite directions but lie on the same line?
An eigenvector defines an invariant line, not just a single direction. If λ is positive, vectors on that line are stretched/compressed in their original direction. If λ is negative, vectors are flipped to the opposite direction along the same line. Both the arrow and its opposite are valid visual representations of the same eigen-direction.
How is this related to real-world applications?
Eigen analysis is fundamental to stability analysis in engineering (e.g., predicting if a structure will buckle), principal component analysis in data science (finding dominant trends), and quantum mechanics (where observable quantities are eigenvalues of operators). This simulator provides the geometric intuition behind these algebraic tools.
Can a matrix have more than two eigen-directions?
In two dimensions, a 2×2 matrix can have at most two linearly independent eigenvectors. A special case is when the matrix is a scalar multiple of the identity matrix (like [[2,0],[0,2]]). Then every vector in the plane is an eigenvector, and the transformation is a uniform scaling in all directions.