Sub topic 8
Working Backward to Find an Unknown Input
The Basic Strategy
Assume you know arithmetic with integers, fractions, and exponents, order of operations, and how to solve a one-variable equation. The goal here is to reverse a defined operation: use its output to find an unknown input.
Suppose a problem defines
a ★ b = 2a + b²
and asks you to find x when
x ★ 3 = 17
Do not treat ★ as ordinary multiplication. Replace the symbol with its definition:
x ★ 3 = 2x + 3²
Then solve the resulting equation:
2x + 9 = 17 2x = 8 x = 4
The answer is 4.
The reliable routine is:
- Write the definition of the operation.
- Substitute the known inputs and the unknown variable.
- Simplify powers and other arithmetic.
- Solve the resulting equation.
- Substitute your answer back into the original definition.
A Worked Example
Let
p ◇ q = 3p - 2q + 1
Find y if
5 ◇ y = 12
Substitute p = 5 and q = y:
3(5) - 2y + 1 = 12
Simplify:
15 - 2y + 1 = 12 16 - 2y = 12 -2y = -4 y = 2
Check the result:
5 ◇ 2 = 3(5) - 2(2) + 1 = 15 - 4 + 1 = 12
The check agrees with the given output, so y = 2.
| Step | Expression | Purpose |
|---|---|---|
| Definition | p ◇ q = 3p - 2q + 1 | Identify the rule |
| Substitution | 3(5) - 2y + 1 = 12 | Insert the inputs and output |
| Simplification | 16 - 2y = 12 | Combine known terms |
| Solution | y = 2 | Isolate the variable |
| Check | 5 ◇ 2 = 12 | Confirm the result |
When the Unknown Is in a Squared Input
Sometimes the unknown appears inside a power. For example:
a ★ b = 2a + b²
Find b if
3 ★ b = 22
Substitute:
2(3) + b² = 22 6 + b² = 22 b² = 16
Both b = 4 and b = -4 satisfy this equation because both values have square 16.
Therefore, unless the problem restricts b to positive numbers, there are two possible inputs.
If the unknown appears in a more complicated expression, preserve parentheses during substitution. For example, if
r △ s = r² - 4s
then
(-2) △ s = (-2)² - 4s = 4 - 4s
The parentheses show that the entire negative number is squared. Writing -2² would usually mean -(2²), which equals -4.
Diagram: Reverse the Rule
Common Errors and a Checking Routine
The most common mistake is solving an equation before substituting the definition. The operation symbol must disappear first.
Another mistake is reversing the positions of the inputs. If
a ★ b = 2a + b²
then the first input is multiplied by 2, while the second input is squared. In general, a ★ b is not the same as b ★ a.
Use this checklist:
- Copy the definition exactly.
- Match each input to its position.
- Use parentheses around negative or fractional inputs.
- Apply exponents before combining terms.
- Consider whether squaring creates two possible answers.
- Check every candidate in the original operation.
def star(a, b):
return 2 * a + b ** 2
# Solve a star 3 = 17 by checking integer candidates.
solutions = [a for a in range(-10, 11) if star(a, 3) == 17]
print(solutions) # [4]The program checks candidate values, but the algebra explains why the answer is 4:
2a + 3² = 17 2a + 9 = 17 a = 4
Exercise
Let m ◇ n = 4m - n². Find m if m ◇ 3 = 7.
Show answer
Substitute the values: 4m - 3² = 7, so 4m - 9 = 7, 4m = 16, and m = 4. Check: 4(4) - 3² = 7.