2.9: Implicit and Logarithmic Differentiation
- Page ID
- 212019
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)This short section presents two more differentiation techniques, both more specialized than the ones we have already seen — and consequently used on a smaller class of functions. For some functions, however, one of these techniques may be the only method that works. The idea of each method is straightforward, but actually using each of them requires that you proceed carefully and practice.
Implicit Differentiation
In our work up until now, the functions we needed to differentiate were either given explicitly as a function of \(x\), such as \(y = f(x) = x^2 + \sin(x)\), or it was fairly straightforward to find an explicit formula, such as solving \(y^3 - 3x^2 = 5\) to get \(y =\sqrt[3]{5 + 3x^2}\). Sometimes, however, we will have an equation relating \(x\) and \(y\) that is either difficult or impossible to solve explicitly for \(y\), such as \(y^2 + 2y = \sin(x) + 4\) (difficult) or \(y + \sin(y) = x^3 - x\) (impossible). In each case, we can still find \(y' = f'(x)\) by using implicit differentiation.
The key idea behind implicit differentiation is to assume that \(y\) is a function of \(x\) even if we cannot explicitly solve for \(y\). This assumption does not require any work, but we need to be very careful to treat \(y\) as a function when we differentiate and to use the Chain Rule or the Power Rule for Functions.
Assume \(y\) is a function of \(x\) and compute each derivative:
- \(\mbox{D}( y^3)\)
- \(\displaystyle \frac{d}{dx} \left( x^3 y^2 \right)\)
- \(\left( \sin(y) \right)'\)
Solution
- We need the Power Rule for Functions because \(y\) is a function of \(x\):\[\mbox{D}( y^3 ) = 3 y^2\cdot \mbox{D}( y ) = 3 y^2 \cdot y'\nonumber\]
- We need to use the Product Rule and the Chain Rule:\[\frac{d}{dx} \left( x^3 y^2 \right) = x^3 \cdot\frac{d}{dx} \left( y^2 \right) + y^2 \cdot \frac{d}{dx} \left( x^3\right) = x^3 \cdot 2 y \cdot \frac{dy}{dx} + y^2 \cdot 3x^2\nonumber\]
- We just need to remember that \(\mbox{D}( \sin(u) ) = \cos(u)\) and then use the Chain Rule: \(\left( \sin( y ) \right)' = \cos( y ) \cdot y'\).
Assume that \(y\) is a function of \(x\). Calculate:
- \(\mbox{D}\left( x^2 + y^2\right)\)
- \(\displaystyle \frac{d}{dx} \left( \sin(2 + 3y) \right)\).
- Answer
-
\(\mbox{D}( x^2 + y^2) = 2x + 2y\cdot y'\)
\(\frac{d}{dx} \left( \sin(2 + 3y) \right) = \cos(2 + 3y)\cdot \mbox{D}( 2 + 3y ) = \cos(2 + 3y)\cdot 3y'\)
To determine \(y'\), differentiate each side of the defining equation, treating \(y\) as a function of \(x\), and then algebraically solve for \(y'\).
Find the slope of the tangent line to the circle \(x^2 + y^2 = 25\) at the point \((3,4)\) with and without implicit differentiation.
Solution
Explicitly: We can solve \(x^2 + y^2 = 25\) for \(y\): \(y = \pm\sqrt{ 25 - x^2}\) but because the point \((3,4)\) is on the top half of the circle:

we just need \(y = \sqrt{25 - x^2}\) so:\[\mbox{D}( y ) = \mbox{D}\left( \sqrt{25 - x^2}\right) = \frac12 \left( 25 - x^2 \right)^{-\frac12} \cdot (-2x) = \frac{-x}{\sqrt{25 - x^2}}\nonumber\]Replacing \(x\) with \(3\), we have \(y' = \frac{-3}{\sqrt{25 - 3^2}} = -\frac34\).
Implicitly: We differentiate each side of the equation \(x^2 + y^2 = 25\) treating \(y\) as a function of \(x\) and then solve for \(y'\):\[\mbox{D}\left( x^2 + y^2\right) = \mbox{D}( 25 ) \ \Rightarrow \ 2x + 2y\cdot y' = 0 \ \Rightarrow y' = \frac{-2x}{2y} = -\frac{x}{y}\nonumber\]so at the point \((3,4)\), \(y' = -\frac34\), the same answer we found explicitly.
Find the slope of the tangent line to \(y^3 - 3x^2 = 15\) at the point \((2,3)\) with and without implicit differentiation.
- Answer
-
Explicitly: \(\displaystyle y' = \frac13 \left(3x^2 + 15\right)^{-\frac23}\mbox{D}\left(3x^2 + 15 \right) = \frac13 \left(3x^2 + 15\right)^{-\frac23}(6x)\). When \((x,y) = (2,3)\), \(y' = \frac13 \left( 3(2)^2 + 15 \right)^{\frac23}(6\cdot2) = 4\left( 27 \right)^{-\frac23} = \frac49\).
Implicitly: \(\displaystyle \mbox{D}\left( y^3- 3x^2\right) = \mbox{D}( 15 ) \Rightarrow 3y^2\cdot y' - 6x = 0\) so \(y' = \frac{2x}{y^2}\).
When \((x,y) = (2,3)\), \(\displaystyle y' = \frac{2\cdot2}{3^2} = \frac49\).
In the previous Example and Practice problem, it was easy to explicitly solve for \(y\), and then we could differentiate \(y\) to get \(y'\). Because we could explicitly solve for \(y\), we had a choice of methods for calculating \(y'\). Sometimes, however, we cannot explicitly solve for \(y\) and the only way to determine \(y'\) is with implicit differentiation.
Determine \(y'\) at \((0,2)\) for \(y^2 + 2y = \sin(x) + 8\).
Solution
Assuming that \(y\) is a function of \(x\) and differentiating each side of the equation, we get:
\begin{align*}\mbox{D}\left( y^2 + 2y \right) &= \mbox{D}\left( \sin(x) + 8 \right) \ \Rightarrow \ 2y\cdot y' + 2y' = \cos(x)\\
&\Rightarrow \ (2y + 2) y' = \cos(x) \ \Rightarrow y' = \frac{\cos(x)}{2y + 2}\end{align*}
so, at the point \((0,2)\), \(\displaystyle y' = \frac{\cos(0)}{2(2) + 2} = \frac16\). (We could have first solved the equation explicitly for \(y\) using the quadratic formula. Do you see how? Would that make the problem easier or harder than using implicit differentiation?)
Determine \(y'\) at \((1,0)\) for \(y + \sin(y) = x^3 - x\).
- Answer
-
\(y + \sin(y) = x^3 - x \Rightarrow \mbox{D}\left( y + \sin(y) \right) = \mbox{D}\left(x^3- x \right) \Rightarrow y' + \cos(y)\cdot y' = 3x^2- 1 \Rightarrow y'\cdot\left( 1 + \cos(y) \right) = 3x^2- 1\), so we have \(y' = \frac{3x^2- 1}{1 + \cos(y)}\). When \((x,y) = (1,0)\), \(\displaystyle y' = \frac{3(1)^2- 1}{1 + \cos(0)} = 1\).
In practice, the equations may be rather complicated, but if you proceed carefully and step by step, implicit differentiation is not difficult. Just remember that \(y\) must be treated as a function so every time you differentiate a term containing a \(y\) you should use the Chain Rule and get something that has a \(y'\). The algebra needed to solve for \(y'\) is always easy — if you differentiated correctly, the resulting equation will be a linear equation in the variable \(y'\).
Find an equation of the tangent line \(L\) to the “tilted” \(x^2 + 2xy + y^2 + 3x - 7y + 2 = 0\) (graphed below) at the point \((1, 2)\).

Solution
The line goes through the point \((1, 2)\) so we need to find the slope there. Differentiating each side of the equation, we get:\[\mbox{D}\left( x^2 + 2xy + y^2 + 3x - 7y + 2 \right) = \mbox{D}( 0 )\nonumber\]which yields:
\begin{align*}2x + 2x\cdot y' + 2y + 2y\cdot y' + 3 - 7y' &= 0\\
\Rightarrow \ (2x + 2y - 7) y' &= -2x - 2y - 3\\
\Rightarrow \ y' &= \frac{-2x - 2y - 3}{2x + 2y - 7}\end{align*}
so the slope at \((1,2)\) is \(\displaystyle m = y' = \frac{-2 - 4 - 3}{2 + 4 - 7} = 9\). Finally, an equation for the line is \(y - 2 = 9(x - 1)\) so \(y = 9x - 7\).
Find the points where the parabola graphed above crosses the \(y\)-axis, and find the slopes of the tangent lines at those points.
- Answer
-
To find where the parabola crosses the \(y\)-axis, we can set \(x = 0\) and solve for the values of \(y\): \(y^2 - 7y + 2 = 0 \Rightarrow y = \frac{7 \pm \sqrt{(-7)^2 - 4(1)(2)}}{2(1)} = \frac{7 \pm \sqrt{41}}{2} \approx 0.3\) and \(6.7\). The parabola crosses the \(y\)-axis (approximately) at the points \((0, 0.3)\) and \((0, 6.7)\). From Example 4, we know that \(\displaystyle y' = \frac{-2x - 2y - 3}{2x + 2y -7}\), so at the point \((0, 0.3)\), the slope is approximately \(\displaystyle \frac{0 - 0.6 - 3}{0 + 0.6 - 7} \approx 0.56\), and at the point \((0, 6.7)\), the slope is approximately \(\displaystyle \frac{0 - 13.4 - 3}{0 + 13.4 - 7} \approx -2.56\).
Implicit differentiation provides an alternate method for differentiating equations that can be solved explicitly for the function we want, and it is the only method for finding the derivative of a function that we cannot describe explicitly.
Logarithmic Differentiation
In Section 2.5 we saw that \(\displaystyle D\left( \ln( f(x) ) \right) = \frac{f'(x)}{f(x)}\). If we simply multiply each side by \(f(x)\), we have: \(f'(x) = f(x)\cdot \mbox{D}\left( \ln( f(x) ) \right)\). When the logarithm of a function is simpler than the function itself, it is often easier to differentiate the logarithm of \(f\) than to differentiate \(f\) itself.
\[f'(x) = f(x)\cdot \mbox{D}\left( \ln( f(x) ) \right)\nonumber\]
In words: The derivative of \(f\) is \(f\) times the derivative of the natural logarithm of \(f\). Usually it is easiest to proceed in three steps:
- Calculate \(\ln\left( f(x) \right)\) and simplify.
- Calculate \(\mbox{D}\left( \ln( f(x) ) \right)\) and simplify
- Multiply the result in the previous step by \(f(x)\).
Let’s examine what happens when we use this process on an “easy” function, \(f(x) = x^2\), and a “hard” one, \(f(x) = 2^x\). Certainly we don't need to use logarithmic differentiation to find the derivative of \(f(x) = x^2\), but sometimes it is instructive to try a new algorithm on a familiar function.
\(f(x) = x^2\):
- \(\ln\left( f(x) \right) = \ln( x^2 ) = 2\cdot \ln(x)\)
- \(\mbox{D}\left( \ln\left( f(x) \right) \right) = \mbox{D}\left( 2\cdot \ln(x) \right) = \frac{2}{x}\)
- \(f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right) = x^2 \cdot \frac{2}{x} = 2x\)
\(f(x) = 2^x\):
- \(\ln\left( f(x) \right) = \ln( 2^x ) = x \cdot \ln(2)\)
- \(\mbox{D}\left( \ln\left( f(x) \right) \right) = \mbox{D}\left( x\cdot \ln(2) \right) = \ln(2)\)
- \(f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right) = 2^x \cdot \ln(2)\)
Logarithmic differentiation is the easiest way to find the derivative of \(f(x) = 2^x\) (if we don't remember the pattern for differentiating \(a^x\) from Section 2.5).
Use the pattern \(f'(x) = f(x)\cdot \mbox{D}\left( \ln( f(x) ) \right)\) to find the derivative of \(f(x) = (3x+7)^5 \sin(2x)\).
Solution
Apply the natural logarithm to both sides and rewrite:\[\ln\left( f(x) \right) = \ln\left( (3x+7)^5 \cdot \sin(2x) \right) = 5\ln(3x+7) + \ln\left( \sin(2x) \right)\nonumber\]so:
\begin{align*}
\mbox{D} \left( \ln( f(x) ) \right) &= \mbox{D}\left( 5\ln(3x+7) + \ln \left( \sin(2x) \right) \right)\\
&= 5\cdot\frac{3}{3x+7} + 2\cdot\frac{\cos(2x)}{\sin(2x)}\end{align*}
Then:
\begin{align*}
f'(x) &= f(x)\cdot\mbox{D}\left( \ln( f(x) ) \right)\\
&= (3x+7)^5\sin(2x) \left(\frac{15}{3x+7} + 2\cdot\frac{\cos(2x)}{\sin(2x)}\right)\\
&= 15(3x+7)^4\sin(2x) + 2(3x+7)^5\cos(2x)
\end{align*}
the same result we would obtain using the Product Rule.
Use logarithmic differentiation to find the derivative of \(f(x) = (2x+1)^3 (3x^2 - 4)^7 (x+7)^4\).
- Answer
-
Applying the formula \(f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right)\) to the function \(f(x) = (2x + 1)^3 (3x^2 - 4)^7 (x + 7)^4\),
we have:\[\ln\left( f(x) \right) = 3\cdot \ln(2x + 1) + 7\cdot \ln(3x^2 - 4) + 4\cdot \ln(x + 7)\nonumber\]so:\[\mbox{D}\left( \ln\left( f(x) \right) \right) = \frac{3}{2x + 1}(2) + \frac{7}{3x^2- 4}(6x) + \frac{4}{x + 7} (1)\nonumber\]and thus:\[f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right) = (2x + 1)^3 (3x^2 - 4)^7 (x + 7)^4 \cdot \left[ \frac{6}{2x + 1} + \frac{42x}{3x^2- 4} + \frac{4}{x + 7}\right]\nonumber\]
We could have differentiated the functions in the previous Example and Practice problem without logarithmic differentiation. There are, however, functions for which logarithmic differentiation is the only method we can use. We know how to differentiate \(x\) raised to a constant power, \(\mbox{D}\left( x^p\right) = p \cdot x^{p-1}\), and a constant to a variable power, \(\mbox{D}\left(b^x\right) = b^x \ln(b)\), but the function \(f(x) = x^x\) has both a variable base and a variable power, so neither differentiation rule applies. We need to use logarithmic differentiation.
Find \(\mbox{D}\left( x^x\right)\), assuming that \(x > 0\).
Solution
Apply the natural logarithm to both sides and rewrite:\[\ln\left( f(x) \right) = \ln\left( x^x \right) = x\cdot \ln( x )\nonumber\]so:
\begin{align*}\mbox{D}\left( \ln\left( f(x) \right) \right) &= \mbox{D}\left( x \cdot \ln( x ) \right) = x\cdot \mbox{D}\left( \ln( x ) \right) + \ln(x) \cdot \mbox{D}( x )\\
&= x\cdot \frac{1}{x} + \ln(x) \cdot 1 = 1 + \ln(x)\end{align*}
Then \(\mbox{D}\left( x^x \right) = f'(x) = f(x) \mbox{D}\left( \ln\left( f(x) \right) \right) = x^x \left( 1 + \ln(x) \right)\).
Find \(\displaystyle \mbox{D}\left( x^{\sin(x)} \right)\) assuming that \(x>0\).
- Answer
-
Using \(f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right)\) with \(\displaystyle f(x) = x^{\sin(x)}\):\[\ln\left( f(x) \right) = \ln\left( x^{\sin(x)} \right) = \sin(x)\cdot \ln( x )\nonumber\]so:\[D\left( \ln\left( f(x) \right) \right) = \mbox{D}\left( \sin(x)\cdot\ln( x ) \right) = \sin(x)\cdot \mbox{D}\left( \ln(x) \right) + \ln(x)\cdot \mbox{D}( \sin(x) ) = \sin(x)\cdot \frac{1}{x} + \ln(x)\cdot\cos(x)\nonumber\]and thus:\[f'(x) = f(x)\cdot \mbox{D}\left( \ln\left( f(x) \right) \right) = x^{\sin(x)}\cdot \left[ \frac{\sin(x)}{x} + \ln( x )\cdot\cos(x) \right]\nonumber\]
Logarithmic differentiation is an alternate method for differentiating some functions such as products and quotients, and it is the only method we've seen for differentiating some other functions such as variable bases to variable exponents.
Problems
In Problems 1–10 find \(\frac{dy}{dx}\) in two ways:
- by differentiating implicitly and
- by explicitly solving for \(y\) and then differentiating.
Then find the value of \(\frac{dy}{dx}\) at the given point using your results from both the implicit and the explicit differentiation.
- \(x^2 + y^2 = 100\), point: \((6, 8)\)
- \(x^2 + 5y^2 = 45\), point: \((5, 2)\)
- \(x^2 - 3xy + 7y = 5\), point: \((2,1)\)
- \(\sqrt{x} + \sqrt{y} = 5\), point: \((4,9)\)
- \(\displaystyle \frac{x^2}{9} + \frac{y^2}{16} = 1\), point: \((0,4)\)
- \(\displaystyle \frac{x^2}{9} + \frac{y^2}{16} = 1\), point: \((3,0)\)
- \(\ln(y) + 3x - 7 = 0\), point: \((2,e)\)
- \(x^2 - y^2 = 16\), point: \((5,3)\)
- \(x^2 - y^2 = 16\), point: \((5, -3)\)
- \(y^2 + 7x^3 - 3x = 8\), point: \((1,2)\)
- Find the slopes of the lines tangent to the graph of \(x=4y-y^2\) (see figure below) at the points \((3,1)\), \((3,3)\) and \((4,2)\).

- Find the slopes of the lines tangent to the graph of \(x=4y-y^2\) (see figure above) at the points where the graph crosses the \(y\)-axis.
- Find the slopes of the lines tangent to the graph of \(x=y^2-6y+5\) (see figure below) at the points \((5,0)\), \((5,6)\) and \((-4,3)\).
![A blue graph of the parabola x=y^2-6y+5 on the grid [-4,6]X[0,6].](https://math.libretexts.org/@api/deki/files/140283/fig209_4.png?revision=1&size=bestfit&width=469&height=374)
- Find the slopes of the lines tangent to the graph of \(x=y^2-6y+5\) (see figure above) at the points where the graph crosses the \(y\)-axis.
In Problems 15–22, find \(\frac{dy}{dx}\) using implicit differentiation and then find the slope of the line tangent to the graph of the equation at the given point.
- \(y^3 - 5y = 5x^2 + 7\), point: \((1,3)\)
- \(y^2 - 5xy + x^2 + 21 = 0\), point: \((2,5)\)
- \(y^2 + \sin(y) = 2x - 6\), point: \((3,0)\)
- \(y + 2x^2y^3 = 4x + 7\), point: \((3,1)\)
- \(e^y + \sin(y) = x^2- 3\), point: \((2,0)\)
- \(\displaystyle \left(x^2 + y^2 + 1\right)^2 - 4x^2 = 81\), point: \((0, 2\sqrt{2})\)
- \(\displaystyle x^{\frac23} + y^{\frac23} = 5\), point: \((8,1)\)
- \(x + \cos(xy) = y + 3\), point: \((2,0)\)
- Find the slope of the line tangent to the ellipse \(x^2+xy+y^2+3x-7y+4=0\) (shown in the figure below) at the point \((1, 2)\).

- Find the slopes of the tangent lines at the points where the ellipse \(x^2+xy+y^2+3x-7y+4=0\) (shown in the figure above) crosses the \(y\)-axis.
- Find \(y'\) for \(y = Ax^2 + Bx + C\) and for the equation \(x = Ay^2 + By + C\).
- Find \(y'\) for \(y = Ax^3 + B\) and for \(x = Ay^3 + B\).
- Find \(y'\) for \(Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0\).
- In Chapter 1 we assumed that the tangent line to a circle at a point was perpendicular to the radial line passing through that point and the center of the circle. Use implicit differentiation to prove that the line tangent to the circle \(x^2 + y^2 = r^2\):

at an arbitrary point \((x,y)\) is perpendicular to the line passing through \((0,0)\) and \((x,y)\).
Problems 29–31 use the figure from Problems 23–24.
- Find the coordinates of point \(A\) where the tangent line to the ellipse is horizontal.
- Find the coordinates of point \(B\) where the tangent line to the ellipse is vertical.
- Find the coordinates of points \(C\) and \(D\).
In 32–40, find \(\frac{dy}{dx}\) in two ways:
- by using the “usual” differentiation patterns and
- by using logarithmic differentiation.
- \(y = x\cdot \sin(3x)\)
- \(y = (x^2 + 5)^7 (x^3 - 1)^4\)
- \(\displaystyle y = \frac{\sin(3x - 1)}{x + 7}\)
- \(y = x^5 \cdot (3x + 2)^4\)
- \(y = 7^x\)
- \(\displaystyle y = e^{\sin(x)}\)
- \(y = \cos^7(2x + 5)\)
- \(y = \sqrt{25 - x^2}\)
- \(\displaystyle y = \frac{x\cdot \cos(x)}{x^2 + 1}\)
In Problems 41–46, use logarithmic differentiation to find \(\frac{dy}{dx}\).
- \(y = x^{\cos(x)}\)
- \(y = \left( \cos(x) \right)^x\)
- \(y = x^4 \cdot (x - 2)^7 \cdot \sin(3x)\)
- \(\displaystyle y = \frac{\sqrt{x + 10}}{(2x + 3)^3 \cdot (5x - 1)^7}\)
- \(y = \left(3 + \sin(x) \right)^x\)
- \(\displaystyle y = \sqrt{\frac{x^2 + 1}{x^2- 1}}\)
In Problems 47–50, use the values in each table to calculate the values of the derivative in the last column.
-
\(x\) \(f(x)\) \(\ln\left( f(x) \right)\) \(\mbox{D}\left( \ln\left( f(x) \right) \right)\) \(f'(x)\) \(1\) \(1\) \(0.0\) \(1.2\) \(2\) \(9\) \(2.2\) \(1.8\) \(3\) \(64\) \(4.2\) \(2.1\) -
\(x\) \(g(x)\) \(\ln\left( g(x) \right)\) \(\mbox{D}\left( \ln\left( g(x) \right) \right)\) \(g'(x)\) \(1\) \(5\) \(1.6\) \(0.6\) \(2\) \(10\) \(2.3\) \(0.7\) \(3\) \(20\) \(3.0\) \(0.8\) -
\(x\) \(f(x)\) \(\ln\left( f(x) \right)\) \(\mbox{D}\left( \ln\left( f(x) \right) \right)\) \(f'(x)\) \(1\) \(5\) \(1.6\) \(-1\) \(2\) \(2\) \(0.7\) \(0\) \(3\) \(7\) \(1.9\) \(2\) -
\(x\) \(g(x)\) \(\ln\left( g(x) \right)\) \(\mbox{D}\left( \ln\left( g(x) \right) \right)\) \(g'(x)\) \(2\) \(1.4\) \(0.3\) \(1.2\) \(3\) \(3.3\) \(1.2\) \(0.6\) \(7\) \(13.6\) \(2.6\) \(0.2\)
Problems 51–55 illustrate how logarithmic differentiation can be used to verify some differentiation patterns we already know (51–52, 54) and to derive some new patterns (53, 55). Assume that all of the functions are differentiable and that the function combinations are defined.
- Use logarithmic differentiation on \(f\cdot g\) to re-derive the Product Rule: \(\mbox{D}\left(f\cdot g \right) = f\cdot g' + g\cdot f'\).
- Use logarithmic differentiation on \(\displaystyle \frac{f}{g}\) to re-derive the quotient rule: \(\displaystyle \mbox{D}\left( \frac{f}{g} \right) = \frac{g\cdot f' - f\cdot g'}{g^2}\).
- Use logarithmic differentiation to obtain a product rule for three functions: \(\mbox{D}\left( f\cdot g \cdot h \right) =\)?.
- Use logarithmic differentiation on the exponential function \(a^x\) (with \(a>0\)) to show that its derivative is \(a^x \ln(a)\).
- Use logarithmic differentiation to determine a pattern for the derivative of \(\displaystyle f^g\): \(\mbox{D}\left( f^g \right) =\)?.
- In Section 2.1 we proved the Power Rule \(\mbox{D}(x^n) = n\cdot x^{n-1}\) for any positive integer \(n\).
- Why does this formula hold for \(n=0\)?
- Use the Quotient Rule to prove that \(\mbox{D}(x^{-m}) = -m\cdot x^{-m-1}\) for any positive integer \(m\) and conclude that the Power Rule holds for all integers.
- Now let \(\displaystyle y = x^{\frac{p}{q}}\) where \(p\) and \(q\) are integers so that \(y^q = x^p\). Use implicit differentiation to show that the Power Rule holds for all rational exponents. (We still have not considered the case where \(y = x^a\) with \(a\) an irrational number, because we haven't actually defined what \(x^a\) means for \(a\) irrational. We will take care of that — and the extension of the Power Rule to all real exponents — in Chapter 7.)

