Pre-Calculus for Programmers

Algebra foundations: the toolkit calculus never reteaches

5 / 397
Contents

Contents

Pre-Calculus for Programmers

0 of 397 complete

10 min read

Fractional exponents are roots

If the exponent laws are to keep working, there is only one thing $9^{1/2}$ can possibly mean.

So far the little number on top has been a whole number, and it counted copies. Half a copy of something makes no sense, so 91/29^{1/2} looks like nonsense too. It is not, and the reason is that one of the laws already decides what it has to be.

The law (am)n=amn(a^{m})^{n} = a^{mn} says that if 91/29^{1/2} means anything at all, then squaring it must give 9(1/2)⋅2=91=99^{(1/2)\cdot 2} = 9^{1} = 9. So 91/29^{1/2} is the number whose square is 9. Ask the machine what it thinks, and check.

What is a half power?Python

Change 9.0 to 2.0 and run it again. The first number is now an endless decimal, and squaring it lands very close to 2 but not exactly on it. That gap is the machine's, not the mathematics'.

Roots, and the words for their parts

An $n$th root of a number aa is a number whose nnth power is aa. It is written with a radical sign, an\sqrt[n]{a}. The small nn tucked into the crook is the index, saying which power is being undone, and the aa underneath is the radicand. An index of 2 is never written: a bare x\sqrt{\phantom{x}} always means a square root.

a1/n=ana^{1/n} = \sqrt[n]{a}
The definition the exponent laws force on us, not a separate convention.

For an even index the radical sign always returns the non-negative root, called the principal root. Both 3 and −3-3 square to 9, but 9\sqrt{9} is 3 and only 3. For an odd index there is exactly one real root and it keeps the sign of the radicand, so −83=−2\sqrt[3]{-8} = -2.

Exponents that are any fraction

Once a1/na^{1/n} is settled, am/na^{m/n} follows from the same law, because mn=m⋅1n\frac{m}{n} = m \cdot \frac{1}{n} and also 1n⋅m\frac{1}{n} \cdot m. Both orders are legal, so both readings must give the same value.

am/n=(an)m=amna^{m/n} = \left(\sqrt[n]{a}\right)^{m} = \sqrt[n]{a^{m}}
The denominator is the root and the numerator is the power. Take the root first when working by hand.

Taking the root first keeps the numbers small. For 82/38^{2/3}, the root-first route is 83=2\sqrt[3]{8} = 2 and then 22=42^{2} = 4. The power-first route is 82=648^{2} = 64 and then 643=4\sqrt[3]{64} = 4. Same answer, but you had to handle 64.

Root first or power first?Python

Change every 8.0 to 27.0 and every 2 in an exponent to 4, so you are asking for 274/327^{4/3}. Predict the answer from 273=3\sqrt[3]{27} = 3 before you press play.

A negative fractional exponent stacks the two rules you already have: flip, then take the root, then take the power. 16−3/416^{-3/4} is 1163/4\frac{1}{16^{3/4}}, and 163/4=(164)3=23=816^{3/4} = \left(\sqrt[4]{16}\right)^{3} = 2^{3} = 8, so the answer is 18\frac{1}{8}.

Where the real numbers run out

An even root of a negative number is not a real number, because no real number squares to something negative. An odd root of a negative number is perfectly ordinary. Machines are fussy about this, so it is worth watching one refuse.

Asking for the cube root of a negative numberPython

The first line does not come back as a plain real number, because the machine takes a different route through the exponent. Change (-8) to (-27) and 8 to 27 and run it again: the second line still gives the honest answer, −3-3.

The lesson from that is a working habit: take the root of the size, then put the sign back yourself, and only when the index is odd.

Translating both ways, fluently

Calculus asks for this translation constantly, in both directions, because the rules for differentiating are stated for powers and the answers are usually presented as roots.

Radical formExponent formNote
x\sqrt{x}x1/2x^{1/2}index 2 is invisible
x23\sqrt[3]{x^{2}}x2/3x^{2/3}power on top, index underneath
1x\dfrac{1}{\sqrt{x}}x−1/2x^{-1/2}the fraction line flips the sign
1x34\dfrac{1}{\sqrt[4]{x^{3}}}x−3/4x^{-3/4}both rules at once
xxx\sqrt{x}x3/2x^{3/2}x1⋅x1/2x^{1} \cdot x^{1/2}, so add the exponents
x2\sqrt{x^{2}}∣x∣|x|the exception: an even root of an even power needs the absolute value
The same quantity, written twice.

The five exponent laws work on fractional exponents with no modification at all, which is the practical payoff of this lesson. Simplify x3/4⋅x1/2x1/4\dfrac{x^{3/4}\cdot x^{1/2}}{x^{1/4}}: multiplying adds the exponents, so the top is x3/4+2/4=x5/4x^{3/4+2/4} = x^{5/4}, and dividing subtracts, so the whole thing is x5/4−1/4=x1=xx^{5/4-1/4} = x^{1} = x. Putting 12\frac{1}{2} over a denominator of 4 is the only arithmetic involved.

One restriction is worth stating plainly. When the denominator of the exponent is even, the base must be zero or positive, because an even root of a negative number is not a real number. So (−4)1/2(-4)^{1/2} has no value here, and neither does (−4)3/2(-4)^{3/2}. When the denominator is odd there is no restriction on the base.

Sliding the exponent through the fractions
y=x0.5y = x^{0.5}
01.534.560.11.072.053.024
Value at x=ax = a
1.4142
Value at x=ax = a with the exponent negated
0.7071

Set p to 0.5 and read the curve at x=4x = 4 by dragging a: the value is 2, the square root. The second output line is always one over the first, which is what a negative exponent does. Then set p to 0.25 and check that the value at x=4x = 4 is about 1.414, since 41/4=4=24^{1/4} = \sqrt{\sqrt{4}} = \sqrt{2}.

A worked example, every step

Write 1x2x3\dfrac{1}{x^{2}\sqrt[3]{x}} as a single power of xx.

  1. Put the root into exponent form first: x3=x1/3\sqrt[3]{x} = x^{1/3}.
  2. The bottom is now x2⋅x1/3x^{2} \cdot x^{1/3}. Multiplying adds the exponents: 2+132 + \frac{1}{3}.
  3. Give 2 the same denominator: 2=632 = \frac{6}{3}, so 63+13=73\frac{6}{3} + \frac{1}{3} = \frac{7}{3}.
  4. The expression is 1x7/3\dfrac{1}{x^{7/3}}.
  5. A power on the bottom moves to the top with its sign changed, so the answer is x−7/3x^{-7/3}.
  6. Check with a number. At x=8x = 8: the original is 164⋅2=1128\frac{1}{64 \cdot 2} = \frac{1}{128}, and 8−7/3=1(83)7=127=11288^{-7/3} = \frac{1}{\left(\sqrt[3]{8}\right)^{7}} = \frac{1}{2^{7}} = \frac{1}{128}.
Check yourself

What is (278)−2/3\left(\dfrac{27}{8}\right)^{-2/3}?

All lessons in Pre-Calculus for Programmers