Mathematics · Simulator 044
A 2×2 matrix moves every point of the plane. Edit its four entries, or pick a preset, and watch the grid stretch, rotate, shear or flip. The determinant tells you how areas change, and the eigenvectors are the directions that only get stretched.
Class 11–12CollegeClass 12 Maths: Matrices
The matrix M = [[a, b], [c, d]] sends a point (x, y) to (ax + by, cx + dy). Its columns are where the basis vectors land: î = (1, 0) goes to (a, c), and ĵ = (0, 1) goes to (b, d). Everything else follows, because grid lines stay straight, parallel and evenly spaced.
Press Play to animate smoothly from the identity matrix to M (linear interpolation of entries), which shows how each kind of transformation “moves”.
The animation interpolates matrix entries, which is not the same as rotating by a growing angle; a true rotation animation would pass through rotation matrices.
Find a matrix that doubles lengths along the line y = x and leaves the line y = −x unchanged. What is its determinant?
Eigenvalues 2 (along (1, 1)) and 1 (along (1, −1)) give M = [[1.5, 0.5], [0.5, 1.5]], with det = 2.25 − 0.25 = 2, the product of the eigenvalues. Enter it and check the eigenvector readout.
Matrix M = [[2, 1], [1, 2]].
Where the basis goes: î = (1, 0) lands on (2, 1) and ĵ = (0, 1) lands on (1, 2), the two columns.
Area: det M = 2 × 2 − 1 × 1 = 3, so every shape becomes 3 times larger and keeps its orientation.
Eigenvalues: λ² − (a + d)λ + det = λ² − 4λ + 3 = 0, so λ = 3 and λ = 1.
Eigenvectors: M(1, 1) = (3, 3) = 3 × (1, 1) and M(1, −1) = (1, −1). The diagonal through (1, 1) is stretched 3 times; the other diagonal is left unchanged. Set a = 2, b = 1, c = 1, d = 2 and watch the two diagonals.
The factor by which the transformation scales areas. A negative determinant also flips orientation, and zero means the plane is squashed onto a line or a point.
A direction that the transformation only stretches or shrinks, without turning it. The stretch factor is the eigenvalue: Mv = λv.
A rotation turns every direction, so no real vector keeps its direction. Its eigenvalues are complex numbers instead.