2 × 2 matrices as transformations – determinant, composition, inverse and eigenvectors
MathematicsVectors & Coordinate GeometryAges 16–17
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
Edit a 2 × 2 matrix, or drag the images of the two unit vectors, and watch the unit square and a shape (letter F, triangle, circle) transform, with the determinant as the signed area scale factor. Presets cover rotation, reflection, enlargement, shear, stretch and projection, plus an optional translation. The Composition screen shows that order matters (BA ≠ AB); the Inverse & systems screen solves AX = B with A⁻¹ (including 3 × 3), evaluates 3 × 3 determinants by cofactor expansion along any row or column or by Sarrus' rule, finds A⁻¹ by the adjoint or step by step with Gauss–Jordan, applies Cramer's rule and finds a triangle's area with a determinant; the Eigenvectors screen shows eigenvectors staying on their own line and Mⁿ through diagonalisation.
Lesson: Matrices as linear transformations: matrix multiplication, determinant and area, composition, inverse matrices, solving AX = B, eigenvalues, eigenvectors and diagonalisation
What it shows
A 2 × 2 matrix M maps every point x of the plane to Mx; its columns are the images of (1, 0) and (0, 1). The determinant is the signed area scale factor: negative means the image is mirrored, zero means no inverse exists. Doing A and then B is the product BA. For systems AX = B, determinants of 2 × 2 and 3 × 3 matrices come from cofactor expansion along any row or column or from Sarrus' rule; A⁻¹ = adj A / det A or Gauss–Jordan elimination on [A | I]; Cramer's rule gives xᵢ = det Aᵢ / det A; and ½|det| gives a triangle's area. Eigenvectors satisfy Mv = λv.
How to use
On Transform, pick a Matrix preset or type the entries, drag î′, ĵ′ or P, then press Animate I → M. On Composition, compare the two orders of A and B. On Inverse & systems, pick a System, edit the coefficients and switch between Solve AX = B, Determinant, Inverse, Cramer's rule and Triangle area; step through Gauss–Jordan with Next step and try the practice questions. On Eigenvectors, drag v or press Sweep v around O.
Parameters you can change
- Screen Transform, Composition, Inverse & systems, Eigenvectors
- Matrix preset Custom, Identity matrix I, Rotation about O, Reflection in a line through O, Enlargement, centre O, Shear parallel to the x-axis, Shear parallel to the y-axis, Stretch parallel to the x-axis, Stretch parallel to the y-axis, Projection onto a line
- Entry a (row 1, column 1) -4–4
- Entry b (row 1, column 2) -4–4
- Entry c (row 2, column 1) -4–4
- Entry d (row 2, column 2) -4–4
- Angle θ (rotation, reflection, projection) -180–180 °
- Factor k (enlargement, shear, stretch) -3–3
- Shape Unit square only, Letter F, Triangle, Unit circle
- Show the transformed grid
- Add a translation t
- x-component of t -4–4
- y-component of t -4–4
- First transformation A Identity, Rotation 90°, Rotation 180°, Rotation −90°, Rotation 45°, Reflection in the x-axis, Reflection in the y-axis, Reflection in y = x, Reflection in y = −x, Enlargement ×2, Enlargement ×½, Shear along x, k = 1, Shear along y, k = 1, Stretch along x, factor 2, Stretch along y, factor 2
- Second transformation B Identity, Rotation 90°, Rotation 180°, Rotation −90°, Rotation 45°, Reflection in the x-axis, Reflection in the y-axis, Reflection in y = x, Reflection in y = −x, Enlargement ×2, Enlargement ×½, Shear along x, k = 1, Shear along y, k = 1, Stretch along x, factor 2, Stretch along y, factor 2
- Order shown (Composition screen) Both orders, A then B (BA), B then A (AB)
- System of equations Unique solution (2 unknowns), Parallel lines (2 unknowns), Same line (2 unknowns), Three unknowns (3 × 3), Three unknowns with det A = 0
- Picture of a 2 × 2 system Rows: two lines, Columns: combining vectors
- Matrix (Eigenvectors screen) Symmetric matrix, Triangular matrix, Transition matrix (columns add to 1), Reflection in y = x, Shear (one eigenvector line), Rotation 90° (no real eigenvectors), Matrix M from the Transform screen
- Power n of Mⁿ 1–10
- Show the points x₀, Mx₀, M²x₀, …
- Tool (Inverse & systems screen) Solve AX = B, Determinant, Inverse matrix, Cramer's rule, Triangle area
- Determinant method Cofactor expansion along a row or column, Sarrus' rule
- Expand along Row 1, Row 2, Row 3, Column 1, Column 2, Column 3
- Inverse method Adjoint (adjugate), Gauss–Jordan on [A | I]
Questions to explore
- Which matrix triples the area of the letter F without mirroring it, and which one mirrors it but keeps its area?
- Does a 90° rotation followed by a reflection in the x-axis give the same image as the other order, and which single transformation is each?
- Why does multiplying a vector by a transition matrix again and again turn it towards one eigenvector?