Section 4.9 Additional Exercises
¶Exercise 4.9.1.
Find the derivatives of the following functions from definition.
\(f(x)=(2x+3)^2\) Answer
Solution\(4(2x+3)\)We use the definition of the derivative:
\begin{equation*} \begin{split} f'(x) \amp = \lim_{h\to 0} \frac{f(x+h) -f(x)}{h}\\ \amp = \lim_{h\to 0} \frac{(2(x+h)+3)^2 - (2x+3)^2}{h}\\ \amp = \lim_{h\to 0} \frac{(4(x+h)^2 + 9 + 12(x+h)) - (4x^2+9+12x)}{h}\\ \amp = \lim_{h\to 0} \frac{8xh +4h^2 + 12h}{h} \\ \amp = \lim_{h\to 0} (8x+4h+12)\\ \amp = 8x + 12 \end{split} \end{equation*}-
\(g(x)=x^{3/2}\)
AnswerSolution\(\frac{3}{2}x^{1/2}\)We use the definition of the derivative:
\begin{equation*} \begin{split} f'(x) \amp = \lim_{h\to 0} \frac{f(x+h) -f(x)}{h}\\ \amp = \lim_{h\to 0} \frac{(x+h)^{3/2} - x^{3/2}}{h}\\ \amp = \lim_{h\to 0} \frac{(x+h) \sqrt{h + x} - x\sqrt{x}}{h}\\ \amp = \lim_{h\to 0} \frac{x\sqrt{h+x} + h \sqrt{h+x} - x\sqrt{x}}{h}\\ \amp = \lim_{h\to 0} \frac{h\sqrt{h+x} + x(\sqrt{h+x}-\sqrt{x})}{h}\\ \amp = \lim_{h\to 0} \frac{h\sqrt{h+x}}{h} + \lim_{h\to 0} \frac{x(\sqrt{h+x}-\sqrt{x})}{h} \\ \amp = \lim_{h\to 0} \sqrt{h+x} + \lim_{h\to 0} \frac{x(x+h-x)}{h(\sqrt{x+h}+\sqrt{x})} \\ \amp = \sqrt{x} + \lim_{h\to 0} \frac{xh}{h(\sqrt{x+h}+\sqrt{x})} \\ \amp = \sqrt{x} + \lim_{h\to 0} \frac{x}{\sqrt{x+h}+\sqrt{x}} \\ \amp = \sqrt{x} + \frac{x}{2\sqrt{x}}\\ \amp =\frac{3\sqrt{x}}{2} \end{split} \end{equation*}
Exercise 4.9.2.
Let \(f(x)=\left\{ \begin{array}{cc} x^{3} \amp \text{ if } x\leq 1 \\ 5x-x^{2} \amp \text{ if } x>1 \end{array} \right. \text{.}\) Use the definition of the derivative to find \(f^{\prime}(1)\text{.}\)
AnswerWe use the definition of the derivative. Let \(x \lt 1\text{:}\)
Now let \(x > 1\text{:}\)
The function is not differentiable at \(x=1\text{.}\) Therefore,
Exercise 4.9.3.
Differentiate the following functions.
-
\(y=7x^4-7\pi^4+\dfrac{1}{\pi\sqrt[3]{x}}\)
AnswerSolution\(28x^3-\dfrac{1}{3\pi x^{4/3}}\)\(\begin{aligned}y' \amp = \diff{}{x} \left(7x^4-7\pi^4+\frac{1}{\pi^3\sqrt{x}}\right)\\ \amp = 7(4)x^3-(0)-\frac{1}{2}\frac{1}{\pi^3x^{3/2}} \\ \amp = 28x^3-\frac{1}{2\pi^3x^{3/2}} \end{aligned}\)
-
\(f(x)=\dfrac{1-\sqrt{x}}{1+\sqrt{x}}\)
AnswerSolution\(-\dfrac{1}{\sqrt{x}(1+\sqrt{x})^2}\)\(\begin{aligned}\diff{}{x}f(x) \amp = \diff{}{x} \left(\frac{1-\sqrt{x}}{1+\sqrt{x}}\right)\\ \amp = \frac{(1+\sqrt{x})\diff{}{x}\left(1-\sqrt{x}\right)-(1-\sqrt{x})\diff{}{x}\left(1+\sqrt{x}\right)}{(1+\sqrt{x})^2}\\ \amp =\frac{(1+\sqrt{x})\left(-\frac{1}{2\sqrt{x}}\right)-\left(1-\sqrt{x}\right)\left(\frac{1}{2\sqrt{x}}\right)}{(1+\sqrt{x})^2}\\ \amp = \frac{-(1+\sqrt{x})-(1-\sqrt{x})}{2\sqrt{x}(1+\sqrt{x})^2}\\ \amp =-\frac{1}{\sqrt{x}(1+\sqrt{x})^2} \end{aligned}\)
-
\(f(x)=\vert x-1\vert+\vert x+2\vert\)
AnswerSolution\begin{equation*} f'(x) = \begin{cases}2 \amp x \lt 1 \\ 0 \amp -2 \lt x \lt 1 \\ -2 \amp x > -2 \\ \text{ DNE } \amp x=-1,2 \end{cases} \end{equation*}We first write \(f(x)\) as a piecewise-defined function:
\begin{equation*} f(x) = \begin{cases}(x-1)+(x+2) = 2x+1 \amp x \geq 1 \\ -(x-1)+x+2 = 3 \amp -2 \lt x \lt 1 \\ -(x-1)-(x+2) = -2x-1 \amp x \geq -2 \end{cases} \end{equation*}Therefore, we can differentiate each branch of \(f(x)\) noting that the derivative does not exist at the corners:\begin{equation*} f'(x) = \begin{cases}2 \amp x \lt 1 \\ 0 \amp -2 \lt x \lt 1 \\ -2 \amp x > -2 \\ \text{ DNE } \amp x=-1,2 \end{cases} \end{equation*} -
\(f(x)=x^2\sin x\cos x\)
AnswerSolution\(2x\sin x\cos x+x^2\cos^2 x-x^2\sin^2 x\)\(\begin{aligned}f'(x) \amp = \diff{}{x} x^2\sin x\cos x\\ \amp = 2x\sin x \cos x + x^2(\cos x)\cos x + x^2\sin x (-\sin x) \\ \amp = 2x\sin x \cos x + x^2\cos^2x - x^2\sin^2 x \end{aligned}\)
-
\(y=\dfrac{x\sin x}{1+\sin x}\)
AnswerSolution\(\dfrac{(\sin x+x\cos x)(1+\sin x)-x\sin x\cos x}{(1+\sin x)^2}\)\(\begin{aligned}y' \amp = \diff{}{x} \frac{x\sin x}{1+\sin x} \\ \amp = \frac{(\sin x + x\cos x)(1+\sin x) - (\cos x)(x\sin x)}{(1+\sin x)^2} \end{aligned}\)
-
\(g(x)=\sqrt{2+\dfrac{3}{\sqrt{x}}}\)
AnswerSolution\(-\dfrac{3}{4x^{3/2}}\left(2+\dfrac{3}{\sqrt{x}}\right)^{-1/2}\)\(\begin{aligned}g'(x) \amp = \diff{}{x} \sqrt{2+\frac{3}{\sqrt{x}}} \\ \amp = \frac{1}{2\sqrt{2+\frac{3}{\sqrt{x}}}} \diff{}{x} \left(2+\frac{3}{\sqrt{x}}\right) \\ \amp = \frac{1}{2\sqrt{2+\frac{3}{\sqrt{x}}}} \cdot \frac{3}{2x^{3/2}} \\ \amp = \frac{3}{4x^{3/2}\sqrt{2+\frac{3}{\sqrt{x}}}} \end{aligned}\)
-
\(y=\sqrt[3]{x^4+x^2+1}+\dfrac{1}{(x^3-x+4)^5}\)
AnswerSolution\(\frac{1}{3}(x^4+x^2+1)^{-2/3}(4x^3+2x)-\dfrac{5(3x^2-1)}{(x^3-x+4)^6}\)\(\begin{aligned}y' \amp = \diff{}{x} \left(\sqrt[3]{x^4+x^2+1}+\frac{1}{(x^3-x+4)^5}\right)\\ \amp = \frac{1}{3} (x^4+x^2+1)^{-2/3}\diff{}{x} (x^4+x^2+1) -5(x^3-x+4)^{-6}\diff{}{x}(x^3-x+4) \\ \amp = \frac{4x^3+2x}{3}(x^4+x^2+1)^{-2/3} - 5(x^3-x+4)^{-6} (3x^2-1) \end{aligned}\)
-
\(y=\sin^3 x-\sin(x^3)\)
AnswerSolution\(3\sin^2 x\cos x-3x^2\cos(x^3)\)\(\begin{aligned}y' \amp = \diff{}{x} \left(\sin^3 x - \sin(x^3)\right)\\ \amp = 3\sin^2 x \diff{}{x} \sin x - \cos(x^3) \diff{}{x} x^3 \\ \amp = 3\sin^2 x \cos x - 3x^2\cos(x^3) \end{aligned}\)
-
\(F(x)=\sec^4 x+\tan^4 x\)
AnswerSolution\(4\sec^4 x\tan x + 4\tan^3 x\sec^2 x\)\(\begin{aligned}F'(x) \amp = \diff{}{x}\left(\sec^4x+\tan^4x\right) \\ \amp = 4\sec^3x(\tan x \sec x) + 4\tan^3 x(\sec^2 x)\\ \amp =4\sec^4 x \tan x+ 4\tan^3\sec^2 x \end{aligned}\)
-
\(y=\cos^2\left(\dfrac{1-x}{1+x}\right)\)
AnswerSolution\(\dfrac{4}{(1+x)^2}\cos\left(\dfrac{1-x}{1+x}\right)\sin\left(\dfrac{1-x}{1+x}\right)\)\(\begin{aligned}y'\amp =\diff{}{x} \cos^2\left(\frac{1-x}{1+x}\right)\\ \amp = -2\cos\left(\frac{1-x}{1+x}\right)\sin\left(\frac{1-x}{1+x}\right)\cdot \frac{-(1+x)-(1-x)}{(1+x)^2}\\ \amp = \frac{4}{(1+x)^2}\cos\left(\frac{1-x}{1+x}\right)\sin\left(\frac{1-x}{1+x}\right) \end{aligned}\)
-
\(y=\tan(\sin(x^2+\sec^2 x))\)
AnswerSolution\((2x+2\sec^2 x\tan x)\sec^2(\sin(x^2+\sec^2 x))\cos(x^2+\sec^2 x)\)\(\begin{aligned}y' \amp = \diff{}{x} \tan(\sin(x^2+\sec^2 x)) \\ \amp = \sec^2(\sin(x^2+\sec^2 x)) \diff{}{x} \sin(x^2+\sec^2 x))\\ \amp = \sec^2(\sin(x^2+\sec^2 x)) \cos(x^2+\sec^2 x)) \diff{}{x} (x^2+\sec^2 x)\\ \amp = \sec^2(\sin(x^2+\sec^2 x)) \cos(x^2+\sec^2 x)) (2x + 2\sec x \tan x \sec x) \\ \amp = \sec^2(\sin(x^2+\sec^2 x)) \cos(x^2+\sec^2 x)) (2x + 2\sec^2 x \tan x) \end{aligned}\)
-
\(y=\dfrac{1}{2+\sin\frac{\pi}{x}}\)
Answer\(-\dfrac{\pi\cos\frac{\pi}{x}}{x^2(2+\sin\frac{\pi}{x})^2}\)
Exercise 4.9.4.
Differentiate the following functions.
-
\(y=e^{3x}+e^{-x}+e^2\)
AnswerSolution\(3e^{3x}-e^{-x}\)\(y' = \diff{}{x} \left(e^{3x}+e^{-x}+e^2\right) = 3e^{3x}-e^x\text{.}\)
-
\(y=e^{2x}\cos 3x\)
AnswerSolution\(2e^{2x}\cos 3x-3e^{2x}\sin 3x\)\(y' = \diff{}{x} e^{2x}\cos(3x) = 2e^{2x}\cos(3x) - 3e^{2x}\sin(x)\)
-
\(f(x)=\tan(x+e^x)\)
AnswerSolution\((1+e^x)\sec^2(x+e^x)\)\(y' = \diff{}{x} \tan(x+e^x) = (1+e^x)\sec^2(x+e^x)\)
-
\(g(x)=\dfrac{e^x}{e^x+2}\)
AnswerSolution\(2e^x/(e^x+2)^2\)\(g'(x) = \diff{}{x} \dfrac{e^x}{e^x+2} = \dfrac{e^x(e^x+2)-e^{2x}}{(e^x+2)^2} = \dfrac{2e^x}{(e^x+2)^2}\)
-
\(y=\ln(2+\sin x)-\sin(2+\ln x)\)
AnswerSolution\(\dfrac{\cos x}{2+\sin x}-\dfrac{\cos(2+\ln x)}{x}\)\(y' = \diff{}{x} \ln(2+\sin x) - \sin(2+\ln x) = \frac{\cos x}{2+\sin(x)} - \dfrac{\cos(2+\ln x)}{x}\)
-
\(f(x)=e^{x^{\pi}}+x^{\pi^{e}}+\pi^{e^x}\)
AnswerSolution\(e^{x^{\pi}}\cdot\pi x^{\pi-1}+\pi^e x^{\pi^e-1}+\pi^{e^x}\ln\pi\cdot e^x\)\(f'(x) = \diff{}{x} \left(e^{x^{\pi}} + x^{\pi^e} + \pi^{e^x}\right) =e^{x^{\pi}}\cdot\pi x^{\pi-1}+\pi^e x^{\pi^e-1}+\pi^{e^x}\ln\pi\cdot e^x\)
- \(y=\log _{a}(b^x)+b^{\log_a x}\text{,}\) where \(a\) and \(b\) are positive real numbers and \(a\neq 1\text{.}\) AnswerSolution\(\log_{a}b+(\log_{a}b) x^{(\log_{a}b)-1}\)
\(y' = \diff{}{x} \log_a (b^x) + b^{\log_a x} = \log_{a}b+(\log_{a}b) x^{(\log_{a}b)-1}\)
-
\(y=(x^2+1)^{x^3+1}\)
AnswerSolution\((x^2+1)^{x^3+1}\left(3x^2\ln(x^2+1)+\dfrac{2x(x^3+1)}{x^2+1}\right)\)\(y' = \diff{}{x} (x^2+1)^{x^3+1} = (x^2+1)^{x^3+1}\left(3x^2\ln(x^2+1)+\dfrac{2x(x^3+1)}{x^2+1}\right)\)
-
\(y=(x^2+e^x)^{1/\ln x}\)
AnswerSolution\(\dfrac{(x^2+e^x)^{1/\ln x}}{(\ln x)^2}\left(\dfrac{2x+e^x}{x^2+e^x}\ln x-\dfrac{ln(x^2+e^x)}{x}\right)\)\(\begin{aligned}y \amp = (x^2+e^x)^{1/\ln x}\\ \ln(y) \amp = \frac{1}{\ln(x)} \ln(x^2+e^x)\\ \diff{}{x} \ln(y) \amp = \diff{}{x} \frac{1}{\ln(x)} \ln(x^2+e^x) \\ \frac{y'}{y} \amp = \frac{1}{(\ln(x))^2} \left(\ln(x) \frac{2x+e^x}{x^2+e^x} - \frac{\ln(x^2+e^x)}{x} \right)\\ y' \amp = \frac{y}{(\ln(x))^2} \left(\ln(x) \frac{2x+e^x}{x^2+e^x} - \frac{\ln(x^2+e^x)}{x} \right)\\ y' \amp = \frac{(x^2+e^x)^{1/\ln(x)}}{(\ln(x))^2} \left( \frac{\ln(x) (2x+e^x)}{x^2+e^x} - \frac{\ln(x^2+e^x)}{x}\right) \end{aligned}\)
-
\(y=\dfrac{x\sqrt{x^2+x+1}}{(2+\sin x)^4(3x+5)^7}\)
AnswerSolution\(\dfrac{x\sqrt{x^2+x+1}}{(2+\sin x)^4 (3x+5)^7} \left(\dfrac{1}{x}+\dfrac{2x+1}{2(x^2+x+1)}-\dfrac{4\cos x}{2+\sin x}-\dfrac{21}{3x+5}\right)\)\(\begin{aligned}\ln(y) \amp = \ln \left(\frac{x(x^2+x+1)^{1/2}}{(2+\sin(x))^4(3x+5)^7}\right) \\ \amp = \ln\left(x (x^2+x+1)^{1/2}\right)-\ln\left((2+\sin(x))^4(3x+5)^7\right) \\ \amp =\left[\ln(x) + \frac{1}{2}\ln(x^2+x+1)\right] - \left[ 4\ln(2+\sin(x))+7\ln(3x+5)\right] \end{aligned}\) We now differentiate: \(\begin{aligned}\frac{y'}{y} \amp =\diff{}{x} \left[\ln(x) + \frac{1}{2}\ln(x^2+x+1)\right] - \left[ 4\ln(2+\sin(x))+7\ln(3x+5)\right] \\ \amp = y\left[\frac{1}{x} + \frac{2x+1}{2(x^2+x+1)} - \frac{4\cos(x)}{2+\sin(x)} - \frac{21}{3x+5} \right]\\ \amp =\frac{x\sqrt{x^2+x+1}}{(2+\sin(x))^4(3x+5)^7} \left[ \frac{1}{x} + \frac{2x+1}{2(x^2+x+1)} - \frac{4\cos(x)}{2+\sin(x)} - \frac{21}{3x+5} \right] \end{aligned}\)
Exercise 4.9.5.
Find \(\dfrac{dy}{dx}\) if \(y\) is a differentiable function that satisfy the given equation.
-
\(x^2+xy+y^2=7\)
AnswerSolution\(-(2x+y)/(x+2y)\)\(\begin{aligned}\amp \diff{}{x} \left(x^2+xy+y^2\right) = \diff{}{x} (7)\\ \amp 2x + y + xy'+2yy' = 0 \\ \amp (x+2y)y' = -2x-y \\ \amp y' = -\frac{2x+y}{x+2y} \end{aligned}\)
-
\(x^2+y^2=(2x^2+2y^2-x)^2\)
AnswerSolution\(\dfrac{x-(2x^2+2y^2-x) (4x-1)}{4y(2x^2+2y^2-x)-y}\)\(\begin{aligned}\amp \diff{}{x} \left(x^2+y^2\right) = \diff{}{x} \left(2x^2+2y^2-x\right)^2 \\ \amp 2x + 2yy' = 2\left(2x^2+2y^2-x\right) \left(4x + 4yy' - 1\right) \\ \amp yy' -4yy'\left(2x^2+2y^2-x\right) = -x +\left(2x^2+2y^2-x\right) (4x-1) \\ \amp y' = \frac{-x +\left(2x^2+2y^2-x\right) (4x-1)} { y-4y\left(2x^2+2y^2-x\right) } \end{aligned}\)
-
\(x^2\sin y+y^3=\cos x\)
AnswerSolution\(-\dfrac{\sin x+2x\sin y}{x^2\cos y+3y^2}\)\(\begin{aligned}\amp \diff{}{x} (x^2\sin y + y^3) = \diff{}{x} \cos x\\ \amp 2x \sin y + x^2\cos y y' + 3y^2 y' = -\sin x \\ \amp x^2\cos y y' + 3y^2 y' = -\sin x - 2x \sin y\\ \amp y' = \frac{-\sin x - 2x \sin y}{x^2\cos y + 3y^2} \end{aligned}\)
-
\(x^2+xe^y=2y+e^x\)
AnswerSolution\(\dfrac{2x+e^y-e^x}{2-xe^y}\)\(\begin{aligned}\amp \diff{}{x} \left(x^2+xe^y\right) = \diff{}{x} \left(2y+e^x\right)\\ \amp 2x + e^y + xe^yy' = 2y' + e^x \\ \amp (xe^y - 2) y' = -2x - e^y + e^x \\ \amp y' = \dfrac{e^x-2x-e^y}{xe^y-2} \end{aligned}\)
Exercise 4.9.6.
Differentiate the following functions.
-
\(y=x\sin^{-1}x\)
AnswerSolution\(\sin^{-1}x+x/\sqrt{1-x^2}\)\(\begin{aligned}\diff{y}{x} \amp = \diff{}{x} x\sin^{-1} x\\ \amp = \sin^{-1} x + \frac{x}{\sqrt{1-x^2}} \end{aligned}\)
-
\(f(x)=\dfrac{\sin^{-1}x}{\cos^{-1}x}\)
AnswerSolution\(\dfrac{\cos^{-1}x+\sin^{-1}x}{(\cos^{-1}x)^2 \sqrt{1-x^2}}\)\(\begin{aligned}f'(x) \amp = \diff{}{x} \frac{\sin^{-1} x}{\cos^{-1} x} \\ \amp = \frac{\cos^{-1} x\diff{}{x} \sin^{-1} x -\sin^{-1} x \diff{}{x} \cos^{-1} x}{(\cos^{-1} x)^2}\\ \amp = \frac{\frac{\cos^{-1} x}{\sqrt{1-x^2}} +\frac{\sin^{-1} x}{\sqrt{1-x^2}} }{(\cos^{-1} x)^2}\\ \amp = \frac{\cos^{-1} x + \sin^{-1} x}{(\cos^{-1} x)^2\sqrt{1-x^2}} \end{aligned}\)
-
\(g(x)=\tan^{-1}\left(\dfrac{x}{a}\right)\text{,}\) where \(a>0\)
AnswerSolution\(a/(x^2+a^2)\)\(\begin{aligned}g'(x) \amp = \diff{}{x} \tan^{-1}\left(\frac{x}{a}\right) \\ \amp = \frac{1}{1+x^2/a^2} \diff{}{x} \frac{x}{a} \\ \amp = \frac{1}{a+x^2/a}\\ \amp = \frac{a}{x^2+a^2} \end{aligned}\)
-
\(y=x\tan^{-1}x-\dfrac{1}{2}\ln(x^2+1)\)
AnswerSolution\(\tan^{-1}x\)\(\begin{aligned}y' \amp = \diff{}{x} x\tan^{-1} x - \frac{1}{2} \ln(x^2+1) \\ \amp = \tan^{-1} x + \frac{x}{1+x^2} - \frac{2x}{2(x^2+1)}\\ \amp = \tan^{-1} x \end{aligned}\)