Math With AmarA C A D E M Y
All math animations

University · Linear algebra

Watch a matrix reshape the plane

Stretch and shear a unit square, and compare its area with the determinant.

Predict what will happen, press Play, then pause and explain what changed. Every control also works without playback.

Watch the relationship

Paused
Watch a matrix reshape the plane. Current area / determinant: 1. Final area / determinant: 1.8. Current second column: (0, 1)A square becomes a parallelogramB e₁B e₂Current area: 1 square units
Playback uses B(t) = (1−t)I + tA, with t from 0 to 1; intermediate readouts describe B(t), not repeated multiplication by A. Both stretch factors are positive, so this demonstration has no orientation reversal or singular endpoint.

Starts paused. Play once, pause anywhere, or use Step to inspect the mathematics. Playback stops when this panel leaves the screen.

Make it your experiment

Change one value. Notice what follows.

The controls adjust the model. Numbers below describe the current frame. Decimals are rounded.

Current area / determinant
1
Final area / determinant
1.8
Current second column
(0, 1)

HD animation studio

From experiment to screen.

Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.

Understand what you are seeing

The idea behind the motion.

A linear map is determined by where it sends the two coordinate basis vectors. The columns of its matrix are those destinations. A unit square becomes a parallelogram, and the magnitude of the determinant tells you its area.

A relationship to keep

A = [[sₓ, k], [0, sᵧ]]; det(A) = sₓsᵧ

Read the symbols alongside the explanation. A diagram shows the relationship; the assumptions tell you when it applies.

  1. STEP 1

    Start with a unit square

    Its sides are e₁ = (1, 0) and e₂ = (0, 1), so the original area is one square unit. The faint square stays in place for comparison.

  2. STEP 2

    Follow the columns

    The first side moves toward (sₓ, 0); the second moves toward (k, sᵧ). All points use the same linear map, so parallel grid lines remain parallel.

  3. STEP 3

    Measure the area

    At the end, the parallelogram has base sₓ and perpendicular height sᵧ. Shearing changes its slant but does not change that height or its area.

Your turn to explain

Make a prediction. Test your reasoning.

What is the final area when sₓ = 2, sᵧ = 1.5, and k = −1?

Use the values specified in the question. Reset restores the initial values for this investigation.

Compare your explanation

3 square units. The determinant is 2 × 1.5 = 3; the shear does not enter the determinant for this triangular matrix.

Connect the animation to a worked example and practice questions.