Calculus3Differentiation Rules1 of 9
Differentiation Rules · 1

Power, Sum, and Constant Rules

1

The power rule

If we used the limit definition of the derivative to find the derivative of x5x^{\ep5}, we'd have to expand (x+h)5(x + h)^{\ep5}. That takes a lot of algebra. Instead, let's look for a pattern in the derivatives we already know: x2x^{\ep2} gives 2x\ep2x, 1x\frac{1}{x} gives −1x2-\frac{1}{x^2}, x\ep{\sqrt{\ik{x}}} gives 12x\frac{1}{2\sqrt{x}}, and from the definition, x3x^{\ep3} gives 3x2\ep3x^2. Written as powers of xx, they line up like this.

x2  →  2 x1x3  →  3 x21x=x−1  →  −1⋅x−2=−1x2x=x12  →  12 x−12=12x\displaystyle \begin{aligned} x^{\ep{2}} &\;\to\; \ep{2}\,x^{1}\\[8pt] x^{\ep{3}} &\;\to\; \ep{3}\,x^{2}\\[8pt] \frac1x = x^{\ep{-1}} &\;\to\; \ep{-1}\cdot x^{-2} = -\frac{1}{x^2}\\[8pt] \ep{\sqrt{\ik{x}}} = x^{\ep{\frac12}} &\;\to\; \ep{\frac12}\,x^{-\frac12} = \frac{1}{2\sqrt{x}}\end{aligned}

Look at what happens to the exponent in each row. If it follows a rule, we can use that rule on x5x^{\ep5}.

Find the derivative of x5x^5 from the pattern in powers of xx
ddx x5=  ?\displaystyle {\frac{d}{dx}\,x^5 = \;?}
Text solution
x3x^{\ep3} from the definitionWhen we expand (x+h)3(x + h)^{\ep3}, the x3x^{\ep3} terms cancel. After dividing by hh, every term with an hh goes to 00.
ddx x3\displaystyle \frac{d}{dx}\,x^{\ep3} =lim⁡h→0(3x2+3xh+h2)\displaystyle = \lim_{h\to0}\left(\ep3x^2 + 3xh + h^2\right) =3x2\displaystyle = \ep3x^2
The patternIn every row, the old exponent comes down in front, and the new exponent is 11 less.
x−1  →  −1 x−1−1\displaystyle x^{\ep{-1}} \;\to\; \ep{-1}\,x^{\ep{-1}-1} =−x−2\displaystyle = -x^{-2}
x12  →  12 x12−1\displaystyle x^{\ep{\frac12}} \;\to\; \ep{\frac12}\,x^{\ep{\frac12}-1} =12 x−12\displaystyle = \ep{\frac12}\,x^{-\frac12}
x5x^{\ep5}, and xx itselfThe 5\ep5 comes down, and the new exponent is 44. For x=x1x = x^{\ep1}, we get x0=1x^0 = 1, which is the slope of the line y=x\fn{y = x}.
ddx x5\displaystyle \frac{d}{dx}\,x^{\ep5} =5 x5−1\displaystyle = \ep5\,x^{\ep5-1} =5x4\displaystyle = \ep5x^4
ddx x1\displaystyle \frac{d}{dx}\,x^{\ep1} =1⋅x0\displaystyle = \ep1\cdot x^0 =1\displaystyle = 1

So for any constant exponent n\ep{n}, the derivative of xnx^{\ep{n}} is n xn−1\ep{n}\,x^{\ep{n}-1}. That one formula gives all four derivatives we found using limits, whether n\ep{n} is a whole number like 3\ep3, a negative number like −1\ep{-1}, or a fraction like 12\ep{\frac12}.

ddx xn\displaystyle \frac{d}{dx}\,x^{\ep{n}} =n xn−1\displaystyle = \ep{n}\,x^{\ep{n}-1}
2

Multiplying by a constant and adding a constant

By the power rule, the derivative of x2x^{\ep2} is 2x\ep2x. But what happens if we multiply by 3\cf3, or add 44?

Find the derivatives of 3x23x^2 and x2+4x^2 + 4
11
22
xx
yy
y=x2\htmlClass{lc-orange}{y=x^2}
11
2\htmlClass{lc-blue}{2}
Text solution
Multiply by 3\cf3Every height of y=x2\fn{y = x^2} is multiplied by 3\cf3, so every rise along a tangent line is too, while the run stays the same. At x=1x = 1, the slope goes from 2\slp2 to 3⋅2=6\cf3 \cdot \slp2 = \slp6.
Add 44The graph and its tangent lines shift up by 44, but no rise or run changes, so the slopes stay the same.
A constant on its owny=4\fn{y = 4} is a horizontal line, with slope 0\slp0. So is y=π2y = \pi^2, because π2\pi^2 has no xx in it. But in πx\cf\pi x and ax2\cf a x^2, the fixed numbers multiply xx and x2x^2, so they stay in front.
ddx 4\displaystyle \frac{d}{dx}\,\fn4 =0\displaystyle = \slp0
ddx π2\displaystyle \frac{d}{dx}\,\pi^2 =0\displaystyle = 0
ddx(πx)\displaystyle \frac{d}{dx}\left(\cf\pi x\right) =π\displaystyle = \cf\pi
ddx(ax2)\displaystyle \frac{d}{dx}\left(\cf a x^{\ep2}\right) =2ax\displaystyle = \ep2\cf a x

Here are the two graphs at x=1x = 1. Multiplying by 3\cf3 makes the rise 3\cf3 times as tall.

11
22
xx
yy
11
22
xx
yy
y=x2\htmlClass{lc-orange}{y=x^2}
11
2\htmlClass{lc-blue}{2}
y=3x2\htmlClass{lc-orange}{y=3x^2}
11
6\htmlClass{lc-blue}{6}
ddx(3x2)\displaystyle \frac{d}{dx}\left(\cf3x^{\ep2}\right) =3⋅2x\displaystyle = \cf3\cdot\ep2x =6x\displaystyle = 6x

Adding 44 lifts the tangent line without tilting it.

−2-2
−1-1
11
22
xx
yy
y=x2\htmlClass{lc-orange}{y=x^2}
y=x2+4\htmlClass{lc-orange}{y=x^2+4}
+4+4
+4+4
11
2\htmlClass{lc-blue}{2}
11
2\htmlClass{lc-blue}{2}
ddx(x2+4)\displaystyle \frac{d}{dx}\left(x^{\ep2} + 4\right) =2x\displaystyle = \ep2x

In general, multiplying any function by a fixed number c\cf c multiplies its derivative by c\cf c, and the derivative of a constant by itself is 00.

ddx(c f(x))=c f′(x)ddx c=0\displaystyle \begin{aligned}\frac{d}{dx}\big(\cf c\,f(x)\big) &= \cf c\,f'(x)\\[6pt] \frac{d}{dx}\,c &= 0\end{aligned}
3

Adding and subtracting terms

We know how to differentiate each power of xx on its own, and we know that a constant factor stays in front. But what happens when several terms are added and subtracted, like in 3x4−5x2+7x−23x^4 - 5x^2 + 7x - 2? Can we differentiate each term and add the results?

Differentiate 3x4−5x2+7x−23x^4 - 5x^2 + 7x - 2, and find h′(1)h'(1) for h(x)=2f(x)+g(x)−4h(x) = 2f(x) + g(x) - 4
ddx (3x4−5x2+7x−2)\displaystyle \frac{d}{dx}\,\bigl(3x^4 - 5x^2 + 7x - 2\bigr) =  ?\displaystyle = \;?
h(x)=2f(x)+g(x)−4f′(1)=3,g′(1)=5h′(1)=  ?\displaystyle \begin{aligned}h(x) &= 2f(x) + g(x) - 4\\[2pt] f'(1) &= 3, \quad g'(1) = 5\\[2pt] h'(1) &= \;?\end{aligned}
Text solution
The rises addFrom x=1x = 1 to x=2x = 2, the rise of x2+4x\fn{x^2 + 4x} is the rise of x2\fn{x^2} plus the rise of 4x\fn{4x}. That happens over any run, so the secant slopes add, and so do the tangent slopes.
x2:4−1=34x:8−4=4x2+4x:12−5=7=3+4\displaystyle \begin{aligned}\fn{x^2}&:\quad \fn4 - \fn1 = \slp3\\[4pt] \fn{4x}&:\quad \fn8 - \fn4 = \slp4\\[4pt] \fn{x^2 + 4x}&:\quad \fn{12} - \fn5 = \slp7 = \slp3 + \slp4\end{aligned}
Split the difference quotientGroup the ff terms and the gg terms. By the sum law for limits, the two fractions approach f′(x)f'(x) and g′(x)g'(x). For f−gf - g, we write it as f+(−1)gf + (\cf{-1})g.
(f(x+h)+g(x+h))−(f(x)+g(x))h=f(x+h)−f(x)h+g(x+h)−g(x)h\displaystyle \begin{aligned}&\frac{\big(f(x+h) + g(x+h)\big) - \big(f(x) + g(x)\big)}{h}\\[4pt] &= \frac{f(x+h) - f(x)}{h} + \frac{g(x+h) - g(x)}{h}\end{aligned}
f(x+h)+g(x+h)−f(x)−g(x)h=f(x+h)−f(x)h+g(x+h)−g(x)h\displaystyle \begin{aligned}&\frac{f(x+h) + g(x+h) - f(x) - g(x)}{h}\\[4pt] &= \frac{f(x+h) - f(x)}{h}\\[4pt] &\qquad + \frac{g(x+h) - g(x)}{h}\end{aligned}
Term by termFor 7x\cf7x, the exponent is 1\ep1, so its derivative is 7x0=7\cf7x^0 = 7. The constant −2-\mv2 has derivative 0\mv0.
ddx(3x4−5x2+7x−2)=3⋅4x3−5⋅2x+7x0−0=12x3−10x+7\displaystyle \begin{aligned}&\frac{d}{dx}\left(\cf3x^{\ep4} - \cf5x^{\ep2} + \cf7x - \mv2\right)\\ &= \cf3\cdot\ep4x^3 - \cf5\cdot\ep2x + \cf7x^0 - \mv0\\ &= 12x^3 - 10x + 7\end{aligned}
Only the slopes matterWith f′(1)=3\slp{f'(1)} = \slp3 and g′(1)=5\slp{g'(1)} = \slp5, the heights f(1)\fn{f(1)} and g(1)\fn{g(1)} never come in.
h′(1)=2f′(1)+g′(1)−0=2⋅3+5=11\displaystyle \begin{aligned}\slp{h'(1)} &= \cf2\slp{f'(1)} + \slp{g'(1)} - \mv0\\ &= \cf2\cdot\slp3 + \slp5 = \slp{11}\end{aligned}

So the derivative of a sum is the sum of the derivatives, and the same goes for a difference. The proof never used formulas for ff and gg, so these rules work for any functions, even when we only know their slopes at a point.

ddx(f(x)+g(x))=f′(x)+g′(x)ddx(f(x)−g(x))=f′(x)−g′(x)\displaystyle \begin{aligned}\frac{d}{dx}\big(f(x) + g(x)\big) &= f'(x) + g'(x)\\[6pt] \frac{d}{dx}\big(f(x) - g(x)\big) &= f'(x) - g'(x)\end{aligned}
4

Fractions and roots

We know how to differentiate xnx^{\ep n} by bringing n\ep n down in front and subtracting 11 from the power. But what if xx is in the denominator, or inside a root? If we rewrite each term as a number times a power of xx first, we can use the power rule. These two facts from algebra do the rewriting.

x−n\displaystyle x^{\ep{-n}} =1xn\displaystyle = \frac{1}{x^{\ep n}}
xmn\displaystyle \ep{\sqrt[n]{\ik{x}^m}} =xmn\displaystyle = x^{\ep{\frac{m}{n}}}
Differentiate 1x3\frac{1}{x^3}, 32x2\frac{3}{2x^2}, 6x\frac{6}{\sqrt{x}}, and x23\sqrt[3]{x^2}
ddx 1x3=  ?ddx 32x2=  ?ddx 6x=  ?ddx x23=  ?\displaystyle \begin{aligned}\frac{d}{dx}\,\frac{1}{x^3} &= \;? & \frac{d}{dx}\,\frac{3}{2x^2} &= \;?\\[10pt] \frac{d}{dx}\,\frac{6}{\sqrt{x}} &= \;? & \frac{d}{dx}\,\sqrt[3]{x^2} &= \;?\end{aligned}
Text solution
1x3\frac{1}{x^{\ep3}}It's x−3x^{\ep{-3}}. Subtracting 11 from −3\ep{-3} gives −4-4, not −2-2.
ddx x−3\displaystyle \frac{d}{dx}\,x^{\ep{-3}} =−3x−3−1\displaystyle = \ep{-3}x^{\ep{-3}-1} =−3x−4\displaystyle = \ep{-3}x^{-4} =−3x4\displaystyle = -\frac{3}{x^4}
32x2\frac{\cf3}{\cf2x^{\ep2}}The exponent 2\ep2 is only on the xx, so the 2\cf2 stays in the coefficient 32\cf{\frac32}. If the whole 2x2x were squared, (2x)2(2x)^{\ep2} would be 4x24x^{\ep2}.
32x2\displaystyle \frac{\cf3}{\cf2x^{\ep2}} =32 x−2\displaystyle = \cf{\frac32}\,x^{\ep{-2}}
→  −3x−3\displaystyle \to\; -3x^{-3} =−3x3\displaystyle = -\frac{3}{x^3}
6x\frac{\cf6}{\ep{\sqrt{\ik{x}}}}We write x\ep{\sqrt{\ik{x}}} as x12x^{\ep{\frac12}}, and moving it to the numerator changes the sign of its exponent.
6x\displaystyle \frac{\cf6}{\ep{\sqrt{\ik{x}}}} =6x−12\displaystyle = \cf6x^{\ep{-\frac12}}
→  −3x−32\displaystyle \to\; -3x^{-\frac32} =−3x32\displaystyle = -\frac{3}{x^{\frac32}}
x23\ep{\sqrt[3]{\ik{x}^2}}The root goes on the bottom of the exponent, so it's x23x^{\ep{\frac23}}, not x32x^{\frac32}. At x=8x = 8, the cube root of 88 is 22.
ddx x23\displaystyle \frac{d}{dx}\,x^{\ep{\frac23}} =23 x−13\displaystyle = \ep{\frac23}\,x^{-\frac13} =23x3\displaystyle = \frac{2}{3\sqrt[3]{x}}
x=8:2383\displaystyle {x = 8}:\quad \frac{2}{3\sqrt[3]{8}} =23⋅12\displaystyle = \frac23\cdot\frac12 =13\displaystyle = \frac13

Writing the derivative of 1x3\frac{1}{x^{\ep3}} as −3x4-\frac{3}{x^4} or −3x−4\ep{-3}x^{-4} gives the same function. The fraction form without negative exponents makes it easier to plug in a number.

How can we write these fractions and roots as powers before differentiating?

Rewriting for the power rule
5

Rewriting as a sum of powers

Now let's find the derivative of a fraction like x2+3x−1x\frac{x^2 + 3x - 1}{x}. You might wonder if we can just take the derivative of the top and divide by the derivative of the bottom. Let's test that idea where we already know the answer, and test multiplying derivatives too.

x2x\displaystyle \frac{x^2}{x} =x\displaystyle = x
ddx x\displaystyle \frac{d}{dx}\,x =1\displaystyle = 1
(x2)′(x)′\displaystyle \frac{(x^2)'}{(x)'} =2x1\displaystyle = \frac{2x}{1} =2x\displaystyle = 2x
x⋅x\displaystyle x\cdot x =x2\displaystyle = x^2
ddx x2\displaystyle \frac{d}{dx}\,x^2 =2x\displaystyle = 2x
(x)′⋅(x)′\displaystyle (x)'\cdot(x)' =1⋅1\displaystyle = 1\cdot 1 =1\displaystyle = 1

So we can't differentiate the pieces when terms are divided or multiplied. Instead, we rewrite the expression as a sum of powers of xx first, and then use the power rule term by term.

Differentiate x2+3x−1x\frac{x^2 + 3x - 1}{x}, (2x+1)2(2x + 1)^2, and x (x−3)\sqrt{x}\,(x - 3)
ddx x2+3x−1x=  ?ddx (2x+1)2=  ?ddx x (x−3)=  ?\displaystyle \begin{aligned}\frac{d}{dx}\,\frac{x^2 + 3x - 1}{x} &= \;?\\[8pt] \frac{d}{dx}\,(2x + 1)^2 &= \;?\\[8pt] \frac{d}{dx}\,\sqrt{x}\,(x - 3) &= \;?\end{aligned}
Text solution
Divide every term by xxThe bottom is a single xx, so we divide each term of the top by it, not just the x2x^2.
x2+3x−1x\displaystyle \frac{x^2 + 3x - 1}{x} =x+3−x−1\displaystyle = x + \mv3 - x^{-1}
→  1+1x2\displaystyle \to\; 1 + \frac{1}{x^2}
Multiply out (2x+1)2(2x + 1)^2Bringing down the exponent to get 2(2x+1)2(2x + 1) treats 2x+12x + 1 like xx, and gives 4x+24x + 2 instead of 8x+48x + 4.
(2x+1)2\displaystyle (2x + 1)^2 =4x2+4x+1\displaystyle = 4x^2 + 4x + 1
→  8x+4\displaystyle \to\; 8x + 4
Multiply x\sqrt{x} throughWhen we multiply powers of xx, we add the exponents, so x12⋅x1x^{\frac12} \cdot x^1 is x32x^{\frac32}.
x (x−3)\displaystyle \ep{\sqrt{\ik{x}}}\,(x - 3) =x32−3x12\displaystyle = x^{\frac32} - \cf3x^{\ep{\frac12}}
→  32 x12−32 x−12\displaystyle \to\; \ep{\frac32}\,x^{\frac12} - \frac32\,x^{-\frac12}

If the bottom has more than one term, like x+1x + 1, we can't split the fraction into a sum of powers this way, because 1x+1\frac{1}{x+1} is not 1x+1\frac{1}{x} + 1. Fractions like that need the quotient rule, which comes in the next lesson.

6

Tangent lines and points with a given slope

Now let's use the derivative to find the tangent line to f(x)=x3−3x\fn{f(x) = x^3 - 3x} at x=2x = 2, and then find the points where the tangent line has a chosen slope. To write down the equation of any line, we need a point and a slope. The tangent line at x=ax = a passes through (a,f(a))\fn{(a, f(a))} and has slope f′(a)\slp{f'(a)}, so point-slope form gives its equation.

y−f(a)\displaystyle y - \fn{f(a)} =f′(a) (x−a)\displaystyle = \slp{f'(a)}\,(x - a)
Find the tangent line and normal line to f(x)=x3−3xf(x) = x^3 - 3x at x=2x = 2, and find where the tangent has slope 00 or is parallel to y=9xy = 9x
−1-1
11
22
xx
yy
−2-2
f(x)=x3−3x\htmlClass{lc-orange}{f(x)=x^3-3x}
Text solution
The tangent at x=2x = 2The point's y-coordinate is f(2)\fn{f(2)}, and the slope is the value f′(2)\slp{f'(2)}, not the formula 3x2−33x^2 - 3.
f(2)\displaystyle \fn{f(2)} =8−6\displaystyle = 8 - 6 =2\displaystyle = \fn2
f′(2)\displaystyle \slp{f'(2)} =12−3\displaystyle = 12 - 3 =9\displaystyle = \slp9
y−2\displaystyle y - \fn2 =9(x−2)  →  y\displaystyle = \slp9(x - 2) \;\to\; y =9x−16\displaystyle = \slp9x - 16
The normal lineIt's perpendicular to the tangent at (2,2)\fn{(2, 2)}, and perpendicular slopes are negative reciprocals, so its slope is −19-\frac19.
Horizontal tangentsSet f′(x)=0\slp{f'(x) = 0} to get the x-values, then plug them into f(x)\fn{f(x)}, not f′(x)f'(x), for the y-coordinates.
3x2−3\displaystyle 3x^2 - 3 =0  →  x\displaystyle = \slp0 \;\to\; x =±1\displaystyle = \pm 1
(1,−2),    (−1,2)\displaystyle \fn{(1, -2)},\;\; \fn{(-1, 2)}
Parallel to y=9xy = \slp9xParallel lines have the same slope, so set f′(x)=9\slp{f'(x) = 9}. Besides the point (2,2)\fn{(2, 2)} we started with, there's a second one.
3x2−3\displaystyle 3x^2 - 3 =9  →  x\displaystyle = \slp9 \;\to\; x =±2\displaystyle = \pm 2
f(−2)\displaystyle \fn{f(-2)} =−8+6\displaystyle = -8 + 6 =−2\displaystyle = \fn{-2}

Here are the tangent line and the normal line at (2,2)\fn{(2, 2)}.

−2-2
−1-1
11
22
xx
yy
y=x3−3x\htmlClass{lc-orange}{y=x^3-3x}
(2,2)\htmlClass{lc-orange}{(2,2)}
slope 9\text{slope }\htmlClass{lc-blue}{9}
slope −19\text{slope }{-}\frac19
y−2\displaystyle y - \fn2 =−19 (x−2)\displaystyle = -\frac19\,(x - 2)

The tangent line is horizontal at (1,−2)\fn{(1, -2)} and (−1,2)\fn{(-1, 2)}, and it has slope 9\slp9 at (2,2)\fn{(2, 2)} and (−2,−2)\fn{(-2, -2)}.

xx
yy
(−1,2)\htmlClass{lc-orange}{(-1,2)}
slope 0\text{slope }\htmlClass{lc-blue}{0}
(1,−2)\htmlClass{lc-orange}{(1,-2)}
slope 0\text{slope }\htmlClass{lc-blue}{0}
(2,2)\htmlClass{lc-orange}{(2,2)}
slope 9\text{slope }\htmlClass{lc-blue}{9}
(−2,−2)\htmlClass{lc-orange}{(-2,-2)}
slope 9\text{slope }\htmlClass{lc-blue}{9}

Setting f′(x)=m\slp{f'(x) = m} gives the x-values where the tangent line has slope m\slp m. Here f′(x)=3x2−3f'(x) = 3x^2 - 3, so setting it equal to m\slp m gives a quadratic with two, one, or no solutions depending on m\slp m.

At how many points does the tangent line have the slope you choose?

Choosing a tangent slope

Summary

The power rule
ddx xn\displaystyle \frac{d}{dx}\,x^{\ep n} =n xn−1\displaystyle = \ep n\,x^{\ep n-1}
x5→5x4,x→1\displaystyle x^{\ep5} \to \ep5x^4, \qquad x \to 1

For any constant power n\ep n, bring the exponent down in front and subtract 11 from the power. The rule works whether n\ep n is positive, negative, or a fraction. For x=x1x = x^{\ep1}, bringing down 1\ep1 leaves x0x^0, which is 11.

Constants, sums, and differences
(c f(x))′=c f′(x)(c)′=0,(π2)′=0\displaystyle \begin{aligned}\big(\cf c\,f(x)\big)' &= \cf c\,f'(x)\\ (c)' &= 0, \qquad (\pi^2)' = 0\end{aligned}
(3x4−5x2+7x−2)′\displaystyle \left(\cf3x^{\ep4} - \cf5x^{\ep2} + \cf7x - \mv2\right)' =12x3−10x+7\displaystyle = 12x^3 - 10x + 7
(2f(x)+g(x)−4)′\displaystyle \big(\cf2f(x) + g(x) - 4\big)' =2f′(x)+g′(x)\displaystyle = \cf2f'(x) + g'(x)

A constant multiplier stays in front of the derivative, while a constant on its own has slope 00, so its derivative is 00. A fixed number written with symbols, like π2\pi^2, has no xx in it, so its derivative is 00, not 2π2\pi.

Differentiate polynomials and sums term by term, keeping the signs. To find the derivative of a combination like 2f(x)+g(x)−4\cf2f(x) + g(x) - 4, use the slopes f′\slp{f'} and g′\slp{g'}, not the values of f\fn f and g\fn g.

Rewriting roots and fractions
1x3\displaystyle \frac{1}{x^{\ep3}} =x−3  →  −3x−4\displaystyle = x^{\ep{-3}} \;\to\; \ep{-3}x^{-4}
x\displaystyle \ep{\sqrt{\ik{x}}} =x12  →  12x\displaystyle = x^{\ep{\frac12}} \;\to\; \frac{1}{2\sqrt{x}}
x23\displaystyle \ep{\sqrt[3]{\ik{x}^2}} =x23\displaystyle = x^{\ep{\frac23}}
32x2\displaystyle \frac{\cf3}{\cf2x^{\ep2}} =32 x−2\displaystyle = \cf{\frac32}\,x^{\ep{-2}}

Before differentiating, rewrite each term as a number times a power of xx. Moving a power out of the denominator changes the sign of its exponent, and subtracting 11 makes a negative exponent more negative, like −3−1=−4\ep{-3} - 1 = -4.

For a root xmn\ep{\sqrt[n]{\ik{x}^m}}, the root n\ep n goes in the denominator of the exponent, and the power m\ep m goes in the numerator. In 32x2\frac{\cf3}{\cf2x^{\ep2}}, the exponent 2\ep2 is only on xx, so the coefficient is 32\cf{\frac32}.

Rewriting products and quotients
x2+3x−1x\displaystyle \frac{x^2 + 3x - 1}{x} =x+3−x−1\displaystyle = x + \mv3 - x^{-1}
(2x+1)2\displaystyle (2x + 1)^2 =4x2+4x+1\displaystyle = 4x^2 + 4x + 1

Don't differentiate the parts of a product or fraction separately. Dividing the derivatives of the top and bottom of x2x\frac{x^2}{x} gives 2x1=2x\frac{2x}{1} = 2x, but the function is xx, whose derivative is 11.

When the bottom is a single term, divide every term on the top by it to get a sum of powers of xx. If the bottom has more than one term, like x+1x + 1, you can't split the fraction into a sum of powers this way. For products like (2x+1)2(2x + 1)^2 or x (x−3)\sqrt{x}\,(x - 3), multiply them out first, then differentiate term by term.

Tangent lines and points with a given slope
y−f(a)\displaystyle y - \fn{f(a)} =f′(a) (x−a),f′(x)=m\displaystyle = \slp{f'(a)}\,(x - a), \qquad \slp{f'(x) = m}

The tangent line at x=ax = a passes through (a,f(a))\fn{(a, f(a))} with slope f′(a)\slp{f'(a)}. The slope is the number f′(a)\slp{f'(a)}, not the formula f′(x)f'(x).

To find where the tangent line has slope m\slp m, solve f′(x)=m\slp{f'(x) = m} for xx. For a horizontal tangent, set the slope to 0\slp0. Once you have each xx, plug it back into the original function f(x)\fn{f(x)} to get the point on the curve, not into f′(x)f'(x).

7

Practice

Enter exact values as fractions, not decimals. Answers with negative exponents, like x−2x^{-2}, or as fractions, like 1x2\frac{1}{x^2}, are both accepted.

1
Differentiate f(x)=4x5−3x3+2x−π2f(x) = 4x^5 - 3x^3 + 2x - \pi^2.

π2\pi^2 is a constant number, with no xx in it. What is the derivative of any constant?

If you got 20x4−9x2+2−2π20x^4 - 9x^2 + 2 - 2\pi Check the derivative of π2\pi^2. π\pi is a constant number, not a variable like xx, so we use the constant rule for π2\pi^2.

Differentiate term by term using the power rule, and notice that π2\pi^2 is a constant, so its derivative is 0\mv0.
f′(x)\displaystyle f'(x) =4⋅5x4−3⋅3x2+2−0\displaystyle = \cf4\cdot\ep5x^4 - \cf3\cdot\ep3x^2 + \cf2 - \mv0 =20x4−9x2+2\displaystyle = 20x^4 - 9x^2 + 2
2
Let f(x)=x23+4xf(x) = \sqrt[3]{x^2} + \dfrac{4}{x}. Find f′(8)f'(8).

Write each term as a power of xx first. What are the exponents for x23\sqrt[3]{x^2} and 4x\frac{4}{x}?

To evaluate 8−138^{-\frac13}, rewrite it as 183\frac{1}{\sqrt[3]{8}}. What is 83\sqrt[3]{8}?

Rewrite each termRewrite the root and the fraction as powers of xx so we can use the power rule.
f(x)\displaystyle f(x) =x23+4x−1\displaystyle = x^{\ep{\frac23}} + \cf4x^{\ep{-1}}
DifferentiateUse the power rule on each term, subtracting 11 from each exponent.
f′(x)\displaystyle f'(x) =23 x−13−4x−2\displaystyle = \ep{\frac23}\,x^{-\frac13} - 4x^{-2}
Plug in 8Plug in x=8x = 8, rewrite the negative powers as roots and fractions, and subtract.
f′(8)\displaystyle f'(8) =23⋅183−482\displaystyle = \frac23\cdot\frac{1}{\sqrt[3]{8}} - \frac{4}{8^2} =23⋅12−464\displaystyle = \frac23\cdot\frac12 - \frac{4}{64} =13−116\displaystyle = \frac13 - \frac1{16} =1348\displaystyle = \frac{13}{48}
3
Let y=2x3−4x+1x2y = \dfrac{2x^3 - 4x + 1}{x^2}. Find y′y'.

The denominator has only one term, x2x^2. Divide each term of the numerator by x2x^2 before differentiating.

If you got 3x−2x3x - \dfrac{2}{x} Don't differentiate the top and bottom separately. Split the fraction into separate terms first.

Split the fractionDivide each term in the numerator by x2x^2 and rewrite the terms with negative exponents.
y\displaystyle y =2x3x2−4xx2+1x2\displaystyle = \frac{2x^3}{x^2} - \frac{4x}{x^2} + \frac{1}{x^2} =2x−4x−1+x−2\displaystyle = 2x - 4x^{-1} + x^{-2}
DifferentiateDifferentiate term by term using the power rule.
y′\displaystyle y' =2+4x−2−2x−3\displaystyle = 2 + 4x^{-2} - 2x^{-3} =2+4x2−2x3\displaystyle = 2 + \frac{4}{x^2} - \frac{2}{x^3}
4
Let f(x)=x (x−3)f(x) = \sqrt{x}\,(x - 3). Find f′(4)f'(4).

Rewrite x\sqrt{x} as x12x^{\frac12} and distribute it across (x−3)(x - 3). What power do you get when you multiply x12⋅xx^{\frac12} \cdot x?

DistributeRewrite x\ep{\sqrt{\ik{x}}} as x12x^{\ep{\frac12}} and distribute it into the parentheses, adding exponents.
f(x)\displaystyle f(x) =x12⋅x−3x12\displaystyle = x^{\ep{\frac12}}\cdot x - \cf3x^{\ep{\frac12}} =x32−3x12\displaystyle = x^{\frac32} - \cf3x^{\ep{\frac12}}
DifferentiateUse the power rule on each term.
f′(x)\displaystyle f'(x) =32 x12−32 x−12\displaystyle = \ep{\frac32}\,x^{\frac12} - \frac32\,x^{-\frac12}
Plug in 4Plug in x=4x = 4 and evaluate each power.
f′(4)\displaystyle f'(4) =32⋅2−32⋅12\displaystyle = \frac32\cdot 2 - \frac32\cdot\frac12 =3−34\displaystyle = 3 - \frac34 =94\displaystyle = \frac94
5
Let f(x)=x+8xf(x) = \sqrt{x} + \dfrac{8}{x}. At x=4x = 4, find (a) the equation of the tangent line and (b) the equation of the normal line.

Find the point on the curve by evaluating f(4)f(4), and find the slope of the tangent line by evaluating f′(4)f'(4).

The normal line is perpendicular to the tangent line. What is the negative reciprocal of −14-\frac14?

If you got y=34x+1y = \frac34 x + 1 Check the sign when differentiating 8x−18x^{-1}. Bringing down the negative exponent gives −8x−2-8x^{-2}.

If you got y−4=(12x−8x2)(x−4)y - 4 = \left(\frac{1}{2\sqrt{x}} - \frac{8}{x^2}\right)(x - 4) The slope of a tangent line must be a constant number, not a function of xx. Plug in x=4x = 4 to get the slope f′(4)f'(4).

Find the pointPlug x=4x = 4 into f(x)\fn{f(x)} to get the y-coordinate of the point.
f(4)\displaystyle \fn{f(4)} =4+84\displaystyle = \sqrt4 + \frac84 =2+2\displaystyle = 2 + 2 =4\displaystyle = \fn4
Find the derivativeRewrite the terms as powers of xx and differentiate.
f(x)\displaystyle f(x) =x12+8x−1,f′(x)\displaystyle = x^{\ep{\frac12}} + \cf8x^{\ep{-1}}, \qquad f'(x) =12x−8x2\displaystyle = \frac{1}{2\sqrt{x}} - \frac{8}{x^2}
Find the tangent slopePlug x=4x = 4 into f′(x)f'(x) to find the slope of the tangent line.
f′(4)\displaystyle \slp{f'(4)} =14−816\displaystyle = \frac14 - \frac{8}{16} =14−12\displaystyle = \frac14 - \frac12 =−14\displaystyle = \slp{-\frac14}
Write the tangent equationUse point-slope form with the point (4,4)\fn{(4, 4)} and slope −14\slp{-\frac14}.
(a)y−4\displaystyle \text{(a)}\quad y - \fn4 =−14 (x−4)  →  y\displaystyle = \slp{-\frac14}\,(x - 4) \;\to\; y =−x4+5\displaystyle = -\frac{x}{4} + 5
Write the normal equationThe normal line is perpendicular to the tangent line, so its slope is the negative reciprocal of −14\slp{-\frac14}, which is 44.
(b)y−4\displaystyle \text{(b)}\quad y - \fn4 =4(x−4)  →  y\displaystyle = 4(x - 4) \;\to\; y =4x−12\displaystyle = 4x - 12
6
A particle moves along a line with position s(t)=t3−6t2+9ts(t) = t^3 - 6t^2 + 9t. At what times is the particle at rest?

At rest means the particle isn't moving. Does that mean the position s(t)s(t) is 00, or the velocity s′(t)s'(t) is 00?

If you got t=0t = 0 and t=3t = 3 That gives the times when position is 00. At rest means velocity is 00, so set s′(t)=0s'(t) = 0.

Find the velocityThe particle is at rest when its velocity is 0\slp0, so find v(t)=s′(t)v(t) = s'(t).
v(t)\displaystyle v(t) =s′(t)\displaystyle = s'(t) =3t2−12t+9\displaystyle = 3t^2 - 12t + 9
Set velocity to zeroSet v(t)=0\slp{v(t) = 0}, factor out 33, and factor the quadratic to find the times.
3t2−12t+9=3(t2−4t+3)=3(t−1)(t−3)=0→  t=1,t=3\displaystyle \begin{aligned}3t^2 - 12t + 9 &= 3\left(t^2 - 4t + 3\right) = 3(t - 1)(t - 3) = \slp0\\ &\to\; t = 1, \quad t = 3\end{aligned}
7
At which points on the curve y=x3+3x2y = x^3 + 3x^2 is the tangent line parallel to the line y=9x−2y = 9x - 2?

The line y=9x−2y = 9x - 2 has slope 99. Parallel lines have equal slopes, so what must y′y' equal?

After finding x=1x = 1 and x=−3x = -3, do you plug these into x3+3x2x^3 + 3x^2 or into 3x2+6x3x^2 + 6x to find the y-coordinates of the points?

If you got x=1x = 1 and x=−3x = -3 The problem asks for points, so find each y-coordinate by plugging the x-values back into the original curve.

If you got (1,9)(1, 9) and (−3,9)(-3, 9) Plug each x-value into the original curve y=x3+3x2y = x^3 + 3x^2 to find the y-coordinates, not into y′y'.

Find the derivativeParallel lines have the same slope, so find y′y' and set it equal to the slope of y=9x−2y = \slp9x - 2, which is 9\slp9.
y′\displaystyle y' =3x2+6x\displaystyle = 3x^2 + 6x
Solve for xSet y′=9\slp{y' = 9}, move all terms to one side, and factor to find the x-values.
3x2+6x=9  →  x2+2x−3=0→  (x+3)(x−1)=0  →  x=1,x=−3\displaystyle \begin{aligned}3x^2 + 6x = \slp9 \;&\to\; x^2 + 2x - 3 = 0\\ &\to\; (x + 3)(x - 1) = 0 \;\to\; x = 1, \quad x = -3\end{aligned}
Find the pointsPlug each x-value back into the original curve y=x3+3x2\fn{y = x^3 + 3x^2} to get the y-coordinates.
x=1:y=1+3=4x=−3:y=−27+27=0\displaystyle \begin{aligned}x = 1:&\quad y = 1 + 3 = \fn4\\ x = -3:&\quad y = -27 + 27 = \fn0\end{aligned}
8
f(2)=5f(2) = 5, f′(2)=−1f'(2) = -1, g(2)=3g(2) = 3 and g′(2)=4g'(2) = 4. Let h(x)=3f(x)−g(x)+7h(x) = 3f(x) - g(x) + 7. Find the equation of the tangent line to hh at x=2x = 2.

To find the slope of the tangent line to hh, do you use f′(2)f'(2) and g′(2)g'(2), or f(2)f(2) and g(2)g(2)?

Plug x=2x = 2 into h(x)h(x) using f(2)f(2) and g(2)g(2) to find the y-coordinate of the point.

If you got y−19=12(x−2)y - 19 = 12(x - 2) Check the slope. The slope comes from h′(2)h'(2), which uses f′(2)f'(2) and g′(2)g'(2), not the function values f(2)f(2) and g(2)g(2).

If you got y=19y = 19 Check the derivative of the constant 77. The derivative of 77 is 00, not 77.

Find the slopeDifferentiate h(x)h(x) term by term. The derivative of the constant 77 is 0\mv0. Then plug in the given derivative values at x=2x = 2.
h′(x)=3f′(x)−g′(x)h′(2)=3(−1)−4=−7\displaystyle \begin{aligned}h'(x) &= \cf3f'(x) - g'(x)\\ \slp{h'(2)} &= \cf3(\slp{-1}) - \slp4 = \slp{-7}\end{aligned}
Find the pointPlug x=2x = 2 into h(x)\fn{h(x)} using the given function values to get the y-coordinate.
h(2)\displaystyle \fn{h(2)} =3⋅5−3+7\displaystyle = \cf3\cdot \fn5 - \fn3 + 7 =19\displaystyle = \fn{19}
Write the tangent equationUse point-slope form with the point (2,19)\fn{(2, 19)} and slope −7\slp{-7}.
y−19\displaystyle y - \fn{19} =−7(x−2)  →  y\displaystyle = \slp{-7}(x - 2) \;\to\; y =−7x+33\displaystyle = \slp{-7}x + 33