Calculus I · Textbook draft · 18 minute reading

Implicit Differentiation and Related Rates

Differentiate constraints, identify local branches, and build rate equations before substituting a particular instant.

Before you begin

  • Chain rule and elementary plane and solid geometry.

Learning objectives

  • Differentiate an equation that defines a local function implicitly.
  • Distinguish derivative failure from failure of a chosen coordinate representation.
  • Solve related-rate models with correct signs and units.

A circle cannot be represented by one real function y=f(x)y=f(x) over its entire horizontal span: most horizontal positions have two vertical coordinates. It can nevertheless have well-defined tangent lines on its local branches. An equation relating the variables can retain information that solving explicitly would split into cases.

Differentiating a constraint

For x2+y2=25x^2+y^2=25, treat yy as a differentiable function of xx on a branch. Differentiation gives 2x+2yy′=02x+2yy'=0, hence

y′=−x/y(y≠0).y'=-x/y\qquad(y\ne0).

At (3,4)(3,4), the slope is −3/4-3/4, so the tangent is y−4=−(3/4)(x−3)y-4=-(3/4)(x-3). At (5,0)(5,0), the formula cannot produce a finite slope for yy as a function of xx. The circle still has a tangent, namely the vertical line x=5x=5. A failure of this coordinate representation is not a disappearance of the geometric curve.

For a general differentiable equation F(x,y)=0F(x,y)=0, the chain rule gives Fx+Fyy′=0F_x+F_yy'=0 when the partial derivatives are defined, leading formally to y′=−Fx/Fyy'=-F_x/F_y where Fy≠0F_y\ne0. A local implicit function theorem supplies sufficient conditions for such a branch to exist. In this course, polynomial and elementary examples will also be checked directly when possible; the displayed ratio should not be treated as an unconditional existence theorem.

A second derivative needs the chain rule again

From the circle’s y′=−x/yy'=-x/y, the quotient rule gives

y′′=−y+xy′y2=−x2+y2y3=−25y3.y''=\frac{-y+xy'}{y^2} =-\frac{x^2+y^2}{y^3}=-\frac{25}{y^3}.

The first equality differentiates yy as a function rather than freezing it as a constant. At (3,4)(3,4), this is −25/64-25/64. The upper branch is concave down there, consistent with its geometry.

Rates share a clock

In a related-rate problem, several quantities depend on the same time variable. Write the constraint between them, then differentiate with respect to time. For a spherical balloon with radius r(t)r(t) and volume V(t)=4πr(t)3/3V(t)=4\pi r(t)^3/3,

dVdt=4πr2drdt.\frac{dV}{dt}=4\pi r^2\frac{dr}{dt}.

If the radius is 22 centimetres and volume is increasing at 12π12\pi cubic centimetres per second, then r′=12π/(16π)=3/4r'=12\pi/(16\pi)=3/4 centimetres per second. Substituting r=2r=2 before differentiating would turn volume into a constant and destroy the time dependence we need.

A sliding ladder

A rigid ladder of length 55 metres touches a horizontal floor and vertical wall. Let x(t)x(t) be the foot’s distance from the wall and y(t)>0y(t)>0 the top’s height. While the geometric model applies, x2+y2=25x^2+y^2=25 and

2xx′+2yy′=0,y′=−xyx′.2xx'+2yy'=0,\qquad y'=-\frac{x}{y}x'.

At x=3x=3, y=4y=4, and x′=0.2x'=0.2 metres per second, the top moves at y′=−0.15y'=-0.15 metres per second. The sign describes downward motion. Its downward speed is 0.150.15 metres per second.

As y→0+y\to0^+ with fixed positive x′x', the formula predicts unbounded downward rate. That signals a limitation of extending this idealized contact-and-constant-foot-speed model to the final configuration. Real mechanics, contact forces, and finite energy may invalidate the imposed rate before that limit. Mathematics can expose a model’s consequences without certifying its physical continuation.

Organizing a modeling solution

Define variables and units; identify the instant; draw or describe the geometry; write the constraint; differentiate while quantities are still functions; substitute the instant’s values; solve for the requested rate; interpret its sign and domain. A clear equation often does more work than a memorized “related rates” formula.

Exercises

  1. Find the tangent slope to xy=6xy=6 at (2,3)(2,3) by implicit differentiation.
  2. Find y′y' for x2+xy+y2=7x^2+xy+y^2=7, wherever the denominator is nonzero.
  3. A circle’s radius increases at 0.40.4 centimetres per second. Find its area rate when r=5r=5 centimetres.
  4. Repeat the ladder calculation when x=4x=4, x′=0.2x'=0.2.
  5. Explain why a rate measured in cubic metres per second cannot be reported as a radius rate without an additional geometric factor.
  6. For the upper semicircle y=25−x2y=\sqrt{25-x^2}, verify the implicit derivative by explicit differentiation.
Worked solutions
  1. y+xy′=0y+xy'=0 gives y′=−y/x=−3/2y'=-y/x=-3/2.
  2. 2x+y+xy′+2yy′=02x+y+xy'+2yy'=0, so y′=−(2x+y)/(x+2y)y'=-(2x+y)/(x+2y).
  3. A′=2πrr′=4πA'=2\pi rr'=4\pi square centimetres per second.
  4. y=3y=3, hence y′=−(4/3)(0.2)=−4/15y'=-(4/3)(0.2)=-4/15 metres per second.
  5. Volume and length are different quantities. For a sphere the conversion factor is 1/(4πr2)1/(4\pi r^2), with inverse-area units.
  6. The chain rule gives −x/25−x2=−x/y-x/\sqrt{25-x^2}=-x/y for −5<x<5-5<x<5.