Calculus/Implicit Differentiation

From Wikibooks, open books for an open world
< Calculus(Redirected from Calculus/Implicit differentiation)
Jump to: navigation, search
← Higher Order Derivatives Calculus Derivatives of Exponential and Logarithm Functions →
Implicit Differentiation

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


But suppose you have a relation of the form f(x,y(x))=g(x,y(x)) . In this case, it may be inconvenient or even impossible to solve for y as a function of x. A good example is the relation y^2+2yx+3=5x . 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 x and solves for y' . That is, form


and solve for 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,

\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]

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 f(x) and g(x) and that we are interested in computing the derivative of the function f(g(x)), the the chain rule states that:


That is, we take the derivative of f as normal and then plug in g, finally multiply the result by the derivative of g.

Now suppose we want to differentiate a term like y2 with respect to x where we are thinking of y as a function of x, so for the remainder of this calculation let's write it as y(x) instead of just y. The term y2 is just the composition of f(x) = x2 and y(x). That is, f(y(x)) = y2(x). Recalling that f′(x) = 2x then the chain rule states that:


Of course it is customary to think of y as being a function of x without always writing y(x), so this calculation usually is just written as


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

Explicit Differentiation[edit]

For example, suppose we are interested in the derivative of y with respect to x where x and y are related by the equation


This equation represents a circle of radius 1 centered on the origin. Note that y is not a function of x since it fails the vertical line test (y=\pm1 when x=0, for example).

To find y', first we can separate variables to get


Taking the square root of both sides we get two separate functions for y:


We can rewrite this as a fractional power:


Using the chain rule we get,


And simplifying by substituting y back into this equation gives


Implicit Differentiation[edit]

Using the same equation


First, differentiate with respect to x on both sides of the equation:


To differentiate the second term on the left hand side of the equation (call it f(y(x))=y2), use the chain rule:

\frac{df}{dx}=\frac{df}{dy}\cdot\frac{dy}{dx}=2y\cdot y'

So the equation becomes


Separate the variables:


Divide both sides by 2y , and simplify to get the same result as above:



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


Isolate terms with y':


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




can be solved as:


then differentiated:


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


use the product rule:


solve for \frac{dy}{dx}:


Note that, if we substitute y=\frac{1}{x} into \frac{dy}{dx}=-\frac{y}{x} , we end up with \frac{dy}{dx}=-\frac{1}{x^2} again.

Application: inverse trigonometric functions[edit]

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 dy/dx 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 dy/dx :

y=arcsin(x) gives us this unit triangle.

At this point we need to go back to the unit triangle. Since y is the angle and the opposite side is sin(y) (which is equal to x), the adjacent side is cos(y) (which is equal to the square root of 1-x2 , based on the Pythagorean theorem), and the hypotenuse is 1. Since we have determined the value of cos(y) 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


← Higher Order Derivatives Calculus Derivatives of Exponential and Logarithm Functions →
Implicit Differentiation