The power rule and basic differentiation rules
Every derivative so far took a page of limit algebra. Is there a pattern in the answers that lets you read off the derivative of 4x^5 - 3x^2 + 7x - 9 without taking a limit at all?
Where you are 13 in Derivatives
When you reach for it
Finding a derivative from the definition works for any function, but each one costs a page of algebra: expand, cancel, let h \to 0. The answers it gave already rhyme. The derivative of x^2 is 2x, of x^3 is 3x^2, of x^4 is 4x^3. The exponent comes down in front and drops by one.
This lesson proves that pattern, the power rule, together with three rules for building functions out of pieces: the constant rule, the constant multiple rule and the sum and difference rule. Each is proved once from the limit definition
and after that the limit never has to be taken again for these functions. Reach for these rules whenever a function is a sum of constant multiples of powers of x: every polynomial, and, after a rewrite, many expressions with roots and fractions.
The lesson runs over three days. Part 1 proves the four rules. Part 2 differentiates polynomials and rewrites expressions so the rules apply. Part 3 extends the power rule to negative and fractional exponents and finds where it stops.
The procedure
Part 1: the rules, each proved from the definition
The constant rule. If f(x) = c for a constant c, then f(x + h) - f(x) = c - c = 0, so the difference quotient is 0 for every h \ne 0 and its limit is 0:
The graph of a constant is a horizontal line, and a horizontal line has slope 0 everywhere.
The constant multiple rule. Let k be a constant and let f be differentiable at x. The difference quotient of kf(x) is
The quotient on the right has limit f'(x), and by the constant multiple law of the limit laws the limit of k times it is k times that limit:
A vertical stretch by k multiplies every rise by k and leaves every run alone, so every slope is multiplied by k.
The sum and difference rule. Let f and g both be differentiable at x. Regroup the quotient of f + g, using the associative and commutative properties of addition:
Both quotients on the right have limits, f'(x) and g'(x), so the sum law says the limit of their sum is the sum of the limits. A difference f - g is f + (-1)g, so the constant multiple rule with k = -1 finishes it:
Applied again and again, the rule covers a sum of any number of terms.
The power rule for positive integers. Let n be a positive integer. By the binomial theorem,
The second coefficient is \binom{n}{1} = n, the number of ways to pick the single factor (x + h) that contributes h while the other n - 1 factors contribute x (a count from Counting). Subtract x^n: the first term cancels and every term left carries at least one h. Divide by h, allowed because h \ne 0:
Every term after the first still carries a factor of h, so the right side is a polynomial in h whose value at h = 0 is n x^{n-1}. Its limit is that value:
For n = 1 this says \displaystyle \frac{d}{dx}[x] = 1: the line y = x has slope 1. Together, the four rules confirm a result found the long way: the definition gave \displaystyle \frac{d}{dx}\big[2x^2 + 5x\big] = 4x + 5, and the rules give 2(2x) + 5(1) = 4x + 5 in one line.
Part 2: polynomials, rewriting, and notation
A polynomial is a sum of constant multiples of positive integer powers of x, plus a constant. The sum rule splits it into terms, the constant multiple rule pulls out each coefficient, the power rule handles each power, and the constant rule sends the constant term to 0. So the derivative of a polynomial of degree n \ge 1 is a polynomial of degree n - 1.
The rules say nothing yet about a product or a quotient of two functions. In particular the derivative of a product is not the product of the derivatives (Example 4 shows a case). Until the product rule arrives, a product of polynomials is expanded first, and a quotient whose bottom is a single power of x is split term by term. A rewrite changes the form of the function and not its values, so the derivative is unchanged, except that a rewrite which divides by x is valid only for x \ne 0.
Two notations run side by side. For y = f(x), prime notation writes the derivative f'(x) and its value at a as f'(a). Leibniz notation writes the same function \dfrac{dy}{dx} or \dfrac{d}{dx}\big[f(x)\big], and its value at a as \left.\dfrac{dy}{dx}\right|_{x = a}. Leibniz notation names the input variable, which matters when the variable is t or u: \dfrac{d}{dt}\big[t^3\big] = 3t^2. The symbol \dfrac{dy}{dx} is read as one symbol, the limit of \dfrac{\Delta y}{\Delta x}, not as a fraction of two numbers.
Part 3: negative and fractional exponents
The power rule keeps its form for other exponents:
at every x where both x^r and x^{r-1} are defined, as long as x^r is defined on both sides of that x. The cases are not all proved by the same tool, and it is worth saying exactly which are proved here.
Negative integers, proved here. Let n be a positive integer and f(x) = x^{-n} = \dfrac{1}{x^n} with x \ne 0. Over the common denominator x^n(x + h)^n,
From Part 1, \dfrac{(x + h)^n - x^n}{h} tends to n x^{n-1}, so the top over h tends to -n x^{n-1}. The bottom x^n(x + h)^n tends to x^{2n}, which is not 0, so the quotient law applies:
That is the power rule with r = -n. The quotient rule will give it again in one line.
Unit fractions, proved here. Let q \ge 2 be an integer and f(x) = x^{1/q}, the q-th root from rational exponents, with x > 0. Write a = (x + h)^{1/q} and b = x^{1/q}, so a^q - b^q = h. The factoring a^q - b^q = (a - b)(a^{q-1} + a^{q-2}b + \cdots + b^{q-1}) gives
As h \to 0, a \to b because a root is continuous, so each of the q terms in the bottom tends to b^{q-1}:
For odd q the same argument works for x < 0 too.
Other rational exponents, stated here and proved later. For \displaystyle r = \frac{p}{q} in general, x^{p/q} = \left(x^{1/q}\right)^p is a power of a root, and differentiating a function inside another function is the job of the chain rule; implicit differentiation gives a second proof. This lesson uses the rule for every rational exponent and marks that it rests on those later proofs. Irrational exponents such as x^{\pi} need logarithms and wait for the derivatives of exponential and log functions.
To use the rule on a root or a fraction, first rewrite it as a power of x: \displaystyle \sqrt[q]{x^p} = x^{p/q} and \dfrac{1}{x^r} = x^{-r}. A coefficient stays outside as a constant multiple: \dfrac{5}{x^2} = 5x^{-2}.
Worked examples
Powers, multiples and a constant
Find each derivative: (a) \dfrac{d}{dx}\big[x^{11}\big]; (b) \dfrac{d}{dx}\big[-6x^4\big]; (c) \dfrac{d}{dx}\big[\pi^2\big]; (d) \displaystyle \dfrac{d}{dt}\big[\sqrt{5}\,t^3\big].
Solution(a) The power rule with n = 11: the exponent comes down and drops by one, \dfrac{d}{dx}\big[x^{11}\big] = 11x^{10}.
(b) The constant multiple rule pulls out -6, and the power rule gives 4x^3 for x^4:
(c) The number \pi^2 \approx 9.87 contains no x at all. It is a constant, so the constant rule gives 0. The power rule does not apply: it is about a power of the variable, and here the variable is absent.
(d) The variable is t and \displaystyle \sqrt{5} is a constant multiple:
Using the rules on unknown functions
The functions f and g are differentiable, with f'(1) = 4 and g'(1) = -2; no formula for either is given. Let h(x) = 5f(x) - g(x) + 3x^2 and k(x) = f(x) + 7. Find h'(1) and k'(1). Can \dfrac{d}{dx}\big[f(x)g(x)\big] at x = 1 be found from the same facts?
SolutionThe sum and difference rule splits h into three terms, and the constant multiple rule pulls out each coefficient:
The rules need only that f' and g' exist, not what f and g are. At x = 1:
For k, the sum rule and the constant rule give k'(x) = f'(x) + 0, so k'(1) = 4. Adding 7 lifts the graph of f up 7 units, and a vertical shift does not change any slope.
The product is a different matter. None of the four rules is about a product, and the facts given are not enough: the rate of change of f(x)g(x) depends on the values f(1) and g(1) as well, which is what the product rule will show.
A polynomial, term by term
Find f'(x) for f(x) = 4x^5 - 3x^2 + 7x - 9, then find f'(1) and \left.\dfrac{dy}{dx}\right|_{x = -1} for y = f(x).
SolutionThe sum and difference rule lets each term be differentiated separately. In each term the constant multiple rule keeps the coefficient, the power rule handles the power, and the constant -9 goes to 0:
The terms one at a time: 4 \cdot 5x^4 = 20x^4, then -3 \cdot 2x = -6x, then 7 \cdot 1 = 7, then 0. The degree drops from 5 to 4.
At x = 1: f'(1) = 20 - 6 + 7 = 21. Since f(1) = 4 - 3 + 7 - 9 = -1, the tangent line at (1, -1) has slope 21; building its equation belongs to tangent lines.
In Leibniz notation the same derivative is \dfrac{dy}{dx} = 20x^4 - 6x + 7, and at x = -1, where (-1)^4 = 1,
The two notations name the same function; f'(-1) and \displaystyle \left.\frac{dy}{dx}\right|_{x = -1} are the same number.
Check. A secant slope from f itself: with h = 0.001, \dfrac{f(1.001) - f(1)}{0.001} \approx 21.037, close to 21.
Rewrite first: a product and a quotient
Find the derivative of (a) p(x) = (x^2 - 4)(3x + 1) and (b) q(x) = \dfrac{6x^4 - 5x^2 + 2x}{x}.
Solution(a) The rules cover sums, not products, so expand first by the distributive property:
Now term by term, p'(x) = 9x^2 + 2x - 12.
Multiplying the two factors’ derivatives instead would give (2x)(3) = 6x. At x = 1 that is 6, while p'(1) = 9 + 2 - 12 = -1, so the product of the derivatives is a different function. The derivative of a product needs its own rule.
(b) The bottom is a single power of x, so divide each term by x. For x \ne 0,
and so q'(x) = 18x^2 - 5 for x \ne 0. The original q is undefined at x = 0, so it has no derivative there, even though the polynomial 18x^2 - 5 has a value at 0. The rewrite holds only where the original expression does.
Aibek’s eagle folds its wings
Aibek hunts with a golden eagle. The eagle folds its wings 200 meters above the valley floor and drops. Ignoring air resistance, a model that is fair only for the first few seconds, its height after t seconds is s(t) = 200 - 4.9t^2 meters. Find its velocity \dfrac{ds}{dt}, its velocity at t = 2, and the moment it is falling at 39.2 meters per second, with its height then.
SolutionThe variable is t, and the rules apply to it exactly as to x. The constant 200 contributes 0 and the constant multiple rule keeps -4.9:
The derivative of height with respect to time is velocity, and its sign says the eagle is moving down. At t = 2, s'(2) = -19.6 meters per second: falling at 19.6 meters per second.
Falling at 39.2 meters per second means velocity -39.2, so -9.8t = -39.2 and t = 4 seconds. Its height then is
The velocity changes by -9.8 meters per second every second, so the speed grows by 9.8 meters per second each second: that is the acceleration of gravity near the ground.
Negative powers by rewriting
Find f'(x) for f(x) = \dfrac{4}{x^3} + \dfrac{x^2}{2} - \dfrac{1}{3x}, and find f'(2).
SolutionRewrite each term as a constant times a power of x, keeping coefficients outside:
The power rule for negative integers was proved in Part 3. Term by term, 4 \cdot (-3)x^{-4} = -12x^{-4}, then \displaystyle \frac{1}{2} \cdot 2x = x, then \displaystyle -\frac{1}{3} \cdot (-1)x^{-2} = \frac{1}{3}x^{-2}. Back in fraction form,
At x = 2:
The rule agrees with work done the long way: the definition gave \dfrac{d}{dx}\left[\dfrac{1}{x^2}\right] = -\dfrac{2}{x^3}, and the power rule gives -2x^{-3}, the same function.
A rational power from a root, and where it fails
Let \displaystyle g(x) = 3\sqrt[3]{x^2}. Find g'(x), then g'(8) and g'(-8). Does g have a derivative at x = 0?
SolutionThe cube root of x^2 is x^{2/3}, so g(x) = 3x^{2/3}, defined for every real x because cube roots of negative numbers exist. The power rule with \displaystyle r = \frac{2}{3} (a case resting on the chain rule, as Part 3 says) and the constant multiple rule give
At x = 8, \displaystyle \sqrt[3]{8} = 2, so g'(8) = 1. At x = -8, \displaystyle \sqrt[3]{-8} = -2, so g'(-8) = -1. Both points have height g(\pm 8) = 3 \cdot 4 = 12: the graph is symmetric about the y-axis, and so the slopes are opposite.
At x = 0 the formula divides by 0, which is a warning but not yet a proof. Go back to the definition. Since g(0) = 0,
As h \to 0^+ this grows without bound, and as h \to 0^- it decreases without bound. The quotient has no limit, so g'(0) does not exist. The graph comes down to the origin steeper and steeper and leaves it just as steeply upward: a sharp point called a cusp, one of the shapes in differentiability.
Boundaries
- The sum and constant multiple rules need the pieces to be differentiable. \displaystyle \frac{d}{dx}\big[f + g\big] = f' + g' is proved only where f'(x) and g'(x) both exist. The limit laws behind it need both limits to exist.
- The power rule is about a power of the variable. In x^r the base varies and the exponent r is a constant. It says nothing about a constant base raised to a variable, such as 2^x, and a constant such as \pi^2 has derivative 0.
- The rules cover sums and constant multiples only. A product or quotient of two non-constant functions is not differentiated piece by piece: rewrite it first, or wait for the product and quotient rules.
- Fractional and negative powers have a restricted domain. x^{-n} and its derivative need x \ne 0. An even root such as x^{1/2} needs x \ge 0, and at x = 0 it has no derivative, since there is no room to its left and the one-sided quotient \displaystyle \frac{\sqrt{h}}{h} grows without bound. At x = 0 a power x^{p/q} with \displaystyle 0 < \frac{p}{q} < 1 has no derivative: the graph has a cusp (x^{2/3}) or a vertical tangent (x^{1/3}). When \displaystyle \frac{p}{q} > 1 and x^{p/q} is defined on both sides of 0, as for x^{4/3}, the derivative at 0 exists and is 0.
- The rewrite must be valid. Dividing through by x holds only for x \ne 0, and the derivative inherits that restriction.
Where this goes next
With these rules, every polynomial is differentiated by inspection, and roots and reciprocals follow after a rewrite. The product rule and the quotient rule remove the need to expand or split, and the chain rule finishes the proof of the power rule for every rational exponent. Second derivatives apply the same rules twice. Running the power rule backward, raising the exponent and dividing, is finding an antiderivative. Setting a polynomial’s derivative equal to 0 locates the flat points of its graph, where maxima and minima are found.
Exercises
Part 1: the rules
Find each derivative.
- f(x) = x^{12}
- \displaystyle g(x) = -\frac{2}{5}x^{10}
- \displaystyle k(x) = 8\sqrt{3}
- \dfrac{d}{du}\left[\tfrac{1}{4}u^8\right]
- The functions f and g are differentiable with f'(3) = -2 and g'(3) = 5. Find h'(3) for h(x) = 2f(x) - 3g(x) + x^4.
Part 2: polynomials and rewriting
Find the derivative. Where a rewrite divides by x, say for which x the answer holds.
- p(x) = 2x^6 - 5x^3 + x - 11
- y = \dfrac{x^4}{4} - \dfrac{x^3}{3} + \dfrac{x^2}{2} - x (give \dfrac{dy}{dx})
- s(t) = -4.9t^2 + 14t + 2 (give \dfrac{ds}{dt})
- q(x) = (3x - 2)^2
- r(x) = x^2(x - 5)(x + 1)
- w(x) = \dfrac{8x^5 - 6x^3 + x^2}{2x^2}
- For f(x) = 2x^3 + 3x^2 - 36x + 5, find f'(0) and every x at which f'(x) = 0.
- Nurgul wants the curve y = ax^3 - 2x to have slope 10 at x = 2. Find the constant a.
Cholpon sews felt rugs in her workshop. Making x rugs in a month costs C(x) = 0.03x^3 - 0.9x^2 + 20x + 150 dollars.
- Find C'(x) and C'(10), and give the units of C'(10).
- For which positive number of rugs is C'(x) = 20?
Part 3: negative and fractional exponents
Find the derivative, and say for which x it holds.
- f(x) = x^{-5}
- g(x) = \dfrac{3}{x^4} - \dfrac{2}{x}
- \displaystyle y = \sqrt[4]{x^3}
- \displaystyle h(x) = 10\sqrt{x} - \dfrac{6}{\sqrt[3]{x}}
- \displaystyle k(x) = \dfrac{x^2 + 4}{\sqrt{x}}; also find k'(4).
- Use the difference quotient at 0 to decide whether f(x) = x^{4/3} and g(x) = x^{1/3} have a derivative at x = 0.
Reasoning
- Show that \dfrac{d}{dx}\big[f(x) - g(x)\big] = f'(x) - g'(x) using only the sum rule and the constant multiple rule.
- Use the binomial theorem to write \dfrac{(x + h)^6 - x^6}{h} as a polynomial in h, and explain why its limit as h \to 0 is 6x^5.
- Aibek says the derivative of x^2 \cdot x^3 is 2x \cdot 3x^2 = 6x^3. Find the correct derivative by rewriting, and show his answer is wrong at x = 1.
- The proof in Part 1 covers only positive integer exponents. Explain where it uses that the exponent is a positive integer, and say which tools give the power rule for negative integers, for \displaystyle \frac{1}{q}, and for a general rational exponent.
Answers
- 12x^{11}. Power rule with n = 12.
- -4x^9. \displaystyle -\frac{2}{5} \cdot 10x^9.
- 0. \displaystyle 8\sqrt{3} contains no x; it is a constant.
- 2u^7. \displaystyle \frac{1}{4} \cdot 8u^7; the variable is u.
- h'(3) = 89. h'(x) = 2f'(x) - 3g'(x) + 4x^3, so h'(3) = 2(-2) - 3(5) + 4(27) = -4 - 15 + 108.
- p'(x) = 12x^5 - 15x^2 + 1. Term by term; the -11 goes to 0.
- \dfrac{dy}{dx} = x^3 - x^2 + x - 1. Each coefficient cancels the exponent that comes down: \displaystyle \frac{1}{4} \cdot 4x^3 = x^3, and so on.
- \dfrac{ds}{dt} = -9.8t + 14. -4.9 \cdot 2t + 14 + 0.
- q'(x) = 18x - 12. Expand: q(x) = 9x^2 - 12x + 4.
- r'(x) = 4x^3 - 12x^2 - 10x. Expand: (x - 5)(x + 1) = x^2 - 4x - 5, so r(x) = x^4 - 4x^3 - 5x^2.
- w'(x) = 12x^2 - 3 for x \ne 0. Divide each term by 2x^2: \displaystyle w(x) = 4x^3 - 3x + \frac{1}{2} for x \ne 0.
- f'(0) = -36; f'(x) = 0 at x = -3 and x = 2. f'(x) = 6x^2 + 6x - 36 = 6(x + 3)(x - 2).
- a = 1. y' = 3ax^2 - 2, so at x = 2 the slope is 12a - 2 = 10.
- C'(x) = 0.09x^2 - 1.8x + 20; C'(10) = 11 dollars per rug. 0.09(100) - 18 + 20 = 11. At a level of 10 rugs a month, the cost is rising at 11 dollars for each additional rug.
- x = 20 rugs. 0.09x^2 - 1.8x + 20 = 20 gives 0.09x(x - 20) = 0; x = 0 is not positive.
- -5x^{-6} = -\dfrac{5}{x^6} for x \ne 0.
- -\dfrac{12}{x^5} + \dfrac{2}{x^2} for x \ne 0. Rewrite 3x^{-4} - 2x^{-1}; then -12x^{-5} + 2x^{-2}.
- \displaystyle \dfrac{3}{4\sqrt[4]{x}} for x > 0. \displaystyle \sqrt[4]{x^3} = x^{3/4}, so the derivative is \displaystyle \frac{3}{4}x^{-1/4}; at x = 0 there is no room on the left.
- \displaystyle \dfrac{5}{\sqrt{x}} + \dfrac{2}{x\sqrt[3]{x}} for x > 0. Rewrite 10x^{1/2} - 6x^{-1/3}; then 5x^{-1/2} + 2x^{-4/3}. The square root restricts x to x > 0.
- \displaystyle k'(x) = \tfrac{3}{2}\sqrt{x} - \dfrac{2}{x\sqrt{x}} for x > 0; \displaystyle k'(4) = \frac{11}{4}. Split: k(x) = x^{3/2} + 4x^{-1/2}, so \displaystyle k'(x) = \frac{3}{2}x^{1/2} - 2x^{-3/2}, and \displaystyle k'(4) = 3 - \frac{2}{8}.
- f'(0) = 0; g has no derivative at 0. For f the quotient is \displaystyle \frac{h^{4/3}}{h} = \sqrt[3]{h}, which tends to 0. For g it is \displaystyle \frac{h^{1/3}}{h} = \frac{1}{\sqrt[3]{h^2}}, which grows without bound from both sides: a vertical tangent.
- f(x) - g(x) = f(x) + (-1)g(x). The sum rule gives \displaystyle f'(x) + \frac{d}{dx}\big[(-1)g(x)\big], and the constant multiple rule with k = -1 makes the second term -g'(x).
- 6x^5 + 15x^4h + 20x^3h^2 + 15x^2h^3 + 6xh^4 + h^5. The binomial coefficients for the sixth power are 1, 6, 15, 20, 15, 6, 1; subtracting x^6 removes the first term and dividing by h lowers each power of h by one. Every term but 6x^5 still carries h, so the polynomial’s value at h = 0, which is its limit, is 6x^5.
- 5x^4. x^2 \cdot x^3 = x^5, so the derivative is 5x^4. At x = 1 the correct value is 5 and his is 6. The rules give no license to multiply derivatives.
- The binomial theorem expands (x + h)^n as a finite sum only when n is a positive integer, and the count \binom{n}{1} = n needs n factors to choose from. Negative integers follow from the definition with a common denominator (Part 3) or from the quotient rule; x^{1/q} follows from factoring a^q - b^q (Part 3); a general \displaystyle \frac{p}{q} needs the chain rule or implicit differentiation.