2 Differentiation of implicit functions
Fortunately it is not necessary to obtain in terms of in order to differentiate a function defined implicitly.
Consider the simple equation
Here it is clearly possible to obtain as the subject of this equation and hence obtain .
Task!
Express explicitly in terms of and find for the case .
We have immediately
We now show an alternative way of obtaining which does not involve writing explicitly in terms of at the outset. We simply treat as an (unspecified) function of .
Hence if we obtain
The right-hand side differentiates to zero as 1 is a constant. On the left-hand side we must use the product rule of differentiation:
Hence becomes, after differentiation,
or
In this case we can of course substitute to obtain
as before.
The method used here is called implicit differentiation and, apart from the final step, it can be applied even if cannot be expressed explicitly in terms of . Indeed, on occasions, it is easier to differentiate implicitly even if an explicit expression is possible.
Example 15
Obtain the derivative where
Solution
We begin by differentiating the left-hand side of the equation with respect to to get:
.
We now differentiate the right-hand side of with respect to . Using the chain (or function of a function) rule to deal with the term:
Now by equating the left-hand side and right-hand side derivatives, we have:
We can make the subject of this equation:
which gives
We note that has to be expressed in terms of both and . This is quite usual if cannot be obtained explicitly in terms of . Now try this Task requiring implicit differentiation.
Task!
Find if
Note that your answer will be in terms of both and .
We have, on differentiating both sides of the equation with respect to and using the chain rule on the term:
i.e. leading to
We sometimes need to obtain the second derivative for a function defined implicitly.
Example 16
Obtain and at the point on the curve defined by the equation
Solution
Firstly we obtain by differentiating the equation implicitly and then evaluate it at .
We have (1)
from which (2)
so at .
To obtain the second derivative it is easier to use (1) than (2) because the latter is a quotient. We simplify (1) first:
(3)
We will have to use the product rule to differentiate the third term here.
Hence differentiating (3) with respect to :
or
(4)
Note carefully that the third term here, , is the square of the first derivative. It should not be confused with the second derivative denoted by .
Finally, at where we obtain from (4):
from which at .
Task!
This Task involves finding a formula for the curvature of a bent beam. When a horizontal beam is acted on by forces which bend it, then each small segment of the beam will be slightly curved and can be regarded as an arc of a circle. The radius of that circle is called the radius of curvature of the beam at the point concerned. If the shape of the beam is described by an equation of the form then there is a formula for the radius of curvature which involves only the first and second derivatives and .
Find that equation as follows.
Start with the equation of a circle in the simple implicit form
and perform implicit differentiation twice. Now use the result of the first implicit differentiation to find a simple expression for the quantity in terms of and ; this can then be used to simplify the result of the second differentiation, and will lead to a formula for (called the curvature ) in terms of and .
Differentiating: gives:
(1)
Differentiating again: (2)
From (1)
(3)
So .
Thus (2) becomes
so (4)
Rearranging (4) to make the subject and substituting for from (3) gives the result:
The equation usually found in textbooks omits the minus sign but the sign indicates whether the circle is above or below the curve, as you will see by sketching a few examples. When the gradient is small (as for a slightly deflected horizontal beam), i.e. is small, the denominator in the equation for is close to 1, and so the second derivative alone is often used to estimate the radius of curvature in the theory of bending beams.