TExcelTAD
Home › Basic Math & Pre-Algebra › nth Roots and Fractional Exponents

nth Roots and Fractional Exponents

A square root undoes squaring; a cube root undoes cubing; an nth root undoes raising to the nth power. The neat surprise is that roots are just exponents in disguise: x\sqrt{x} is the same as x1/2x^{1/2}. Once you see that, every exponent law applies to roots too.

Cube roots and beyond

x3=rmeansr3=x643=4, since 43=64xn=rmeansrn=x814=3, since 34=81\begin{aligned} \sqrt[3]{x} &= r \quad \text{means} \quad r^3 = x && \sqrt[3]{64} = 4, \text{ since } 4^3 = 64 \\ \sqrt[n]{x} &= r \quad \text{means} \quad r^n = x && \sqrt[4]{81} = 3, \text{ since } 3^4 = 81 \end{aligned}

The small number nn is the index of the root. A square root has index 2, which is normally not written.

Odd roots work for negative numbers, because a negative number cubed stays negative: −273=−3\sqrt[3]{-27} = -3. Even roots of negative numbers have no real answer, just like −4\sqrt{-4}.

Root Value Check
83\sqrt[3]{8} 2 23=82^3 = 8
10003\sqrt[3]{1000} 10 103=100010^3 = 1000
−1253\sqrt[3]{-125} −5 (−5)3=−125(-5)^3 = -125
164\sqrt[4]{16} 2 24=162^4 = 16
325\sqrt[5]{32} 2 25=322^5 = 32
−164\sqrt[4]{-16} not real no real rr has r4<0r^4 < 0

Roots as exponents

What exponent pp makes (xp)2=x(x^p)^2 = x? The power-of-a-power law says (xp)2=x2p(x^p)^2 = x^{2p}, so 2p=12p = 1 and p=1/2p = 1/2. In general:

x1/n=xnxm/n=(xn)m=xmn\begin{aligned} x^{1/n} &= \sqrt[n]{x} \\ x^{m/n} &= (\sqrt[n]{x})^m = \sqrt[n]{x^m} \end{aligned}

For example 82/38^{2/3}: take the cube root first (83=2\sqrt[3]{8} = 2), then square (22=42^2 = 4). Taking the root first keeps numbers small. Negative fractional exponents combine with the reciprocal rule: 16−3/4=1163/4=1(164)3=123=1816^{-3/4} = \frac{1}{16^{3/4}} = \frac{1}{(\sqrt[4]{16})^3} = \frac{1}{2^3} = \frac{1}{8}.

python · try it yourself
import math

print("8 ** (1/3)   =", 8 ** (1/3))
print("64 ** (1/3)  =", 64 ** (1/3))
print("math.cbrt(64)=", math.cbrt(64))
print("81 ** 0.25   =", 81 ** 0.25)
print("8 ** (2/3)   =", 8 ** (2/3))
print("16 ** -0.75  =", 16 ** -0.75)
8 ** (1/3)   = 2.0
64 ** (1/3)  = 3.9999999999999996
math.cbrt(64)= 4.0
81 ** 0.25   = 3.0
8 ** (2/3)   = 3.9999999999999996
16 ** -0.75  = 0.125

Note: 64 ** (1/3) gives 3.9999999999999996 because 1/3 cannot be stored exactly as a float, so Python computes 64 to a power very slightly below 1/3. math.cbrt (Python 3.11+) is the dedicated, more accurate cube root. Round before you compare, or use math.isclose.

Cube roots of negative numbers in code

Here is a trap: in Python, (-27) ** (1/3) does not return −3. Since 1/31/3 is not exactly one third, Python treats the base as complex and returns a complex number. Use math.cbrt or handle the sign yourself:

python · try it yourself
import math

print((-27) ** (1/3))
print(math.cbrt(-27))

def real_root(x, n):
    """Real nth root; for odd n, works for negative x."""
    if x < 0:
        if n % 2 == 0:
            raise ValueError("even root of a negative number")
        return -((-x) ** (1 / n))
    return x ** (1 / n)

print(round(real_root(-125, 3), 12), round(real_root(32, 5), 12))
(1.5000000000000004+2.598076211353316j)
-3.0
-5.0 2.0

The complex value is a legitimate cube root of −27 in the complex numbers, but rarely the one you want.

The laws, now with fractions

All exponent laws hold for fractional exponents (with positive bases):

x1/2⋅x1/3=x1/2+1/3=x5/6(x3/4)8=x6x⋅x=x1/2+1/2=x1=x\begin{aligned} x^{1/2} \cdot x^{1/3} &= x^{1/2 + 1/3} = x^{5/6} \\ (x^{3/4})^8 &= x^6 \\ \sqrt{x} \cdot \sqrt{x} &= x^{1/2 + 1/2} = x^1 = x \end{aligned}

SymPy shows the same thing symbolically:

python · try it yourself
from sympy import symbols, root, sqrt, Rational, simplify

x = symbols("x", positive=True)
print(sqrt(x) * root(x, 3))
print((x ** Rational(3, 4)) ** 8)
print(root(32, 5), root(Rational(27, 8), 3))
print(simplify(Rational(16) ** Rational(-3, 4)))
x**(5/6)
x**6
2 3/2
1/8

In software

  • Gamma correction. Screens and image files store brightness with a power curve: roughly, stored=linear1/2.2\text{stored} = \text{linear}^{1/2.2} and linear=stored2.2\text{linear} = \text{stored}^{2.2}. Doing lighting math on the stored values instead of linear ones is a classic graphics bug.
  • Average growth rate. If revenue grew by factor 1.8 over 5 years, the average yearly factor is 1.81/5≈1.1251.8^{1/5} \approx 1.125, i.e. 12.5% per year. This "compound annual growth rate" is a fifth root.
  • Scaling laws. If a sphere's volume doubles, its radius grows by 23≈1.26\sqrt[3]{2} \approx 1.26, because volume goes with r3r^3. Games use cube roots to size a blob that "eats" another blob of equal volume.
  • Root mean square (RMS), used for audio levels and error metrics like RMSE, is mean of squares\sqrt{\text{mean of squares}}.

Exercises

Exercise 1: Evaluate

Find 2163\sqrt[3]{216}, 6254\sqrt[4]{625}, −83\sqrt[3]{-8} and 321/532^{1/5}.

Answer

6, 5, −2, 2.

Solution
2163: 63=216→ 66254: 54=625→ 5−83: (−2)3=−8→ −2321/5=325: 25=32→ 2\begin{aligned} &\sqrt[3]{216}{:}\ 6^3 = 216 && \to\ 6 \\ &\sqrt[4]{625}{:}\ 5^4 = 625 && \to\ 5 \\ &\sqrt[3]{-8}{:}\ (-2)^3 = -8 && \to\ -2 \\ &32^{1/5} = \sqrt[5]{32}{:}\ 2^5 = 32 && \to\ 2 \end{aligned}

Exercise 2: Fractional exponents

Compute 272/327^{2/3}, 43/24^{3/2} and 9−1/29^{-1/2}.

Answer

9, 8, 1/31/3.

Solution
272/3=(273)2=32=943/2=(4)3=23=89−1/2=1/9=1/3\begin{aligned} 27^{2/3} &= (\sqrt[3]{27})^2 = 3^2 = 9 \\ 4^{3/2} &= (\sqrt{4})^3 = 2^3 = 8 \\ 9^{-1/2} &= 1 / \sqrt{9} = 1/3 \end{aligned}
python · try it yourself
from sympy import Rational
print(Rational(27) ** Rational(2, 3), Rational(4) ** Rational(3, 2), Rational(9) ** Rational(-1, 2))
9 8 1/3

Exercise 3: Rewrite

Write x35\sqrt[5]{x^3} as a power of xx, and write x7/4x^{7/4} using a root.

Answer

x3/5x^{3/5} and x74\sqrt[4]{x^7} (or (x4)7(\sqrt[4]{x})^7).

Solution

The index of the root becomes the denominator and the power inside becomes the numerator: xmn=xm/n\sqrt[n]{x^m} = x^{m/n}.

Exercise 4: Average growth

Monthly active users went from 20,000 to 45,000 in 6 months. What steady monthly growth factor gives that? Express it as a percent.

Answer

About 1.1447 per month, i.e. 14.47% growth per month.

Solution

Total factor=45 000/20 000=2.25\text{Total factor} = 45\,000 / 20\,000 = 2.25. Six equal monthly factors ff satisfy f6=2.25f^6 = 2.25, so f=2.251/6f = 2.25^{1/6}.

python · try it yourself
f = (45_000 / 20_000) ** (1 / 6)
print(round(f, 4), f"{(f - 1) * 100:.2f}%")
print(round(20_000 * f ** 6))
1.1447 14.47%
45000

Test yourself

What is 1251/3125^{1/3}?

  1. 41.67
  2. 25
  3. 5
  4. 375

Which equals x3/2x^{3/2}?

  1. (x)3(\sqrt{x})^3
  2. x23\sqrt[3]{x^2}
  3. 3x/23x/2
  4. x3/2x^3 / 2

What does math.cbrt(-8) return in Python?

  1. a complex number
  2. -2.0
  3. ValueError
  4. 2.0