Two equations, two unknowns. Watch one answer appear twice: where two lines cross, and as a mix of two arrows.
One answer, two pictures
The rows are two lines; the columns are two arrows and the target b.
Two equations, 2x − y = 4 and x + y = 5. Each row is a line; the columns are two arrows.
Describe this picture
Two panels side by side (one above the other on a phone), each with its own grid. The first, “rows”, draws the line and then the line ; they cross at the point , which is marked. The second, “columns”, draws the arrows and from the origin and the target . Then three copies of and two copies of are laid tip to tail and end on . The pieces build one after another. Two readouts give the pair each picture finds, the same . When the clip has finished, the tip of can be dragged in the columns panel, or moved with the arrow keys, in steps of half a unit. The two lines slide, each staying parallel to itself, their crossing moves, and the two readouts change together; when the pair is not whole numbers, the chain is one stretched copy of each arrow.
Rows: each equation is a line
Here is a small puzzle. Find two numbers and with
Take the first equation alone. Many pairs satisfy it: , , and every point on the straight line through them. So one equation in two unknowns is a line in the plane. The second equation is another line, through and .
A pair that satisfies both equations lies on both lines. That is the crossing point, , in the left panel at the top of the page. You can find it without the picture: add the two equations, and cancels, leaving . So , and then .
Each line has a direction it cannot slide off. Read the first equation as a dot product, from Length and the dot product: . The line is every point whose dot product with is 4, and the arrow stands at a right angle to it. Changing the 4 slides the line along that arrow, so the line stays parallel to itself. That is what you see when you drag after the clip.
Columns: the same question as arrows
Now read the same two equations down the columns instead of across the rows. The numbers next to are and ; the numbers next to are and . So the two equations together say
This is a different question with the same answer: how much of the arrow and how much of the arrow add up to ? The right panel answers it. Three of the first and two of the second, tip to tail, end exactly on .
You have met this before. In A matrix moves the plane, the matrix with columns and sent the point to . Solving the equations runs that map backwards: we know where the point landed, and we ask where it started.
Drag after the clip. The arrows stretch or shrink to reach it, the lines on the left slide, and the two readouts always show the same pair.
The matrix form
Both pictures come from one table of numbers. Write the unknowns as and , and the right-hand sides as and . The entry in row and column is , and both indices count from 1. Then the system is
The two pictures are the two ways to read . Row by row, each row of dotted with must give one number of : that is a line. Column by column, must equal : that is a mix of arrows.
One answer, none, or infinitely many
Two lines do not always cross at one point. Try and , with still to choose. The columns are now and , the same arrow twice.
When it fails
x + y = 2 and 2x + 2y = b_2: the same arrow twice.
x + y = 2 and 2x + 2y = 3: both columns are the arrow (1, 2), on one dashed line.
Describe this picture
The same two panels, for the equations and . In the columns panel, both columns are the arrow , drawn along one dashed line through the origin, and the target starts at . In the rows panel, the two lines are drawn. When the clip has finished, the tip of can be dragged up and down, or moved with the arrow keys in steps of half a unit, which changes ; its first number stays 2. While is off the dashed line, the two lines in the rows panel are parallel and never meet, and both readouts say there is no solution. When reaches on the dashed line, the two lines become one line, the second drawn dashed over the first, and the readouts say there are infinitely many solutions.
Drag and watch both panels. Off the dashed line no mix of the columns reaches , because every mix of and lies on that line. On the left the same fact looks different: the lines are parallel, with no crossing. At the second equation is the first one doubled, so both lines are the same line, and every point on it is a solution.
So a system can have one solution, none, or infinitely many. It can never have exactly two. Suppose and both solve . Then every point on the line through them solves it too, because
Two solutions bring a whole line of them.
Having as many equations as unknowns does not settle it either. Both examples above have two of each; one has a single answer and the other has none or infinitely many. What decides is whether the columns point in different directions.
With three unknowns, each equation is a flat plane in space, and three planes usually meet in one point. They can also meet along a whole line, or have no point in common at all.
Three planes
Three equations in three unknowns: one answer, a line of answers, or none.
Three equations in three unknowns: each one is a flat plane in space.
Describe this picture
Three small 3-D views side by side (stacked on a phone), named “one point”, “one line” and “no common point”, each with three planes in three colours that appear one after another. In the first, the three planes cross at the origin, which is then marked with a dot. In the second, three upright planes share one vertical line, like the pages of an open book, and that line is drawn. In the third, three upright planes form a triangular tube: each pair meets in a vertical line, the three lines are drawn dashed, and they are parallel, so no point lies on all three planes. The views turn a little and rest. There is no control.
Worked example
- One answer. and . Add them: , so and . Column check: .
- Matrix form. The same system is with and .
- No answer. and . Predict before reading on: where do these lines meet? Nowhere, they are parallel. In columns, always has two equal numbers, so it can never be .
- Infinitely many. and are the same line. The points , and all solve both, and so does every other point on that line.
- A mixing problem. How many litres of a 10 % solution and of a 30 % solution make 10 litres at 22 %? Call them and . The volumes give , and the dissolved amounts give . Take 0.1 times the first equation from the second: , so and . Check: .
Where you’ll meet this
Mixing problems like the last one are linear systems: one equation per thing you measure, one unknown per ingredient. So are the equations of an electric circuit, where the currents flowing into each junction must add up to zero.
Balancing a chemical equation is one too. To burn propane, find whole numbers in . Each element gives one equation: carbon , hydrogen , oxygen . With , these give , and : .
In signal processing · linear equations
In Anti-aliasing and practical converters, far above its cut-off, a filter’s gain in decibels falls along a straight line when it is drawn against the logarithm of frequency. Asking for a given drop at a given frequency is then one linear equation in one unknown, the filter’s order.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| A system | one equation per row | |
| Matrix form | indices count from 1 | |
| Row picture | row of dotted with is | each equation is a line; a plane with three unknowns |
| Column picture | as a mix of the columns | |
| Outcomes | one, none, or infinitely many | never exactly two |
| No solution | is not a mix of the columns | the lines are parallel |