Implicit Differentiation
If a function is described by the equation y = f (x) where the variable y is on the left side, and the right side depends only on the independent variable x, then the function is said to be given explicitly. For example, the following functions are defined explicitly:
In many problems, however, the function can be defined in implicit form, that is by the equation
Of course, any explicit function can be written in an implicit form. So the above functions can be represented as
The inverse transformation cannot be always performed. There are often functions defined by an implicit equation that cannot be resolved with respect to the variable \(y.\) Examples of such implicit functions are
The good news is that we do not need to convert an implicitly defined function into an explicit form to find the derivative \(y'\left( x \right).\) If \(y\) is defined implicitly as a function of \(x\) by an equation \(F\left( {x,y} \right) = 0,\) we proceed as follows:
- Differentiate both sides of the equation with respect to \(x\), assuming that \(y\) is a differentiable function of \(x\) and using the chain rule. The derivative of zero (in the right side) will also be equal to zero.
Note: If the right side is different from zero, that is the implicit equation has the form\[f\left( {x,y} \right) = g\left( {x,y} \right),\]then we differentiate the left and right side of the equation. - Solve the resulting equation for the derivative \(y'\left( x \right)\).
In the examples below find the derivative of the implicit function.
Solved Problems
Example 1.
Find the derivative of the function given by the equation \({y^2} = 2px,\) where \(p\) is a parameter.
Solution.
This equation is the canonical equation of a parabola. Differentiating the left and right sides with respect to \(x\), we have:
Example 2.
Differentiate implicitly the function \(y\left( x \right)\) given by the equation \(y = \cos \left( {x + y} \right).\)
Solution.
Differentiate both sides with respect to \(x:\)
which results in
Example 3.
Calculate the derivative at the point \(\left( {0,0} \right)\) of the function given by the equation \(x = y - 2\sin y.\)
Solution.
We differentiate both sides of the equation with respect to \(x\) and solve for \(y^\prime:\)
Substitute the coordinates \(\left( {0,0} \right):\)
Example 4.
Find the equation of the tangent line to the curve \({x^4} + {y^4} = 2\) at the point \(\left( {1,1} \right).\)
Solution.
Differentiate both sides of the equation with respect to \(x:\)
Then \(y' = - {\frac{{{x^3}}}{{{y^3}}}}\). At the point \(\left( {1,1} \right)\) we have \(y'\left( 1 \right) = - 1.\) Hence, the equation of the tangent line is given by
Example 5.
Calculate the derivative of the function \(y\left( x \right)\) given by the equation \({x^2} + 2xy + 2{y^2} = 1\) under condition \(y = 1.\)
Solution.
We differentiate both sides of the equation implicitly with respect to \(x\) (we consider the left side as a composite function and use the chain rule):
When \(y = 1,\) the original equation becomes
Substituting the values \(x = -1\) and \(y = 1\), we obtain:
It follows from here that \(y' = 0\) at \(y = 1.\)
Example 6.
Given the equation of a circle \({x^2} + {y^2} = {r^2}\) of radius \(r\) centered at the origin. Find the derivative \(y'\left( x \right).\)
Solution.
Differentiate both sides of the equation with respect to \(x:\)
In this case, we can solve for \(y\) directly from the equation for the upper half-circle: \(y = + \sqrt {{r^2} - {x^2}} .\) So we get
Example 7.
\[{x^2} + {y^2} - 2x - 4y = 4\]
Solution.
We take the derivative of each term treating \(y\) as a function of \(x.\)
Solve this equation for \(y^\prime:\)
Example 8.
\[{x^3} + {y^3} = 3xy\]
Solution.
We differentiate the left and right sides of the equation with respect to \(x\) considering \(y\) as a composite function of \(x:\)
From this relation we find \(y':\)
This derivative exists provided
Example 9.
\[{x^3} + 2{y^3} + y{x^2} = 3\]
Solution.
Differentiate both sides term-by-term with respect to \(x:\)
Solve this equation for \(y^\prime:\)
Example 10.
Calculate the derivative at the point \(\left( {0,0} \right)\) of the function given by the equation \[{x^5} + {y^5} - 2x + 2y = 0.\]
Solution.
We differentiate this equation with respect to \(x\) and solve for \(y^\prime:\)
Substitute the coordinates \(x = 0,\) \(y = 0:\)