π Elimination
The rule
- Elimination adds or subtracts two equations so that one letter vanishes.
- If a letter has opposite signs (+y and βy), add the equations. If it has the same sign (+y and +y), subtract them.
- Do it to every term, including the number on the right.
- If no letter matches, multiply one or both equations first so a letter has the same number in front. Multiply every term.
- Solve the one-letter equation, then put the answer back to find the other letter.
- Subtracting a negative flips its sign: 3 β (β2) = 5.
- Check the point in the other equation. It must fit both.
Examples
Solve x + y = 7 and x β y = 1. β (4, 3)
- Add the equations: (x + y) + (x β y) = 7 + 1
- 2x = 8, so x = 4
- Put x = 4 into x + y = 7: 4 + y = 7
- y = 3
- Check: 4 β 3 = 1, it fits
The y's are +y and βy, so add.
Solve 3x + y = 10 and x + y = 4. β (3, 1)
- Subtract the equations: (3x + y) β (x + y) = 10 β 4
- 2x = 6, so x = 3
- Put x = 3 into x + y = 4: 3 + y = 4
- y = 1
- Check: 3 Γ 3 + 1 = 10, it fits
Both have +y, so subtract.
Solve 2x + y = 7 and x β 2y = 6. β (4, β1)
- Multiply the first equation by 2: 4x + 2y = 14
- Add it to x β 2y = 6: 5x = 20
- x = 4
- Put x = 4 into 2x + y = 7: 8 + y = 7
- y = β1
- Check: 4 β 2 Γ (β1) = 6, it fits
Multiply the first by 2 so the y's are +2y and β2y.
Solve 2x + 3y = 12 and 3x + 2y = 13. β (3, 2)
- Multiply the first by 3: 6x + 9y = 36
- Multiply the second by 2: 6x + 4y = 26
- Subtract: 5y = 10, so y = 2
- Put y = 2 into 2x + 3y = 12: 2x + 6 = 12
- x = 3
- Check: 3 Γ 3 + 2 Γ 2 = 13, it fits
Multiply both so the x's match, then subtract.
2 pies and 1 drink cost $11. 1 pie and 1 drink cost $7. What does a pie cost? β Pie $4, drink $3
- Pie = p, drink = d
- 2p + d = 11 and p + d = 7
- Subtract: (2p + d) β (p + d) = 11 β 7
- p = 4
- 4 + d = 7, so d = 3
- Check: 2 Γ 4 + 3 = 11, it fits
Both have one drink, so subtract.
Watch out
- βSubtract x β y = 1 from x + y = 7: y β y = 0.β No: y β (βy) = 2y. Add to cancel +y and βy.
- βMultiply the first by 2: 4x + 2y = 7.β No: multiply the right side too. 4x + 2y = 14.
- βx = 4, so I am done.β No: find y and write the point (4, 3).