Skip to content
Tactiverge

School/✦ Research Engineer/Week 3

The determinant as area scaling

Why does a single number, ad − bc, tell you whether a whole system of equations can be solved?

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Determinants detect singularities: frames that become mechanisms, robot arms that lose a direction of motion, coordinate changes that break down. As an area factor they also appear in every change of variables in an integral.

  • ◇ Interpret det A as the signed area (or volume) scaling factor of the map.
  • ◇ Use det(AB) = det A · det B and the effect of row operations on det.
  • ◇ Connect det A = 0 to rank, invertibility and singular robot configurations.

2.Discover

Watch the shaded parallelogram while you change entries. Find three different matrices with det = 1. Then make det negative and describe what happens to the order of î and ĵ. Finally compose two maps and check det(BA) = det(B)·det(A).

Loading the interactive…

Can't use the interactive? Read a description instead

The diagram shades the image of the unit square, coloured differently when the determinant is negative. The readout gives det A, det B, det(BA) and the new area, and says when orientation flips or the plane collapses.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1 · a fresh version every time

Find det A for A = [[-4, 1, 6], [6, -1, 2], [3, 0, 6]].

4.Predict

A = [[2, 0], [0, 3]]. What happens to the area of a 1 cm² square under A?

Guess first. Being wrong here is how the surprise works.

5.Understand

Meaning

|det A| is the factor by which A scales areas (2D) or volumes (3D). det A < 0 means orientation is reversed (a mirror image). det A = 0 means some direction is squashed to zero: the image is a line or point, so A is not invertible and its columns are dependent.

Rules worth knowing

det(AB) = det A · det B (scale factors multiply). det(A⁻¹) = 1/det A. det Aᵀ = det A. Row operations: adding a multiple of one row to another leaves det unchanged; swapping two rows flips its sign; scaling a row by k scales det by k. So det = ± (product of pivots) after elimination.

Singularities in robotics

A robot arm's Jacobian J maps joint speeds to hand velocity. Where det J = 0 the arm is at a singularity: some hand directions need infinite joint speed. For a two-link planar arm, det J = L₁L₂ sin θ₂, zero when the arm is straight or folded back.

Explain it another way

Paint the unit square. The determinant is how much paint you need after the map: double the paint, det 2; mirror image, negative; flattened to a line, zero paint.

Derivation: ad − bc is the parallelogram's area
  1. The columns (a, c) and (b, d) span a parallelogram; the unit square maps onto it.

  2. Enclose it in the rectangle [0, a + b] × [0, c + d] (for positive entries) of area (a + b)(c + d).

  3. Subtract the corner pieces: two triangles of area ac/2, two of area bd/2, and two rectangles of area bc.

  4. Area = (a + b)(c + d) − ac − bd − 2bc = ad − bc.

  5. Because the map is linear, every small square scales by the same factor, so every region's area is multiplied by |ad − bc|; the sign records orientation.

Worked example 1

Compute det of [[2, 1, −1], [−3, −1, 2], [−2, 1, 2]] from its LU factorisation.

Without row swaps, U has pivots 2, 0.5 and −1. det = 2 × 0.5 × (−1) = −1. (L has 1s on its diagonal, so det L = 1.)

Common mix-ups

  • det(A + B) = det A + det B.
    ✓ The determinant is multiplicative, not additive. Try A = B = I in 2D: det(2I) = 4, not 2.
  • A negative determinant means the map shrinks things.
    ✓ The sign is orientation; the size |det| is the scaling.

6.Watch

→ Look for why a negative determinant means the plane has been 'flipped over'.

Animates the determinant as the factor by which a transformation scales area, including what a negative or zero value means.

10 min 3 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

A maps the unit square to the parallelogram with sides (3, 1) and (1, 2). What is its area?

Practice 3

det A = 4 and det B = −0.5. What is det(AB)?

Practice 4

Swapping two rows of A does what to det A?

Practice 5

A two-link planar arm has det J = L₁L₂ sin θ₂. When is it singular?

8.Apply it

For a two-link arm with L₁ = L₂ = 1, plot |det J| against θ₂ in the Code Lab and mark where the arm is most 'agile'. Explain what happens at the ends of the range.

9.Reflect

Concepts: Matrices and linear transformations