Exercises
: shows the complete answer. | : gives a hint |
: plays a video solution | : shows just the final answer |
: these are important examples that illustrate new concepts, you should be sure to review the solutions to these questions | |
Exercises
Find the derivatives of the following functions.
|
|
|
|
|
|
|
The second derivative of a function, written $f''(x)$, is the derivative of the first derivative. Find the second derivative of the following functions.
|
|
|
|
Suppose $f(0) = 1$, $f'(0) = -2$, $g(0) = -1$ and $g'(0) = 3$. Use those values to find the following results.
|
|
|
|
- Suppose $f(\theta) = \frac{\cos(\theta) + \sin(\theta) + \cos(\theta)\sin(\theta)}{\cos(\theta) + \sin(\theta) - \cos(\theta)\sin(\theta)}$. Find $f'(\pi)$. (Check the hint before you try finding $f'(x)$.)
Explorations
In the next three questions, assume that u, v and w are functions of x and c is a constant.
- Derive a formula for $\left(\frac{uv}{w}\right)'$.
- Derive a formula for $\frac{d}{dx}\left(uvw\right)$.
- Use the Product Rule to show that $\frac{d}{dx}(cf(x)) = c\frac{d}{dx}f(x)$.
In the lectures, we've derived the derivatives of $f(x) = \cos(x)$, $f(x) = \sin(x)$ and $f(x) = \cot(x)$. Use the Product and Quotient Rules to derive the derivatives of the remaining three functions below.
|
|
|
Icons courtesy of icons8.com
Find the derivative of $f(x) = x\cos(x)$.
$$\begin{aligned} f'(x) &= \frac{d}{dx}(x\cos(x)) \\ &= x \cdot \frac{d}{dx}\cos(x) + \frac{d}{dx}x \cdot \cos(x) \\ &= x(-\sin(x)) + 1 \cdot \cos(x) \\ & = -x\sin(x) + \cos(x) \end{aligned} $$
Find the derivative of $f(x) = \frac{\cos(x)}{x}$.
$$\begin{aligned} f'(x) &= \frac{d}{dx}\left(\frac{\cos(x)}{x}\right) \\ &= \frac{x \cdot \frac{d}{dx}\cos(x) - \cos(x) \frac{d}{dx} x}{x^2} \\ &= \frac{-x \cdot \sin(x) - \cos(x) \cdot 1}{x^2} \\ &= \frac{-x \sin(x) - \cos(x)}{x^2} \end{aligned} $$
Find the derivative of $f(x) = \frac{x}{\cos(x)}$.
$$f'(x) = \frac{\cos(x) + x\sin(x)}{\cos^2(x)}$$
Find the derivative of $g(x) = \frac{x}{x^2 + 1}$.
$$f'(x) = \frac{-x^2+1}{(x^2 + 1)^2}$$
Find the derivative of $f(t) = t(\tan(t) + 1)$.
$$\begin{aligned} f'(x) &= \frac{d}{dt}t(\tan(t) + 1) \\ &= t \cdot \frac{d}{dt}(\tan(t) + 1) + \frac{d}{dt} t \cdot (\tan(t) + 1) \\ &= t \cdot (\sec^2(t) + 0) + \cdot (\tan(t) + 1) \\ &= t \sec^2(t)+\tan(t) + 1 \end{aligned} $$
Find the second derivative of $f(x)=x^2\sin(x)$.
$$\begin{aligned} f'(x) &= \frac{d}{dx}\left(x^2\sin(x)\right) \\ &= x^2 \frac{d}{dx}\sin(x) + \sin(x) \frac{d}{dx}x^2 \\ &= x^2 \cos(x) + 2x\sin(x) \end{aligned} $$ $$\begin{aligned} f''(x) &= \frac{d}{dx}\left(x^2 \cos(x) + 2x\sin(x)\right) \\ &= \frac{d}{dx}\left(x^2 \cos(x)\right) + \frac{d}{dx}\left(2x\sin(x)\right) \\ &= x^2 \frac{d}{dx}\left(\cos(x)\right) + \cos(x)\frac{d}{dx}\left(x^2 \right) + 2\frac{d}{dx}\left(x\sin(x)\right) \\ &= -x^2 \sin(x) + 2x\cos(x) + 2\frac{d}{dx}\left(x\sin(x)\right) \\ &= -x^2 \sin(x) + 2x\cos(x) + 2\left(x\frac{d}{dx}\sin(x) + \sin(x)\frac{d}{dx}x\right) \\ &= -x^2 \sin(x) + 2x\cos(x) + 2\left(x \cos(x) + \sin(x) \cdot 1\right) \\ &= -x^2 \sin(x) + 2x\cos(x) + 2x \cos(x) + 2\sin(x) \\ &= -x^2 \sin(x) + 4x\cos(x) + 2\sin(x) \\ \end{aligned} $$
Find the second derivative of $f(\theta)=\csc(\theta)$.
$$\begin{aligned} f'(\theta) &= \frac{d}{d\theta}\left(\csc(\theta)\right) \\ &= -\csc(\theta)\cot(\theta) \end{aligned} $$ $$\begin{aligned} f''(\theta) &= \frac{d}{d\theta}\left(-\csc(\theta)\cot(\theta)\right) \\ &= -\left(\csc(\theta) \cdot \frac{d}{d\theta}\cot(\theta) + \cot(\theta)\frac{d}{d\theta}\csc(\theta))\right) \\ &= -\left(\csc(\theta) \cdot (-\csc^2(\theta)) + \cot(\theta)(-\csc(\theta) \cot(\theta))\right) \\ &= -\left(-\csc^3(\theta) - \csc(\theta) \cot^2(\theta)\right) \\ &= \csc^3(\theta) + \csc(\theta) \cot^2(\theta) \end{aligned} $$
Suppose $f(0) = 1$, $f'(0) = -2$, $g(0) = -1$ and $g'(0) = 3$. What is $(f + g)'(0)$?
$$(f + g)'(0) = f'(0) + g'(0) = -2 + 3 = 1$$
Suppose $f(0) = 1$, $f'(0) = -2$, $g(0) = -1$ and $g'(0) = 3$. What is $(2f \cdot g)'(0)$?
$$\begin{aligned} (2f \cdot g)'(0) &= 2(f \cdot g)'(0) \\ &= 2(f'(0) \cdot g(0) + g'(0) \cdot f(0)) \\ &= 2(-2 \cdot (-1) + 3 \cdot 1) \\ &=10 \end{aligned}$$
Suppose $f(0) = 1$, $f'(0) = -2$, $g(0) = -1$ and $g'(0) = 3$. What is $\left(\frac{f}{g}\right)'(0)$?
$$\begin{aligned} \left(\frac{f}{g}\right)'(0) &= \frac{g(0) \cdot f'(0) - f(0) \cdot g'(0)}{(g(0))^2} \\ &= \frac{-1 \cdot (-2) - 1 \cdot 3}{(-1)^2} \\ &=-1 \end{aligned}$$
Suppose $f(\theta) = \frac{\cos(\theta) + \sin(\theta) + \cos(\theta)\sin(\theta)}{\cos(\theta) + \sin(\theta) - \cos(\theta)\sin(\theta)}$. Find $f'(\pi)$. (Check the hint before you try finding $f'(x)$.)
Let the numerator equal $f(x)$ and let the denominator equal $g(x)$ then evaluate those functions and their derivatives at π. You can find the derivative using those values similarly to what you did in the previous section on this page.
Suppose $f(\theta) = \frac{\cos(\theta) + \sin(\theta) + \cos(\theta)\sin(\theta)}{\cos(\theta) + \sin(\theta) - \cos(\theta)\sin(\theta)}$. Find $f'(\pi)$. (Check the hint before you try finding $f'(x)$.)
Let $n(\theta) = \cos(\theta) + \sin(\theta) + \cos(\theta)\sin(\theta)$ and $m(x) = \cos(\theta) + \sin(\theta) - \cos(\theta)\sin(\theta)$.
Then $n(\pi) = -1$ and $m(\pi) = -1$.
Next, look at the derivatives.
$$n'(\theta) = -\sin(\theta) + \cos(\theta)-\sin^2(\theta) + \cos^2(\theta)$$ $$m'(\theta) = -\sin(\theta) + \cos(\theta)+\sin^2(\theta) - \cos^2(\theta)$$So $n'(\pi) = 0$ and $m'(\pi) = -2$
Now, apply the Quotient Rule to get a formula in terms of n and m.
$$\begin{aligned} f'(\theta) &= \frac{d}{d\theta}\left(\frac{n(\theta)}{m(\theta)}\right) \\ &= \frac{m(\theta) n'(\theta) - m'(\theta) n(\theta)}{m^2(\theta)} \\ \end{aligned}$$We can use this formula to find the specific derivative value we're looking for.
$$\begin{aligned} f'(\pi) &= \frac{m(\pi) n'(\pi) - m'(\pi) n(\pi)}{m^2(\pi)} \\ &= \frac{-1 \cdot 0 - (-2) \cdot (-1)}{(-1)^2} \\ &= -2 \end{aligned}$$Derive a formula for $\left(\frac{uv}{w}\right)'$.
$$\begin{aligned} \left(\frac{uv}{w}\right)' &= \frac{uv \cdot w' - w \cdot (uv)'}{w^2} \\ &= \frac{uv \cdot w' - w \cdot (u'v + uv')}{w^2} \\ &= \frac{uvw' - wu'v - wuv'}{w^2} \\ &= \frac{uvw' - wvu' - wuv'}{w^2} \end{aligned}$$
Derive a formula for $\frac{d}{dx}\left(uvw\right)$.
Remember that the Product Rule can only be used on the product of two functions, not three. So think of $(uvw)'$ as $[(uv) \cdot w]'$.
Derive a formula for $\frac{d}{dx}\left(uvw\right)$.
$$\begin{aligned} (uvw)' &= [(uv)w]' \\ (uvw)' &= (uv)' \cdot w + (uv) \cdot w'\\ (uvw)' &= (u'v + uv') \cdot w + (uv) \cdot w'\\ (uvw)' &= u'vw + uv'w + uvw'\\ (uvw)' &= vwu' + uwv' + uvw' \end{aligned}$$
There's an interesting pattern here. To find the derivative, write out uvw three times and, in each one take the derivative of a different letter. In the end, the product of every pair of the functions gets multiplied by the derivative of the third.
Use the Product Rule to show that $\frac{d}{dx}(cf(x)) = c\frac{d}{dx}f(x)$.
Treat c as one of the two functions and remember that the derivative of a constant function is 0.
Use the Product Rule to show that $\frac{d}{dx}(cf(x)) = c\frac{d}{dx}f(x)$.
$$\begin{aligned} \frac{d}{dx}(cf(x)) &=\frac{d}{dx} c \cdot f(x) + \frac{d}{dx} f(x) \cdot c \\ &= 0 \cdot f(x) + \frac{d}{dx} f(x) \cdot c \\ &= \frac{d}{dx} f(x) \cdot c \end{aligned}$$
Derive the formula $f(x) = \sec(x)$.
$$\begin{aligned} f'(x) &= \frac{d}{dx}\sec(x) \\ &= \frac{d}{dx} \left(\frac{1}{\cos(x)}\right) \\ &= \frac{\cos(x) \cdot \frac{d}{dx} 1 - 1 \cdot \frac{d}{dx}\cos(x)}{\cos^2(x)} \\ &= \frac{\cos(x) \cdot 0 - 1 \cdot (-\sin(x))}{\cos^2(x)} \\ &= \frac{\sin(x)}{\cos^2(x)} \\ &= \frac{\sin(x)}{\cos(x) \cdot \cos(x)} \\ &= \frac{1}{\cos(x)} \cdot \frac{\sin(x)}{\cos(x)} \\ &= \sec(x) \tan(x) \\ \end{aligned} $$







: shows the complete answer.
: gives a hint
: plays a video solution
: shows just the final answer
: these are important examples that illustrate new concepts, you should be sure to review the solutions to these questions