Equations With No Solution and Equations True for Every Number
Understand what it means when the variable cancels, how to tell no solution from all numbers, and how to predict it from the equation.
Key takeaways
- A false statement after valid steps means no value of the variable can satisfy the equation.
- A true statement with no variable means every permitted value satisfies it.
- Simplify both sides to the form ax + b and cx + d, then compare the coefficients and constants.
- Equal coefficients with different constants give no solution; equal coefficients and equal constants give all numbers.
- A final line such as x = 0 is an ordinary single solution and must not be confused with no solution.
Sometimes the variable vanishes while you solve a linear equation, and you are left with a statement about numbers alone. If that statement is false, such as 5 = 9, the equation has no solution. If it is true, such as 7 = 7, every number allowed in the original equation is a solution.
Neither outcome means you made a mistake. Both are complete answers, and you can often predict them by comparing the two sides before you solve.
An equation that cannot be true
Solve 3x + 8 = 3x + 2.
3x + 8 = 3x + 2
8 = 2 (subtract 3x from both sides) The last line is false. Each step was reversible, so the original equation is true exactly when 8 = 2 is true, which is never. The solution set is empty, written ∅.
You can see it directly. The two sides start from the same quantity, 3x, and then add different amounts. The left side is always 6 more than the right, whatever x is.
An equation like this is often called a contradiction, or an inconsistent equation.
An equation that is always true
Now solve 4(x − 1) = 2(2x − 2).
4x − 4 = 4x − 4 (distribute on each side)
−4 = −4 (subtract 4x) This final line is true no matter what x was. So the original holds for every real number. The solution set is all real numbers, often written ℝ.
An equation that is true for all permitted values is called an identity. The two sides are one expression written in two ways. The difference between these and ordinary conditional equations is the theme of identities versus equations.
Predicting the outcome
Any linear equation in one unknown can be simplified to ax + b = cx + d. Subtracting cx and b gives (a − c)x = d − b. Everything depends on that coefficient and that constant.
| Coefficients | Constants | Number of solutions |
|---|---|---|
| a ≠ c | anything | exactly one: x = (d − b)/(a − c) |
| a = c | b ≠ d | none |
| a = c | b = d | infinitely many |
When a ≠ c, you can divide by a − c. When a = c, the left side of (a − c)x = d − b is 0 for every x, so the question is just whether d − b is also 0.
The same reasoning is developed at more length in why there are only zero, one or infinitely many solutions. A linear equation can never have exactly two solutions.
The picture with lines
Graph each side separately: y = ax + b and y = cx + d. A solution is an x value where the two graphs have the same height.
- Different slopes mean the lines cross once, giving one solution.
- Equal slopes with different starting heights mean parallel lines, which never meet.
- Equal slopes and equal starting heights mean the two graphs are the same line, so they agree everywhere.
This picture is the core of graphing both sides. It also explains why near-parallel lines give a solution far from the origin: the gap closes very slowly.
Zero is a number, not nothing
Solve 6x + 4 = 2x + 4. Subtracting 2x and 4 leaves 4x = 0, so x = 0.
This equation has one solution, and that solution happens to be zero. Writing "no solution" here is a common error. Check it: both sides equal 4 when x = 0.
Similarly, 0x = 0 is true for every x, while 0x = 5 is true for none. Neither allows you to divide by the 0 in front, because division by zero is undefined.
Hidden cases inside longer equations
The outcome is often disguised by brackets and fractions. Simplify each side fully before deciding.
2(3x + 1) − x = 5(x − 2) + 12
6x + 2 − x = 5x − 10 + 12
5x + 2 = 5x + 2 (identity) (x + 4)/2 = (2x + 3)/4
2(x + 4) = 2x + 3 (multiply both sides by 4)
2x + 8 = 2x + 3
8 = 3 (no solution) In the second case, clearing the fractions first makes the structure plain.
If you reach a surprising ending, verify by testing a value or two. In the identity above, x = 0 gives 2 on both sides, and x = 1 gives 7 on both sides. For a linear equation, agreement at two different values is in fact enough to show the sides are identical, since two points determine a line. One value is never enough.
Why one test value is not enough
It is tempting to try a number, see that both sides agree, and call the equation an identity. Look at 2x + 5 = 3x + 4. At x = 1 both sides equal 7. Yet at x = 2 the left side is 9 and the right is 10. The equation has exactly one solution, and you happened to pick it.
Trying a number and seeing the sides disagree is similarly weak evidence. It shows that this value is not a solution, and therefore that the equation is not an identity. It does not show there is no solution.
| Test result | What you may conclude |
|---|---|
| Sides agree at one value | That value is a solution |
| Sides disagree at one value | Not an identity |
| Sides disagree at several values | Still possibly solvable |
| Both sides simplify to the same expression | Identity on the permitted values |
| Variable terms match, constants differ | No solution |
The reliable proof is algebraic: simplify each side and compare. Substitution is a useful way to catch a slip in that simplification.
Solving does not mean forcing an x
Students sometimes feel that every solution process has to end in "x equals something," and so they invent a value. After reaching 8 = 2, some write x = 8, x = 2 or x = 6. None of these works, because the equation 3x + 8 = 3x + 2 is false for each of them.
The final line is information about the whole equation. A false line says the sides can never balance. A true line says they always balance.
Another slip is to divide by an expression that has become zero. From 3x = 3x you might try to divide both sides by 3x and write 1 = 1. The conclusion looks right, but the step is not allowed when x = 0. Subtracting 3x is safe for every x, which is why it is preferred. This distinction is the center of reversible and irreversible steps.
Excluded values
"Every number" means every number for which both sides are defined. Consider this equation.
(2x − 6)/(x − 3) = 2 For x ≠ 3, the numerator is 2(x − 3), so the left side equals 2. Every real number except 3 is a solution. At x = 3 the left side is 0/0, which is undefined.
The reverse also occurs. In (x + 1)/(x − 3) = 4/(x − 3), clearing the denominator gives x + 1 = 4, so x = 3. That value is excluded, so there is no solution, even though the variable did not cancel.
Letters in place of numbers
With parameters, the number of solutions depends on their values. Take kx + 3 = 2x + m, where k and m are fixed numbers.
It becomes (k − 2)x = m − 3.
- If k ≠ 2, there is one solution, x = (m − 3)/(k − 2).
- If k = 2 and m ≠ 3, there is no solution.
- If k = 2 and m = 3, every real number is a solution.
Questions that ask which constants make an equation always true are handled in finding a constant that creates an identity.
What it means in a situation
Say two hypothetical phone plans each charge 12 dollars per month, but one adds a 40 dollar setup fee and the other a 25 dollar fee. Asking when the totals match gives 12m + 40 = 12m + 25, which has no solution. The more expensive plan stays 15 dollars higher forever.
If both fees were 25 dollars, every number of months would satisfy the equation, meaning the plans always cost the same. In the story, m should be a whole number that is 0 or greater, so "every number" means every such month.
Classify these
Decide how many solutions each equation has before looking below.
- 7x − 2 = 7x + 5
- 3(2x + 4) = 6x + 12
- 4x + 9 = x + 9
- 5 − (x + 1) = 4 − x
1. −2 = 5 is false: no solution
2. 6x + 12 = 6x + 12: every real number
3. 3x = 0: one solution, x = 0
4. 4 − x = 4 − x: every real number In the fourth, the minus sign reaches both terms inside the brackets, so the left side becomes 5 − x − 1. Missing that sign would give 6 − x and the opposite verdict, which shows how much depends on careful simplifying.
Common questions
Should I write the answer as 8 = 2?
Report the conclusion instead: "no solution" or ∅. The false statement is your evidence, so it is fine to show it in the working.
Is "infinitely many solutions" the same as "all real numbers"?
For a one-variable linear equation over the reals, yes, apart from any excluded values. In other settings, such as systems with two unknowns, infinitely many solutions may form only a line, not every possible pair.
Can the number system change the verdict?
Yes. The equation 2x = 3 has no solution in the integers but one in the rationals. That is a different kind of emptiness from 8 = 2, which fails in every ordinary number system.
How do I make one of each?
Start with an expression such as 3(x + 2). For an identity, set it equal to its expanded form, 3x + 6. For a contradiction, change only the constant, as in 3x + 1.