Sub topic 9
Combining the rules to simplify expressions
This chapter assumes you already know the product, quotient, power-of-a-power, power-of-a-product and power-of-a-quotient rules. It also assumes you know the zero and negative exponent definitions. Here you will use them together on multi-step expressions. You will learn a repeatable method, see how to handle each type of term, and learn how to check the result with numbers.
The goal: what "simplified" means
An expression with exponents is usually called simplified when it meets these conditions:
- Each base appears only once.
- No power is raised to another power, and no parentheses are left that only exist to hold an exponent.
- Every exponent is a single number. It is not a sum, a difference or a product still waiting to be computed.
- Numerical coefficients are multiplied or reduced as far as possible.
- Negative exponents are removed, unless your course or problem says to leave them.
The last condition varies. Some texts accept x^5 y^-7. Others want x^5 / y^7. Both are the same value, so follow the convention you were given.
The rules at a glance
For nonzero bases a and b and integers m and n:
| Rule | Form |
|---|---|
| Product | a^m · a^n = a^(m+n) |
| Quotient | a^m / a^n = a^(m−n) |
| Power of a power | (a^m)^n = a^(mn) |
| Power of a product | (ab)^n = a^n b^n |
| Power of a quotient | (a/b)^n = a^n / b^n |
| Zero exponent | a^0 = 1 |
| Negative exponent | a^(−n) = 1 / a^n |
The product and quotient rules apply only to powers with the same base. The power rules apply to every factor inside the parentheses, including the numerical coefficient.
A repeatable method
A fixed order of steps prevents most mistakes. This order works for nearly every problem.
- Remove parentheses first. Apply the power-of-a-product, power-of-a-quotient and power-of-a-power rules. Raise the coefficient to the power too.
- Group like bases. Put the coefficients together, then the powers of
x, then the powers ofy, and so on. - Combine each group. Multiply or divide coefficients as ordinary numbers. Use the product and quotient rules on each variable.
- Clean up negative and zero exponents. Convert them to positive exponents, or to 1, if required.
- Check with numbers.
Worked example 1: a single-variable expression
Simplify (x^3 · x^2)^4 / x^7.
Apply the product rule inside the parentheses first. The two powers share a base, so the exponents add.
(x^3 · x^2)^4 = (x^5)^4
Apply the power-of-a-power rule. The exponents multiply.
(x^5)^4 = x^20
Apply the quotient rule. The exponents subtract.
x^20 / x^7 = x^13
You could also have started by raising each factor to the fourth power separately. Both routes give x^13. When rules overlap, choose the route with the fewest steps.
Worked example 2: coefficients and two variables
Simplify (2x^3 y^-2)^2 / (4x y^3).
Step 1: remove the parentheses. The outer exponent 2 applies to the coefficient 2, to x^3 and to y^-2.
(2x^3 y^-2)^2 = 2^2 · x^6 · y^-4 = 4x^6 y^-4
The expression is now 4x^6 y^-4 / (4x y^3).
Step 2: group like bases. Write the expression as a product of separate ratios.
(4/4) · (x^6 / x) · (y^-4 / y^3)
Step 3: combine each group.
- The coefficients give
4/4 = 1. - The
xterms givex^6 / x^1 = x^(6−1) = x^5. - The
yterms givey^-4 / y^3 = y^(−4−3) = y^-7.
The result is x^5 y^-7.
Step 4: clean up. If the problem asks for positive exponents, write x^5 / y^7.
Step 5: check with numbers. Pick values that are easy to compute and legal, meaning nonzero here. Use x = 3 and y = 2. Python's Fraction type keeps the arithmetic exact, so no rounding can hide a mismatch.
from fractions import Fraction
x, y = Fraction(3), Fraction(2)
original = (2 * x**3 * y**-2)**2 / (4 * x * y**3)
simplified = x**5 * y**-7
print(original, simplified, original == simplified) # 243/128 243/128 TrueBoth forms equal 243/128, so the simplification passes the check.
Worked example 3: negative exponents in a fraction
Simplify (3a^-2 b^4) / (6a^3 b^-1) and write the answer with positive exponents.
Group like bases.
(3/6) · (a^-2 / a^3) · (b^4 / b^-1)
Combine each group.
- Coefficients:
3/6 = 1/2. a:a^(−2−3) = a^-5.b:b^(4−(−1)) = b^5. Subtracting a negative exponent means adding.
The result is (1/2) a^-5 b^5. Move a^-5 to the denominator, where its exponent becomes positive.
b^5 / (2a^5)
Notice that the negative exponent in the denominator, b^-1, produced a positive exponent in the answer. The sign rule is "subtract the bottom exponent". It is not "flip every sign".
Two ways to handle negative exponents
You can treat negative exponents in either of two ways. Both are correct.
Method A: subtract, then convert. Apply the quotient rule to every base, accept whatever exponent comes out, and convert negative results at the end. Example 3 used this method.
Method B: move factors across the fraction bar. The rule a^-n = 1/a^n also works in reverse: a factor with a negative exponent in the numerator moves to the denominator with a positive exponent, and the reverse. Using Method B on Example 3:
(3a^-2 b^4) / (6a^3 b^-1) = (3b^4 · b) / (6a^3 · a^2) = 3b^5 / (6a^5) = b^5 / (2a^5)
Method B avoids negative arithmetic, which suits hand work. Method A is more mechanical, which suits cases with many variables. Pick one and use it consistently inside a single problem, because mixing the two midway is a common source of double conversions.
Worked example 4: a zero exponent hiding in the problem
Simplify (5x^2 y)^0 · 3x^4 / x^-1, where x and y are nonzero.
The first factor has an exponent of 0 on a whole parenthesized product. Any nonzero base raised to the zero power is 1, and the base 5x^2 y is nonzero because x and y are nonzero. So the first factor is 1.
1 · 3x^4 / x^-1 = 3x^(4−(−1)) = 3x^5
The restriction matters. If x or y could be 0, the base would be 0 and 0^0 is undefined, so the first factor would not equal 1. Always state the restriction when a zero exponent appears on a variable expression.
Compare this with 5x^2 y^0. Here the zero exponent applies only to y, so the expression equals 5x^2 · 1 = 5x^2. The parentheses decide what the zero applies to.
Worked example 5: powers of fractions
Simplify (2x^2 / y^3)^-3.
A negative exponent on a fraction flips the fraction and makes the exponent positive.
(2x^2 / y^3)^-3 = (y^3 / (2x^2))^3
Apply the power-of-a-quotient and power-of-a-product rules. The coefficient 2 is cubed with everything else.
(y^3)^3 / (2^3 · (x^2)^3) = y^9 / (8x^6)
Check with exact arithmetic.
from fractions import Fraction
x, y = Fraction(2), Fraction(3)
original = (2 * x**2 / y**3)**-3
simplified = y**9 / (8 * x**6)
print(original, simplified, original == simplified) # 19683/512 19683/512 TrueA frequent slip here is to forget that the 2 in the numerator is also raised to the power. The result y^9 / (2x^6) is wrong, and the numeric check catches it immediately: with x = 2 and y = 3 it gives 19683/64, not 19683/512.
Order of operations inside exponent problems
Exponent rules sit inside the usual order of operations. Two points cause the most trouble.
- An exponent binds more tightly than a unary minus or a coefficient.
-2^2means-(2^2) = -4, while(-2)^2 = 4. Likewise3x^2squares onlyx, while(3x)^2 = 9x^2. - A power of a sum is not a sum of powers.
(2 + 3)^2 = 25, while2^2 + 3^2 = 13.
print((2 + 3)**2) # 25
print(2**2 + 3**2) # 13
print(-2**2) # -4
print((-2)**2) # 4Python follows the same convention as written algebra here, so these four lines are a handy way to test your reading of a notation.
Common errors when combining rules
The table lists the mistakes that appear most often in multi-step problems. For each one, it shows a correct version.
| Mistake | Why it is wrong | Correct work |
|---|---|---|
| `x^3 · y^2 = (xy)^5` | The product rule needs the same base | `x^3 y^2` cannot be combined |
| `(2x)^3 = 2x^3` | The power applies to the coefficient too | `(2x)^3 = 8x^3` |
| `x^5 / x^2 = x^2.5` | Dividing exponents instead of subtracting | `x^5 / x^2 = x^3` |
| `(x^2)^3 = x^5` | Added exponents instead of multiplying | `(x^2)^3 = x^6` |
| `2^3 · 2^2 = 4^5` | The base does not change | `2^3 · 2^2 = 2^5 = 32` |
| `x^-2 = -x^2` | A negative exponent is a reciprocal, not a negative number | `x^-2 = 1/x^2` |
| `(x + y)^2 = x^2 + y^2` | A power does not distribute over a sum | `(x + y)^2 = x^2 + 2xy + y^2` |
The fifth row deserves attention. When you multiply 2^3 · 2^2, the base stays 2. Only the exponents combine. Multiplying the bases would change the meaning of the product.
Checking with numbers: strategy and limits
A numeric check substitutes values into the original and the simplified form, then compares the results. Follow these guidelines.
- Avoid values that hide errors.
x = 1makes every power ofxequal to 1, so wrong exponents pass.x = 0is illegal when a negative or zero exponent is present. Values like 2 and 3 are better. - Use different values for different variables. If
x = y = 2, a mix-up between the two variables will not show up. - Use exact arithmetic. Fractions, as in the examples above, avoid rounding. Floating-point division can differ in the last digits and cause false mismatches.
- Test more than once when the stakes are high. One matching pair of values is strong evidence, not proof. Two unrelated expressions can agree at a single point, so a second set of values makes the check more reliable.
The check tells you that an error exists. It does not tell you where. If the values differ, return to step 1 and compare each step with the rules.
from fractions import Fraction
import itertools
def agree(f, g, values):
"""Return True when f and g match for every pair of test values."""
return all(f(x, y) == g(x, y) for x, y in itertools.product(values, repeat=2))
original = lambda x, y: (2 * x**3 * y**-2)**2 / (4 * x * y**3)
simplified = lambda x, y: x**5 * y**-7
tests = [Fraction(2), Fraction(3), Fraction(5, 2)]
print(agree(original, simplified, tests)) # TrueThis tests nine pairs of values, including some where x and y differ. If you changed simplified to x**5 * y**-6, the function would return False.
Choosing a path when several rules apply
When an expression offers more than one starting point, these guidelines help.
- If a parenthesized group contains a product of same-base powers, combine inside first. This often shortens the exponent before you raise it to a power.
- If the group has a large outer exponent, distribute it right away and avoid expanding anything by hand.
- If a negative exponent sits on an entire fraction, flip the fraction first. This removes the negative sign before any arithmetic.
- If the expression has many bases, work one base at a time, and cross each one off a list as you finish it.
All of these routes give the same final answer, because the rules are consistent with one another. If two routes disagree, one of them contains an error.
Summary of the method
Start by removing parentheses, with the coefficient included in every power. Group the coefficients and each base. Add exponents when multiplying and subtract when dividing, taking care with negative signs. State any restriction that a zero or negative exponent imposes on a variable. Convert to the requested form and confirm with exact numbers.
Exercise
Simplify (3x^2 y^-1)^3 / (9x^4 y^2) and write the answer with positive exponents. Then name one pair of values for x and y you could use to check it, and compute both sides.
Show answer
Remove the parentheses: (3x^2 y^-1)^3 = 27x^6 y^-3. The expression is 27x^6 y^-3 / (9x^4 y^2). Coefficients: 27/9 = 3. For x: x^(6−4) = x^2. For y: y^(−3−2) = y^-5. The result is 3x^2 y^-5 = 3x^2 / y^5. Check with x = 2 and y = 2: the original is (3·4·(1/2))^3 / (9·16·4) = 6^3 / 576 = 216/576 = 3/8. The simplified form is 3·4 / 32 = 12/32 = 3/8. The values match.
Exercise
A student simplifies (4a^2 / b)^-2 and gets b^2 / (4a^4). Find the mistake and give the correct result.
Show answer
The student did not square the coefficient 4. After flipping the fraction, the expression is (b / (4a^2))^2 = b^2 / (4^2 · a^4) = b^2 / (16a^4). The correct result is b^2 / (16a^4). With a = 1 and b = 2 the original is (4/2)^-2 = 2^-2 = 1/4, and the correct form gives 4/16 = 1/4, while the student's form gives 4/4 = 1.
Exercise
Simplify (7p^3 q)^0 · p^-2 q^5 / (p^-4 q^2), assuming p and q are nonzero. Why is the assumption needed?
Show answer
The zero exponent turns the first factor into 1, because 7p^3 q is nonzero. The rest is p^-2 q^5 / (p^-4 q^2) = p^(−2−(−4)) · q^(5−2) = p^2 q^3. The assumption is needed because 0^0 is undefined. If p or q were 0, the base 7p^3 q would be 0 and the first factor would not equal 1.