Skip to content

Mathematics · Ch 5 — Continuity and Differentiability

Implicit Differentiation

5

Implicit Differentiation

So far every function differentiated has been given explicitly, in the form y=f(x)y=f(x), with

yy isolated on one side. Many relations between xx and yy, however, are given

implicitly -- as an equation F(x,y)=0F(x,y)=0 mixing both variables together, such as

x2+y2=25x^2+y^2=25 or x3+y3=3xyx^3+y^3=3xy -- without yy ever being solved for explicitly (and sometimes it

cannot be, in terms of elementary functions at all). Implicit differentiation finds

dy/dxdy/dx directly from such an equation, without first solving for yy.

Method. Differentiate both sides of the equation with respect to xx, term by term, treating

yy throughout as an (unknown, but differentiable) function of xx. Every term containing yy

must be differentiated using the chain rule (Section 3): for instance,

ddx(y2)=2y dydx,ddx(xy)=x dydx+y(product rule, since y depends on x).\frac{d}{dx}\big(y^2\big) = 2y\,\frac{dy}{dx}, \qquad \frac{d}{dx}\big(xy\big) = x\,\frac{dy}{dx}+y \quad\text{(product rule, since $y$ depends on $x$)}.

After differentiating, the resulting equation is linear in dy/dxdy/dx; collect all terms containing

dy/dxdy/dx on one side and solve algebraically for it.

Worked illustration (x2+y2=25x^2+y^2=25, a circle of radius 55). Differentiating both sides with

respect to xx:

2x+2y dydx=0⟹dydx=−xy,y≠0.2x + 2y\,\frac{dy}{dx} = 0 \quad\Longrightarrow\quad \frac{dy}{dx} = -\frac{x}{y}, \qquad y\neq0.

Geometrically, this says the tangent to a circle at any point (x,y)(x,y) (other than the top/bottom)

has slope −x/y-x/y -- perpendicular to the radius to that point, as expected from circle geometry.

A second illustration (sin⁡(xy)=x\sin(xy)=x). Differentiating with the chain rule on the left (outer

function sin⁡\sin, inner function u=xyu=xy, itself needing the product rule for du/dxdu/dx):

cos⁡(xy)⋅(xdydx+y)=1⟹xcos⁡(xy)dydx=1−ycos⁡(xy)⟹dydx=1−ycos⁡(xy)xcos⁡(xy).\cos(xy)\cdot\left(x\frac{dy}{dx}+y\right) = 1 \quad\Longrightarrow\quad x\cos(xy)\frac{dy}{dx} = 1-y\cos(xy) \quad\Longrightarrow\quad \frac{dy}{dx} = \frac{1-y\cos(xy)}{x\cos(xy)}.

Why implicit differentiation is necessary, not just convenient. For an equation such as

x3+y3=3xyx^3+y^3=3xy (a folium-type curve), solving explicitly for yy in terms of xx is algebraically

impractical or impossible using elementary functions, yet the curve still has a well-defined

slope at each of its points. Implicit differentiation finds this slope directly from the

relation itself, sidestepping the need to solve for yy at all -- exactly the technique …