Systems of linear equations
Solve two linear equations together by substitution or elimination, and recognise when a system has no solution or infinitely many.
Also known as: simultaneous equations, linear systems.
Key ideas
- A solution is a pair of values that makes both equations true at once.
- Elimination: scale equations so one variable cancels when you add or subtract.
- Substitution: rearrange one equation for a variable and substitute into the other.
- Parallel lines (same gradient, different intercept) mean no solution.
What a solution means
A system (or set of simultaneous equations) is two or more equations that must be true together. For
the solution is , because both equations hold. Graphically, it is the point where the two lines cross.
Elimination
Add or subtract the equations so one variable disappears. Above, adding gives , so ; substitute to get .
If no variable cancels immediately, scale first. For and , multiply the second equation by to get , then subtract the first: , so and .
Substitution and special cases
When one equation already isolates a variable (e.g. ), substitute it: gives , .
If the two equations describe parallel lines, there is no solution. If they describe the same line, there are infinitely many solutions. Compare the ratios of the coefficients to decide.
Worked examples
Example 1 · Word problem
Tea costs 2 and coffee costs 3 (same currency). A café sold 20 drinks for 49 in total. How many coffees were sold?
- Step 1.Let = teas, = coffees: and .
- Step 2.Substitute : .
- Step 3., so .
Answer: 9 coffees
Example 2 · No-solution system
For what value of does and have no solution?
- Step 1.No solution means parallel lines: the coefficients must be proportional, .
- Step 2.So .
- Step 3.Check the constants are not in the same ratio: ✓.
Answer:
Common mistakes
- Subtracting equations but forgetting to subtract every term, especially negative ones.
- Stopping after finding one variable: a solution needs both values.
- Scaling only one side of an equation.
Try it yourself
Original practice questions. Your answer is checked instantly.
If and , what is the value of ?
If and , what is the value of ?