f′Field Guide

Implicit Differentiation

Finding slopes on curves you can't (or don't want to) solve for y.

0 / 10 problems mastered

A curve like x3+y3=6xyx^3+y^3=6xy isn't a function y=f(x)y=f(x), but near most points it looks like one. So treat yy as an unknown function of xx and differentiate both sides with respect to xx.

The one rule: every time you differentiate something with yy in it, the chain rule attaches a factor of y′y'. So ddx(y3)=3y2 y′\frac{d}{dx}(y^3)=3y^2\,y', ddx(sin⁡y)=cos⁡y y′\frac{d}{dx}(\sin y)=\cos y\,y', and ddx(xy)=y+x y′\frac{d}{dx}(xy)=y+x\,y' (product rule).

Recipe:

  1. Differentiate both sides with respect to xx. Attach y′y' to every yy-term.
  2. Move all y′y' terms to one side, everything else to the other.
  3. Factor out y′y' and divide.

Tangent lines on implicit curves

Lab 7 · drag the point along the curve
point (x, y)–
dy/dx formula–
slope here–

When the denominator of dy/dx is 0, the tangent is vertical. When the numerator is 0, it is horizontal.

Worked examples

Example · folium of Descartes (Stewart Ex. 2)

Find y′y' for x3+y3=6xyx^3+y^3=6xy and the tangent line at (3,3)(3,3).

  1. Differentiate: 3x2+3y2y′=6y+6xy′3x^2+3y^2y'=6y+6xy'. Right side used the product rule on 6xy6xy.
  2. Collect y′y': 3y2y′−6xy′=6y−3x23y^2y'-6xy'=6y-3x^2.
  3. Factor and divide (and cancel 3): y′=2y−x2y2−2xy'=\dfrac{2y-x^2}{y^2-2x}.
  4. At (3,3)(3,3): y′=6−99−6=−1y'=\dfrac{6-9}{9-6}=-1. Tangent: y−3=−(x−3)⇒x+y=6y-3=-(x-3)\Rightarrow x+y=6.
Example · second derivative (§3.5 #39)

Find y′′y'' for x2+4y2=4x^2+4y^2=4.

  1. 2x+8yy′=0⇒y′=−x4y2x+8yy'=0\Rightarrow y'=-\dfrac{x}{4y}.
  2. Quotient rule on y′y', remembering yy is a function: y′′=−4y⋅1−x⋅4y′16y2y''=-\dfrac{4y\cdot1-x\cdot4y'}{16y^2}.
  3. Substitute y′=−x4yy'=-\frac{x}{4y}: y′′=−4y+x2y16y2=−4y2+x216y3y''=-\dfrac{4y+\frac{x^2}{y}}{16y^2}=-\dfrac{4y^2+x^2}{16y^3}.
  4. Use the original equation: x2+4y2=4x^2+4y^2=4. y′′=−416y3=−14y3y''=-\dfrac{4}{16y^3}=-\dfrac{1}{4y^3}.

Practice

§3.5 #1
Find y′y' for 5x2−y3=75x^2-y^3=7 implicitly.
§3.5 #5
Find dy/dxdy/dx for x2−4xy+y2=4x^2-4xy+y^2=4.
§3.5 #7
Find dy/dxdy/dx for x4+x2y2+y3=5x^4+x^2y^2+y^3=5.
§3.5 #10
Find dy/dxdy/dx for xey=x−yxe^y=x-y.
§3.5 #11
Find dy/dxdy/dx for sin⁡x+cos⁡y=2x−3y\sin x+\cos y=2x-3y.
§3.5 #15
Find dy/dxdy/dx for ycos⁡x=x2+y2y\cos x=x^2+y^2.
§3.5 #23
If f(x)+x2[f(x)]3=10f(x)+x^2[f(x)]^3=10 and f(1)=2f(1)=2, find f′(1)f'(1).
§3.5 #37
Find the tangent line to the kampyle y2=5x4−x2y^2=5x^4-x^2 at (1,2)(1,2).
§3.5 · circle
Find the tangent line to x2+y2=25x^2+y^2=25 at (3,4)(3,4).
§3.5 · horizontal tangents
Where does x2−xy+y2=3x^2-xy+y^2=3 have horizontal tangents?

Traps

Forgetting y′ on y-terms

ddxy2=2y y′\frac{d}{dx}y^2=2y\,y', not 2y2y. This is the #1 mistake.

xy is a product

ddx(xy)=y+xy′\frac{d}{dx}(xy)=y+xy'. Don't write just y′y' or 1⋅y′1\cdot y'.

Constant on the right

The derivative of the 25 in x2+y2=25x^2+y^2=25 is 0. Don't drop the whole right side when it has variables.