Sub topic 6
Equations and inequalities
This chapter applies back-substitution to equations and inequalities, the problem type where it is most reliable. It assumes you can solve linear equations and simple quadratics, handle fractions and absolute values, and read an inequality on a number line. Earlier chapters covered the mechanics of testing an option and the elimination checks. Here the focus is on what is specific to equations and inequalities: reading the residual, boundary values, and extraneous roots.
Why equations suit back-substitution
An equation gives you a pass/fail test for any value. Put the candidate in, compute both sides, and compare. A test takes one or two lines of arithmetic, while solving may need factoring, squaring, or clearing fractions. Each of those steps is a chance to slip.
The test also tells you more than pass or fail. Define the residual as left side minus right side. If the residual is zero, the option is a root. If it is not zero, its sign and size often tell you which way to move. That is the main tool in this chapter.
Reading the residual: a quadratic
Question: the positive solution of x² − 7x − 18 = 0 is one of 2, 6, 9, 18. Which one?
Move everything to one side, so the residual is f(x) = x² − 7x − 18. Test a middle option first.
- f(6) = 36 − 42 − 18 = −24. This is negative, not zero.
- For x above 3.5 the expression x² − 7x − 18 keeps increasing as x grows. A negative value at 6 means the root lies above 6.
- That removes 2 and 6. Test 9: f(9) = 81 − 63 − 18 = 0. It passes.
You can stop at 9. If 9 had failed with a positive residual, 18 would be the only option left.
The residual direction works because the function is monotonic on the range you care about. For a quadratic, check which side of the vertex the options sit on before trusting it. Options on both sides of the vertex can give a negative residual at both ends of the range.
Radical and fractional equations: extraneous roots
Squaring an equation can create roots that do not satisfy the original. Back-substitution into the original equation catches this, because you test the original and not the squared version.
Question: which option satisfies √(x + 6) = x? Options: −2, 2, 3, 6.
Squaring gives x² − x − 6 = 0, so x = 3 or x = −2. Test each option in the original:
- x = −2: left side is √4 = 2, right side is −2. Fails. This is an extraneous root.
- x = 2: left side is √8 ≈ 2.83, right side is 2. Fails.
- x = 3: left side is √9 = 3, right side is 3. Passes.
- x = 6: left side is √12 ≈ 3.46, right side is 6. Fails.
A quick sign check also removes −2 before any arithmetic. The left side is a square root, so it cannot be negative, and the right side would be −2.
import math
# Radical equation: sqrt(x + 6) = x. Options: -2, 2, 3, 6
for x in [-2, 2, 3, 6]:
lhs = math.sqrt(x + 6) # all four values keep x + 6 >= 0
print(x, round(lhs, 3), math.isclose(lhs, x))
# Only x = 3 prints True.For equations with fractions in the denominator, also check that the option does not make a denominator zero. An option that makes a denominator zero is not allowed, even if the simplified equation would accept it.
Inequalities: test the boundary
Inequalities have a whole range of solutions, so the question usually asks for the largest, smallest, or the count of integers. The options are then candidates for the edge of the range, and the edge is where strict versus non-strict matters.
Question: the largest integer x satisfying 2x/3 − 1 < x/2 + 3 is one of 22, 23, 24, 25.
Test the largest option first, since the question asks for the largest.
- x = 24: left side is 16 − 1 = 15, right side is 12 + 3 = 15. The inequality is strict, so 15 < 15 is false. Fails.
- x = 25 is larger, and the left side grows faster than the right (slope 2/3 against 1/2), so it fails too.
- x = 23: left side is 46/3 − 1 = 43/3 ≈ 14.33, right side is 11.5 + 3 = 14.5. Since 14.33 < 14.5, it passes.
The answer is 23. Direct solving gives the same result: multiply by 6 to get 4x − 6 < 3x + 18, so x < 24, and the largest integer below 24 is 23. Note that 24 is the trap. It makes both sides equal, which is exactly why the boundary option needs a careful check.
from fractions import Fraction
# Largest integer x with 2x/3 - 1 < x/2 + 3. Options: 22, 23, 24, 25.
for x in [22, 23, 24, 25]:
left = Fraction(2 * x, 3) - 1
right = Fraction(x, 2) + 3
print(x, left < right)
# 22 True, 23 True, 24 False, 25 False. The largest True is 23.Using Fraction avoids floating-point error at the boundary, where both sides are exactly equal.
Choosing a test order for equations and inequalities
The flow below summarises the decision. The first step is always a free check, and only then do you spend arithmetic.
A few rules of thumb follow from this:
- For an equation with a single root, test a middle option. A nonzero residual usually discards two options at once.
- For "largest" or "smallest" inequality questions, test the extreme option on the relevant side first. If it fails, move one step inward.
- If one option is a "nice" number such as 0, 1, or 10, test it early. The arithmetic is cheap and nice numbers are often the root.
- If the options include both a number and its negative, test the sign condition first.
When the answer is not the root itself
Many questions do not ask for x. They ask for the sum of the roots, the value of 2x + 1, or the number of integer solutions. The options are then values of that expression, not candidates for x, and you cannot substitute them directly.
You have two ways to work with this:
- Find a candidate root by a rough direct method, then compute the requested expression and match it to an option.
- Work backwards from the options. If an option claims the sum of roots is 7, then for x² − bx + c = 0 you can check whether the claimed sum fits the other given information.
A counting question is a different case. Back-substitution does not help much, because each option is a count and you would have to verify every integer in the range. Solve the inequality directly and count.
For problems with two unknowns, such as x + y = 10 and xy = 21, a candidate must satisfy every equation. If the options are values of x, test each in both equations, or compute y from the first and check the second.
Pitfalls specific to this chapter
| Pitfall | What goes wrong | Check |
|---|---|---|
| Testing the simplified equation | An extraneous root from squaring passes the simplified form but fails the original | Substitute into the original statement |
| Equal sides in a strict inequality | A boundary value gives equality and is wrongly accepted | Confirm the inequality sign is strict or non-strict |
| Residual sign over a wide range | A quadratic changes direction at its vertex, so the sign misleads | Check which side of the vertex the options sit on |
| Zero denominator | An option makes a denominator zero | Check the domain before computing |
| Testing only one equation | An option satisfies one of two simultaneous equations | Substitute into every equation |
| Arithmetic slip with negatives | (−2)² mistaken for −4 | Put negative options in brackets |
Exercises
Exercise
Which of 2, 3, 4, 6 satisfies |x − 5| + |x − 1| = 6? Explain why the other options fail without testing each one separately.
Show answer
The answer is 6. Check: |6 − 5| + |6 − 1| = 1 + 5 = 6. For any x between 1 and 5, the sum |x − 5| + |x − 1| equals the distance between 1 and 5, which is always 4. The options 2, 3 and 4 all lie in that range, so each gives 4 and fails. Only 6 lies outside the interval. (The other root of the equation is x = 0, which is not among the options.)
Exercise
The largest integer x with x² < 150 is one of 11, 12, 13, 14. Which test order settles it fastest, and what is the answer?
Show answer
Test 13 first, since the question asks for the largest and 13 sits at the boundary of the plausible range. 13² = 169, which is not below 150, so 13 and 14 fail. Then 12² = 144 < 150 passes. Because 13 fails and 12 passes, the answer is 12. Two tests are enough.
Exercise
Which of −3, 0, 4, 5 is a solution of 1/(x − 4) + 2 = 3/(x − 4) + 1? Why must you be careful with one of the options?
Show answer
The answer is 5. Test 5: left side is 1/1 + 2 = 3, right side is 3/1 + 1 = 4... these differ, so recompute directly: rewriting gives 2 − 1 = 3/(x − 4) − 1/(x − 4), so 1 = 2/(x − 4), so x − 4 = 2 and x = 6. No option equals 6, so the correct reading of this question is that none of the listed options works, and the careful option is 4, which makes the denominator zero and is not allowed. Substituting each option confirms this: −3 gives −1/7 + 2 against −3/7 + 1, which are not equal; 0 gives −1/4 + 2 against −3/4 + 1, which are not equal; 5 gives 3 against 4. Always check the domain and be ready to find that no option passes, which signals a misread question.