Sub topic 10
Common Mistakes and Checking Your Work with Numbers
This chapter assumes you know the rules from the earlier chapters: the product, quotient, power-of-a-power, power-of-a-product and power-of-a-quotient rules, plus zero and negative exponents. It also assumes you can evaluate numeric expressions with the order of operations. Here you will learn the errors that learners make most often, why each one fails, and a routine for catching them with numbers before you hand in an answer.
Why the same errors keep appearing
Each exponent rule applies only under certain conditions. The product rule needs the same base. The power-of-a-product rule needs a product inside the parentheses. A negative exponent changes where a factor sits, not its sign. Most mistakes come from using a rule outside the conditions it was proved under.
The mistakes below are grouped by the condition they break. For each one, you get the wrong step, the reason it fails, and a numeric counterexample. One counterexample is enough to prove a rule wrong.
Distributing a power over a sum
The most common mistake is writing (a + b)^n = a^n + b^n. The power-of-a-product rule covers multiplication only. A sum raised to a power means the whole sum is multiplied by itself.
a, b = 2, 3
print((a + b)**2) # 25
print(a**2 + b**2) # 13
print(a**2 + 2*a*b + b**2) # 25The correct expansion is (a + b)^2 = a^2 + 2ab + b^2. The middle term 2ab is exactly what the wrong version leaves out. The same applies to differences, and to roots: sqrt(a + b) is not sqrt(a) + sqrt(b).
The error is harder to spot in a fraction. (x + 3)^2 / x^2 is not 1 + 9/x^2, and you cannot cancel the x unless it multiplies the whole numerator.
Adding exponents when the bases differ
The product rule says a^m · a^n = a^(m+n), and it needs the same base a. If the bases differ, you cannot combine the exponents.
print(2**3 * 3**2) # 72
print(6**5) # 7776
print(2**3 * 2**2) # 32
print(2**5) # 32The wrong move 2^3 · 3^2 = 6^5 gives 7776 instead of 72. The expression 2^3 · 3^2 is already as simple as it gets, unless you evaluate it to 72.
A related mistake is merging a coefficient into the base. In 2 · 2^3, the coefficient 2 is the same as 2^1, so the product is 2^4 = 16. It is not 4^4, which is 256. Multiplying the base by the coefficient is never part of the product rule.
Mixing up adding, multiplying and combining like terms
Three operations look similar and behave differently:
| Expression | Correct result | Common wrong result |
|---|---|---|
| x^3 · x^4 | x^7 | x^12 |
| (x^3)^4 | x^12 | x^7 |
| x^3 + x^3 | 2x^3 | x^6 |
| x^3 + x^4 | cannot be combined | x^7 |
Multiplication of powers adds exponents. A power of a power multiplies exponents. Addition of powers never changes the exponent. It only combines like terms, meaning terms with identical variable parts. So x^3 + x^3 counts the same thing twice, which gives 2x^3. The terms x^3 and x^4 are different quantities, so the sum stays as written.
Signs and parentheses
The exponent binds tighter than a leading minus sign. So -2^2 means -(2^2) = -4. With parentheses, (-2)^2 = 4.
print(-2**2) # -4
print((-2)**2) # 4
print((-2)**3) # -8
print((-2)**4) # 16A negative base raised to an even power gives a positive result. Raised to an odd power, it gives a negative one. The same reading applies to variables: -x^2 is the opposite of x^2, while (-x)^2 equals x^2.
Signs also interact with the power-of-a-power rule. (-x^2)^3 = (-1)^3 · x^6 = -x^6, because the -1 is a factor inside the parentheses and gets cubed with everything else.
Applying a power to only part of a product
The power-of-a-product rule applies to every factor, including the numeric coefficient.
- Wrong: (2x^3)^2 = 2x^6
- Right: (2x^3)^2 = 2^2 · (x^3)^2 = 4x^6
The same holds for quotients: (3/y)^2 = 9/y^2, and the 3 must be squared. Forgetting the coefficient is the second most common error in multi-step simplifications.
Negative exponents
A negative exponent means a reciprocal. It does not make the number negative, and it does not make the exponent flip the sign of the base.
from fractions import Fraction
print(Fraction(2)**-3) # 1/8
print(-Fraction(2)**3) # -8
print(Fraction(1, 2**3)) # 1/8Three specific errors occur here:
- Reading 2^-3 as -8 or as -1/8. The correct value is 1/8.
- Moving too much across the fraction bar. In 3x^-2, only x has the negative exponent, so 3x^-2 = 3/x^2. The 3 stays in the numerator. In contrast, (3x)^-2 = 1/(3x)^2 = 1/(9x^2).
- Flipping the sign of the exponent but leaving the factor where it was. To move a factor across the bar, you change the sign of its exponent and move it at the same time.
A negative result from the quotient rule is also normal. x^2 / x^5 = x^(2-5) = x^-3 = 1/x^3. The subtraction order is top minus bottom. Reversing it gives x^3, which is the reciprocal of the right answer.
Zero exponents and the zero base
For any nonzero a, a^0 = 1. Learners often write 0 instead, which would only be right for the base 0 itself. Two further details matter:
- Only the factor with the exponent becomes 1. So 5x^0 = 5, but (5x)^0 = 1, as long as 5x is not zero.
- The restriction a ≠ 0 is part of the rule. Zero to the zero power is left undefined in this chapter's rules, because the rule a^0 = a^n / a^n would require dividing 0 by 0.
Summary of the mistakes
| Wrong step | Why it fails | Correct step |
|---|---|---|
| (a + b)^2 = a^2 + b^2 | Power does not distribute over a sum | a^2 + 2ab + b^2 |
| 2^3 · 3^2 = 6^5 | Bases differ | Leave it, or evaluate to 72 |
| x^3 · x^4 = x^12 | Product rule adds | x^7 |
| (x^3)^4 = x^7 | Power of a power multiplies | x^12 |
| x^3 + x^3 = x^6 | Addition only combines like terms | 2x^3 |
| -2^2 = 4 | Exponent applies before the minus sign | -4 |
| (2x^3)^2 = 2x^6 | Coefficient must be squared too | 4x^6 |
| 3x^-2 = 1/(3x^2) | Only x has the negative exponent | 3/x^2 |
| 5x^0 = 0 or 5x^0 = 1 | Only x becomes 1 | 5 |
Checking your work with numbers
Reading your own steps for errors is slow and unreliable, because you tend to see what you meant to write. A numeric check is faster. Evaluate the original expression and your simplified one at the same values of the variables. If they differ, at least one step is wrong.
Choosing good test values
The choice of numbers matters as much as the check itself.
- Avoid 0 when a variable appears in a denominator or has a negative or zero exponent. Both sides may be undefined.
- Avoid 1, because 1 raised to any power is 1, so many wrong exponents give the right value by accident.
- Avoid -1 for a similar reason: it only toggles the sign, so it hides errors in the exponent size.
- Use different values for different variables, such as x = 3 and y = 2. If both are 2, an error that swaps x and y goes unnoticed.
- Use a second pair of values before you trust the result.
A worked check in code
Python's Fraction type keeps exact values, so a mismatch is a real mismatch and not a rounding effect. The function below tests a candidate answer at several points.
from fractions import Fraction
def check(original, candidate, points):
for x, y in points:
x, y = Fraction(x), Fraction(y)
if original(x, y) != candidate(x, y):
return False, (x, y)
return True, None
original = lambda x, y: (2 * x**3 * y**-2)**2 / (4 * x * y**3)
correct = lambda x, y: x**5 * y**-7
wrong = lambda x, y: x**5 * y**-1
good_points = [(3, 2), (2, 3), (5, -2), (Fraction(1, 2), 4)]
print(check(original, correct, good_points)) # (True, None)
print(check(original, wrong, good_points)) # (False, (Fraction(3, 1), Fraction(2, 1)))
bad_points = [(3, 1), (2, 1)]
print(check(original, wrong, bad_points)) # (True, None)The correct simplification passes at every point. The wrong one fails at x = 3, y = 2, where the original equals 243/128 and the wrong answer equals 243/2. With y = 1 the wrong answer passes, because 1 to any power is 1. A check with only y = 1 would have approved a wrong result.
Finding the broken step
When a check fails, test each line of your work separately. Suppose a learner simplifies (2x^-2)^3 · x^4 like this:
- (2x^-2)^3 · x^4 = 2x^-6 · x^4
- = 2x^-2
- = 2/x^2
Substituting x = 2 locates the first bad line.
from fractions import Fraction
x = Fraction(2)
print((2 * x**-2)**3 * x**4) # 2
print(2 * x**-6 * x**4) # 1/2
print(2 / x**2) # 1/2
print(8 * x**-6 * x**4) # 2
print(8 / x**2) # 2The original equals 2, and line 1 already gives 1/2. The error is in line 1: the coefficient 2 was not cubed. The correct line is 8x^-6 · x^4 = 8x^-2 = 8/x^2, which gives 2 at x = 2.
What a numeric check can and cannot show
A mismatch proves you made a mistake. A match at one or two points does not prove you are right. It makes a mistake less likely, and each extra well-chosen point makes it less likely still. Check two sets of values for routine work.
Remember the domain. A simplified form can be defined at values where the original is not, or the reverse. If the original has a variable in the denominator, test only values where that denominator is nonzero.
If you use floating-point numbers instead of fractions, compare with a tolerance such as math.isclose. Values like 0.1 and 0.2 are stored with small rounding errors, so exact == comparisons can report false mismatches.
Exercise
A learner writes (3x^2)^3 = 3x^6. Explain the mistake, give the correct result, and check it with x = 2.
Show answer
The coefficient 3 was not cubed. By the power-of-a-product rule, (3x^2)^3 = 3^3 · (x^2)^3 = 27x^6. Check with x = 2: the original is (3·4)^3 = 12^3 = 1728, and 27·2^6 = 27·64 = 1728. The wrong answer gives 3·64 = 192.
Exercise
Why is x = 1 a poor test value for checking the claim x^3 · x^4 = x^12, and which value would expose the error?
Show answer
With x = 1, both sides equal 1, so the wrong claim passes. With x = 2, the left side is 2^3 · 2^4 = 8 · 16 = 128, and the right side is 2^12 = 4096. They differ, so the claim is false. The correct result is x^7 = 128.
Exercise
Simplify (2x^-1)^-2 · x^3 and verify your answer with x = 4.
Show answer
(2x^-1)^-2 = 2^-2 · x^2 = x^2/4. Multiplying by x^3 gives x^5/4. Check with x = 4: the original is (2/4)^-2 · 64 = 4 · 64 = 256, and 4^5/4 = 1024/4 = 256.