Skip to content

Mathematics · Ch 10 — Differential Calculus – Differentiability and Methods of Differentiation

Implicit Differentiation

10.4.3

Implicit Differentiation

A function in which the dependent variable yy is expressed solely in terms of the independent variable xx, i.e. y=f(x)y=f(x), is called an explicit function — for instance y=12x3−1y=\tfrac12x^3-1. An equivalent equation such as 2y−x3+2=02y-x^3+2=0, which is not solved for yy, is instead said to define yy implicitly, or to make yy an implicit function of xx.

Why implicit functions matter. The equation x2+y2=4x^2+y^2=4 describes a circle of radius 22 centred at the origin. It is not itself a function, because for any xx with −2<x<2-2<x<2 there are two corresponding yy-values: f(x)=4−x2f(x)=\sqrt{4-x^2} (the top half, y≥0y\ge0) and g(x)=−4−x2g(x)=-\sqrt{4-x^2} (the bottom half, y≤0y\le0), for −2≤x≤2-2\le x\le2. Choosing either half individually does give a genuine function, so the single equation x2+y2=4x^2+y^2=4 is said to define at least two distinct implicit functions of xx on [−2,2][-2,2]; both x2+[f(x)]2=4x^2+[f(x)]^2=4 and x2+[g(x)]2=4x^2+[g(x)]^2=4 hold as identities on that interval.

In general, if F(x,y)=0F(x,y)=0 defines a function ff implicitly on some interval, then F(x,f(x))=0F(x,f(x))=0 is an identity on that interval, and the graph of ff is a portion (or all) of the graph of F(x,y)=0F(x,y)=0. A more complicated equation such as x4+x2y3−y5=2x+1x^4+x^2y^3-y^5=2x+1 may determine several implicit functions on suitably restricted intervals, and it may not even be possible to solve algebraically for yy in terms of xx — yet the derivative dy/dxdy/dx can often still be found by a process called implicit differentiation.

The method. Differentiate both sides of the given equation with respect to xx, treating yy throughout as a differentiable function of xx (so every term containing yy picks up a factor dydx\dfrac{dy}{dx} via the chain rule — most simply captured by the power-rule-for-functions form ddx(yn)=nyn−1dydx\dfrac{d}{dx}(y^n) = ny^{n-1}\dfrac{dy}{dx}, nn an integer), then solve the resulting equation algebraically for dydx\dfrac{dy}{dx}.

Worked illustration. For x2+y2=1x^2+y^2=1: differentiating termwise, ddx(x2)+ddx(y2)=ddx(1)\dfrac{d}{dx}(x^2)+\dfrac{d}{dx}(y^2) = \dfrac{d}{dx}(1) gives 2x+2ydydx=02x+2y\dfrac{dy}{dx}=0, so dydx=−xy\dfrac{dy}{dx}=-\dfrac{x}{y} (y≠0y\ne0). Substituting x=1x=1 into the original equation gives y=±3/4y=\pm\sqrt{3}/\sqrt{4}-style paired values (two points on two different implicit branches), and at each of those two points the same implicit formula dy/dx=−x/ydy/dx=-x/y correctly reproduces the tangent slope — implicit differentiation handles both branches at once without ever having to solve for yy explicitly. …