Identities Versus Equations, True Always or True Sometimes
Tell apart statements that hold for every value, for some values or for none, and learn how to prove which is which.
Key takeaways
- An identity is true for every value at which both sides are defined.
- A conditional equation is true for some values, and solving it means finding all of them.
- A contradiction is true for no value, so its solution set is empty.
- One value that makes the sides differ proves that an equality is not an identity.
- Checking a few values cannot, by itself, establish an identity unless a further theorem applies.
An identity is an equality that holds for every allowed value of its variables, such as 2(x + 3) = 2x + 6. A conditional equation holds only for particular values, such as 2x + 3 = 11, which is true when x = 4 and false otherwise. Some equations, such as x + 1 = x + 2, are never true.
All three use the same equals sign, so you have to work out which kind you are looking at. The difference decides what your task is: to prove, to solve or to report that nothing works.
Three kinds of statement
Try several values in each of the three examples above.
| x | 2(x + 3) and 2x + 6 | 2x + 3 and 11 | x + 1 and x + 2 |
|---|---|---|---|
| 0 | 6 and 6 | 3 and 11 | 1 and 2 |
| 4 | 14 and 14 | 11 and 11 | 5 and 6 |
| 10 | 26 and 26 | 23 and 11 | 11 and 12 |
The first column of results always matches. The second matches in one row. The third never does.
The solution set of an equation is the collection of values that make it true. For an identity it is every allowed value. For a conditional equation it is part of them. For a contradiction it is empty. The meaning of a solution is explored in what a solution to an equation really is.
What solving reveals
You often discover the type while trying to solve. Apply the usual steps and watch what happens to the variable.
3(x − 2) + 4 = 3x − 2
3x − 6 + 4 = 3x − 2 distribute
3x − 2 = 3x − 2 combine like terms
0 = 0 subtract 3x, then add 2 The variable vanished and left a true statement. Because every step can be undone, the original is true for all x. It is an identity.
Now change one number: 3(x − 2) + 4 = 3x + 1. The same steps lead to −2 = 1, which is false. No value of x can satisfy the original, so it is a contradiction.
If the variable survives, as in 3(x − 2) + 4 = x + 8, you get 3x − 2 = x + 8, then x = 5. That is a conditional equation. More cases are collected in equations with no solution or with every number as a solution.
Domains matter
The phrase "every allowed value" is doing real work. An expression may be undefined for certain inputs.
Consider (x² − 1)/(x − 1) = x + 1. For any x other than 1, factoring the numerator as (x − 1)(x + 1) and cancelling shows the two sides agree. At x = 1 the left side is 0/0, which is undefined, while the right side equals 2. So the equality is an identity on all real numbers except 1.
Square roots provide another case. The equality √(x²) = x is true when x ≥ 0 and false when x is negative: √((−3)²) = √9 = 3, not −3. The identity that holds for all real x is √(x²) = |x|.
Always state the number system and any excluded values when you claim that something is an identity.
Disproving takes one value
To show that an equality is not an identity, find a single allowed value where the sides differ. This value is called a counterexample.
Is (x + 2)² = x² + 4 an identity? Try x = 1. The left side is 9 and the right side is 5. That settles it.
The equality is still a perfectly good conditional equation. Expanding gives x² + 4x + 4 = x² + 4, so 4x = 0, and it holds only at x = 0. A false identity can easily have a solution or two, which is why the choice of test value matters.
Why a few successful tests are not enough
Look at x² = 3x − 2. At x = 1, both sides equal 1. At x = 2, both sides equal 4. Someone who tested only those two might call it an identity. At x = 3 the left side is 9 and the right side is 7.
For polynomials there is a precise limit. If two polynomials in one variable, each of degree at most n, agree at n + 1 different values, then they are identical. Two quadratics that match at three distinct inputs must be the same quadratic. In the example above, two matches were one short.
That theorem applies to polynomials. For other kinds of expressions, such as those with absolute values or roots, no finite list of tests is generally enough. For instance, |x| = x passes every positive test you try and still fails at −1.
How to prove an identity
The cleanest proof starts with one side and rewrites it, using known rules, until it becomes the other side.
Show that (x + 3)² − (x − 3)² = 12x.
(x + 3)² − (x − 3)²
= (x² + 6x + 9) − (x² − 6x + 9) expand both squares
= x² + 6x + 9 − x² + 6x − 9 subtract every term
= 12x combine like terms You may also simplify both sides separately until they reach the same expression.
What you should avoid is assuming the equality and working until you reach something true, unless every step is reversible. From the false statement −1 = 1 you can square both sides and get 1 = 1. The final line is true, but squaring cannot be undone uniquely, so it proves nothing about the first line.
Finding constants that force an identity
Some problems ask you to choose numbers so that an equation holds for all x. Since two polynomials that are identical have matching coefficients, you can compare them term by term.
Find a and b so that a(x + 1) + b = 5x + 2 for every x. Expanding gives ax + (a + b) = 5x + 2. Matching the x terms gives a = 5. Matching the constants gives a + b = 2, so b = −3.
Check: 5(x + 1) − 3 = 5x + 2. For further practice, see finding a constant that makes an equation an identity.
Identities you will use again and again
A few identities appear so often that they are worth knowing on sight. Each holds for all real numbers a, b and c.
| Identity | What it lets you do |
|---|---|
| a(b + c) = ab + ac | expand or factor out a common factor |
| (a + b)² = a² + 2ab + b² | square a sum |
| (a − b)² = a² − 2ab + b² | square a difference |
| (a − b)(a + b) = a² − b² | multiply or factor a difference of squares |
Each one can be read in both directions. For example, the last row turns 51 · 49 into 50² − 1² = 2499.
Notice what is absent. There is no identity saying (a + b)² = a² + b², and there is none saying √(a + b) = √a + √b. Both are conditional equations that happen to hold in special cases, such as b = 0 with a ≥ 0.
An identity behind a number trick
Think of a number. Add 5, double the result, subtract 4, take half, and then subtract the number you started with. Your answer is 3.
The trick works because it is an identity in disguise. Call the starting number n.
(2(n + 5) − 4) / 2 − n
= (2n + 6) / 2 − n distribute and combine
= n + 3 − n divide each term by 2
= 3 Since n cancels, the result cannot depend on the choice. This holds for negative numbers and fractions too.
You can design your own version by deciding what should be left at the end, then adding steps that undo one another around it. A trick whose answer still contains n is a conditional puzzle instead: someone who tells you the result has given you an equation to solve for the starting number.
Reading the equals sign from context
Textbooks usually write identities with an ordinary equals sign. Some authors use the symbol ≡ to stress that the two sides agree for all values, though that symbol has other meanings in other settings, such as congruence in modular arithmetic.
Context supplies clues. An instruction to "solve" points to a conditional equation. An instruction to "show that" or "verify" points to an identity. The rules of arithmetic, such as a + b = b + a, are identities that justify every rewrite you make. When you replace one expression with an equivalent expression, you are relying on an identity.
Formulas are a third use of the equals sign. A statement such as d = rt links different quantities. It is neither solved nor proved until you know values or want to rearrange it, as discussed in expressions, equations and formulas.
Classifying a new statement
When you meet an unfamiliar equality, a short routine sorts it out. First, note which values are not allowed. Second, substitute one convenient value. If the sides differ, it is not an identity. Third, simplify both sides and compare. Matching expressions mean an identity, a variable that cancels to leave a false statement means a contradiction, and anything else is conditional and can be solved.
Apply this to (x + 1)(x − 1) + 1 = x². Every real number is allowed, x = 3 gives 9 on both sides, and expanding the left side yields x² − 1 + 1 = x². It is an identity.
Common questions
Is 0 = 0 a solution?
No. It is a true statement that signals something about the original equation: if you reached it by reversible steps, every allowed value of the variable is a solution. Name that set in your answer.
Can an equation with two variables be an identity?
Yes. The equality (a − b)(a + b) = a² − b² holds for every pair of numbers. The equation a + b = 10 is conditional, since only some pairs satisfy it, and there are infinitely many of those.
Does "infinitely many solutions" mean identity?
Not necessarily. The equation |x| = x is true for infinitely many numbers, namely all x ≥ 0, but it is false for every negative number. An identity must hold everywhere both sides are defined in the number system you chose.