TExcelTAD
Home › Basic Math & Pre-Algebra › Exponent Laws

Exponent Laws

A handful of rules let you combine and simplify powers without multiplying everything out. Each one follows directly from "an exponent counts copies of the base", so you never need to memorise them blindly: you can always rebuild them by counting.

The laws at a glance

For any base aa, bb (not zero where we divide) and whole-number exponents mm, nn:

Law Rule Example
Product am⋅an=am+na^m \cdot a^n = a^{m+n} 23⋅24=27=1282^3 \cdot 2^4 = 2^7 = 128
Quotient am÷an=am−na^m \div a^n = a^{m-n} 56÷52=54=6255^6 \div 5^2 = 5^4 = 625
Power of a power (am)n=amn(a^m)^n = a^{mn} (32)3=36=729(3^2)^3 = 3^6 = 729
Power of a product (ab)n=anbn(ab)^n = a^n b^n (2⋅5)3=23⋅53=1000(2 \cdot 5)^3 = 2^3 \cdot 5^3 = 1000
Power of a quotient (ab)n=anbn\left(\frac{a}{b}\right)^n = \frac{a^n}{b^n} (23)2=49\left(\frac{2}{3}\right)^2 = \frac{4}{9}

Why they work: count the copies

Product law. 23⋅242^3 \cdot 2^4 is three 2s times four 2s:

(2×2×2)×(2×2×2×2)=seven 2s=27(2 \times 2 \times 2) \times (2 \times 2 \times 2 \times 2) = \text{seven 2s} = 2^7

So exponents add when you multiply powers of the same base.

Quotient law. In 56÷525^6 \div 5^2, two of the six 5s on top cancel with the two below, leaving 545^4. Exponents subtract.

Power of a power. (32)3(3^2)^3 means 323^2 written three times: 32⋅32⋅32=32+2+2=363^2 \cdot 3^2 \cdot 3^2 = 3^{2+2+2} = 3^6. Exponents multiply.

Power of a product. (2⋅5)3=(2⋅5)(2⋅5)(2⋅5)(2 \cdot 5)^3 = (2 \cdot 5)(2 \cdot 5)(2 \cdot 5). Regroup the factors: (2⋅2⋅2)(5⋅5⋅5)=23⋅53(2 \cdot 2 \cdot 2)(5 \cdot 5 \cdot 5) = 2^3 \cdot 5^3.

Let Python confirm each one:

python · try it yourself
a, b, m, n = 2, 5, 3, 4

print("product :", a**m * a**n, "==", a**(m + n))
print("quotient:", 5**6 // 5**2, "==", 5**(6 - 2))
print("power   :", (3**2)**3, "==", 3**(2 * 3))
print("product^:", (a * b)**m, "==", a**m * b**m)

from fractions import Fraction
q = Fraction(2, 3)
print("quotient^:", q**2, "==", Fraction(2**2, 3**2))
product : 128 == 128
quotient: 625 == 625
power   : 729 == 729
product^: 1000 == 1000
quotient^: 4/9 == 4/9

The mistakes everyone makes

The laws only work in the shapes shown above. Three look-alikes are false:

am⋅bn is NOT (ab)m+ndifferent bases: nothing to combine(a+b)2 is NOT a2+b2(a+b)2=a2+2ab+b2am+an is NOT am+nadding is not multiplying\begin{aligned} a^m \cdot b^n &\ \text{is NOT}\ (ab)^{m+n} && \text{different bases: nothing to combine} \\ (a + b)^2 &\ \text{is NOT}\ a^2 + b^2 && (a + b)^2 = a^2 + 2ab + b^2 \\ a^m + a^n &\ \text{is NOT}\ a^{m+n} && \text{adding is not multiplying} \end{aligned}

A quick numeric test catches all of them:

python · try it yourself
a, b = 3, 4
print("(a+b)^2      =", (a + b) ** 2)
print("a^2 + b^2    =", a**2 + b**2, "  <- not equal")
print("a^2+2ab+b^2  =", a**2 + 2*a*b + b**2)

print("2^3 + 2^4    =", 2**3 + 2**4)
print("2^(3+4)      =", 2**(3 + 4), "  <- not equal")
(a+b)^2      = 49
a^2 + b^2    = 25   <- not equal
a^2+2ab+b^2  = 49
2^3 + 2^4    = 24
2^(3+4)      = 128   <- not equal

Tip: When you're unsure about an algebra step, plug in small numbers like 2 and 3. If the two sides disagree, the step is wrong. (If they agree, it might still be wrong, but usually it is fine.)

Simplifying with letters

The same rules work with variables. SymPy applies them automatically:

python · try it yourself
from sympy import symbols, simplify

x, y = symbols("x y")
print(x**3 * x**5)
print((x**2)**4)
print(simplify(x**7 / x**3))
print((2 * x * y**2)**3)
x**8
x**8
x**4
8*x**3*y**6

SymPy prints powers with **, Python style, so x**8 means x8x^8. The Algebra course uses these rules constantly. The last line is the power-of-a-product law: (2xy2)3=23⋅x3⋅(y2)3=8x3y6(2xy^2)^3 = 2^3 \cdot x^3 \cdot (y^2)^3 = 8x^3y^6.

In software

  • Fast exponentiation. To compute x16x^{16}, you do not need 15 multiplications: square four times (x→x2→x4→x8→x16x \to x^2 \to x^4 \to x^8 \to x^{16}), using (am)2=a2m(a^m)^2 = a^{2m}. This "square-and-multiply" trick powers RSA and other cryptography, where exponents have hundreds of digits. Python's built-in pow(base, exp, mod) uses it.
  • Bit shifts. Multiplying by 2n2^n shifts a binary number left by nn places; 2m⋅2n=2m+n2^m \cdot 2^n = 2^{m+n} is why two shifts add up.
  • Units. Area scales by the square and volume by the cube: if you scale a 3D model by 2, its volume grows by 23=82^3 = 8.

Exercises

Exercise 1: Combine

Simplify each to a single power, then compute it: 32⋅333^2 \cdot 3^3, 108÷10510^8 \div 10^5, (23)2(2^3)^2.

Answer

35=2433^5 = 243, 103=100010^3 = 1000, 26=642^6 = 64.

Solution
32⋅33=32+3=35=243product law: add exponents108÷105=108−5=103=1000quotient law: subtract(23)2=23⋅2=26=64power of a power: multiply\begin{aligned} 3^2 \cdot 3^3 &= 3^{2+3} = 3^5 = 243 && \text{product law: add exponents} \\ 10^8 \div 10^5 &= 10^{8-5} = 10^3 = 1000 && \text{quotient law: subtract} \\ (2^3)^2 &= 2^{3 \cdot 2} = 2^6 = 64 && \text{power of a power: multiply} \end{aligned}

Exercise 2: Letters

Simplify a4⋅a⋅a3a^4 \cdot a \cdot a^3 and (x2y)3÷x4(x^2y)^3 \div x^4.

Answer

a8a^8 and x2y3x^2y^3.

Solution
a4⋅a1⋅a3=a4+1+3=a8a alone is a1(x2y)3=x6y3power of a product, then power of a powerx6y3÷x4=x6−4y3=x2y3\begin{aligned} a^4 \cdot a^1 \cdot a^3 &= a^{4+1+3} = a^8 && a \text{ alone is } a^1 \\ (x^2y)^3 &= x^6y^3 && \text{power of a product, then power of a power} \\ x^6y^3 \div x^4 &= x^{6-4}y^3 = x^2y^3 \end{aligned}

Exercise 3: True or false?

Decide which are true: (a) 23⋅33=632^3 \cdot 3^3 = 6^3 (b) 23+23=242^3 + 2^3 = 2^4 (c) (5+1)2=52+12(5 + 1)^2 = 5^2 + 1^2.

Answer

(a) true, (b) true, (c) false.

Solution

(a) Power of a product read backwards: 23⋅33=(2⋅3)3=63=2162^3 \cdot 3^3 = (2 \cdot 3)^3 = 6^3 = 216. (b) 23+23=2⋅23=21⋅23=24=162^3 + 2^3 = 2 \cdot 2^3 = 2^1 \cdot 2^3 = 2^4 = 16. This is a lucky special case (two equal terms), not a general law. (c) (5+1)2=36(5 + 1)^2 = 36 but 52+12=265^2 + 1^2 = 26.

python · try it yourself
print(2**3 * 3**3 == 6**3, 2**3 + 2**3 == 2**4, (5 + 1)**2 == 5**2 + 1**2)
True True False

Exercise 4: Square and multiply

Write fast_pow(x, n) that computes xnx^n by repeated squaring, counting multiplications. Compare with the naive n−1n - 1 for n=16n = 16.

Answer

fast_pow(3, 16) = 43046721 with 4 multiplications (naive needs 15).

Solution

Look at the bits of nn: square the base each step and multiply it into the result when the current bit is 1.

python · try it yourself
def fast_pow(x, n):
    result, mults = 1, 0
    while n > 0:
        if n & 1:
            if result != 1:
                mults += 1
            result *= x
        n >>= 1
        if n:
            x *= x
            mults += 1
    return result, mults

print(fast_pow(3, 16), 3 ** 16)
(43046721, 4) 43046721

16=1000016 = 10000 in binary, so the base is squared four times (323^2, 343^4, 383^8, 3163^{16}) and only the last value lands in the result.

Test yourself

Simplify x5⋅x3x^5 \cdot x^3.

  1. x15x^{15}
  2. x8x^8
  3. x2x^2
  4. 2x82x^8

Which equals (a3)4(a^3)^4?

  1. a7a^7
  2. a64a^{64}
  3. 4a34a^3
  4. a12a^{12}

Which statement is false?

  1. (ab)2=a2b2(ab)^2 = a^2b^2
  2. a6÷a2=a4a^6 \div a^2 = a^4
  3. (a+b)2=a2+b2(a + b)^2 = a^2 + b^2
  4. (ab)3=a3b3\left(\frac{a}{b}\right)^3 = \frac{a^3}{b^3}