Login
📚 Linear Algebra, Interactive Edition
Chapters ▾
⇩ Download ▾

3.1 The Image of the Unit Square

A 2×2 matrix with entries a,b,c,d moves the point (x,y) to (ax+by,cx+dy). One point at a time, that is just arithmetic. The geometry appears when you move every point of a shape at once and look at what arrives. Our shape is the unit square: all points (u,v) with 0u1 and 0v1.

Follow the two special corners first. The corner 𝐞1=(1,0) is sent to (a,c) — the first column of the matrix. The corner 𝐞2=(0,1) is sent to (b,d) — the second column. And a general point of the square, (u,v)=u𝐞1+v𝐞2, is sent to u(a,c)+v(b,d): the same combination of the columns that built the point from the corners. The figure below draws the arriving set live, with the four matrix entries on sliders.

A flat colored parallelogram lying in the xy-plane, seen from above: the image of the unit square under a 2-by-2 matrix. Its two edges from the origin are drawn as a red segment (the first matrix column) and a blue segment (the second column). Four sliders a, b, c, d set the matrix entries; dragging them shears, rotates, stretches, or flattens the parallelogram live.Explore in 3D (opens in a new tab)
The image of the unit square under the matrix with entries a,b,c,d, drawn flat in the plane. The red edge is the image of 𝐞1 — the column (a,c) — and the blue edge is the image of 𝐞2 — the column (b,d). The sliders start at the identity: a=1, b=0, c=0, d=1.

Explore the figure

  1. At the identity defaults, the image is the unit square: red edge along the x-axis, blue edge along the y-axis. Confirm the two colored edges really are the columns (1,0) and (0,1).
  2. Drag b to 0.5 and stop. The red edge has not moved — the first column is untouched — but the blue edge tips over and the square shears into a parallelogram. Every slider controls one coordinate of one edge; convince yourself which.
  3. Predict before you drag: with a=1, b=0.5, c=0.5, d=1.5, where will the far corner (1,1) land? It must arrive at the sum of the two columns. Set the sliders and check.
  4. Now aim the two columns the same way: a=1, c=0.5, b=2, d=1, so the blue edge (2,1) is exactly twice the red edge (1,0.5). What is left of the parallelogram, and why should the last chapter's word dependent come to mind?

The columns are the whole story

The computation behind everything you just saw is one line. Since (u,v)=u𝐞1+v𝐞2, and the transformation respects adding and scaling,

T ( u , v ) = u ( a , c ) + v ( b , d )

The image of the unit square is the set of all combinations u(a,c)+v(b,d) with coefficients between 0 and 1 — a parallelogram whose edges from the origin are the two columns. Let the coefficients run over all real numbers instead and you get the image of the entire plane: the span of the columns, in exactly the sense of Chapter 2. When the columns are independent, that span is the whole plane and the square becomes an honest parallelogram; when they are dependent, as in your final exploration step, the span collapses to a line, the parallelogram collapses to a segment, and infinitely many different input points are forced to share each output point.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.