Difference between revisions of "Implicit Differentiation"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
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 [[Calculus/Functions#The_vertical_line_test|vertical line test]] (<math>y=\pm1</math> when <math>x=0</math> , for example).
+
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 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=f(x)} . 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,

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 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} where we are thinking of as a function 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 x} , so for the remainder of this calculation let's write it 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(x)} instead of just . 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 y^2} is just the composition 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 f(x)=x^2} and . That 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 f\bigl(y(x)\bigr)=y(x)^2} . Recalling 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 f'(x)=2x} then the chain rule states that:

Of course it is customary to think 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 y} as being a function 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 x} without always writing , so this calculation usually is just written 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 \frac{d}{dx}(y^2)=2yy'}

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 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'} (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 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,y} are related by the equation

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^2+y^2=1}

This equation represents a circle of radius 1 centered on the origin. Note that is not a function 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 x} since it fails the vertical line test (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=\pm1} when , for example).

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 y'} , first we can separate variables to 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 y^2=1-x^2}

Taking the square root of both sides we get two separate functions 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 y=\pm\sqrt{1-x^2}}

We can rewrite this as a fractional power:

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 ):

Isolate terms with :

Factor out a and divide both sides by the other term:

Example

can be solved as:

then differentiated:

However, using implicit differentiation it can also be differentiated like this:

use the product rule:

solve for :

Note that, if we substitute into , we end up with 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:

To find we first need to break this down into a form we can work with:

Then we can take the derivative of that:

...and solve for  :

gives us this unit triangle.

At this point we need to go back to the unit triangle. Since is the angle and the opposite side is , the adjacent side is , and the hypotenuse is 1. Since we have determined the value of based on the unit triangle, we can substitute it back in to the above equation and get:


Derivative of the Arcsine

We can use an identical procedure for the arccosine and arctangent:


Derivative of the Arccosine

Derivative of the Arctangent

Resources

Licensing

Content obtained and/or adapted from: