A 2×2 matrix [[a, b], [c, d]] moves every point of the plane. Its columns say where the two unit arrows land: the across arrow [1, 0] lands on [a, c], the up arrow [0, 1] on [b, d], so the unit square becomes the parallelogram they span. Write area_change(matrix): how many times it multiplies area, negative if it flips the picture over.
A photo editor moves a picture with a matrix. Every point moves, so the square tile with the F on it becomes a slanted tile.
area_change(matrix)| matrix | [[a, b], [c, d]]; the across arrow lands on [a, c], the up arrow on [b, d] | e.g. [[1, 0], [0, 1]] |
| returns | how many times areas get bigger (negative if flipped over) | |