Skip to content

Mathematics and Statistics · Ch 3 — Differentiation

Derivatives of Implicit Functions

6

Derivatives of Implicit Functions

A function is explicit when yy is written directly in terms of xx, as in y=x2+3y = x^2 + 3. It is implicit when xx and yy are tangled together in an equation that is not (or cannot easily be) solved for yy, such as x2+y2=25x^2 + y^2 = 25 or x2+xy+y2=7x^2 + xy + y^2 = 7.

Implicit differentiation finds dydx\dfrac{dy}{dx} without first solving for yy: differentiate both sides of the equation with respect to xx, treating yy as a function of xx, and then solve the resulting equation algebraically for dydx\dfrac{dy}{dx}. The crucial point is that every yy-term carries an extra dydx\dfrac{dy}{dx} factor by the chain rule:

ddx(yn)=n yn−1 dydx,ddx(x y)=x dydx+y(product rule).\frac{d}{dx}\big(y^n\big) = n\,y^{n-1}\,\frac{dy}{dx}, \qquad \frac{d}{dx}\big(x\,y\big) = x\,\frac{dy}{dx} + y \quad (\text{product rule}).

Method — implicit differentiation:

  1. Differentiate every term of the equation with respect to xx.
  2. For a pure xx-term, differentiate normally; for any term containing yy, apply the chain rule and attach dydx\dfrac{dy}{dx}; for a mixed xyxy-term, use the product rule.
  3. Collect all terms containing dydx\dfrac{dy}{dx} on one side and everything else on the other.
  4. Factor out dydx\dfrac{dy}{dx} and divide to isolate it.

Illustration. For x2+y2=25x^2 + y^2 = 25: differentiating gives 2x+2ydydx=02x + 2y\dfrac{dy}{dx}=0, so dydx=−xy\dfrac{dy}{dx}=-\dfrac{x}{y}. The answer legitimately contains both xx and yy — that is normal for an implicit derivative.

Note

Every yy-Term Picks Up a dydx\dfrac{dy}{dx} — a Pure xx-Term Does Not …

Definition 9Implicit differentiation

For an equation relating xx and yy that is not solved for yy, differentiate both sides with respect to xx treating yy as a function of xx (so each yy-term gains a dydx\tfrac{dy}{dx} factor), then solve algebraically for $\tfrac{dy}{dx} …