Lesson · Required
Learn: systems of linear equations
A system is two equations that share the same variables. Its solution is the pair of values that makes both equations true. On a graph, that's the point where the two lines cross.
Solve by adding the equations
Look for a variable that cancels when you add or subtract the equations.
\begin{aligned} 3x + 2y &= 16 \\ x - 2y &= 0 \end{aligned}
Add them and the 2y and -2y cancel, which leaves 4x = 16, so x = 4. Put that into the second equation: 4 - 2y = 0, so y = 2.
If nothing cancels yet, multiply one equation so that something will. For x + 3y = 7 and 2x + y = 4, doubling the first gives 2x + 6y = 14. Subtract the second and you get 5y = 10, so y = 2 and x = 1.
Read what the question asks for
Sometimes you don't need x or y on their own. Say the question asks for x + y:
\begin{aligned} 2x + y &= 11 \\ x + 2y &= 10 \end{aligned}
Adding gives 3x + 3y = 21. Divide by 3 and you're done: x + y = 7.
One solution, none, or infinitely many
Compare the two lines:
- Different slopes: they cross once, so there is one solution.
- Same slope, different intercepts: they're parallel and never meet, so there is no solution.
- The same line: every point on it works, so there are infinitely many solutions.
A quick test is to scale one equation until its x and y parts match the other's. Doubling 2x + 3y = 6 gives 4x + 6y = 12. If the other equation is 4x + 6y = 12, they're the same line. If it's 4x + 6y = 5, the left sides match but the right sides don't, so there's no solution.
The trap: finding x and stopping when the question asked for y. Reread the question before you pick an answer.