Implicit Differentiation
Explicit vs. implicit
A function given as y=f(x) is explicit. When x and y are tangled together in one equation instead, differentiate both sides with respect to x, treating y as a function of x (so every y term picks up a dxdy factor via the chain rule), then solve for dxdy.
The method, step by step
- Differentiate every term on both sides with respect to x.
- Each time you differentiate a term containing y, multiply by dxdy (the chain rule): dxd(y2)=2ydxdy.
- Use the product rule on mixed terms: dxd(xy)=y+xdxdy.
- Move every term containing dxdy to one side and everything else to the other.
- Factor out dxdy and divide.
Worked example
Find dxdy if 2x+3y=sinx.
Solution: Differentiate both sides with respect to x:
2+3dxdy=cosx⇒dxdy=3cosx−2Worked example: a product term
Find dxdy if x2+xy+y2=7.
Solution: The middle term needs the product rule:
2x+(y+xdxdy)+2ydxdy=0Collecting the dxdy terms:
dxdy(x+2y)=−(2x+y)⇒dxdy=−x+2y2x+ySecond derivatives
To find dx2d2y, differentiate the expression for dxdy again, then substitute the first derivative back in.
For the circle x2+y2=25, find dxdy and dx2d2y, and evaluate both at (3,4).
Solution: Differentiating once: 2x+2ydxdy=0, so dxdy=−yx. Differentiating −yx with the quotient rule (remembering y depends on x):
dx2d2y=−y2y−xdxdy=−y2y+yx2=−y3x2+y2=−y325The last step uses the original equation, x2+y2=25. At (3,4): dxdy=−43 and dx2d2y=−6425.
Worked example: an inverse trig identity
If y=cos−1(1+x21−x2), find dxdy.
Solution: Substituting x=tanθ turns the fraction into the double-angle identity 1+tan2θ1−tan2θ=cos2θ, so:
y=cos−1(cos2θ)=2θ=2tan−1xDifferentiating this simpler explicit form:
dxdy=1+x22Common mistakes
- Leaving off dxdy. dxd(y3)=3y2dxdy, not 3y2. Every y term picks up the factor.
- Treating xy as a single variable. It is a product, so it needs the product rule: y+xdxdy.
- Forgetting that constants differentiate to 0. In x2+y2=25, the right side becomes 0, not 25.
- Not substituting back for a second derivative. dx2d2y usually still contains dxdy until you replace it with the first-derivative result.
Continue learning
Implicit differentiation is exactly the tool used to find the slope of a tangent line on a curve whose equation isn't solved for y.