AlgebraIntermediate

Systems of Equations

When one equation has two unknowns, there are infinitely many solutions. But when you have two equations with the same two unknowns, often there is exactly one point where both are satisfied simultaneously. Finding that point is what systems of equations is all about.

1 What Is a System of Equations?

A system of equations is a set of two or more equations with the same variables. The solution is the set of values that satisfies all equations simultaneously — the point where they all "agree."

Real-world example: You buy 3 apples and 2 oranges for $7. Then you buy 1 apple and 4 oranges for $9. What does each fruit cost? This is a system of two equations: 3a + 2o = 7 and a + 4o = 9. There is exactly one apple price and one orange price that satisfies both conditions at once.

Why Two Equations for Two Unknowns?

One equation with two unknowns (like x + y = 10) has infinitely many solutions: (1,9), (2,8), (5,5), etc. A second equation restricts the possibilities. If both equations must be true simultaneously, often only one (x, y) pair works for both.

2 Method 1: Substitution

Substitution works by solving one equation for one variable, then substituting that expression into the other equation. This reduces a two-variable problem to a one-variable problem.

Substitution Method
Solve the system: y = 2x + 1 and 3x + y = 16
1Equation 1 already gives y in terms of x: y = 2x + 1
2Substitute into Equation 2: 3x + (2x + 1) = 16
3Simplify: 5x + 1 = 16
4Solve: 5x = 15, so x = 3
5Find y: y = 2(3) + 1 = 7
6Check in both equations: y = 2(3)+1 = 7 ✓ and 3(3)+7 = 16 ✓
Answer: x = 3, y = 7

Substitution is best when one equation already has a variable isolated, or when isolating a variable is easy (coefficient of 1 or −1).

3 Method 2: Elimination (Addition Method)

Elimination works by adding (or subtracting) the two equations together in a way that cancels out one variable, leaving a single equation with one unknown.

Elimination Method
Solve: 2x + 3y = 12 and 2x − y = 4
1The x terms both have coefficient 2. Subtract equation 2 from equation 1 to cancel x.
2(2x + 3y) − (2x − y) = 12 − 4
32x − 2x + 3y + y = 8
44y = 8, so y = 2
5Substitute y = 2 into equation 2: 2x − 2 = 4, so 2x = 6, x = 3
6Check: 2(3)+3(2) = 12 ✓ and 2(3)−2 = 4 ✓
Answer: x = 3, y = 2
Elimination with Scaling
Solve: 3x + 2y = 11 and 5x − 4y = 11
1Neither variable cancels directly. Multiply equation 1 by 2: 6x + 4y = 22
2Now add to equation 2: (6x + 4y) + (5x − 4y) = 22 + 11
311x = 33, so x = 3
4Substitute: 3(3) + 2y = 11, so 2y = 2, y = 1
5Check: 3(3)+2(1) = 11 ✓ and 5(3)−4(1) = 11 ✓
Answer: x = 3, y = 1

4 Method 3: Graphing

Each linear equation represents a straight line. The solution to a system is the point where the two lines intersect. Graphing gives you a visual answer — but it's imprecise unless the intersection falls exactly on grid points.

To graph: rewrite each equation in slope-intercept form (y = mx + b), plot both lines, and identify the intersection point. This method is best for building intuition, not for getting exact answers when coefficients are large or solutions are fractions.

Graphing Insight

The graphical interpretation explains why systems behave the way they do. Two distinct intersecting lines → one solution. Parallel lines → no solution. The same line written two ways → infinite solutions.

5 Special Cases

No Solution — Parallel Lines

If you get a contradiction like 0 = 5 during elimination or substitution, the lines are parallel and never intersect. Example: x + y = 3 and x + y = 7. Both equations say x + y equals something, but they can't both be true. No solution.

Infinite Solutions — Same Line

If you get a tautology like 0 = 0, the two equations describe the same line. Every point on that line is a solution. Example: x + y = 3 and 2x + 2y = 6 (just equation 1 multiplied by 2). Infinite solutions.

Try the Slope Calculator

Each equation in a system represents a line with its own slope and intercept. The slope calculator finds both — and you can check whether two lines are parallel (same slope, different intercept).

Open Calculator →

Practice Problems

Solve by substitution: y = x − 2 and 2x + y = 7
Sub y = x−2: 2x + (x−2) = 7 → 3x = 9 → x = 3, y = 1. Check: 2(3)+1 = 7 ✓
Solve by elimination: x + y = 8 and x − y = 2
Add equations: 2x = 10, x = 5. Then y = 3. Check: 5+3=8 ✓ and 5−3=2 ✓
How many solutions: 2x + y = 5 and 4x + 2y = 10?
Equation 2 = 2 × Equation 1. Same line. Infinite solutions — every point on 2x + y = 5 works.
Solve: 3x + y = 10 and x + 2y = 5
From eq 2: x = 5 − 2y. Sub into eq 1: 3(5−2y) + y = 10 → 15 − 6y + y = 10 → −5y = −5 → y = 1, x = 3. Check: 9+1=10 ✓ and 3+2=5 ✓
A movie theater charges $12 for adults and $8 for children. 50 tickets sold for $520 total. How many adult tickets?
Let a = adults, c = children. a + c = 50 and 12a + 8c = 520. From eq 1: c = 50 − a. Sub: 12a + 8(50−a) = 520 → 4a = 120 → a = 30. 30 adult tickets.