Once we know the derivatives of basic functions, we need rules for differentiating their sums, differences, products, and quotients. This section establishes four fundamental rules and shows how to apply them together.
| Rule | Formula |
|---|---|
| Constant Multiple | (cu)'=cu' |
| Sum | (u+v)'=u'+v' |
| Product | (uv)'=u'v+uv' |
| Quotient | \left(\dfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^2} |
Constant Multiple Rule and Sum Rule
Assume and are differentiable at .
- The Constant Multiple Rule. If where is a constant, then \phi'(x)=(cf)'(x)=cf'(x)
- The Sum Rule. If , then \phi'(x)=(f+g)'(x)=f'(x)+g'(x)
These two rules say:
- The derivative of a constant times a function equals the constant times the derivative of the function.
- The derivative of the sum of two functions equals the sum of their individual derivatives.
If and , the rules can be written as
(cu)'=cu'\qquad\text{or}\qquad\frac{d}{dx}(cu)=c\frac{du}{dx}(u+v)'=u'+v'\qquad\text{or}\qquad\frac{d}{dx}(u+v)=\frac{du}{dx}+\frac{dv}{dx}Proof
**Constant Multiple Rule.** \phi'(x)=\lim_{\Delta x\to0}\frac{cf(x+\Delta x)-cf(x)}{\Delta x}=c\lim_{\Delta x\to0}\frac{f(x+\Delta x)-f(x)}{\Delta x}=cf'(x) **Sum Rule.** \begin{aligned} \phi'(x)&=\lim_{\Delta x\to0}\frac{(f+g)(x+\Delta x)-(f+g)(x)}{\Delta x}\\ &=\lim_{\Delta x\to0}\left[\frac{f(x+\Delta x)-f(x)}{\Delta x}+\frac{g(x+\Delta x)-g(x)}{\Delta x}\right]\\ &=f'(x)+g'(x) \end{aligned}Find if .
Solution
Since :Differentiate .
Solution
\begin{aligned} f'(x)&=(5x^4)'-(\sqrt{x})'\\ &=5(x^4)'-\left(x^{1/2}\right)'\\ &=5\cdot4x^3-\frac{1}{2}x^{-1/2}\\ &=20x^3-\frac{1}{2\sqrt{x}} \end{aligned}Find if .
Solution
\begin{aligned} \frac{dy}{du}&=0.2\cdot0.8\,u^{-0.2}-\frac{3}{4}\cdot(-1)u^{-2}+\frac{1}{3}u^{-2/3}+0\\ &=\frac{0.16}{u^{0.2}}+\frac{3}{4u^2}+\frac{1}{3\sqrt[3]{u^2}} \end{aligned}Additional results from the Sum and Constant Multiple Rules:
- Difference Rule: (f-g)'(x)=f'(x)-g'(x).
- Derivative of a constant: .
- Linearity: .
Product Rule
The Product Rule. Assume and are differentiable at . If , then
\phi'(x)=(fg)'(x)=f'(x)g(x)+f(x)g'(x)In terms of and :
(uv)'=u'v+v'u\qquad\text{or}\qquad\frac{d}{dx}(uv)=\frac{du}{dx}v+u\frac{dv}{dx}Proof
\phi'(x)=\lim_{\Delta x\to0}\frac{f(x+\Delta x)g(x+\Delta x)-f(x)g(x)}{\Delta x} Adding and subtracting in the numerator: \begin{aligned} \phi'(x)&=\lim_{\Delta x\to0}\left[g(x+\Delta x)\frac{f(x+\Delta x)-f(x)}{\Delta x}+f(x)\frac{g(x+\Delta x)-g(x)}{\Delta x}\right] \end{aligned} Since is continuous (differentiable implies continuous), as , giving \phi'(x)=g(x)f'(x)+f(x)g'(x)Quotient Rule
The Quotient Rule. If and , then
\phi'(x)=\frac{f'(x)g(x)-f(x)g'(x)}{[g(x)]^{2}}In differential notation:
\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^2}\qquad\text{or}\qquad\frac{d}{dx}\left(\frac{u}{v}\right)=\frac{\dfrac{du}{dx}v-u\dfrac{dv}{dx}}{v^2}Proof
Let . When changes by : Dividing by and taking : \frac{dy}{dx}=\frac{v\,\dfrac{du}{dx}-u\,\dfrac{dv}{dx}}{v^2}=\frac{f'(x)g(x)-f(x)g'(x)}{[g(x)]^2}Important note: The order in the numerator of the Quotient Rule matters because of the minus sign. Unlike the Product Rule, f'g-fg' is not the same as fg'-f'g.
Worked Examples
Given , differentiate using the Product Rule.
Solution
Write with and : y'=f'(x)g(x)+f(x)g'(x)=1\cdot x+x\cdot1=2xFind the derivative of .
Solution
\begin{aligned} \frac{dy}{dx}&=\frac{d}{dx}(4x^3)-\frac{d}{dx}(2x^2)+\frac{d}{dx}(6x)+\frac{d}{dx}5\\ &=4(3x^2)-2(2x)+6\cdot1+0\\ &=12x^2-4x+6 \end{aligned}Prove where is a negative integer.
Solution
Let where . Then . Using the Quotient Rule: \begin{aligned} \frac{d}{dx}\frac{1}{x^m}&=\frac{0\cdot x^m-mx^{m-1}\cdot1}{(x^m)^2}=-m\frac{x^{m-1}}{x^{2m}}=-mx^{m-1-2m}=nx^{n-1} \end{aligned}Given , find .
Solution
, so .Given (), find .
Solution
Let and . By the Product Rule g'(x)=2f(x)f'(x)=1, so f'(x)=\dfrac{1}{2\sqrt{x}}.Find if where is an integer.
Solution
Let where . Using the Product Rule times: g'(x)=n[f(x)]^{n-1}f'(x)=1 Therefore f'(x)=\dfrac{1}{nx^{(n-1)/n}}=\dfrac{1}{n}x^{1/n-1}.Differentiate .
Solution
\begin{aligned} f'(x)&=\frac{2x(x^3+1)-(x^2-1)(3x^2)}{(x^3+1)^2}\\ &=\frac{2x^4+2x-3x^4+3x^2}{(x^3+1)^2}\\ &=\frac{-x^4+3x^2+2x}{(x^3+1)^2} \end{aligned}Prove where is a positive integer.