Solving by elimination
By Amiro
How to find where two lines cross with numbers alone: add a multiple of one equation to the other, which swings a line about the crossing point without moving it, until one unknown is eliminated and the answer can be read off.
A lesson of Linear Algebra
Transcript
- 0:00 Last time, we drew our two equations, two x plus y equals four and x plus two y equals five, as lines, and found where they cross: at one, two. But we could only read that off the drawing because the answer was neat. If the lines crossed at one point three seven, two point eight one, no drawing would tell us exactly. So how can we find the crossing point with numbers alone?
- 0:25 Some systems are easy. If one equation said y equals three, we'd know y straight away, and the other equation would hand us x. An equation with no x in it is a line that lies flat, like this one. So here's the plan: change the equations, without changing the solution, until one of them has no x left.
- 0:45 But how can we change an equation without changing the solution? Here's the key. The crossing point makes both equations true. So if we add them up, left side to left side and right side to right side, the result is true there too: its line passes through the same point. The same goes for any multiple of an equation, like three times it, or minus a half times it. That gives us our main move: add a multiple of one equation to the other, and let the result replace it. We may also multiply an equation by any number except zero. Both moves can be undone, so nothing is gained and nothing is lost: the solution stays the same.
- 1:26 Let's use them. First, multiply the second equation by two: two x plus four y equals ten. Every pair that solves the old equation solves the new one, so its line doesn't move at all. But now both equations start with two x.
- 1:43 Your turn. Both equations start with two x. What could we add to the second equation to get rid of its x? Pause the video and think about it.
- 1:57 Add minus one times the first equation. In other words, take the first equation away from the second. Two x plus four y, take away two x plus y, leaves three y, and ten take away four is six. So the second equation becomes three y equals six. The x is gone: we've eliminated it. Watch the pink line as the equation changes. It swings about the crossing point, until it lies flat.
- 2:24 A flat line is easy to read. Three y equals six, so y is two, at every point of this line. Dividing by three is our other move, multiplying by a third, so the line stays where it is.
- 2:38 Now let's clear the y from the first equation, with the main move: take away y equals two. Two x plus y, take away y, is two x, and four take away two is two. So the first equation becomes two x equals two. Watch the blue line as it changes. It swings about the same point, until it stands upright. And two x equals two means x is one.
- 3:04 Look at what happened. Every move changed an equation, and some swung a line. But the crossing point never moved. We traded our system for an easier one, x equals one and y equals two, with exactly the same solution. Let's check it in the equations we started with. Two times one, plus two, is four, and one plus two times two is five.
- 3:27 This way of solving is called elimination, because each step eliminates an unknown from one of the equations. Its main move is add a multiple of one equation to the other. In the picture, that swings a line about the crossing point, until it lies flat or stands upright, and the answer can be read straight off.
- 3:46 Notice how much we wrote again and again: the x's and the y's, the plus signs and the equals signs. Only the numbers changed. Next time, we'll keep just the numbers, and see what a system of equations is really made of.
More explanations on Sifr