Sub topic 11
No solution and infinitely many solutions
What this chapter covers
This chapter assumes you can solve two-step equations, distribute and combine like terms, and collect variables when they appear on both sides. Here you learn what it means when the variable disappears during solving, how to tell the two possible outcomes apart, and how to avoid mistaking an arithmetic slip for one of them.
By the end you should be able to:
- Predict from the coefficients whether a linear equation has one, none, or infinitely many solutions.
- Read the final line of your work and state the conclusion correctly.
- Explain the result in terms of the general form
ax = c.
Three possible outcomes
Every linear equation in one variable has exactly one of three outcomes:
| Outcome | What the solution set looks like | Example |
|---|---|---|
| One solution | A single number | `2x + 3 = 11` gives `x = 4` |
| No solution | The empty set, no value of `x` works | `x + 1 = x + 2` |
| Infinitely many solutions | Every real number works | `2x + 2 = 2(x + 1)` |
Most equations you have solved so far fall in the first row. The other two rows appear when the x terms cancel completely. A linear equation cannot have exactly two solutions, or exactly five. If you find two different values that both work, the equation is either not linear or it has infinitely many solutions.
Why the variable can disappear
Collecting terms on both sides turns any linear equation into the general form from the previous chapter:
ax = c
Here a is the combined coefficient of x and c is the combined constant. The number of solutions depends only on these two values.
- If
a ≠ 0, divide bya. You get one solution,x = c / a. - If
a = 0, the equation becomes0 · x = c, which is just0 = c. The variable has no effect, so the equation is true for everyxor false for everyx. - If
c = 0, the statement0 = 0is true, so every number is a solution. - If
c ≠ 0, the statement is false (for example0 = 5), so no number is a solution.
Worked example: no solution
Solve 3(x + 2) = 3x + 5.
3(x + 2) = 3x + 5
3x + 6 = 3x + 5 distribute
6 = 5 subtract 3x from both sidesSubtracting 3x removed the variable, and what remains is 6 = 5. That statement is false no matter what x is. Each step you took was legal, so each equation is equivalent to the one before it. The original equation therefore has the same solution set as 6 = 5, which is empty.
Intuitively, the left side is "3 times (x plus 2)" and the right side is "3 times x, plus 5". The left side always exceeds 3x by 6 and the right side always exceeds it by 5. The two sides are always 1 apart, so they never meet.
Worked example: infinitely many solutions
Solve 2(x - 3) + 4 = 2x - 2.
2(x - 3) + 4 = 2x - 2
2x - 6 + 4 = 2x - 2 distribute
2x - 2 = 2x - 2 combine like terms
0 = 0 subtract 2x, then add 2The last line is true for every x. In fact, the two sides were identical after you combined like terms. Pick any value to confirm it. With x = 10, the left side is 2(7) + 4 = 18 and the right side is 20 - 2 = 18. With x = -1, the left side is 2(-4) + 4 = -4 and the right side is -2 - 2 = -4.
Checking a few values supports the conclusion, but it does not prove it. The proof is that every step was an equivalence and the final equation is always true.
Classifying with code
The check "is the coefficient zero, and are the constants equal?" can be written directly. The function below takes the equation a1·x + b1 = a2·x + b2 and uses exact fractions, so a coefficient such as 1/3 never causes a false "not zero" from rounding error.
from fractions import Fraction
def classify(a1, b1, a2, b2):
"""Classify a1*x + b1 = a2*x + b2."""
a = Fraction(a1) - Fraction(a2) # net coefficient of x
c = Fraction(b2) - Fraction(b1) # net constant
if a != 0:
return f"one solution: x = {c / a}"
return "infinitely many solutions" if c == 0 else "no solution"
print(classify(3, 6, 3, 5)) # 3x + 6 = 3x + 5 -> no solution
print(classify(2, -2, 2, -2)) # 2x - 2 = 2x - 2 -> infinitely many solutions
print(classify(4, 1, 2, 9)) # 4x + 1 = 2x + 9 -> one solution: x = 4The function expects both sides already simplified to the form ax + b. The parentheses in the earlier examples were expanded first, which is why 3(x + 2) became the pair 3, 6.
Predicting the outcome before you solve
You can often tell the outcome by comparing the two sides after simplifying each one.
- Simplify each side separately: distribute and combine like terms.
- Compare the
xcoefficients. - Different coefficients mean exactly one solution.
- Equal coefficients mean you must compare the constants.
- If the coefficients are equal, compare the constants.
- Equal constants mean infinitely many solutions (the sides are identical).
- Different constants mean no solution (the sides are parallel but offset).
The word "parallel" has a graphical meaning. If you graph y = 3x + 6 and y = 3x + 5, you get two lines with the same slope and different y-intercepts. They never cross, which matches "no solution". If the lines are identical, every point is shared, which matches "infinitely many". Two lines with different slopes cross exactly once.
Writing the conclusion correctly
The way you phrase the answer matters, because the final line looks like a number but is not a solution.
| Final line | Correct conclusion | Common wrong conclusion |
|---|---|---|
| `0 = 0` | Infinitely many solutions, every real number | "x = 0" |
| `6 = 5` | No solution (the empty set) | "x = 0" or "x = 1" |
| `x = 4` | One solution | Not applicable |
Two notations are worth knowing. The empty set is written ∅ or { }. All real numbers is written "all real numbers" or ℝ. Writing x = 0 for the case 0 = 0 is a frequent mistake. The zero on each side came from the x terms cancelling, not from x being zero. In fact x = 5 also satisfies the original equation.
Edge cases and common errors
An arithmetic slip that looks like "no solution"
Suppose you solve 4(x - 1) = 4x - 4 and write:
4x - 4 = 4x - 4
4x = 4x - 4 + 4 (sign slip: added 4 to the right side only)
4x = 4x
0 = 0This particular slip happens to give the right outcome, but similar slips can produce 0 = 4 instead and a wrong claim of "no solution". Whenever you get a false statement, redo the problem from the original equation and watch for these three sources of error:
- A sign lost when distributing a negative, as in
-(x - 3)becoming-x - 3instead of-x + 3. - A term moved to the other side without changing its sign.
- A coefficient combined incorrectly, such as
2x + 3xwritten as5x²or6x.
A reliable test is to substitute a simple value, such as x = 0 or x = 1, into the original equation. If the two sides are unequal for that value, the equation is not an identity, so "infinitely many solutions" is wrong. If you then also find a value that works, "no solution" is wrong too. For 3(x + 2) = 3x + 5, using x = 0 gives 6 and 5, and x = 1 gives 9 and 8. In both cases the difference is 1, which fits the conclusion of no solution.
Fractions and nested parentheses
The same logic holds when the coefficients are fractions. For (1/2)(4x + 6) = 2x + 3, distributing gives 2x + 3 = 2x + 3, so there are infinitely many solutions. Multiplying by a common denominator first does not change the outcome, because multiplying both sides by a nonzero number keeps the equation equivalent.
Multiplying by zero is not allowed
Never multiply both sides by an expression that could equal zero. Multiplying both sides of any false equation by 0 gives 0 = 0, which is true. That step is not reversible, so it produces a false "infinitely many solutions" claim. The balance principle only covers multiplying or dividing by a nonzero number.
Parameters
When a letter other than x appears as a constant, the outcome may depend on its value. For 2x + k = 2x + 7, subtracting 2x gives k = 7. This is a statement about k, not x. If k = 7, every x works. If k is any other number, no x works. Questions of the form "for what value of k does this equation have no solution?" are asking you to find the values where the x coefficients match but the constants differ.
Summary
- After simplifying, if the
xcoefficients differ, there is exactly one solution. - If the
xterms cancel and a true statement remains (0 = 0), every real number is a solution. - If the
xterms cancel and a false statement remains (6 = 5), there is no solution. - A false final line should trigger a recheck from the original equation before you accept it.
Exercise
Classify each equation as one solution, no solution, or infinitely many solutions, and give the solution when there is exactly one. (a) 5(x - 1) = 5x + 2. (b) 4x + 1 = 2x + 9. (c) 3(2x + 1) - 3 = 6x.
Show answer
(a) Distribute: 5x - 5 = 5x + 2. Subtract 5x: -5 = 2, which is false, so there is no solution. (b) Subtract 2x and 1: 2x = 8, so x = 4, one solution. (c) Distribute: 6x + 3 - 3 = 6x, which simplifies to 6x = 6x, then 0 = 0, so there are infinitely many solutions.
Exercise
In the equation 5(x - 1) = 5x + m, for which value of m are there infinitely many solutions, and what happens for every other value of m?
Show answer
Distribute to get 5x - 5 = 5x + m. Subtracting 5x leaves -5 = m. When m = -5 the equation becomes 0 = 0 and every real number is a solution. For any other m the statement -5 = m is false, so there is no solution. The equation never has exactly one solution because the x coefficients are equal on both sides.
Exercise
A student solves 2(x + 4) = 2x + 8 and writes "x = 0" because the last line was 0 = 0. Explain the mistake and test it with x = 3.
Show answer
The line 0 = 0 means the x terms cancelled and the remaining statement is always true, so every real number is a solution, not only 0. Testing x = 3: the left side is 2(7) = 14 and the right side is 6 + 8 = 14, so x = 3 also works. The correct conclusion is "infinitely many solutions" (all real numbers).