Finding the Value of a Constant That Makes an Equation an Identity
Find unknown constants that make both sides equal for every x by matching coefficients or by substituting well-chosen values.
Key takeaways
- Simplify both sides fully before comparing anything.
- Two linear expressions in x agree for every x only when their x coefficients match and their constant terms match.
- If one constant has to satisfy two matching conditions that disagree, no value creates an identity.
- Substituting convenient values of x is a second method that is especially quick for expressions with brackets.
- Always confirm the result by rewriting both sides with your constant in place.
To make an equation an identity, choose the constant so that both sides become exactly the same expression. Simplify each side, then require the coefficient of x on the left to equal the coefficient on the right, and the constant term on the left to equal the constant term on the right. Solving those small equations gives the value you need.
An identity is an equation that is true for every value of the variable for which both sides are defined. The question therefore flips the usual one: you are not hunting for x, because every x must work.
Match the two parts
Find k so that 3(x + k) = 3x + 12 is an identity.
3(x + k) = 3x + 12
3x + 3k = 3x + 12 (distribute) The x terms already match. The constants match when 3k = 12, so k = 4. With that value the left side is 3x + 12, a copy of the right.
Notice what happens with any other value, say k = 5. The equation reads 3x + 15 = 3x + 12, which no x satisfies. And if the x coefficients had differed, there would be exactly one solution. These three outcomes are described in equations with no solution and equations true for every number.
So an identity sits at a very particular setting of the constants. Both the slope part and the fixed part have to line up.
Why matching is the right test
Suppose px + q = rx + s holds for every x. Put x = 0 and you learn q = s. Now put x = 1: p + q = r + s. Since q = s, it follows that p = r.
So agreement everywhere forces both pairs to match. The reverse is obvious, because matching pairs make the two sides identical. The method is therefore exact, with nothing lost in either direction.
The phrase for this is comparing coefficients. A coefficient is the number multiplying a power of x, and the constant term can be thought of as the coefficient of x⁰.
The argument also shows that two different test values are enough to confirm a linear identity, while one is never enough. A single value of x can be a solution of an ordinary equation by itself.
Two unknown constants
Find a and b so that a(2x − 1) + 5 = 6x + b for all x.
2ax − a + 5 = 6x + b (distribute a)
x terms: 2a = 6 so a = 3
constant terms: −a + 5 = b so b = 2 Check: 3(2x − 1) + 5 = 6x − 3 + 5 = 6x + 2.
The order mattered a little. The x comparison involved only a, so it was solved first, and the result fed the constant comparison. In general, two constants give two equations, which may need to be solved together as a small system.
A constant that multiplies a bracket and sits inside it
Sometimes one letter appears twice in a way that makes the two conditions interact. Find t so that t(x + t) = 3x + 9 is an identity.
Expanding gives tx + t² = 3x + 9. The x terms require t = 3, and then the constants require t² = 9, which 3 satisfies. So t = 3 works.
Now change the right side to −3x + 9. The x terms require t = −3, and (−3)² = 9, so this also works. But for 3x − 9 the x terms require t = 3 while the constants require t² = −9, which no real number satisfies. There is no real value of t in that case.
The lesson is to let the simplest condition suggest the candidate, and let the other condition test it. If you had started with t² = 9 and written t = 3 or t = −3, you would still need the x terms to choose between them. Both conditions must hold at the same time, for the same value.
Fractions in the way
Find c so that (x + c)/2 − x/3 = x/6 + 4 is an identity.
Multiply every term by 6, the common denominator.
3(x + c) − 2x = x + 24
3x + 3c − 2x = x + 24
x + 3c = x + 24
3c = 24
c = 8 Check with c = 8: (x + 8)/2 − x/3 = x/2 + 4 − x/3 = x/6 + 4.
Multiplying by a nonzero number keeps an identity an identity, so clearing numeric fractions is completely safe. Remember that the 4 on the right must be multiplied too, which turns it into 24.
The substitution method
Since an identity holds for every x, you may pick any x you like and use the resulting statement. Choose values that wipe out terms.
Find A and B so that A(x − 1) + B(x + 2) = 5x + 1 for all x.
- Let x = 1. The A term disappears: 3B = 6, so B = 2.
- Let x = −2. The B term disappears: −3A = −9, so A = 3.
Check: 3(x − 1) + 2(x + 2) = 5x + 1.
Matching coefficients gives the same result through the system A + B = 5 and −A + 2B = 1. Substitution is faster here because each choice isolates one unknown. This trick is the working engine of partial fraction decomposition.
One caution: substitution finds what the constants must be if an identity is possible. It does not prove that one exists. After solving, expand and compare to confirm.
| Method | How it works | Best when |
|---|---|---|
| Compare coefficients | match each power of x on both sides | both sides expand easily |
| Substitute values | pick x values that remove terms | brackets can be made zero |
| Combine | substitute for one unknown, compare for another | several constants are present |
When no value works
Not every request can be met. Find k so that kx + 5 = 2x + 6 is an identity.
The x terms demand k = 2. The constant terms demand 5 = 6, which is false and contains no k. So no value of k makes an identity. Choosing k = 2 gives an equation with no solution at all.
Here is a version with powers. Find m so that (x + m)² = x² + 10x + 16.
x² + 2mx + m² = x² + 10x + 16
x terms: 2m = 10 so m = 5
constant terms: m² = 25 ≠ 16 The two requirements conflict, so there is no such m. If the right side were x² + 10x + 25, then m = 5 would satisfy both.
Always test every comparison. Stopping after the first one is the usual way to report a value that does not work.
Expressions with squared terms
The matching idea extends to any polynomial: two polynomials agree for every x exactly when the coefficients of each power agree. Find a, b and c so that 2x² + 5x − 1 = a(x + 1)² + b(x + 1) + c.
a(x + 1)² + b(x + 1) + c = ax² + (2a + b)x + (a + b + c)
x² terms: a = 2
x terms: 2a + b = 5 so b = 1
constants: a + b + c = −1 so c = −4 Check at x = 1: the left side is 2 + 5 − 1 = 6, and the right side is 2 · 4 + 2 − 4 = 6.
Substituting x = −1 gives c immediately, since both bracket terms vanish: 2 − 5 − 1 = −4. For a quadratic identity, agreement at three different values of x is enough, while two values are not, because many different parabolas pass through the same two points.
Denominators that contain x
Find k so that (2x + k)/(x + 3) = 2 for every x ≠ −3.
Multiplying by x + 3, which is nonzero on the allowed values, gives 2x + k = 2x + 6, so k = 6. Indeed (2x + 6)/(x + 3) = 2 whenever x ≠ −3.
The identity is true on the domain of the expression, not at x = −3, where the left side has no value. State that restriction as part of the answer. The same care applies in equations with a variable in the denominator.
Reading the question closely
Problems in this family use similar words for different goals. Take the equation px + 8 = 4(x + q), which expands to px + 8 = 4x + 4q.
| The question asks for | Condition | Answer here |
|---|---|---|
| every x is a solution | both pairs match | p = 4 and q = 2 |
| no x is a solution | x terms match, constants differ | p = 4 and q ≠ 2 |
| exactly one solution | x terms differ | p ≠ 4, any q |
When p ≠ 4, the solution is x = (4q − 8)/(p − 4), found with the usual letter-coefficient method.
Also notice whether the question wants x or the constant. "Solve for k so that x = 2 is a solution" is a different task: you substitute x = 2 and solve for k. It asks for one value of x to work, not all of them.
What an identity buys you
Why would anyone want to force two expressions to match? The usual reason is to rewrite something in a more useful shape. Writing 5x + 1 as a combination of x − 1 and x + 2 helps split a complicated fraction. Writing a quadratic in powers of x + 1 shows its behavior near x = −1.
The same idea checks someone's expansion. If a classmate claims that 6(x − 2) − 2(x − 5) equals 4x + m, you can find the only possible m by putting x = 0: the left side is −12 + 10 = −2. Then confirm the x coefficient, 6 − 2 = 4. Both agree, so the claim is true with m = −2.
Had the x coefficient come out different from 4, no choice of m could have rescued the claim.
Try these
Find the constants that make each an identity, or show that none exist.
- 4(x − a) = 4x − 20
- b(x + 3) = 5x + 15
- cx − 7 = 3x + 7
- 2(x + d) + e·x = 7x + 4
1. −4a = −20, so a = 5
2. b = 5 from x terms; 3b = 15 agrees, so b = 5
3. c = 3 from x terms; −7 = 7 is false, so no value works
4. 2 + e = 7 so e = 5; 2d = 4 so d = 2 If you want to build your own practice items, start from a finished identity and replace one or two numbers with letters. The idea is developed in how to make up equations with a chosen answer, and the broader contrast is explained in identities versus equations.