Implicit differentiation: how to find dy/dx, with examples
When x and y appear together in an equation, solving for y can make the work much longer. Implicit differentiation lets us find while leaving the original equation in that form. We’ll treat y as a function of x, then use the chain rule to keep track of how y changes.
Treat y as a function of x
An explicit equation is already solved for y, as in . An implicit equation relates x and y without necessarily isolating y. It may describe more than one branch, so we work on a branch where y can be viewed as a differentiable function of x.
When we differentiate y² with respect to x, we’re differentiating the square of a function. The chain rule gives
The derivative of y itself is . That same chain-rule factor appears when we differentiate y³, sin y, or another function of y.
Example: Differentiate a circle equation
Differentiate both sides with respect to x. The derivative of x² is 2x, and the chain rule handles y².
Move 2x to the right and divide by 2y to solve for the derivative where y ≠ 0.
At the point (3, 4), the slope is . The formula gives a slope in terms of both coordinates because the original equation also involves both coordinates.
Example: Use the product rule with implicit differentiation
Now let’s differentiate an equation with a product of x and y.
On the left, the derivative of x³ is 3x² and the derivative of y³ is . On the right, both 9x and y change with x, so we use the product rule.
Collect the terms containing on the left and move the other terms to the right.
Now factor out , which lets us solve for the derivative.
This formula applies where the branch is differentiable and y² − 3x ≠ 0. If we need the slope at a particular point, we first check that the point lies on the original curve, then substitute its x- and y-coordinates into the derivative.
The process in general
Differentiate both sides with respect to x, treating y as a function of x. Use the chain rule for functions of y and the product rule for products involving x and y. Once the differentiation is done, collect the derivative terms, factor out , and solve for it.