Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Calculus/Implicit Differentiation

From Wikibooks, open books for an open world
<Calculus
← Higher Order DerivativesCalculusDerivatives of Exponential and Logarithm Functions →
Implicit Differentiation

Generally, you will encounter functions expressed in explicit form, that is, in the formy=f(x){\displaystyle y=f(x)} . To find the derivative ofy{\displaystyle y} with respect tox{\displaystyle x} , you take the derivative with respect tox{\displaystyle x} of both sides of the equation to get

dydx=ddx[f(x)]=f(x){\displaystyle {\frac {dy}{dx}}={\frac {d}{dx}}[f(x)]=f'(x)}

But suppose you have a relation of the formf(x,y(x))=g(x,y(x)){\displaystyle f{\bigl (}x,y(x){\bigr )}=g{\bigl (}x,y(x){\bigr )}} . In this case, it may be inconvenient or even impossible to solve fory{\displaystyle y} as a function ofx{\displaystyle x} . A good example is the relationy2+2yx+3=5x{\displaystyle y^{2}+2yx+3=5x} . In this case you can utilizeimplicit differentiation to find the derivative. To do so, one takes the derivative of both sides of the equation with respect tox{\displaystyle x} and solves fory{\displaystyle y'} . That is, form

ddx[f(x,y(x))]=ddx[g(x,y(x))]{\displaystyle {\frac {d}{dx}}{\bigl [}f{\bigl (}x,y(x){\bigr )}{\bigr ]}={\frac {d}{dx}}{\big [}g{\bigl (}x,y(x){\bigr )}{\big ]}}

and solve fordydx{\displaystyle {\frac {dy}{dx}}} . You need to employ the chain rule whenever you take the derivative of a variable with respect to a different variable. For example,

ddx(y3)=ddy[y3]dydx=3y2y{\displaystyle {\frac {d}{dx}}(y^{3})={\frac {d}{dy}}[y^{3}]\cdot {\frac {dy}{dx}}=3y^{2}\cdot y'}

Implicit Differentiation and the Chain Rule

[edit |edit source]

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 functionsf(x),g(x){\displaystyle f(x),g(x)} and that we are interested in computing the derivative of the functionf(g(x)){\displaystyle f{\bigl (}g(x){\bigr )}} , the chain rule states that:

ddx[f(g(x))]=f(g(x))g(x){\displaystyle {\frac {d}{dx}}{\bigl [}f{\bigl (}g(x){\bigr )}{\bigr ]}=f'{\bigl (}g(x){\bigr )}\cdot g'(x)}

That is, we take the derivative off{\displaystyle f} as normal and then plug ing{\displaystyle g} , finally multiply the result by the derivative ofg{\displaystyle g} .

Now suppose we want to differentiate a term likey2{\displaystyle y^{2}} with respect tox{\displaystyle x} where we are thinking ofy{\displaystyle y} as a function ofx{\displaystyle x} , so for the remainder of this calculation let's write it asy(x){\displaystyle y(x)} instead of justy{\displaystyle y} . The termy2{\displaystyle y^{2}} is just the composition off(x)=x2{\displaystyle f(x)=x^{2}} andy(x){\displaystyle y(x)} . That is,f(y(x))=y(x)2{\displaystyle f{\bigl (}y(x){\bigr )}=y(x)^{2}} . Recalling thatf(x)=2x{\displaystyle f'(x)=2x} then the chain rule states that:

ddx[f(y(x))]=f(y(x))y(x)=2y(x)y(x){\displaystyle {\frac {d}{dx}}{\bigl [}f{\bigl (}y(x){\bigr )}{\bigr ]}=f'{\bigl (}y(x){\bigr )}\cdot y'(x)=2y(x)y'(x)}

Of course it is customary to think ofy{\displaystyle y} as being a function ofx{\displaystyle x} without always writingy(x){\displaystyle y(x)} , so this calculation usually is just written as

ddx(y2)=2yy{\displaystyle {\frac {d}{dx}}(y^{2})=2yy'}

Don't be confused by the fact that we don't yet know whaty{\displaystyle y'} is, it is some function and often if we are differentiating two quantities that are equal it becomes possible to explicitly solve fory{\displaystyle y'} (as we will see in the examples below.) This makes it a very powerful technique for taking derivatives.

Explicit Differentiation

[edit |edit source]

For example, suppose we are interested in the derivative ofy{\displaystyle y} with respect tox{\displaystyle x} , wherex,y{\displaystyle x,y} are related by the equation

x2+y2=1{\displaystyle x^{2}+y^{2}=1}

This equation represents a circle of radius 1 centered on the origin. Note thaty{\displaystyle y} is not a function ofx{\displaystyle x} since it fails thevertical line test (y=±1{\displaystyle y=\pm 1} whenx=0{\displaystyle x=0} , for example).

To findy{\displaystyle y'} , first we can separate variables to get

y2=1x2{\displaystyle y^{2}=1-x^{2}}

Taking the square root of both sides we get two separate functions fory{\displaystyle y} :

y=±1x2{\displaystyle y=\pm {\sqrt {1-x^{2}}}}

We can rewrite this as a fractional power:

y=±(1x2)12{\displaystyle y=\pm (1-x^{2})^{\frac {1}{2}}}

Using the chain rule we get,

y=±(1x2)12(2x)2=x1x2{\displaystyle y'=\pm {\frac {(1-x^{2})^{-{\frac {1}{2}}}\cdot (-2x)}{2}}=\mp {\frac {x}{\sqrt {1-x^{2}}}}}

And simplifying by substitutingy{\displaystyle y} back into this equation gives

y=xy{\displaystyle y'=-{\frac {x}{y}}}

Implicit Differentiation

[edit |edit source]

Using the same equation

x2+y2=1{\displaystyle x^{2}+y^{2}=1}

First, differentiate with respect tox{\displaystyle x} on both sides of the equation:

ddx[x2+y2]=ddx[1]{\displaystyle {\frac {d}{dx}}[x^{2}+y^{2}]={\frac {d}{dx}}[1]}
ddx[x2]+ddx[y2]=0{\displaystyle {\frac {d}{dx}}[x^{2}]+{\frac {d}{dx}}[y^{2}]=0}

To differentiate the second term on the left hand side of the equation (call itf(y(x))=y2{\displaystyle f(y(x))=y^{2}}), use the chain rule:

dfdx=dfdydydx=2yy{\displaystyle {\frac {df}{dx}}={\frac {df}{dy}}\cdot {\frac {dy}{dx}}=2y\cdot y'}

So the equation becomes

2x+2yy=0{\displaystyle 2x+2yy'=0}

Separate the variables:

2yy=2x{\displaystyle 2yy'=-2x}

Divide both sides by2y{\displaystyle 2y} , and simplify to get the same result as above:

y=2x2y{\displaystyle y'=-{\frac {2x}{2y}}}
y=xy{\displaystyle y'=-{\frac {x}{y}}}

Uses

[edit |edit source]

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,

x2+xy+y2=16{\displaystyle x^{2}+xy+y^{2}=16}

Differentiate both sides of the equation (remember to use the product rule on the termxy{\displaystyle xy}):

2x+y+xy+2yy=0{\displaystyle 2x+y+xy'+2yy'=0}

Isolate terms withy{\displaystyle y'}:

xy+2yy=2xy{\displaystyle xy'+2yy'=-2x-y}

Factor out ay{\displaystyle y'} and divide both sides by the other term:

y=2xyx+2y{\displaystyle y'={\frac {-2x-y}{x+2y}}}

Example

[edit |edit source]
xy=1{\displaystyle xy=1}

can be solved as:

y=1x{\displaystyle y={\frac {1}{x}}}

then differentiated:

dydx=1x2{\displaystyle {\frac {dy}{dx}}=-{\frac {1}{x^{2}}}}

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

ddx[xy]=ddx[1]{\displaystyle {\frac {d}{dx}}[xy]={\frac {d}{dx}}[1]}

use the product rule:

xdydx+y=0{\displaystyle x{\frac {dy}{dx}}+y=0}

solve fordydx{\displaystyle {\frac {dy}{dx}}}:

dydx=yx{\displaystyle {\frac {dy}{dx}}=-{\frac {y}{x}}}

Note that, if we substitutey=1x{\displaystyle y={\frac {1}{x}}} intodydx=yx{\displaystyle {\frac {dy}{dx}}=-{\frac {y}{x}}} , we end up withdydx=1x2{\displaystyle {\frac {dy}{dx}}=-{\frac {1}{x^{2}}}} again.

Application: inverse trigonometric functions

[edit |edit source]

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:

y=arcsin(x){\displaystyle y=\arcsin(x)}

To finddydx{\displaystyle {\frac {\mathrm {d} y}{\mathrm {d} x}}} we first need to break this down into a form we can work with:

x=sin(y){\displaystyle x=\sin(y)}

Then we can take the derivative of that:

1=cos(y)dydx{\displaystyle 1=\cos(y)\cdot {\frac {\mathrm {d} y}{\mathrm {d} x}}}

...and solve fordydx{\displaystyle {\frac {\mathrm {d} y}{\mathrm {d} x}}} :

y=arcsin(x){\displaystyle y=\arcsin(x)} gives us this unit triangle.
dydx=1cos(y){\displaystyle {\frac {\mathrm {d} y}{\mathrm {d} x}}={\frac {1}{\cos(y)}}}

At this point we need to go back to the unit triangle. Sincey{\displaystyle y} is the angle and the opposite side issin(y)=x{\displaystyle \sin(y)=x} , the adjacent side iscos(y)=1x2{\displaystyle \cos(y)={\sqrt {1-x^{2}}}} , and the hypotenuse is 1. Since we have determined the value ofcos(y){\displaystyle \cos(y)} based on the unit triangle, we can substitute it back in to the above equation and get:


Derivative of the Arcsine

ddxarcsin(x)=11x2{\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:


Derivative of the Arccosine

ddxarccos(x)=ddx(π2)ddxarcsin(x)=11x2{\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}}}}}

Derivative of the Arctangent

ddxarctan(x)=11+x2{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} x}}\arctan(x)={\frac {1}{1+x^{2}}}}



← Higher Order DerivativesCalculusDerivatives of Exponential and Logarithm Functions →
Implicit Differentiation

Navigation:Main Page ·Precalculus ·Limits ·Differentiation ·Integration ·Parametric and Polar Equations ·Sequences and Series ·Multivariable Calculus ·Extensions ·References

Retrieved from "https://en.wikibooks.org/w/index.php?title=Calculus/Implicit_Differentiation&oldid=3508644"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp