Exercise: solving 2×2 systems
Goal
- Get fast and confident at solving two equations in two unknowns, \(x\) and \(y\).
- Learn two methods: substitution and elimination — and see they give the same answer.
- Build the habit of showing every step. The method matters, not just the final number (this is what we want to see on the exam to see that you know how to do it; wrong answer can within reason be forgiven if your approach seems good).
The method
A 2×2 linear system looks like
\[ \begin{aligned} ax + by &= c \\ dx + ey &= f \end{aligned} \]
In matrix form this is \(A\mathbf{x}=\mathbf{b}\) with
\[ A=\begin{bmatrix} a & b \\ d & e\end{bmatrix},\qquad \mathbf{x}=\begin{bmatrix} x \\ y\end{bmatrix},\qquad \mathbf{b}=\begin{bmatrix} c \\ f\end{bmatrix}. \]
Method 1 — substitution
- Solve one equation for one variable (pick the easiest one).
- Plug that expression into the other equation. Now you have one equation in one unknown.
- Solve it, then substitute back to get the second unknown.
- Check by putting both numbers into the original equations.
Method 2 — elimination
- Multiply one (or both) equations by a number so that one variable has equal and opposite coefficients.
- Add the equations to cancel that variable.
- Solve the resulting one-variable equation, then back-substitute.
- Check.
Tiny worked example (substitution)
\[ \begin{aligned} x + y &= 5 \\ x - y &= 1 \end{aligned} \]
From the first equation, \(x = 5 - y\). Put this into the second:
\[ (5 - y) - y = 1 \;\Longrightarrow\; 5 - 2y = 1 \;\Longrightarrow\; 2y = 4 \;\Longrightarrow\; y = 2. \]
Then \(x = 5 - y = 5 - 2 = 3\). So \(x = 3,\ y = 2\).
Check: \(3 + 2 = 5\) ✓ and \(3 - 2 = 1\) ✓.
Problems
Solve each system. For problems 1–8 use substitution. For problems 9–12 use elimination. Problems 13–16 are a mix — solve them whichever way you like, then try the other method too. Always write your steps and finish with a check.
1. \(\begin{aligned} x &= 4 \\ y &= 7 \end{aligned}\)
2. \(\begin{aligned} x &= 2 \\ x + y &= 9 \end{aligned}\)
3. \(\begin{aligned} y &= 5 \\ x - y &= 1 \end{aligned}\)
4. \(\begin{aligned} x + y &= 6 \\ y &= 2 \end{aligned}\)
5. \(\begin{aligned} x + y &= 10 \\ x - y &= 2 \end{aligned}\)
6. \(\begin{aligned} x + y &= 8 \\ x &= 3 \end{aligned}\)
7. \(\begin{aligned} 2x &= 10 \\ x + y &= 7 \end{aligned}\)
8. \(\begin{aligned} x + 2y &= 11 \\ y &= 4 \end{aligned}\)
9. \(\begin{aligned} x + y &= 7 \\ x - y &= 3 \end{aligned}\)
10. \(\begin{aligned} 2x + y &= 8 \\ x - y &= 1 \end{aligned}\)
11. \(\begin{aligned} 3x + 2y &= 12 \\ x - 2y &= 4 \end{aligned}\)
12. \(\begin{aligned} 2x + 3y &= 13 \\ 2x - y &= 5 \end{aligned}\)
13. \(\begin{aligned} 3x + y &= 10 \\ x + 2y &= 5 \end{aligned}\)
14. \(\begin{aligned} 2x + 3y &= 8 \\ 3x - y &= 1 \end{aligned}\)
15. \(\begin{aligned} 4x + 2y &= 5 \\ 2x - y &= 1 \end{aligned}\)
16. \(\begin{aligned} 3x + 4y &= 2 \\ 5x - 2y &= 12 \end{aligned}\)
Hints
These are almost solved already. One equation hands you a variable directly; just substitute it into the other and read off the second variable. No real algebra needed.
Find the equation that is easiest to rearrange into “\(x = \dots\)” or “\(y = \dots\)”. In problem 5, add the two equations or solve \(x + y = 10\) for \(x = 10 - y\) and substitute. In problems 7 and 8 one equation gives a single variable in one step (\(2x = 10 \Rightarrow x = 5\); \(y = 4\)).
Line the equations up. If a variable already has matching coefficients with opposite signs (like \(+y\) and \(-y\)), just add the equations to cancel it. In problem 11 the \(y\)-terms are \(+2y\) and \(-2y\) — add to remove \(y\) at once.
You may need to multiply an equation by a constant first so a variable cancels. In problem 13, multiply the second equation by 3 to match the \(3x\), then subtract. Answers can be simple fractions (problems 15 and 16) — that is fine, just keep them as exact fractions.
Step-by-step solutions
Problem 1
Given directly: \(x = 4\), \(y = 7\). Check: nothing to combine — both values are stated. \(x = 4,\ y = 7\).
Problem 2
From the first equation \(x = 2\). Substitute into \(x + y = 9\): \[2 + y = 9 \;\Rightarrow\; y = 7.\] Answer: \(x = 2,\ y = 7\). Check: \(2 + 7 = 9\) ✓.
Problem 3
From the first equation \(y = 5\). Substitute into \(x - y = 1\): \[x - 5 = 1 \;\Rightarrow\; x = 6.\] Answer: \(x = 6,\ y = 5\). Check: \(6 - 5 = 1\) ✓.
Problem 4
From the second equation \(y = 2\). Substitute into \(x + y = 6\): \[x + 2 = 6 \;\Rightarrow\; x = 4.\] Answer: \(x = 4,\ y = 2\). Check: \(4 + 2 = 6\) ✓.
Problem 5
Solve the first for \(x\): \(x = 10 - y\). Substitute into \(x - y = 2\): \[(10 - y) - y = 2 \;\Rightarrow\; 10 - 2y = 2 \;\Rightarrow\; 2y = 8 \;\Rightarrow\; y = 4.\] Then \(x = 10 - 4 = 6\). Answer: \(x = 6,\ y = 4\). Check: \(6 + 4 = 10\) ✓ and \(6 - 4 = 2\) ✓.
Problem 6
From the second equation \(x = 3\). Substitute into \(x + y = 8\): \[3 + y = 8 \;\Rightarrow\; y = 5.\] Answer: \(x = 3,\ y = 5\). Check: \(3 + 5 = 8\) ✓.
Problem 7
From the first equation \(2x = 10 \Rightarrow x = 5\). Substitute into \(x + y = 7\): \[5 + y = 7 \;\Rightarrow\; y = 2.\] Answer: \(x = 5,\ y = 2\). Check: \(5 + 2 = 7\) ✓.
Problem 8
From the second equation \(y = 4\). Substitute into \(x + 2y = 11\): \[x + 2(4) = 11 \;\Rightarrow\; x + 8 = 11 \;\Rightarrow\; x = 3.\] Answer: \(x = 3,\ y = 4\). Check: \(3 + 2(4) = 3 + 8 = 11\) ✓.
Problem 9 (elimination)
\[ \begin{aligned} x + y &= 7 \\ x - y &= 3 \end{aligned} \] The \(y\)-terms are \(+y\) and \(-y\). Add the two equations (\(\text{R1} + \text{R2}\)): \[2x = 10 \;\Rightarrow\; x = 5.\] Back-substitute into \(x + y = 7\): \(5 + y = 7 \Rightarrow y = 2\). Answer: \(x = 5,\ y = 2\). Check: \(5 + 2 = 7\) ✓ and \(5 - 2 = 3\) ✓.
Problem 10 (elimination)
\[ \begin{aligned} 2x + y &= 8 \\ x - y &= 1 \end{aligned} \] The \(y\)-terms are \(+y\) and \(-y\). Add (\(\text{R1} + \text{R2}\)): \[3x = 9 \;\Rightarrow\; x = 3.\] Back-substitute into \(x - y = 1\): \(3 - y = 1 \Rightarrow y = 2\). Answer: \(x = 3,\ y = 2\). Check: \(2(3) + 2 = 8\) ✓ and \(3 - 2 = 1\) ✓.
Problem 11 (elimination)
\[ \begin{aligned} 3x + 2y &= 12 \\ x - 2y &= 4 \end{aligned} \] The \(y\)-terms are \(+2y\) and \(-2y\). Add (\(\text{R1} + \text{R2}\)): \[4x = 16 \;\Rightarrow\; x = 4.\] Back-substitute into \(x - 2y = 4\): \(4 - 2y = 4 \Rightarrow -2y = 0 \Rightarrow y = 0\). Answer: \(x = 4,\ y = 0\). Check: \(3(4) + 2(0) = 12\) ✓ and \(4 - 2(0) = 4\) ✓.
Problem 12 (elimination)
\[ \begin{aligned} 2x + 3y &= 13 \\ 2x - y &= 5 \end{aligned} \] The \(x\)-terms match (\(2x\) and \(2x\)). Subtract (\(\text{R1} - \text{R2}\)) to cancel \(x\): \[(3y) - (-y) = 13 - 5 \;\Rightarrow\; 4y = 8 \;\Rightarrow\; y = 2.\] Back-substitute into \(2x - y = 5\): \(2x - 2 = 5 \Rightarrow 2x = 7 \Rightarrow x = \tfrac{7}{2}\). Answer: \(x = \tfrac{7}{2},\ y = 2\). Check: \(2(\tfrac{7}{2}) + 3(2) = 7 + 6 = 13\) ✓ and \(2(\tfrac{7}{2}) - 2 = 7 - 2 = 5\) ✓.
Problem 13 (both methods)
\[ \begin{aligned} 3x + y &= 10 \\ x + 2y &= 5 \end{aligned} \] Elimination: multiply the first equation by 2 so the \(y\)-terms match: \(6x + 2y = 20\). Subtract the second equation: \[(6x + 2y) - (x + 2y) = 20 - 5 \;\Rightarrow\; 5x = 15 \;\Rightarrow\; x = 3.\] Back-substitute into \(3x + y = 10\): \(9 + y = 10 \Rightarrow y = 1\).
Substitution (cross-check): from \(3x + y = 10\), \(y = 10 - 3x\). Put into \(x + 2y = 5\): \[x + 2(10 - 3x) = 5 \Rightarrow x + 20 - 6x = 5 \Rightarrow -5x = -15 \Rightarrow x = 3,\ y = 1.\] Answer: \(x = 3,\ y = 1\). Check: \(3(3) + 1 = 10\) ✓ and \(3 + 2(1) = 5\) ✓.
Problem 14 (both methods)
\[ \begin{aligned} 2x + 3y &= 8 \\ 3x - y &= 1 \end{aligned} \] Elimination: multiply the second equation by 3 so the \(y\)-terms become \(-3y\): \(9x - 3y = 3\). Add to the first: \[(2x + 3y) + (9x - 3y) = 8 + 3 \;\Rightarrow\; 11x = 11 \;\Rightarrow\; x = 1.\] Back-substitute into \(3x - y = 1\): \(3 - y = 1 \Rightarrow y = 2\).
Substitution (cross-check): from \(3x - y = 1\), \(y = 3x - 1\). Put into \(2x + 3y = 8\): \[2x + 3(3x - 1) = 8 \Rightarrow 2x + 9x - 3 = 8 \Rightarrow 11x = 11 \Rightarrow x = 1,\ y = 2.\] Answer: \(x = 1,\ y = 2\). Check: \(2(1) + 3(2) = 8\) ✓ and \(3(1) - 2 = 1\) ✓.
Problem 15 (both methods)
\[ \begin{aligned} 4x + 2y &= 5 \\ 2x - y &= 1 \end{aligned} \] Elimination: multiply the second equation by 2 so the \(y\)-terms become \(-2y\): \(4x - 2y = 2\). Add to the first: \[(4x + 2y) + (4x - 2y) = 5 + 2 \;\Rightarrow\; 8x = 7 \;\Rightarrow\; x = \tfrac{7}{8}.\] Back-substitute into \(2x - y = 1\): \(2(\tfrac{7}{8}) - y = 1 \Rightarrow \tfrac{7}{4} - y = 1 \Rightarrow y = \tfrac{3}{4}\).
Substitution (cross-check): from \(2x - y = 1\), \(y = 2x - 1\). Put into \(4x + 2y = 5\): \[4x + 2(2x - 1) = 5 \Rightarrow 4x + 4x - 2 = 5 \Rightarrow 8x = 7 \Rightarrow x = \tfrac{7}{8},\ y = \tfrac{3}{4}.\] Answer: \(x = \tfrac{7}{8},\ y = \tfrac{3}{4}\). Check: \(4(\tfrac{7}{8}) + 2(\tfrac{3}{4}) = \tfrac{7}{2} + \tfrac{3}{2} = 5\) ✓ and \(2(\tfrac{7}{8}) - \tfrac{3}{4} = \tfrac{7}{4} - \tfrac{3}{4} = 1\) ✓.
Problem 16 (both methods)
\[ \begin{aligned} 3x + 4y &= 2 \\ 5x - 2y &= 12 \end{aligned} \] Elimination: multiply the second equation by 2 so the \(y\)-terms become \(-4y\): \(10x - 4y = 24\). Add to the first: \[(3x + 4y) + (10x - 4y) = 2 + 24 \;\Rightarrow\; 13x = 26 \;\Rightarrow\; x = 2.\] Back-substitute into \(3x + 4y = 2\): \(6 + 4y = 2 \Rightarrow 4y = -4 \Rightarrow y = -1\).
Substitution (cross-check): from \(5x - 2y = 12\), \(2y = 5x - 12 \Rightarrow y = \tfrac{5x - 12}{2}\). Put into \(3x + 4y = 2\): \[3x + 4\cdot\tfrac{5x - 12}{2} = 2 \Rightarrow 3x + 2(5x - 12) = 2 \Rightarrow 13x - 24 = 2 \Rightarrow x = 2,\ y = -1.\] Answer: \(x = 2,\ y = -1\). Check: \(3(2) + 4(-1) = 6 - 4 = 2\) ✓ and \(5(2) - 2(-1) = 10 + 2 = 12\) ✓.