Implicit Differentiation

Implicit differentiation is an important technique in calculus, used to find the derivative of a function determined by an equation.

Implicit Function Differentiation Formula

dydx=−FxFy\frac{dy}{dx} = -\frac{F_x}{F_y}

Basic steps:

  1. Differentiate both sides of the equation with respect to xx simultaneously
  2. Treat yy as a function of xx
  3. Solve for y′y'

Principle (derivation):

Implicit differentiation is based on the chain rule. When the equation F(x,y)=0F(x, y) = 0 determines yy as a function of xx, we have:

ddxF(x,y)=∂F∂x+∂F∂y⋅dydx=0\frac{d}{dx}F(x, y) = \frac{\partial F}{\partial x} + \frac{\partial F}{\partial y} \cdot \frac{dy}{dx} = 0

Hence:

dydx=−∂F∂x∂F∂y\frac{dy}{dx} = -\frac{\frac{\partial F}{\partial x}}{\frac{\partial F}{\partial y}}

Geometric meaning:

The geometric meaning of implicit differentiation is that it gives the slope of the tangent line to a curve at a point. For example, for the circle x2+y2=1x^2 + y^2 = 1, the slope of the tangent line at the point (a,b)(a, b) is −ab-\frac{a}{b}.

Basic examples:

Example 1: the equation of a circle Find the derivative of the implicit function determined by x2+y2=1x^2 + y^2 = 1 Solution:

  • Differentiate both sides with respect to xx: 2x+2yy′=02x + 2yy' = 0
  • Solve for y′y': y′=−xyy' = -\frac{x}{y}

Example 2: a cubic curve Find the derivative of the implicit function determined by x3+y3=3xyx^3 + y^3 = 3xy Solution:

  • Differentiate both sides with respect to xx: 3x2+3y2y′=3y+3xy′3x^2 + 3y^2y' = 3y + 3xy'
  • Rearrange: 3y2y′−3xy′=3y−3x23y^2y' - 3xy' = 3y - 3x^2
  • Solve for y′y': y′=y−x2y2−xy' = \frac{y - x^2}{y^2 - x}

Complicated examples:

Example 3: an exponential function Find the derivative of the implicit function determined by exy+x2+y2=1e^{xy} + x^2 + y^2 = 1 Solution:

  • Differentiate both sides with respect to xx: exy(y+xy′)+2x+2yy′=0e^{xy}(y + xy') + 2x + 2yy' = 0
  • Rearrange: exyy+xexyy′+2x+2yy′=0e^{xy}y + xe^{xy}y' + 2x + 2yy' = 0
  • Solve for y′y': y′=−exyy+2xxexy+2yy' = -\frac{e^{xy}y + 2x}{xe^{xy} + 2y}

Example 4: a logarithmic function Find the derivative of the implicit function determined by ln⁡(x2+y2)=xy\ln(x^2 + y^2) = xy Solution:

  • Differentiate both sides with respect to xx: 2x+2yy′x2+y2=y+xy′\frac{2x + 2yy'}{x^2 + y^2} = y + xy'
  • Rearrange: 2x+2yy′=(x2+y2)(y+xy′)2x + 2yy' = (x^2 + y^2)(y + xy')
  • Solve for y′y': y′=(x2+y2)y−2x2y−(x2+y2)xy' = \frac{(x^2 + y^2)y - 2x}{2y - (x^2 + y^2)x}

Exercises

Exercise 1

Find the derivative of the implicit function determined by the equation x3+y3=3xyx^3 + y^3 = 3xy.

derivative calculationdifferentiation rules

Approach: Use the method of implicit differentiation.

Steps:

  1. Differentiate both sides with respect to xx: 3x2+3y2y′=3y+3xy′3x^2 + 3y^2y' = 3y + 3xy'
  2. Rearrange: 3y2y′−3xy′=3y−3x23y^2y' - 3xy' = 3y - 3x^2
  3. Solve for y′y': y′=y−x2y2−xy' = \frac{y - x^2}{y^2 - x}

Answer: y′=y−x2y2−xy' = \frac{y - x^2}{y^2 - x}

Exercise 2

Find the derivative of the implicit function determined by the equation x2+y2=1x^2 + y^2 = 1.

derivative calculationdifferentiation rules

Approach: Use the method of implicit differentiation.

Steps:

  1. Differentiate both sides with respect to xx: 2x+2yy′=02x + 2yy' = 0
  2. Solve for y′y': y′=−xyy' = -\frac{x}{y}

Answer: y′=−xyy' = -\frac{x}{y}

Exercise 3

Find the derivative of the implicit function determined by the equation x2+xy+y2=3x^2 + xy + y^2 = 3.

derivative calculationdifferentiation rules

Approach: Use the method of implicit differentiation.

Steps:

  1. Differentiate both sides with respect to xx: 2x+y+xy′+2yy′=02x + y + xy' + 2yy' = 0
  2. Rearrange: (x+2y)y′=−(2x+y)(x + 2y)y' = -(2x + y)
  3. Solve for y′y': y′=−2x+yx+2yy' = -\frac{2x + y}{x + 2y}

Answer: y′=−2x+yx+2yy' = -\frac{2x + y}{x + 2y}

Exercise 4

Find the derivative of the implicit function determined by the equation ex+y=x2+y2e^{x+y} = x^2 + y^2.

derivative calculationdifferentiation rules

Approach: Use the method of implicit differentiation, taking care with the derivative of the exponential function.

Steps:

  1. Differentiate both sides with respect to xx: ex+y(1+y′)=2x+2yy′e^{x+y}(1 + y') = 2x + 2yy'
  2. Rearrange: ex+y+ex+yy′=2x+2yy′e^{x+y} + e^{x+y}y' = 2x + 2yy'
  3. Solve for y′y': y′=2x−ex+yex+y−2yy' = \frac{2x - e^{x+y}}{e^{x+y} - 2y}

Answer: y′=2x−ex+yex+y−2yy' = \frac{2x - e^{x+y}}{e^{x+y} - 2y}

Exercise 5

Find the derivative of the implicit function determined by the equation ln⁡(x2+y2)=2xy\ln(x^2 + y^2) = 2xy.

derivative calculationdifferentiation rules

Approach: Use the method of implicit differentiation, taking care with the derivative of the logarithmic function.

Steps:

  1. Differentiate both sides with respect to xx: 2x+2yy′x2+y2=2y+2xy′\frac{2x + 2yy'}{x^2 + y^2} = 2y + 2xy'
  2. Rearrange: 2x+2yy′=(x2+y2)(2y+2xy′)2x + 2yy' = (x^2 + y^2)(2y + 2xy')
  3. Solve for y′y': y′=2y(x2+y2)−2x2y−2x(x2+y2)y' = \frac{2y(x^2 + y^2) - 2x}{2y - 2x(x^2 + y^2)}

Answer: y′=2y(x2+y2)−2x2y−2x(x2+y2)y' = \frac{2y(x^2 + y^2) - 2x}{2y - 2x(x^2 + y^2)}


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
F(x,y)F(x, y)Mathematical symbolF of x and yThe implicit equation F(x,y)=0F(x, y) = 0 that determines yy as a function of xx
∂F∂x\frac{\partial F}{\partial x}Mathematical symbolpartial F over partial xThe partial derivative of the implicit equation with respect to xx
∂F∂y\frac{\partial F}{\partial y}Mathematical symbolpartial F over partial yThe partial derivative with respect to yy, which sits in the denominator of the formula
dydx\frac{dy}{dx}Mathematical symbold y over d xThe derivative of the implicitly defined function
y′y'Mathematical symboly primeThe unknown solved for after differentiating both sides of the equation
x2+y2=1x^2 + y^2 = 1Mathematical symbolx squared plus y squared equals oneThe circle whose tangent slope is −xy-\frac{x}{y}
x3+y3=3xyx^3 + y^3 = 3xyMathematical symbolx cubed plus y cubed equals three x yThe cubic curve whose derivative is y−x2y2−x\frac{y - x^2}{y^2 - x}
exye^{xy}Mathematical symbole to the x yThe exponential term of Example 3, differentiated with the chain rule
ln⁡(x2+y2)\ln(x^2 + y^2)Mathematical symbolnatural log of x squared plus y squaredThe logarithmic term of Example 4
(a,b)(a, b)Mathematical symbolthe point a, bThe point on the circle at which the tangent slope −ab-\frac{a}{b} is read off

Found an issue with this content?

Tell us what could be improved.