Category: Linear Algebra Level: 301
(a + b)(c + d) - ac - bd - 2bc = ad - bc
Put the parallelogram in a box and cut away the corners. What is left has area ad − bc, which is the determinant.
The columns (3, 1) and (1, 2) span the purple parallelogram. The smallest box around it is four wide and three tall.
box = (a + b)(c + d) = 4 × 3 = 12
Each blue triangle has legs a = 3 and c = 1, so its area is ac/2.
2 × ac/2 = ac = 3
Each orange triangle has legs b = 1 and d = 2, so its area is bd/2.
2 × bd/2 = bd = 2
Two small rectangles, each b by c, fill the last corners.
2 × bc = 2
Take the corners away from the box. The algebra cancels to ad − bc, the same number the formula gives. No magic, just bookkeeping.
12 - 3 - 2 - 2 = 5 = 3·2 - 1·1
cd svg-generator python3 -m svgmath render determinant-formula --out /tmp/determinant-formula
Source: svgmath/diagrams/linear_maps.py