Power-rule fluency
A power function is a function \(f(x)=x^n\) whose exponent \(n\) is a constant, such as \(x^5\), \(\frac{1}{x^2}=x^{-2}\) or \(\sqrt{x}=x^{1/2}\). Until now, each derivative came from the limit definition, one function at a time (topic 2.2). This topic finds the derivative of \(x^n\) for every rational \(n\) at once, and then uses it to find slopes and unknown constants.
Whole-number exponents
A teal square in the corner of the axes, with x written along its bottom and left sides and x squared in its middle. A green strip, x long and h wide, lies along its right side, and another lies along its top, each labeled x h. A faint square with side h fills the corner between them and is labeled h squared. A dashed outline marks the new square, whose side is x plus h.
In Figure 1, the teal square has side \(x\), so its area is \(x^2\). When the side grows by \(h\), the square gains two green strips and a faint corner. Each strip is \(x\) long and \(h\) wide, and the corner is a square of side \(h\), so the area grows by
For \(h\neq0\), divide this gain by \(h\). A negative \(h\) shrinks the side, and the same algebra holds. The average rate of change of the area from \(x\) to \(x+h\) is \(2x+h\), where each strip gives \(x\) and the corner gives \(h\). As \(h\) approaches 0, this rate approaches \(2x\), so the derivative of \(x^2\) is \(2x\). Shrink \(h\) in Figure 1. The strips become thin, and the corner shrinks faster, because its area \(h^2\) is the fraction \(\frac{h}{x}\) of a strip's area, which approaches 0.
The 2 in \(2x\) counts the strips, and a similar count works for every whole number \(n\ge1\). The power \((x+h)^n\) is a product of \(n\) factors, each equal to \(x+h\). When you multiply them out, each term takes \(x\) or \(h\) from every factor. One term takes \(x\) from all \(n\) factors, which gives \(x^n\). A term that takes \(h\) from one factor and \(x\) from the other \(n-1\) equals \(x^{n-1}h\). There are \(n\) such terms, one for each factor that gives the \(h\). Every other term takes \(h\) from at least two factors, so it has the factor \(h^2\):
For \(n=3\), the terms after \(x^3\) are the pieces that a cube of side \(x\) gains when its side grows by \(h\). It gains a slab of volume \(x^2h\) on each of three faces, three rods of volume \(xh^2\) and one small cube of volume \(h^3\). For \(h\neq0\), subtract \(x^n\) and divide by \(h\) to form the difference quotient:
As \(h\) approaches 0, each term with the factor \(h\) approaches 0 by the limit laws (topic 1.5), so the quotient approaches \(nx^{n-1}\). The derivative of \(x^n\) is \(nx^{n-1}\) at every \(x\). This result is the power rule: the exponent becomes a factor in front, and the new exponent is one less. For \(n=1\), \(x^0\) means 1, and the rule gives the slope 1 of the line \(y=x\).
Negative and fractional exponents
Reciprocals and roots are powers too. For whole numbers \(p\ge1\) and \(q\ge2\) with no common factor, \(x^{p/q}\) means \(\big(\sqrt[q]{x}\big)^p\), which equals \(\sqrt[q]{x^p}\). It is defined for every \(x\) if \(q\) is odd, and for \(x\ge0\) if \(q\) is even. For a positive exponent \(m\), \(x^{-m}\) means \(\frac{1}{x^m}\), defined where \(x^m\) is defined and not 0. The power rule extends to these exponents in two steps.
First take \(n=\frac pq\) and an input \(x\neq0\) where \(\sqrt[q]{x}\) is defined. Write \(u=\sqrt[q]{x}\), so that \(x=u^q\) and \(x^{p/q}=u^p\). For \(h\neq0\) small enough that \(x+h\) has the sign of \(x\), let \(\Delta u=\sqrt[q]{x+h}-u\). Then \(x+h=(u+\Delta u)^q\), so
Divide the top and bottom of the right side by \(\Delta u\), which is not 0, because \(\Delta u=0\) would give \(x+h=u^q=x\). They become difference quotients of the \(p\)th and the \(q\)th power at \(u\). As \(h\) approaches 0, \(\Delta u\) approaches 0, because a root is continuous inside its domain (topic 1.12). By the power rule, the top approaches \(pu^{p-1}\), and the bottom approaches \(qu^{q-1}\), which is not 0 because \(u\neq0\). By the quotient law, the limit is
which is \(nx^{n-1}\) for \(n=\frac pq\). Then take a negative exponent \(n=-m\), where the rule for \(m>0\) is now known. At an input \(x\neq0\) where \(x^m\) is defined, and for \(h\) as before, write the difference of the two fractions over one denominator:
As \(h\) approaches 0, the first fraction approaches \(mx^{m-1}\). The power \((x+h)^m\) approaches \(x^m\), because a differentiable function is continuous (topic 2.4). Because \(x^m\neq0\), the quotient law applies, and the limit is \(-mx^{m-1}/x^{2m}=-mx^{-m-1}\), which is \(nx^{n-1}\) for \(n=-m\). For \(n=0\), \(x^0=1\) is constant, so each of its difference quotients is 0. Its derivative is therefore 0, and \(0\cdot x^{-1}=0\) too. The power rule therefore holds for every rational \(n\), at every \(x\neq0\) where \(x^n\) is defined.
The graph of y equals the cube root of x for x from −2.4 to 2.4. It rises through the origin, where it is steepest. An orange point on it, at x = 1 to start, has an orange tangent line. Below, the graph of the derivative y prime, which is positive, small far from 0 and rising without bound near 0 on both sides, with an orange bar at the same x as tall as the slope. A button moves the point to 0, where the tangent is vertical and the bar disappears.
For an exponent that is not a positive whole number, the rule says nothing at \(x=0\), and there the derivative can fail to exist. Figure 2 graphs \(y=\sqrt[3]{x}=x^{1/3}\) and, below it, its derivative \(y'=\frac13x^{-2/3}\), which the rule gives for \(x\neq0\). The orange tangent touches the graph at the orange point, and the orange bar on the lower graph is as tall as its slope. Move the point toward 0. The tangent becomes steeper, and the bar grows taller, because the lower graph rises without bound near 0. Use the button to put the point at 0. The tangent is vertical, and the bar disappears. The difference quotient at 0, \(\frac{h^{1/3}}{h}=h^{-2/3}\), grows without bound as \(h\) approaches 0. The function \(\sqrt[3]{x}\) is continuous at 0 but has no derivative there (topic 2.4).
Slopes and unknown constants
For a power function \(f\), the power rule gives the derivative \(f'\) as a function of \(x\). Its value \(f'(a)\) at an input \(a\) is the slope of the tangent at \(a\). In Figure 2, this number is also the height of the orange bar. To find \(f'(a)\), differentiate first. Then substitute \(a\) into the derivative. In a context, \(f'(a)\) has the units of the output per unit of the input (topic 2.1).
A constant factor stays in the derivative. If \(c\) is a constant, the difference quotient of \(cx^n\) is \(c\) times the difference quotient of \(x^n\). By the constant multiple law for limits (topic 1.5), the derivative of \(cx^n\) is \(c\) times \(nx^{n-1}\).
A condition on a slope, such as a given value of \(f'(a)\) at a given \(a\), is an equation. If the formula for \(f\) has one unknown constant, solve this equation for it. The equation can fix the constant only if the slope at \(a\) depends on it. At \(x=0\), for example, the slope of \(cx^2\) is \(2c\cdot0=0\) for every \(c\). If the input is the unknown instead, the same equation, solved for the input, gives every point where the slope has the given value.
Example 1
Differentiate positive integer powers
Let \(f(x)=x^{8}\) and \(y=t^{15}\). Find \(f'(x)\) and \(\dfrac{dy}{dt}\).
Solution
Each function is a power of its variable with a positive whole-number exponent, so the power rule applies at every input. In \(f\), the exponent 8 becomes the factor in front, and the new exponent is \(8-1=7\):
The variable of \(y\) is \(t\), and the rule works in the same way with any letter for the variable. The exponent 15 comes down, and the new exponent is 14:
Example 2
Differentiate negative and fractional powers
Let \(g(x)=\dfrac{1}{x\sqrt{x}}\). Find \(g'(x)\), and state where it exists.
Solution
The root needs \(x\ge0\), and the denominator cannot be 0, so \(g\) is defined for \(x>0\). Write \(g\) as one power of \(x\). Because \(x\sqrt{x}=x^1\cdot x^{1/2}=x^{3/2}\),
The power rule applies at every \(x>0\). The exponent \(-\frac32\) comes down as a factor, and the new exponent is \(-\frac32-1=-\frac52\):
The derivative exists at every \(x>0\), and at no other \(x\), because \(g\) has no value there.
Example 3
Evaluate a power-function slope
By Kepler's third law, an object that orbits the sun at a mean distance of \(r\) astronomical units (AU) takes \(T=r^{3/2}\) years for one orbit. Find \(\dfrac{dT}{dr}\) at \(r=16\), and give its units.
Solution
The period \(T\) is a power of \(r\) with exponent \(\frac32\), and \(r=16\) is a positive input, so the power rule applies there. Differentiate first:
Then substitute \(r=16\), where \(\sqrt{16}=4\):
The period is in years and the distance is in AU, so at 16 AU, the period increases at 6 years per AU.
Example 4
Use a slope to determine an unknown
Let \(y=cx^3\), where \(c\) is a constant. The line tangent to the graph at \(x=2\) has slope 60. Find \(c\).
Solution
The constant \(c\) stays as a factor, and the power rule differentiates \(x^3\) at every \(x\):
The slope at \(x=2\) is the value of \(\dfrac{dy}{dx}\) there, so it must equal 60:
The slope at 2 depends on \(c\), so the equation has one solution. Because \(12c=60\), the constant is \(c=\frac{60}{12}=5\).
Each example is one of the four skills of topic 2.5 in Which & Why: AP Calculus.