Solving Systems of Equations Algebraically
Learn solving systems of equations algebraically step by step with worked examples you can follow. Then practise with 37 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.
By the end of this page you will be able to solve a linear system by substitution or by elimination, choose the quicker method on sight, and recognise from your own algebra when a system has no solution or infinitely many.
Core Concepts
1. What you are actually looking for
A system of two linear equations asks one question: is there a pair of numbers (x, y) that makes both equations true at the same time?
Each equation on its own is a whole line of solutions. Asking for both at once means asking where those two lines meet. That is why the answer is written as an ordered pair, not as a single number — and it is why there are only three possible outcomes, shown in Figure 1.
2. Substitution
−12 = −12, which is true but useless. The whole point is
to carry information from one equation into the other.Reach for substitution when one equation is already solved for a variable
(y = 2x − 11), or when some variable has a coefficient of 1 so isolating it costs no fractions.
3. Elimination
6x + 7y = 2 by −3 gives −18x − 21y = −6. Forgetting the
right-hand side is the classic elimination error, and it produces a confident wrong answer rather than an
obvious mess.Reach for elimination when both equations are in the form
Ax + By = C, and especially when one variable already has matching or opposite coefficients.
4. Which method should I use?
Both methods always work. Picking the right one is about how much arithmetic you are willing to do — see the flowchart in Figure 3.
| What the system looks like | Use | Why |
|---|---|---|
| One equation reads y = … or x = … | Substitution | The work is already half done |
| Some variable has coefficient 1 or −1 | Substitution | Isolating it creates no fractions |
| Both in Ax + By = C, one variable matching | Elimination | Add or subtract straight away |
| Both in Ax + By = C, nothing matches | Elimination | Multiply both equations to build a match |
| Every coefficient is awkward | Either | Pick one and be careful — then check |
5. The two special cases — and what they look like in your working
Sometimes both variables vanish. Do not assume you have made a mistake: the equation you are left with is telling you the answer.
You get a false statement
No solution
∅
The lines are parallel: same slope, different y-intercept. They never meet.
You get a true statement
Infinitely many solutions
The two equations describe the same line. Every point on it satisfies both.
You can also spot these before doing any work. Put both equations in y = mx + b:
same m and different b means parallel and no solution; same m and same
b means one line and infinitely many solutions.
6. Vocabulary
Key Figures
8x − 3y = −1 and x + 2y = −12 is solved
below by substitution, and the answer is (−2, −5). Here is that same answer as a picture: the
one point sitting on both lines at once. Substitution and elimination are just exact ways of finding this
crossing without squinting at a grid.Move the second line and watch the case change
The navy line is fixed at y = 2x − 1. Drag the sliders to move the green line, and
watch the system flip between the three cases in Figure 1. Try to make it happen deliberately:
- Set the slope to 2 with any other intercept. Why does the solution disappear?
- Now set the intercept to −1 as well. Why are there suddenly infinitely many solutions?
- Move the slope off 2 by the smallest step. Where does the intersection go, and why so far away?
Move It Yourself
Worked Examples
8x − 3y = −1 and x + 2y = −12.−5x + 2.5y = −15 and y = 2x − 11.−2x − 9y = −25 and −4x − 9y = −23.2x + 5y = 1 and 3x − 4y = −10.18x + 21y = 14 and 6x + 7y = 2.3x − y = 4 and 6x − 2y = 8.y = 3x − 4.Try It Yourself
Solve each on paper, then reveal. Problems 4 and 5 are the special cases — decide which is which before you check.
Problem 1
Problem 2
Problem 3
Problem 4
Problem 5
Problem 6
Summary
| When you see … | Do this | Result |
|---|---|---|
| y = … or x = … in one equation | Substitute it into the other | One equation, one variable |
| A variable with coefficient 1 | Isolate it, then substitute | No fractions to carry |
| Matching coefficients (both 9y) | Subtract the equations | That variable cancels |
| Opposite coefficients (9y and −9y) | Add the equations | That variable cancels |
| No match anywhere | Multiply both to reach the LCM | Now they match — eliminate |
| One variable left after cancelling | Solve, then back-substitute | One ordered pair |
| All variables gone, statement false | Stop | ∅, parallel lines |
| All variables gone, statement true | Stop and name the line | Infinitely many solutions |
| Same slope, different intercept | Recognise it before working | No solution |
| One equation is a multiple of the other | Recognise it before working | Infinitely many solutions |
Every idea from this lesson
- Substituting back into the equation you just rearranged, which collapses to something like 0 = 0 and tells you nothing.
- Multiplying the left side of an equation but forgetting the right side.
- Stopping after finding x, and never producing the ordered pair.
- Assuming you made a mistake when both variables cancel — that leftover statement is the answer.
- Reporting “no solution” for 0 = 0, or “infinitely many” for 0 = 8. Check whether the statement is true or false.
- Distributing a negative to only the first term: −2(4x + 1) = −8x − 2, not −8x + 1.
- Checking in only one equation, which cannot detect a back-substitution error.
- Answering “infinitely many” without naming the line the solutions lie on.
Practice Quiz
15 questions · click an answer to check it instantly