Difference between revisions of "Implicit Differentiation"
| Line 22: | Line 22: | ||
:<math>x^2+y^2=1</math> | :<math>x^2+y^2=1</math> | ||
| − | This equation represents a circle of radius 1 centered on the origin. Note that <math>y</math> is not a function of <math>x</math> since it fails the | + | This equation represents a circle of radius 1 centered on the origin. Note that <math>y</math> is not a function of <math>x</math> since it fails the vertical line test (<math>y=\pm1</math> when <math>x=0</math> , for example). |
To find <math>y'</math> , first we can separate variables to get | To find <math>y'</math> , first we can separate variables to get | ||
Latest revision as of 15:44, 15 January 2022
Generally, you will encounter functions expressed in explicit form, that is, in the form . To find the derivative of with respect to , you take the derivative with respect to of both sides of the equation to get
But suppose you have a relation of the form . In this case, it may be inconvenient or even impossible to solve for as a function of . A good example is the relation . In this case you can utilize implicit differentiation to find the derivative. To do so, one takes the derivative of both sides of the equation with respect to and solves for . That is, form
and solve for . You need to employ the chain rule whenever you take the derivative of a variable with respect to a different variable. For example,
Contents
Implicit Differentiation and the Chain Rule
To understand how implicit differentiation works and use it effectively it is important to recognize that the key idea is simply the chain rule. First let's recall the chain rule. Suppose we are given two differentiable functions and that we are interested in computing the derivative of the function , the chain rule states that:
That is, we take the derivative of as normal and then plug in , finally multiply the result by the derivative of .
Now suppose we want to differentiate a term like with respect to where we are thinking of as a function of , so for the remainder of this calculation let's write it as instead of just . The term is just the composition of and . That is, . Recalling that then the chain rule states that:
Of course it is customary to think of as being a function of without always writing , so this calculation usually is just written as
Don't be confused by the fact that we don't yet know what is, it is some function and often if we are differentiating two quantities that are equal it becomes possible to explicitly solve for (as we will see in the examples below.) This makes it a very powerful technique for taking derivatives.
Explicit Differentiation
For example, suppose we are interested in the derivative of with respect to , where are related by the equation
This equation represents a circle of radius 1 centered on the origin. Note that is not a function of since it fails the vertical line test ( when , for example).
To find , first we can separate variables to get
Taking the square root of both sides we get two separate functions for :
We can rewrite this as a fractional power:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\pm(1-x^2)^{\frac{1}{2}}}
Using the chain rule we get,
And simplifying by substituting back into this equation gives
Implicit Differentiation
Using the same equation
First, differentiate with respect to on both sides of the equation:
To differentiate the second term on the left hand side of the equation (call it ), use the chain rule:
So the equation becomes
Separate the variables:
Divide both sides by , and simplify to get the same result as above:
Uses
Implicit differentiation is useful when differentiating an equation that cannot be explicitly differentiated because it is impossible to isolate variables.
For example, consider the equation,
Differentiate both sides of the equation (remember to use the product rule on the term ):
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2x+y+xy'+2yy'=0}
Isolate terms with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y'} :
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle xy'+2yy'=-2x-y}
Factor out a Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y'} and divide both sides by the other term:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y'=\frac{-2x-y}{x+2y}}
Example
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle xy=1}
can be solved as:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\frac{1}{x}}
then differentiated:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx}=-\frac{1}{x^2}}
However, using implicit differentiation it can also be differentiated like this:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{d}{dx}[xy]=\frac{d}{dx}[1]}
use the product rule:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x\frac{dy}{dx}+y=0}
solve for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx}} :
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx}=-\frac{y}{x}}
Note that, if we substitute Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\frac{1}{x}} into Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx}=-\frac{y}{x}} , we end up with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{dy}{dx}=-\frac{1}{x^2}} again.
Application: inverse trigonometric functions
Arcsine, arccosine, arctangent. These are the functions that allow you to determine the angle given the sine, cosine, or tangent of that angle.
First, let us start with the arcsine such that:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\arcsin(x)}
To find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}y}{\mathrm{d}x}} we first need to break this down into a form we can work with:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=\sin(y)}
Then we can take the derivative of that:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1=\cos(y)\cdot\frac{\mathrm{d}y}{\mathrm{d}x}}
...and solve for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}y}{\mathrm{d}x}} :
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}y}{\mathrm{d}x}=\frac{1}{\cos(y)}}
At this point we need to go back to the unit triangle. Since Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} is the angle and the opposite side is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(y)=x} , the adjacent side is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(y)=\sqrt{1-x^2}} , and the hypotenuse is 1. Since we have determined the value of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(y)} based on the unit triangle, we can substitute it back in to the above equation and get:
|
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\arcsin(x)=\frac{1}{\sqrt{1-x^2}}} |
We can use an identical procedure for the arccosine and arctangent:
|
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\arccos(x) = \frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{\pi}{2}\right) - \frac{\mathrm{d}}{\mathrm{d}x}\arcsin(x) = -\frac{1}{\sqrt{1-x^2}}} |
|
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\arctan(x)=\frac{1}{1+x^2}} |
Resources
- Implicit Differentiation PowerPoint file created by Dr. Sara Shirinkam, UTSA.
Licensing
Content obtained and/or adapted from:
- Implicit Differentiation, Wikibooks: Calculus under a CC BY-SA license