Two unknowns at once
70 min
Two hosts talk the lesson through. The voices are synthetic; the script was written from this lesson and checked against it, and asserts nothing the lesson does not.
- Solve a pair of linear equations by substitution and by elimination, and check the answer in both
- Say what the solution of a pair means on a graph, and what parallel or identical lines look like in the algebra
- Set up a pair of equations from a situation with two unknown quantities
Lesson 5 dodged something. The theatre problem had two unknown numbers in it, standard tickets and concessions, and the way round it was to call the concessions c and write the standard tickets as 3c, so that only one letter ever appeared.
That works when one quantity is described directly in terms of the other. Often it's not. You know two facts about two quantities and neither fact hands you one in terms of the other. Then you need both facts written down as equations, and a way of working with the pair.
What a pair of equations is claiming
Take these two.
x + y = 90
12x + 7y = 880
Each one on its own has an enormous number of solutions. The first is satisfied by x = 1, y = 89 and by x = 20, y = 70 and by x = 90, y = 0, and by infinitely many other pairs. The second is satisfied by a different infinite collection.
Asking for a solution of the pair, which is what people mean by a system, is asking for the one pair of numbers that satisfies both. That's the whole idea, and everything else in this lesson is machinery for finding it.
The picture makes it obvious. Each equation is a straight line, in the sense of lesson 4: the line is made of all the pairs that satisfy it. Two lines that aren't parallel cross at exactly one point, and that point is on both lines, so its two coordinates satisfy both equations.
You could find the crossing point by drawing carefully and reading it off, and for a rough answer that is a perfectly good method. The algebra is for when you want it exactly.
Method one: substitution
Substitution is the method from lesson 5 made general. Get one letter alone in one equation, then put what it equals into the other, which leaves an equation in a single unknown, which is lesson 3.
The situation. A theatre sells adult tickets at $12 and child tickets at $7. One evening it sells 90 tickets and takes $880. How many of each?
Name the letters as numbers. Let x be the number of adult tickets and y the number of child tickets.
Write both facts.
- Ninety tickets in all:
x + y = 90 - Eight hundred and eighty dollars in all:
12x + 7y = 880
Get one letter alone. The first equation is the easy one. Take x off both sides: y = 90 - x.
Substitute into the other. Everywhere the second equation says y, write 90 - x instead.
12x + 7(90 - x) = 880
Now it's lesson 3. Expand the bracket: 12x + 630 - 7x = 880. Collect the x terms: 5x + 630 = 880. Take 630 off both sides: 5x = 250. Divide by five: x = 50.
Find the other letter. Put x = 50 back into whichever equation is simpler: y = 90 - 50, so y = 40.
Check in both equations, not one. First: 50 + 40 = 90. Second: 12 × 50 is 600, 7 × 40 is 280, and 600 + 280 = 880. Both hold, so the answer is fifty adult tickets and forty child tickets.
The step people skip is the last one, and it's skipped because after all that work the answer feels earned. It is not earned until it survives both equations.
Solve y = 2x - 1 together with 3x + y = 14, then check. The first equation has y alone already, so the substitution is done for you: 3x + (2x - 1) = 14. Finish it.
Show the answer
Collect the x terms: 5x - 1 = 14. Add one to both sides: 5x = 15. Divide by five: x = 3. Then y = 2 × 3 - 1, which is 5. Check in both. The first: 5 = 2 × 3 - 1, which is 5 = 5. The second: 3 × 3 + 5 is 9 + 5, which is 14. Notice that the pair x = 3, y = 5 is one point, and it's the crossing point of those two lines.
Method two: elimination
Sometimes neither equation gives a letter up easily, and substitution drags fractions in. Elimination goes at it from the other side: combine the two equations so that one letter disappears.
Start with a pair where it works with no preparation at all.
4x + y = 14
2x - y = 4
Look at the +y in the first and the -y in the second, and ask what would happen if you added the two equations, left sides together and right sides together.
What do you get when you add them?
Show the answer
The left gives 4x + y + 2x - y, and the +y and the -y cancel, leaving 6x. The right gives 18. So 6x = 18, and x = 3. One letter has gone, which is the whole trick.
Then substitute back into either equation: 4 × 3 + y = 14 gives 12 + y = 14, so y = 2. Check in both: 12 + 2 = 14, and 6 - 2 = 4. Both hold.
Why is adding two equations allowed? Because of the balance from lesson 2. The second equation says that 2x - y and 4 are two names for the same number. Adding that number to the left side of the first equation and adding 4 to its right side is doing the same thing to both sides, which is the one move that keeps an equation true. Elimination isn't a new rule; it's the old rule with a slightly cleverer choice of what to add.
When the coefficients do not match
Most pairs aren't so obliging. Here the letters don't cancel as they stand.
The situation. Two coffees and three teas cost $11.50. Four coffees and one tea cost $13.50. What does each drink cost?
Let c be the price of a coffee in dollars and t the price of a tea.
2c + 3t = 11.50
4c + t = 13.50
Adding these gives 6c + 4t = 25, which eliminates nothing. Subtracting gives -2c + 2t = -2, which is a simpler equation but still has both letters.
The move. Multiply one whole equation by a number so that one letter matches in both. Multiplying the first equation by 2 gives:
4c + 6t = 23
Every term doubled, including the right side, because multiplying both sides of an equation by the same number keeps it true. Now the c terms match, so subtract the second equation from this one.
4c + 6t = 23
4c + t = 13.50
Subtracting: the c terms give zero, the t terms give 5t, and the right sides give 9.50. So 5t = 9.50, and t = 1.90.
Substitute back into the second original equation: 4c + 1.90 = 13.50, so 4c = 11.60 and c = 2.90.
Check in both originals. First: 2 × 2.90 is 5.80, 3 × 1.90 is 5.70, and they add to 11.50. Second: 4 × 2.90 is 11.60, plus 1.90 is 13.50. A coffee is $2.90 and a tea is $1.90.
The step that feels arbitrary is multiplying an equation by 2 for no reason visible in the problem. The reason is entirely tactical: you are choosing a form of the same true statement that happens to cancel neatly against the other one. Nothing about the situation changed. Two coffees and three teas still cost $11.50; four coffees and six teas costing $23 is the same fact said louder.
Here is another pair where nothing cancels as it stands: 2x + 5y = 24 and 3x + 2y = 14. The scaling is done for you. Multiply the first by 3 and the second by 2, so that both have the same x term, and you get 6x + 15y = 72 and 6x + 4y = 28. Finish it, and check in both of the original equations.
Show the answer
Subtract the second of the scaled equations from the first: the x terms give zero, the y terms give 11y, and the right sides give 44. So 11y = 44 and y = 4. Substitute back into either original: 2x + 20 = 24, so x = 2. Check in both originals, since one is never enough. The first: 4 + 20 = 24. The second: 6 + 8 = 14. Notice that scaling both equations rather than one is sometimes the tidier route, and the choice of 3 and 2 came from wanting the two x terms to meet at 6, which is the smallest number both 2 and 3 divide into.
Which method to use
Neither is better in general, and both give the same answer, since both are just ways of getting down to one unknown.
Substitution is easier when a letter is already alone, or has a coefficient of 1 so that getting it alone costs nothing. y = 2x - 1 is begging to be substituted.
Elimination is easier when neither letter is alone and the coefficients are close to matching. The coffee problem done by substitution means writing t = 13.50 - 4c and pushing that through, which works and is messier.
If you cannot decide, pick one. The wasted effort of choosing the clumsier method is smaller than the wasted effort of deliberating.
When there's no crossing point
Two lines that aren't parallel cross exactly once. Two that are parallel never cross, and one line drawn twice crosses everywhere. Both of those show up in the algebra as something odd.
No solution. Take y = 2x + 1 and y = 2x + 5. Try substituting the first into the second before you open the answer, and see what you're left with.
What happens to the x?
Show the answer
Substituting gives 2x + 1 = 2x + 5. Take 2x off both sides and you get 1 = 5, which is false no matter what x is. So no pair of numbers satisfies both. Look at the two equations again: both lines climb at a rate of 2 and they start at different heights, so they run alongside each other for ever.
Infinitely many solutions. Take 2x + y = 6 and 4x + 2y = 12. Multiply the first by 2 and you get the second exactly. Eliminating gives 0 = 0, which is true and tells you nothing about x. It's one line written in two ways, and every point on it is a solution.
So when the letters vanish, read what is left. A false statement like 0 = 7 means the lines are parallel and there is no answer. A true statement like 0 = 0 means the two equations are the same line. Neither is a mistake, and both are worth recognising rather than staring at.
What people get wrong
Forgetting that the answer is a pair. "The solution is 3" isn't an answer to a system. The solution is x = 3 and y = 2, and a question about tickets or drinks wants both numbers with their units.
Checking in one equation only. Half the arithmetic slips available in this lesson produce a pair that satisfies one equation and fails the other. Checking one isn't much better than checking none.
Multiplying only part of an equation. Doubling 2c + 3t = 11.50 means doubling the 11.50 as well. Leaving the right side alone breaks the claim, and the answer that follows will fail the check.
Losing a minus sign when subtracting equations. Subtracting 4c + t = 13.50 means subtracting the t and the 13.50 too. This is lesson 3's misconception in a new place, and the fix is the same: write the subtraction out rather than doing it in your head.
Treating 0 = 0 as an error. It means the two facts you were given were the same fact, which is a real thing that happens when a problem is written carelessly or when two measurements say the same thing.
Take thirty minutes over these. Solve each system, by whichever method looks easier, and check every answer in both equations before moving on.
y = x + 2and3x + y = 182x + y = 11andx - y = 13x + 4y = 26andx + 2y = 12y = 4x - 3andy = 4x + 1- Two adults and three children pay $46 to get in. One adult and five children pay $44. What does each ticket cost?
- A shop sells 60 items in a day, some at $4 and the rest at $9, and takes $415. How many of each did it sell?
Answers to the practice set, once you have done all six
Show the answer
Substitute:
3x + (x + 2) = 18, so4x + 2 = 18,4x = 16,x = 4, andy = 6. Check:6 = 4 + 2, and12 + 6 = 18.Add them, since the
yterms are already opposite:3x = 12, sox = 4. Then8 + y = 11, soy = 3. Check:8 + 3 = 11, and4 - 3 = 1.Multiply the second by 3 to get
3x + 6y = 36, then subtract the first:2y = 10, soy = 5. Thenx + 10 = 12, sox = 2. Check:6 + 20 = 26, and2 + 10 = 12.Substituting gives
4x - 3 = 4x + 1, and taking4xoff both sides leaves-3 = 1, which is false. There is no solution: both lines have a slope of 4 and different intercepts, so they are parallel.Let
aandcbe the two ticket prices in dollars.2a + 3c = 46anda + 5c = 44. Multiply the second by 2:2a + 10c = 88. Subtract the first:7c = 42, soc = 6, and thena = 44 - 30, which is 14. Check in both:28 + 18 = 46, and14 + 30 = 44. An adult ticket is $14 and a child's is $6.Let
xbe the number at $4 andythe number at $9.x + y = 60and4x + 9y = 415. Substitutex = 60 - y:240 - 4y + 9y = 415, so5y = 175andy = 35. Thenx = 25. Check:25 + 35 = 60, and100 + 315 = 415.
Connections
Lesson 2's balance is what makes both methods legal. Adding one equation to another is adding the same thing to both sides, and multiplying an equation through is multiplying both sides by the same number.
Lesson 3 is the engine. Every system here was reduced to a single equation in one unknown and then solved exactly as that lesson taught.
Lesson 4 supplies the picture, and the printer question in that lesson was already a system: two cost lines, and the question of where they cross.
Lesson 5's naming and numerical checking is what turns a situation with two unknowns into a pair of equations at all, which is steps one and two of every word problem here.
Where this course stops, and what comes next
That's the course. You can say what a letter means, keep an equation true while you change it, solve one for its unknown, read and write a straight line, turn a sentence into an equation, and handle two unknowns at once. That's the working core of elementary algebra.
What this course deliberately leaves out is quadratics, factoring, exponents, and inequalities. Those need more space than a foundation course has. Two free places to get them, both good:
- OpenStax, Elementary Algebra 2e, chapters 6 to 10, which continues where this leaves off, with full worked solutions. Inequalities are the exception: they sit back in chapter 2, section 2.7, rather than in that later block.
- Khan Academy's Algebra 1, for practice with immediate feedback, which is the thing a written course cannot give you.
Go deeper
- OpenStax, Elementary Algebra 2e, chapter 5, free online, on systems of linear equations, with a longer treatment of graphing them.
- Khan Academy, systems of equations, for practice with both methods.
Check your understanding
This lesson has a 7-question quiz. Pass it and the questions come back on a schedule in Review, so what you learned stays learned. Your progress is saved in your browser; no account needed.