How to solve two equations with two unknowns?
The solution is a pair that fits both equations, and in the drawing it is the crossing point.
A live lesson where things move and you can try. Lesson page with the outline
Example
x+y=10x−y=2
Answer: x=6,y=4
Try it yourself: 2x+y=7x−y=2
Why do I need this?
2 pens and a notebook cost 7 shekels. A pen and a notebook cost 4. What is each price?
The idea
Two equations are about the same unknowns, and the solution fits both.
Step by step
A pen and a notebook
x is the price of a pen and y of a notebook.
2x+y=7x+y=4Subtracting the equations
Subtract the second equation from the first: one more pen, and 3 shekels more.
(2x+y)−(x+y)=7−4x=3Find y
Put the pen price into one equation to get the notebook price.
3+y=4y=1The crossing point
Each equation is a straight line, and the solution is where the lines meet.
(x,y)=(3,1)
More cases and examples
Substitution
If y already equals something, swap it into the other equation.
3x+(2x+1)=11x=2,y=5Parallel lines
Parallel lines never meet, so there is no solution.
y=x+1y=x+3
The rule
The solution fits both
When to use it: Two straight-line equations with two unknowns.
- xthe price of a pen
- ythe price of a notebook
Watch out: The two lines are parallel (no solution) or the same line (endless solutions).
Common mistakes
- Wrongx=3Right(x,y)=(3,1)
A solution of a system is a pair: we must find y too.
- Wrong2x+y−x+y=3⇒x+2y=3Right2x+y−(x+y)=x=3
The minus applies to everything in the parentheses, y too.
- Wrong(x,y)=(2.9,1.1)Right(x,y)=(3,1)
A drawing only estimates, so we test the numbers in both equations.
How to study this topic
A live lesson where things move and you can try. Lesson page with the outline