Finding derivatives with the limit definition works, but it’s slow. Luckily, patterns appear quickly, and they become rules that let you differentiate in one line. The power rule, together with the rules for constants, sums, and constant multiples, lets you differentiate every polynomial, plus anything with roots or powers of x x x in the denominator.
The graph of y = c y = c y = c is a horizontal line, so its slope is always 0 0 0 :
d d x [ c ] = 0 \frac{d}{dx}[c] = 0 d x d [ c ] = 0
For any real number n n n :
d d x [ x n ] = n x n − 1 \frac{d}{dx}\big[x^n\big] = nx^{n - 1} d x d [ x n ] = n x n − 1
Bring the exponent down in front, then subtract 1 1 1 from the exponent. For example, d d x [ x 5 ] = 5 x 4 \dfrac{d}{dx}\big[x^5\big] = 5x^4 d x d [ x 5 ] = 5 x 4 and d d x [ x ] = 1 \dfrac{d}{dx}[x] = 1 d x d [ x ] = 1 .
Why it works: the definition gives d d x [ x 2 ] = 2 x \dfrac{d}{dx}\big[x^2\big] = 2x d x d [ x 2 ] = 2 x and d d x [ x 3 ] = 3 x 2 \dfrac{d}{dx}\big[x^3\big] = 3x^2 d x d [ x 3 ] = 3 x 2 . In ( x + h ) n = x n + n x n − 1 h + ( terms with h 2 or higher ) (x + h)^n = x^n + nx^{n-1}h + (\text{terms with } h^2 \text{ or higher}) ( x + h ) n = x n + n x n − 1 h + ( terms with h 2 or higher ) , only the n x n − 1 h nx^{n-1}h n x n − 1 h term survives after dividing by h h h and letting h → 0 h \to 0 h → 0 . That argument works for positive whole numbers n n n ; the rule is true for every real n n n , but proving it needs tools from later topics.
The power rule works for negative and fractional exponents too, but only once the function is written as a power of x x x :
Original Rewritten Derivative x \sqrt{x} x x 1 / 2 x^{1/2} x 1/2 1 2 x − 1 / 2 = 1 2 x \tfrac{1}{2}x^{-1/2} = \dfrac{1}{2\sqrt{x}} 2 1 x − 1/2 = 2 x 1 1 x \dfrac{1}{x} x 1 x − 1 x^{-1} x − 1 − x − 2 = − 1 x 2 -x^{-2} = -\dfrac{1}{x^2} − x − 2 = − x 2 1 1 x 3 \dfrac{1}{x^3} x 3 1 x − 3 x^{-3} x − 3 − 3 x − 4 = − 3 x 4 -3x^{-4} = -\dfrac{3}{x^4} − 3 x − 4 = − x 4 3 x 2 3 \sqrt[3]{x^2} 3 x 2 x 2 / 3 x^{2/3} x 2/3 2 3 x − 1 / 3 = 2 3 x 3 \tfrac{2}{3}x^{-1/3} = \dfrac{2}{3\sqrt[3]{x}} 3 2 x − 1/3 = 3 3 x 2
Constants come along for the ride, and you can differentiate term by term:
d d x [ c f ( x ) ] = c f ′ ( x ) d d x [ f ( x ) ± g ( x ) ] = f ′ ( x ) ± g ′ ( x ) \frac{d}{dx}\big[c\,f(x)\big] = c\,f'(x) \qquad \frac{d}{dx}\big[f(x) \pm g(x)\big] = f'(x) \pm g'(x) d x d [ c f ( x ) ] = c f ′ ( x ) d x d [ f ( x ) ± g ( x ) ] = f ′ ( x ) ± g ′ ( x )
There is no such rule for products or quotients. The derivative of a product is not the product of the derivatives. For those, either expand or divide first, or use the product rule and quotient rule .
The derivative is a function in its own right. Where f f f is rising, f ′ f' f ′ is positive; where f f f is falling, f ′ f' f ′ is negative; and where f f f has a horizontal tangent, f ′ f' f ′ is 0 0 0 .
Top: the graph of f(x) = x cubed minus 3x with horizontal tangent lines at (-1, 2) and (1, -2). Bottom: its derivative f'(x) = 3x squared minus 3, which equals 0 at x = -1 and x = 1, is positive where f is rising, and is negative where f is falling.
−2
−1
1
2
−2
−1
1
2
f(x) = x³ - 3x
−2
−1
1
2
−2
2
f′(x) = 3x² - 3
f ( x ) = x 3 − 3 x f(x) = x^3 - 3x f ( x ) = x 3 − 3 x (top) and its derivative f ′ ( x ) = 3 x 2 − 3 f'(x) = 3x^2 - 3 f ′ ( x ) = 3 x 2 − 3 (bottom). The horizontal tangents of f f f line up with the zeros of f ′ f' f ′ .
Differentiate y = 4 x 5 − 3 x 2 + 7 x − 9 y = 4x^5 - 3x^2 + 7x - 9 y = 4 x 5 − 3 x 2 + 7 x − 9 .
Solution. Go term by term:
d y d x = 4 ( 5 x 4 ) − 3 ( 2 x ) + 7 ( 1 ) − 0 = 20 x 4 − 6 x + 7 \frac{dy}{dx} = 4(5x^4) - 3(2x) + 7(1) - 0 = 20x^4 - 6x + 7 d x d y = 4 ( 5 x 4 ) − 3 ( 2 x ) + 7 ( 1 ) − 0 = 20 x 4 − 6 x + 7
Find f ′ ( x ) f'(x) f ′ ( x ) for f ( x ) = 6 x − 2 x 3 + 5 x f(x) = 6\sqrt{x} - \dfrac{2}{x^3} + \dfrac{5}{x} f ( x ) = 6 x − x 3 2 + x 5 .
Solution. Rewrite every term as a power of x x x :
f ( x ) = 6 x 1 / 2 − 2 x − 3 + 5 x − 1 f(x) = 6x^{1/2} - 2x^{-3} + 5x^{-1} f ( x ) = 6 x 1/2 − 2 x − 3 + 5 x − 1
Now use the power rule. Watch the negative exponents: − 3 − 1 = − 4 -3 - 1 = -4 − 3 − 1 = − 4 and − 1 − 1 = − 2 -1 - 1 = -2 − 1 − 1 = − 2 .
f ′ ( x ) = 6 ⋅ 1 2 x − 1 / 2 − 2 ( − 3 ) x − 4 + 5 ( − 1 ) x − 2 = 3 x − 1 / 2 + 6 x − 4 − 5 x − 2 = 3 x + 6 x 4 − 5 x 2 \begin{aligned}
f'(x) &= 6 \cdot \tfrac{1}{2}x^{-1/2} - 2(-3)x^{-4} + 5(-1)x^{-2} \\
&= 3x^{-1/2} + 6x^{-4} - 5x^{-2} \\
&= \frac{3}{\sqrt{x}} + \frac{6}{x^4} - \frac{5}{x^2}
\end{aligned} f ′ ( x ) = 6 ⋅ 2 1 x − 1/2 − 2 ( − 3 ) x − 4 + 5 ( − 1 ) x − 2 = 3 x − 1/2 + 6 x − 4 − 5 x − 2 = x 3 + x 4 6 − x 2 5
Find g ′ ( x ) g'(x) g ′ ( x ) for g ( x ) = 2 x 2 − 5 x + 3 x g(x) = \dfrac{2x^2 - 5x + 3}{x} g ( x ) = x 2 x 2 − 5 x + 3 .
Solution. The denominator is a single term, so split the fraction:
g ( x ) = 2 x 2 x − 5 x x + 3 x = 2 x − 5 + 3 x − 1 g(x) = \frac{2x^2}{x} - \frac{5x}{x} + \frac{3}{x} = 2x - 5 + 3x^{-1} g ( x ) = x 2 x 2 − x 5 x + x 3 = 2 x − 5 + 3 x − 1
g ′ ( x ) = 2 − 3 x − 2 = 2 − 3 x 2 g'(x) = 2 - 3x^{-2} = 2 - \frac{3}{x^2} g ′ ( x ) = 2 − 3 x − 2 = 2 − x 2 3
Let f ( x ) = x 3 − 3 x f(x) = x^3 - 3x f ( x ) = x 3 − 3 x (the function in the figure).
(a) Find the points where the tangent line is horizontal.
(b) Find the tangent line at x = 2 x = 2 x = 2 .
Solution. f ′ ( x ) = 3 x 2 − 3 f'(x) = 3x^2 - 3 f ′ ( x ) = 3 x 2 − 3 .
(a) Horizontal means slope 0 0 0 :
3 x 2 − 3 = 0 ⇒ x 2 = 1 ⇒ x = ± 1 3x^2 - 3 = 0 \quad\Rightarrow\quad x^2 = 1 \quad\Rightarrow\quad x = \pm 1 3 x 2 − 3 = 0 ⇒ x 2 = 1 ⇒ x = ± 1
f ( 1 ) = 1 − 3 = − 2 f(1) = 1 - 3 = -2 f ( 1 ) = 1 − 3 = − 2 and f ( − 1 ) = − 1 + 3 = 2 f(-1) = -1 + 3 = 2 f ( − 1 ) = − 1 + 3 = 2 . The points are ( 1 , − 2 ) (1, -2) ( 1 , − 2 ) and ( − 1 , 2 ) (-1, 2) ( − 1 , 2 ) .
(b) f ( 2 ) = 8 − 6 = 2 f(2) = 8 - 6 = 2 f ( 2 ) = 8 − 6 = 2 and f ′ ( 2 ) = 12 − 3 = 9 f'(2) = 12 - 3 = 9 f ′ ( 2 ) = 12 − 3 = 9 :
y − 2 = 9 ( x − 2 ) or y = 9 x − 16 y - 2 = 9(x - 2) \quad\text{or}\quad y = 9x - 16 y − 2 = 9 ( x − 2 ) or y = 9 x − 16
Thinking the derivative of a constant is the constant. d d x [ 7 ] = 0 \dfrac{d}{dx}[7] = 0 d x d [ 7 ] = 0 , and so is d d x [ π 2 ] \dfrac{d}{dx}\big[\pi^2\big] d x d [ π 2 ] or d d x [ e 3 ] \dfrac{d}{dx}\big[e^3\big] d x d [ e 3 ] . A constant doesn’t change.
Getting negative exponents wrong. Subtracting 1 1 1 makes a negative exponent more negative: d d x [ x − 3 ] = − 3 x − 4 \dfrac{d}{dx}\big[x^{-3}\big] = -3x^{-4} d x d [ x − 3 ] = − 3 x − 4 , not − 3 x − 2 -3x^{-2} − 3 x − 2 .
Using the power rule before rewriting. 1 x 3 \dfrac{1}{x^3} x 3 1 is not x 3 x^3 x 3 with something on top. Rewrite it as x − 3 x^{-3} x − 3 first. Similarly, 5 2 x 4 = 5 2 x − 4 \dfrac{5}{2x^4} = \tfrac{5}{2}x^{-4} 2 x 4 5 = 2 5 x − 4 (the 2 2 2 stays in the denominator as a constant).
Differentiating a product factor by factor. d d x [ ( x 2 + 3 ) ( 2 x − 1 ) ] \dfrac{d}{dx}\big[(x^2 + 3)(2x - 1)\big] d x d [ ( x 2 + 3 ) ( 2 x − 1 ) ] is not ( 2 x ) ( 2 ) (2x)(2) ( 2 x ) ( 2 ) . Expand first, or use the product rule.
Using the power rule on an exponential. The power rule is for x n x^n x n (variable base, constant exponent). It does not apply to 2 x 2^x 2 x or e x e^x e x , which have a variable exponent. See derivatives of trig, exponential and log functions .
1. (Warm-up) Differentiate each.
(a) x 7 x^7 x 7
(b) 10 10 10
(c) x − 2 x^{-2} x − 2
Solution (a) 7 x 6 7x^6 7 x 6
(b) 0 0 0
(c) − 2 x − 3 = − 2 x 3 -2x^{-3} = -\dfrac{2}{x^3} − 2 x − 3 = − x 3 2
2. (Warm-up) Find d y d x \dfrac{dy}{dx} d x d y for y = 3 x 4 − 2 x + 8 y = 3x^4 - 2x + 8 y = 3 x 4 − 2 x + 8 .
Solution d y d x = 12 x 3 − 2 \frac{dy}{dx} = 12x^3 - 2 d x d y = 12 x 3 − 2
3. (Warm-up) Find f ′ ( x ) f'(x) f ′ ( x ) for f ( x ) = x 3 f(x) = \sqrt[3]{x} f ( x ) = 3 x .
Solution f ( x ) = x 1 / 3 f(x) = x^{1/3} f ( x ) = x 1/3 , so
f ′ ( x ) = 1 3 x − 2 / 3 = 1 3 x 2 3 f'(x) = \frac{1}{3}x^{-2/3} = \frac{1}{3\sqrt[3]{x^2}} f ′ ( x ) = 3 1 x − 2/3 = 3 3 x 2 1
4. (Core) Find f ′ ( x ) f'(x) f ′ ( x ) for f ( x ) = 4 x 2 + x x f(x) = \dfrac{4}{x^2} + x\sqrt{x} f ( x ) = x 2 4 + x x .
Solution Rewrite: f ( x ) = 4 x − 2 + x 3 / 2 f(x) = 4x^{-2} + x^{3/2} f ( x ) = 4 x − 2 + x 3/2 (since x ⋅ x 1 / 2 = x 3 / 2 x \cdot x^{1/2} = x^{3/2} x ⋅ x 1/2 = x 3/2 ).
f ′ ( x ) = − 8 x − 3 + 3 2 x 1 / 2 = − 8 x 3 + 3 2 x f'(x) = -8x^{-3} + \frac{3}{2}x^{1/2} = -\frac{8}{x^3} + \frac{3}{2}\sqrt{x} f ′ ( x ) = − 8 x − 3 + 2 3 x 1/2 = − x 3 8 + 2 3 x
5. (Core) Find g ′ ( t ) g'(t) g ′ ( t ) for g ( t ) = t 3 − 2 t + 5 t 2 g(t) = \dfrac{t^3 - 2t + 5}{t^2} g ( t ) = t 2 t 3 − 2 t + 5 .
Solution Divide each term by t 2 t^2 t 2 : g ( t ) = t − 2 t − 1 + 5 t − 2 g(t) = t - 2t^{-1} + 5t^{-2} g ( t ) = t − 2 t − 1 + 5 t − 2 .
g ′ ( t ) = 1 + 2 t − 2 − 10 t − 3 = 1 + 2 t 2 − 10 t 3 g'(t) = 1 + 2t^{-2} - 10t^{-3} = 1 + \frac{2}{t^2} - \frac{10}{t^3} g ′ ( t ) = 1 + 2 t − 2 − 10 t − 3 = 1 + t 2 2 − t 3 10
6. (Core) Find the equation of the tangent line to y = 2 x + 1 x y = 2\sqrt{x} + \dfrac{1}{x} y = 2 x + x 1 at x = 4 x = 4 x = 4 .
Solution Point: y ( 4 ) = 2 ( 2 ) + 1 4 = 17 4 y(4) = 2(2) + \dfrac{1}{4} = \dfrac{17}{4} y ( 4 ) = 2 ( 2 ) + 4 1 = 4 17 .
Slope: y = 2 x 1 / 2 + x − 1 y = 2x^{1/2} + x^{-1} y = 2 x 1/2 + x − 1 , so y ′ = x − 1 / 2 − x − 2 y' = x^{-1/2} - x^{-2} y ′ = x − 1/2 − x − 2 . At x = 4 x = 4 x = 4 : y ′ = 1 2 − 1 16 = 7 16 y' = \dfrac{1}{2} - \dfrac{1}{16} = \dfrac{7}{16} y ′ = 2 1 − 16 1 = 16 7 .
y − 17 4 = 7 16 ( x − 4 ) or y = 7 16 x + 5 2 y - \frac{17}{4} = \frac{7}{16}(x - 4) \quad\text{or}\quad y = \frac{7}{16}x + \frac{5}{2} y − 4 17 = 16 7 ( x − 4 ) or y = 16 7 x + 2 5
7. (Core) Find all points on the graph of f ( x ) = x 3 − 6 x 2 + 9 x + 1 f(x) = x^3 - 6x^2 + 9x + 1 f ( x ) = x 3 − 6 x 2 + 9 x + 1 where the tangent line is horizontal.
Solution f ′ ( x ) = 3 x 2 − 12 x + 9 = 3 ( x 2 − 4 x + 3 ) = 3 ( x − 1 ) ( x − 3 ) f'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x - 1)(x - 3) f ′ ( x ) = 3 x 2 − 12 x + 9 = 3 ( x 2 − 4 x + 3 ) = 3 ( x − 1 ) ( x − 3 ) f ′ ( x ) = 0 f'(x) = 0 f ′ ( x ) = 0 at x = 1 x = 1 x = 1 and x = 3 x = 3 x = 3 . Then f ( 1 ) = 1 − 6 + 9 + 1 = 5 f(1) = 1 - 6 + 9 + 1 = 5 f ( 1 ) = 1 − 6 + 9 + 1 = 5 and f ( 3 ) = 27 − 54 + 27 + 1 = 1 f(3) = 27 - 54 + 27 + 1 = 1 f ( 3 ) = 27 − 54 + 27 + 1 = 1 .
The points are ( 1 , 5 ) (1, 5) ( 1 , 5 ) and ( 3 , 1 ) (3, 1) ( 3 , 1 ) .
8. (Challenge) Find a a a and b b b so that the line y = 5 x − 3 y = 5x - 3 y = 5 x − 3 is tangent to the graph of f ( x ) = a x 2 + b f(x) = ax^2 + b f ( x ) = a x 2 + b at x = 1 x = 1 x = 1 .
Solution Tangent at x = 1 x = 1 x = 1 means the slopes match and the graphs share the point.
Slope: f ′ ( x ) = 2 a x f'(x) = 2ax f ′ ( x ) = 2 a x , so f ′ ( 1 ) = 2 a = 5 f'(1) = 2a = 5 f ′ ( 1 ) = 2 a = 5 , giving a = 5 2 a = \dfrac{5}{2} a = 2 5 .
Point: the line passes through ( 1 , 5 − 3 ) = ( 1 , 2 ) (1, 5 - 3) = (1, 2) ( 1 , 5 − 3 ) = ( 1 , 2 ) , so f ( 1 ) = a + b = 2 f(1) = a + b = 2 f ( 1 ) = a + b = 2 , giving b = 2 − 5 2 = − 1 2 b = 2 - \dfrac{5}{2} = -\dfrac{1}{2} b = 2 − 2 5 = − 2 1 .
9. (Challenge) Show that every tangent line to y = 1 x y = \dfrac{1}{x} y = x 1 (for x > 0 x \gt 0 x > 0 ) forms a triangle with the coordinate axes that has area 2 2 2 .
Solution Take the point ( a , 1 a ) \left(a, \dfrac{1}{a}\right) ( a , a 1 ) with a > 0 a \gt 0 a > 0 . Since y ′ = − x − 2 y' = -x^{-2} y ′ = − x − 2 , the slope there is − 1 a 2 -\dfrac{1}{a^2} − a 2 1 :
y − 1 a = − 1 a 2 ( x − a ) ⇒ y = − x a 2 + 2 a y - \frac{1}{a} = -\frac{1}{a^2}(x - a) \quad\Rightarrow\quad y = -\frac{x}{a^2} + \frac{2}{a} y − a 1 = − a 2 1 ( x − a ) ⇒ y = − a 2 x + a 2 The y y y -intercept is 2 a \dfrac{2}{a} a 2 . Setting y = 0 y = 0 y = 0 gives x = 2 a x = 2a x = 2 a , the x x x -intercept. The triangle’s area is
1 2 ( 2 a ) ( 2 a ) = 2 \frac{1}{2}(2a)\left(\frac{2}{a}\right) = 2 2 1 ( 2 a ) ( a 2 ) = 2 The a a a cancels, so the area is 2 2 2 for every tangent line.