Sub topic 6
Checking Your Answer by Substitution
Prerequisites: You should know how to simplify expressions, use order of operations, and solve basic linear equations. You should also understand that a variable represents an unknown number.
What substitution checks
A solution of an equation is a value that makes the equation true. To check a proposed solution, substitute the value for the variable in the original equation. Then simplify both sides separately.
If both sides have the same value, the solution is correct. If they have different values, the proposed solution is incorrect.
For example, check whether \(x = 4\) solves:
\[ 2x + 3 = 11 \]
Replace \(x\) with 4:
\[ 2(4) + 3 = 11 \]
Simplify the left side:
\[ 8 + 3 = 11 \]
Because \(11 = 11\), \(x = 4\) is a solution.
Use the original equation
Always check in the original equation, before any steps were performed. This catches errors such as distributing incorrectly, combining unlike terms, or changing only one side of an equation.
Suppose you solve:
\[ 3(x - 2) + 4 = 2x + 5 \]
A sequence of equivalent equations is:
3(x - 2) + 4 = 2x + 5
3x - 6 + 4 = 2x + 5 distribute
3x - 2 = 2x + 5 combine like terms
x - 2 = 5 subtract 2x from both sides
x = 7 add 2 to both sidesCheck \(x = 7\) in the original equation:
\[ 3(7 - 2) + 4 = 2(7) + 5 \]
\[ 3(5) + 4 = 14 + 5 \]
\[ 15 + 4 = 19 \]
\[ 19 = 19 \]
The answer is verified.
A reliable checking procedure
- Write the original equation.
- Replace every occurrence of the variable with the proposed value.
- Put negative or fractional values in parentheses.
- Simplify the left side.
- Simplify the right side.
- Compare the results.
For \(x = -3\), write \(2x + 5\) as \(2(-3) + 5\), not \(2-3 + 5\). Parentheses make the replacement clear and prevent sign errors.
| Proposed value | Left side | Right side | Conclusion |
|---|---|---|---|
| \(x=4\) in \(2x+3=11\) | 11 | 11 | Correct |
| \(x=3\) in \(2x+3=11\) | 9 | 11 | Incorrect |
Checking equations with fractions or decimals
Substitution works the same way when coefficients are fractions or decimals. Keep exact fractions when possible.
For the equation
\[ \frac{1}{2}x + 2 = 5 \]
check \(x = 6\):
\[ \frac{1}{2}(6) + 2 = 5 \]
\[ 3 + 2 = 5 \]
The value works. If a decimal answer is rounded, substitution may produce slightly different values because of rounding. Use the exact value for the most dependable check.
from fractions import Fraction
x = Fraction(7)
left = 3 * (x - 2) + 4
right = 2 * x + 5
print(left, right, left == right)The program prints:
19 19 TrueWhy checking matters
Checking is especially useful when an equation has several steps. It can locate a mistake without requiring you to repeat the entire solution. If the two sides do not match, inspect the first step where the two equations were not equivalent.
Exercise
Check whether \(x=-2\) is a solution of \(4x+9=1\).
Show answer
Substitute: \(4(-2)+9=-8+9=1\). Since the right side is also 1, \(x=-2\) is a solution.