Skip to content

Row and column pictures

Draw the system Ax = b two ways, as lines (or planes) that meet in the solution and as columns of A combined to reach b, and tell from either picture whether there are zero, one or infinitely many solutions.

It opens on

Two equations, two unknowns: x − 2y = 1 and 3x + 2y = 11. Two lines on a page, or two arrows to combine: where in either picture is the answer?

Why it matters

Fitting a model, balancing a budget or finding a mixture all end in Ax = b, and the two pictures say what a solution is and when one exists before any arithmetic is done.

Good to know first

  • Linear combinations and span: c₁v₁ + c₂v₂ drawn as arrows
  • Matrix-vector multiplication: Ax is a combination of the columns of A with the entries of x as weights
  • Four views of the product: a row of A dotted with x gives one equation

Step by step

  1. The row picture

    Draw each equation as a line and read the solution as the point where the lines meet.

    x − 2y = 1 passes through (−1, −1) and (5, 2); 3x + 2y = 11 passes through (1, 4) and (5, −2).

    A common mix-up

    Each equation has its own solution, so a system has one answer per equation.

    In fact: a solution must satisfy every equation at once: the point on all lines.

  2. The column picture

    Read Ax = b as x times column 1 plus y times column 2 equal to b, and reach b by walking along the columns.

    3a₁ = (3, 9) and a₂ = (−2, 2) give (3 − 2, 9 + 2) = (1, 11) = b.

    A common mix-up

    The solution (3, 1) is a point on a column arrow.

    In fact: (3, 1) is the pair of weights; the point reached is b = (1, 11).

  3. No solution, or many

    Change one equation so the lines are parallel or equal, and see in both pictures when no solution or infinitely many solutions arise.

    Divide the second equation by 2: x − 2y = 3, and the first says x − 2y = 1; both cannot hold, so there is no solution.

    A common mix-up

    Two equations in two unknowns always have exactly one solution.

    In fact: They can also have none (parallel lines) or infinitely many (the same line).

Try it

Solve x + y = 5 and x − y = 1 and say where the lines cross.Answer

(3, 2)

Hint: Add the equations

Write 2x + y = 4, x − y = −1 as x(…) + y(…) = (…) and solve.Answer

x(2, 1) + y(1, −1) = (4, −1) with x = 1, y = 2

Hint: Add the equations to cancel y

Does x + 2y = 3, 2x + 4y = 7 have a solution? Say why in both pictures.Answer

No; the lines x + 2y = 3 and x + 2y = 3.5 are parallel, and b = (3, 7) is not a multiple of the columns (1, 2)

Hint: Halve the second equation

Where do the two lines cross?Answer

At (3, 1).

Using x = 3 and y = 1 from the row picture, where does 3a₁ end, and then where does adding a₂ end?Answer

3a₁ = (3, 9); then (3 − 2, 9 + 2) = (1, 11).

Row and column pictures

30 minutes every month. No card.