Implicit Differentiation and Related Rates
Not every curve is the graph of y = f(x). Implicit differentiation finds a slope from an equation in x and y directly, treating y as an unknown function and differentiating both sides.
╌╌╌╌
Every function differentiated so far was given explicitly, one variable written in terms of another as . But many curves are defined implicitly by an equation relating and , such as or , that cannot be solved cleanly for . Implicit differentiation finds the slope anyway. The same technique, differentiating a relation with the chain rule while treating one variable as a function of another, also solves related-rates problems, where quantities changing in time are linked by a geometric equation.
Implicit functions
The circle is not a function: a vertical line can meet it twice. Solving for splits it into two functions, and , the upper and lower semicircles. The folium of Descartes is worse — solving for produces three unwieldy branches. When we say is defined implicitly by such an equation, we mean the equation holds for all in the domain of some differentiable function .
The point of implicit differentiation is that finding never requires solving for .
Because is a function of , differentiating a power of picks up a factor of from the chain rule:
Worked examples
Example (circle). Differentiate term by term:
The slope is expressed in terms of both coordinates; it gives the correct value at any point of either branch. At the slope is , so the tangent is , i.e. . Solving for first and differentiating gives the same answer with more effort.
Example (folium). For , differentiate, using the chain rule on and the product rule on :
Collecting the terms,
At the slope is , so the tangent there is . The tangent is horizontal where , that is ; substituting into the curve locates that point at .
Example (mixed trigonometric). For , differentiate both sides:
Gathering ,
Second derivatives and inverse functions
Implicit differentiation also delivers : differentiate the expression for again, substituting the known where it appears.
Example. For , differentiating gives . Differentiating again with the quotient rule and substituting and the original equation simplifies to
The technique is also the key to differentiating inverse functions. If satisfies , differentiating implicitly gives , so . The inverse trigonometric and logarithmic derivatives are all found this way.
The derivative as a rate of change
Whenever carries a meaning in the sciences, the derivative carries the matching rate of change, with units of per unit of . This one interpretation recurs across disciplines.
| Field | Quantity | Derivative |
|---|---|---|
| Physics | position | velocity; its derivative is acceleration |
| Chemistry | concentration | rate of reaction |
| Biology | population | growth rate |
| Economics | cost of units | marginal cost |
| Thermodynamics | volume | (with a sign) compressibility |
The economic case sharpens the meaning of instantaneous
for a discrete
quantity. If is the cost of producing units, the marginal cost is
, and because the difference quotient over one unit is a good estimate,
so the marginal cost at units is approximately the cost of the unit.
The population case is only approximate for the opposite reason: a true head count is a step function, but for a large population the smooth model and its derivative are accurate enough to be useful.
Related rates
In a related-rates problem, two or more quantities vary with time and are linked by an equation. One rate of change is known (often because it is easy to measure) and another is wanted. Differentiating the linking equation with respect to time, via the chain rule, converts the known rate into the unknown one.
The order matters. Substituting numerical values for the changing quantities before differentiating replaces a variable by a constant, whose derivative is zero, and produces a wrong answer. Hold the quantities general until after the differentiation.
Example (inflating balloon). Air is pumped into a spherical balloon at cm³/s. How fast is the radius growing when cm? The volume relates the variables:
At , cm/s. Although is constant, is not: the radius grows more slowly as the balloon enlarges.
Example (sliding ladder). A ft ladder leans on a wall; its base slides out at ft/s. How fast does the top slide down when the base is ft out? The Pythagorean constraint differentiates to
When , the constraint gives , so ft/s. The negative sign says the top is descending, at ft/s.
Example (draining vs. filling cone). A tank is an inverted cone of base radius m and height m; water enters at m³/min. How fast is the level rising when the depth is m? The water forms a smaller cone; similar triangles give , so and
Eliminating before differentiating is what keeps the problem in one unknown rate. Differentiating,
At , m/min.
Example (approaching cars). Car A drives west at mi/h and car B drives north at mi/h toward the same intersection . With , the distances to and the distance between the cars, . The given rates are and (both distances shrink). Differentiating,
When , , then , and mi/h. The cars close on each other at mi/h.
Some constraints come from similar triangles rather than the Pythagorean theorem. A moving shadow is the standard case.
When the linking equation is trigonometric, the same steps produce an angular rate.
╌╌ END ╌╌