Difference between revisions of "Implicit Differentiation"
Line 13: | Line 13: | ||
We want to find derivatives of these functions without having to solve | We want to find derivatives of these functions without having to solve | ||
for <math>y</math> explicitly. We can do this by implicit differentiation, | for <math>y</math> explicitly. We can do this by implicit differentiation, | ||
− | + | in which we take the derivative of both sides of our equation with respect | |
to <math>x</math>, and do some algebra steps to solve for <math>y'</math> (or <math>\dfrac{dy}{dx}</math> | to <math>x</math>, and do some algebra steps to solve for <math>y'</math> (or <math>\dfrac{dy}{dx}</math> | ||
− | if you prefer), keeping in mind that <math>y</math> is a function of <math>x</math> | + | if you prefer), keeping in mind that <math>y</math> is a function of <math>x</math> throughout |
the equation. | the equation. | ||
+ | |||
+ | |||
+ | == Example 1 == | ||
+ | |||
+ | 1. Find <math>y'</math> if <math>\sin y-3x^{2}y=8</math>. | ||
+ | |||
+ | [Momentarily think of <math>y=f\left(x\right)</math> and view the equation as <math>\sin\left(f\left(x\right)\right)-3x^{2}\cdot f\left(x\right)=8</math> | ||
+ | to realize that the <math>\sin\left(f\left(x\right)\right)</math> term requires | ||
+ | the chain rule and the <math>3x^{2}\cdot f\left(x\right)</math> term needs the | ||
+ | product rule when we differentiate with respect to <math>x</math>, while the derivative | ||
+ | of 8 is just 0.] | ||
+ | |||
+ | So we get | ||
+ | \[ | ||
+ | \begin{array}{rcl} | ||
+ | \sin y-3x^{2}y & = & 8\\ | ||
+ | \left(\cos y\right)\cdot y'-\left(3x^{2}y'+6xy\right) & = & 0\quad\textrm{(derivative of both sides with respect to \ensuremath{x})}\\ | ||
+ | \left(\cos y\right)\cdot y'-3x^{2}y' & = & 6xy\\ | ||
+ | \left(\cos y-3x^{2}\right)y' & = & 6xy\\ | ||
+ | y' & = & \dfrac{6xy}{\cos y-3x^{2}} | ||
+ | \end{array} | ||
+ | \] |
Revision as of 21:45, 16 November 2015
Background
So far, you may only have differentiated functions written in the form . But some functions are better described by an equation involving and . For example, describes the graph of a circle with center and radius 4, and is really the graph of two functions: .
Sometimes, functions described by equations in and are too hard to solve for , for example . This equation really describes 3 different functions of x, whose graph is the curve:
We want to find derivatives of these functions without having to solve for explicitly. We can do this by implicit differentiation, in which we take the derivative of both sides of our equation with respect to , and do some algebra steps to solve for (or if you prefer), keeping in mind that is a function of throughout the equation.
Example 1
1. Find if .
[Momentarily think of and view the equation as to realize that the term requires the chain rule and the term needs the product rule when we differentiate with respect to , while the derivative of 8 is just 0.]
So we get \[ \begin{array}{rcl} \sin y-3x^{2}y & = & 8\\ \left(\cos y\right)\cdot y'-\left(3x^{2}y'+6xy\right) & = & 0\quad\textrm{(derivative of both sides with respect to \ensuremath{x})}\\ \left(\cos y\right)\cdot y'-3x^{2}y' & = & 6xy\\ \left(\cos y-3x^{2}\right)y' & = & 6xy\\ y' & = & \dfrac{6xy}{\cos y-3x^{2}} \end{array} \]