TExcelTAD
Home › Algebra › Rational Exponents and Radicals

Rational Exponents and Radicals

A fractional exponent is just another way to write a root: 81/38^{1/3} is the cube root of 8, and 82/38^{2/3} is that root squared. This lesson connects the two notations, shows how to simplify with the exponent laws, and points out the traps a computer sets when the base is negative or the result should be a whole number.

From roots to exponents

You already know nth roots and the exponent laws. Rational exponents glue them together. For a>0a > 0 and whole numbers mm and nn (n≥1n \ge 1):

a1/n=an161/4=164=2am/n=(an)m=amn272/3=(273)2=32=9a−m/n=1am/n32−2/5=1(325)2=14\begin{aligned} a^{1/n} &= \sqrt[n]{a} && 16^{1/4} = \sqrt[4]{16} = 2 \\ a^{m/n} &= (\sqrt[n]{a})^m = \sqrt[n]{a^m} && 27^{2/3} = (\sqrt[3]{27})^2 = 3^2 = 9 \\ a^{-m/n} &= \frac{1}{a^{m/n}} && 32^{-2/5} = \frac{1}{(\sqrt[5]{32})^2} = \frac{1}{4} \end{aligned}

The definition is forced by the law (ap)q=apq(a^p)^q = a^{pq}: if a1/na^{1/n} is to make sense, then (a1/n)n(a^{1/n})^n must equal a1=aa^1 = a, and that is exactly what the nnth root does.

Tip: Take the root first, then the power. (273)2=32=9(\sqrt[3]{27})^2 = 3^2 = 9 keeps the numbers small; 2723=7293\sqrt[3]{27^2} = \sqrt[3]{729} gives the same answer the hard way.

The laws still hold

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

Law Example
ap⋅aq=ap+qa^p \cdot a^q = a^{p+q} x1/2⋅x1/3=x5/6x^{1/2} \cdot x^{1/3} = x^{5/6}
apaq=ap−q\frac{a^p}{a^q} = a^{p-q} x3/4x1/4=x1/2=x\frac{x^{3/4}}{x^{1/4}} = x^{1/2} = \sqrt{x}
(ap)q=apq(a^p)^q = a^{pq} (x2/3)6=x4(x^{2/3})^6 = x^4
(ab)p=ap⋅bp(ab)^p = a^p \cdot b^p (9y4)1/2=3y2(9y^4)^{1/2} = 3y^2

So radical expressions can be simplified by turning every root into an exponent, adding or multiplying the fractions, and turning back:

x⋅x3=x1/2⋅x1/3=x3/6+2/6=x5/6=x5672=36⋅2=62\begin{aligned} \sqrt{x} \cdot \sqrt[3]{x} &= x^{1/2} \cdot x^{1/3} = x^{3/6 + 2/6} = x^{5/6} = \sqrt[6]{x^5} \\ \sqrt{72} &= \sqrt{36 \cdot 2} = 6\sqrt{2} \end{aligned}

To rationalize a denominator, multiply top and bottom by what completes the root: 63=633=23\frac{6}{\sqrt{3}} = \frac{6\sqrt{3}}{3} = 2\sqrt{3}, and 123=4383=432\frac{1}{\sqrt[3]{2}} = \frac{\sqrt[3]{4}}{\sqrt[3]{8}} = \frac{\sqrt[3]{4}}{2}.

Floats are not exact

Python happily computes fractional powers, but 1/3 is not exactly one third as a float, so whole-number answers come out slightly off. SymPy keeps the exponent as an exact Rational:

python · try it yourself
import sympy as sp

print(27 ** (2/3))
print(16 ** 0.75, 32 ** -0.4)
print(round(27 ** (2/3), 12))

print(sp.Integer(27) ** sp.Rational(2, 3))
print(sp.Integer(32) ** sp.Rational(-2, 5))
x = sp.symbols("x", positive=True)
print(sp.sqrt(x) * sp.root(x, 3))
print(sp.sqrt(72), sp.radsimp(6 / sp.sqrt(3)))
8.999999999999998
8.0 0.24999999999999997
9.0
9
1/4
x**(5/6)
6*sqrt(2) 2*sqrt(3)

8.999999999999998 is the float nearest to the true answer after two rounding steps. If an integer is expected, round, or use exact arithmetic.

Negative bases

The cube root of −8 is −2, because (−2)3=−8(-2)^3 = -8. But Python's ** with a negative base and a fractional exponent returns a complex number: it picks a different one of the three complex cube roots (the "principal" one). For an even root like (−4)1/2(-4)^{1/2} there is no real answer at all.

python · try it yourself
import math
import numpy as np

print((-8) ** (1/3))
print(math.cbrt(-8), float(np.cbrt(-8.0)))

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

print(real_root(-32, 5), real_root(81, 4))
(1.0000000000000002+1.7320508075688772j)
-2.0 -2.0
-2.0 3.0

Note: Many textbooks define am/na^{m/n} only for a>0a > 0, precisely to avoid this ambiguity. When you need the real odd root of a negative number, use math.cbrt (Python 3.11+), np.cbrt, or the sign trick above.

In software

Rational exponents show up wherever something scales by "a fraction of a power":

  • Music: an equal-tempered semitone multiplies the frequency by 21/122^{1/12}, so 12 semitones double it (an octave).
  • Graphics: gamma correction stores brightness as v1/2.2v^{1/2.2} and decodes with v2.2v^{2.2}.
  • Statistics and finance: the geometric mean of nn growth factors is (g1⋅g2⋯gn)1/n(g_1 \cdot g_2 \cdots g_n)^{1/n}; the average yearly growth over 5 years is (end/start)1/5−1(\text{end}/\text{start})^{1/5} - 1.
  • Game tuning: XP curves like level1.5\text{level}^{1.5} grow faster than linear but slower than quadratic.
python · try it yourself
A4 = 440.0
semitone = 2 ** (1 / 12)
for name, k in [("A4", 0), ("C5", 3), ("E5", 7), ("A5", 12)]:
    print(f"{name}: {A4 * semitone ** k:7.2f} Hz")

start, end, years = 1200, 2000, 5
cagr = (end / start) ** (1 / years) - 1
print(f"average growth per year: {cagr:.4%}")
A4:  440.00 Hz
C5:  523.25 Hz
E5:  659.26 Hz
A5:  880.00 Hz
average growth per year: 10.7566%

Exercises

Exercise 1: Evaluate by hand

Evaluate 1252/3125^{2/3}, 81−3/481^{-3/4} and (116)1/2(\frac{1}{16})^{1/2} without a calculator.

Answer

25, 127\frac{1}{27} and 14\frac{1}{4}.

Solution
1252/3=(1253)2=52=2581−3/4=1(814)3=133=127(116)1/2=116=14\begin{aligned} 125^{2/3} &= (\sqrt[3]{125})^2 = 5^2 = 25 \\ 81^{-3/4} &= \frac{1}{(\sqrt[4]{81})^3} = \frac{1}{3^3} = \frac{1}{27} \\ \left(\frac{1}{16}\right)^{1/2} &= \frac{\sqrt{1}}{\sqrt{16}} = \frac{1}{4} \end{aligned}
python · try it yourself
import sympy as sp
print(sp.Integer(125) ** sp.Rational(2, 3), sp.Integer(81) ** sp.Rational(-3, 4), sp.Rational(1, 16) ** sp.Rational(1, 2))
25 1/27 1/4

Exercise 2: One exponent

Write x34⋅xx3\frac{\sqrt[4]{x^3} \cdot \sqrt{x}}{\sqrt[3]{x}} as a single power of xx (x>0x > 0).

Answer

x11/12x^{11/12}

Solution

Turn each root into an exponent and add or subtract the fractions over the common denominator 12:

x3/4⋅x1/2x1/3=x9/12+6/12−4/12=x11/12\frac{x^{3/4} \cdot x^{1/2}}{x^{1/3}} = x^{9/12 + 6/12 - 4/12} = x^{11/12}
python · try it yourself
import sympy as sp
x = sp.symbols("x", positive=True)
print(sp.root(x**3, 4) * sp.sqrt(x) / sp.root(x, 3))
x**(11/12)

Exercise 3: Rationalize

Simplify 105\frac{10}{\sqrt{5}} and 50+18\sqrt{50} + \sqrt{18} so that no root is left in a denominator and the roots are as small as possible.

Answer

105=25\frac{10}{\sqrt{5}} = 2\sqrt{5}, and 50+18=82\sqrt{50} + \sqrt{18} = 8\sqrt{2}.

Solution
105=1055⋅5=1055=2550+18=25⋅2+9⋅2=52+32=82\begin{aligned} \frac{10}{\sqrt{5}} &= \frac{10\sqrt{5}}{\sqrt{5} \cdot \sqrt{5}} = \frac{10\sqrt{5}}{5} = 2\sqrt{5} \\ \sqrt{50} + \sqrt{18} &= \sqrt{25 \cdot 2} + \sqrt{9 \cdot 2} = 5\sqrt{2} + 3\sqrt{2} = 8\sqrt{2} \end{aligned}

Exercise 4: Average growth (code)

A game's monthly players grew from 8 000 to 13 500 over 6 months. Write code that computes the constant monthly growth rate that produces this, and check it by compounding 6 times.

Answer

About 9.11% per month (the factor is (135008000)1/6≈1.0911(\frac{13500}{8000})^{1/6} \approx 1.0911).

Solution

If the factor per month is gg, then 8000⋅g6=135008000 \cdot g^6 = 13500, so g=(135008000)1/6=1.68751/6g = (\frac{13500}{8000})^{1/6} = 1.6875^{1/6}.

python · try it yourself
g = (13500 / 8000) ** (1 / 6)
print(f"factor {g:.6f}, rate {g - 1:.2%}")
value = 8000
for month in range(6):
    value *= g
print(round(value, 6))
factor 1.091124, rate 9.11%
13500.0

Test yourself

What is 642/364^{2/3}?

  1. 16
  2. 42.67
  3. 8
  4. 4

Why does Python print a complex number for (-8) ** (1/3)?

  1. Because −8 has no cube root
  2. Because ** with a negative base and a non-integer exponent returns the principal complex root
  3. Because of integer overflow
  4. Because 1/3 is an integer in Python

Which expression equals x5/6x^{5/6} for x>0x > 0?

  1. x+x3\sqrt{x} + \sqrt[3]{x}
  2. x1/2x1/3\frac{x^{1/2}}{x^{1/3}}
  3. x⋅x3\sqrt{x} \cdot \sqrt[3]{x}
  4. (x)1/3(\sqrt{x})^{1/3}