Knowing the chain rule, we're now armed with a powerful tool for performing
some very clever algebraic techniques. One such technique is implicit
differentiation. With implicit differentiation, we can compute derivatives
that we've never seen before. For example, we know from the power rule
that:
dxdxa=axa−1
However, we've only applied this rule where a is some explicit number.
For example, x2,x3,x−4, etc. But what if the function
we're dealing with is something of the form:
f(x)=xm/n,(m,n∈Z)
In other words, what happens when we have rational exponents?
Algebraically, we know that where m=1, the expression xm/n
yields the nth root:
x1/n=nx
And more generally:
xm/n=nxm
Recognizing these relationships, suppose we had the function
y=xm/n. We can rewrite the function as:
yn=xm
Now, we can apply differentiation to the equation above:
dxdyn=xm
We performed the manipulation because we simply don't know how to
differentiate xm/n. Applying the derivative to both sides:
dxdyn=dxdxm
In the equation above, y is a function of x — we have to
apply the chain rule:
(dydyn)dxdy=mxm−1
Writing the expression this way, we know that
dydyn=nyn−1. Hence:
We can clean the final result above by suppose that a=nm:
dxdy=axa−1
Let's consider another example: x2+y2=1. As we know, this is the
equation for a circle. Solving for y, we obtain the following:
y2=1−x2y=±1−x2
We say that x2+y2=1 is the implicit definition for the function,
and y=±1−x2 is the explicit definition. Of note, the
relation x2+y2=1 is not a function. It's more accurately
described as a multifunction, but the notion of implicit and explicit
definitions remains equally applicable. The circle multifunction consists
of two branches, a positive and a negative branch (i.e., the top half and
the bottom half of the circle). For the purposes of simplicity, we'll only
consider the positive branch, y=1−x2.
In terms of differentiation, function definitions containing radicands are
unsightly. Often, the first step to differentiating such functions is to
rewrite the definition in terms of rational number exponents:
y=1−x2=(1−x2)21
Writing the definition in terms of fractional exponents, we clearly see an
opportunity to apply the chain rule.
The evaluation above yields an explicit solution to computing the
derivative. We can, however, take an implicit approach, yielding an
implicit solution:
dxd(x2+y2=1)=(2x+2yy′=0)
Solving for y′:
y′=2y−2x=−yx(y=1−x2)
When substitute for y:
y′=2y−2x=−1−x2x
Consider the mechanics of this approach. We left the original equation,
x2+y2=1, intact. Then, we applied the derivative, arriving at an
implicit solution. If we wanted the explicit solution, we substituted for
y. Moreover, the implicit solution can be easily modified to yield both
halves of the circle:
y′=2y−2x=−yx(y=±1−x2)
This analysis evidences the fact that the implicit approach is often much
easier than the explicit approach. Let's consider another example:
y4+xy2−2=0
Like the previous example, we can compute the derivative for this equation
with the explicit approach:
y2=2−x±x2−4(−2)
Accordingly, isolating y:
y=±2−x±x2+8
As we can see, this is a very messy quartic equation. We've got a nasty
equation with not just two cases, but four. The implicit method is much,
much easier. We differentiate by keeping the original equation intact. The
first term:
dxdy4=4y3y′
Then we differentiate the second term (applying the product rule):
We leave it to the reader to try the explicit method. While the implicit
approach is often faster, there are limitations. For starters, it doesn't
avoid the complexity of quartic equation like the one above. For example,
with the original equation, y4+xy2−2=0, we know that one
solution is the coordinate (1,1). Thus, the point (1,1) likes on
the graph of y4+xy2−2=0. If we plug in this point to the
derivative above:
Thus, the slope at the point (1,1) on the graph of
y4+xy2−2=0 is −61. For the point x=2,
however, we have no choice but to tackle the complexity head on — we
must go through all of the tedious manipulation.
Differentiating Inverse Functions
Suppose we have the function y=x. We can rewrite this function
as y2=x. Alternatively, we could write f(x)=x, which in
turn can be written as g(y)=x∋g(y)=y2 (the notation ∋
means “such that”). More generally:
Notation. Suppose y:x→f(x) is a function, written as
y=f(x). The function g:y→x, written as g(y)=x, is
called the inverse function of y.
In other words, if we have a function y=f(x), we can rewrite it as
g(y)=x. The function g(y)=x, which is really g(f(x))=x,
is called the inverse function of y=f(x). The inverse function of
y=f(x), which is g(y)=x, is usually written with the notation
g=f−1. Similarly, the inverse of g(y)=x, which is
y=f(x), is usually written as f=g−1.
Given our definition above, we can see that f(x)=x has the
inverse function f−1(x)=x2. Comparing these two graphs:
The graphs above evidence the fact that the inverse functions are really
just switching the x and y values. We can see this more clearly
when we plot both functions on the same plane:
So what does this have to do with implicit differentiation? Well, as long
as we know the derivative of some function f, we can find the
derivative of the inverse function f−1. In other words, we can find
the derivative of any inverse function f−1 provided we know the
derivative of f.
This may not seem like much of an insight given the examples we've seen
earlier, but it proves to be immeasurably useful when we confront some
fairly complex functions. For example, consider the function
y=arctanx. This is the function y=tan−1x, which is the
inverse of x=tany. Plotting both these graphs together, we have:
A more focused view reveals:
First, let's consider the derivative of tany. From trigonometry, we
know that tany=cosysiny. Accordingly, the derivative
of tany is computed by applying the quotient rule:
The derivative above is correct, but it is very complicated. Whenever we
work with trigonometric functions, we want to always think of applying a
trigonometric identity that simplifies the expressions. In this case, we
have an identity that's directly applicable:
cosy=1+x21
Accordingly:
cos2y=1+x21
Applying this fact to our derivative:
dxdarctanx=1+x21
Having seen implicit differentiation as applied to f(x)=arctanx, we
can see how easy it is for the other inverse trigonometric functions. For
example, consider y=arcsinx.