Skip to main content

Thomas’ Calculus · Chapter 03 · Section 3.7

By Muhammad Abdullah Athar · SymPy Verified

Implicit Differentiation

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 3.7: Implicit Differentiation

Many important geometric curves (circles, ellipses, hyperbolas, folia) are defined implicitly by equations relating xx and yy, rather than explicit formulas y=f(x)y = f(x).


1. The Implicit Differentiation Algorithm

  1. Differentiate both sides of the equation with respect to xx.
  2. Apply the Chain Rule whenever differentiating terms containing yy: ddx[yn]=nyn−1dydx,ddx[sin⁡y]=cos⁡ydydx\frac{d}{dx}[y^n] = n y^{n-1} \frac{dy}{dx}, \qquad \frac{d}{dx}[\sin y] = \cos y \frac{dy}{dx}
  3. Collect all terms containing dydx\frac{dy}{dx} on one side, and all other terms on the opposite side.
  4. Factor out dydx\frac{dy}{dx} and divide to solve for the derivative.

Part Two

Key Ideas to Remember

1 essential statements for this section, each with a plain-words explanation.

Rule #1Sec 3.7

Implicit Differentiation Technique

ddx[F(x,y)]=0  ⟹  apply chain rule with ddx[g(y)]=g′(y)dydx, then solve for dydx\frac{d}{dx}[F(x, y)] = 0 \implies \text{apply chain rule with } \frac{d}{dx}[g(y)] = g'(y)\frac{dy}{dx}, \text{ then solve for } \frac{dy}{dx}

When an equation F(x, y) = 0 defines y implicitly as a differentiable function of x, differentiate both sides with respect to x treating y as a function of x, then isolate dy/dx algebraically.

Conditions: Equation defines y as a locally differentiable function of x; Denominator in dy/dx expression is non-zero

In plain words: Avoids having to solve explicitly for y, which is often difficult or impossible.

Remember — Every time you differentiate a term with y with respect to x, append dy/dx.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 3.7, Exercise 1)

Warm-up

Problem. Find dy/dx for the circle x^2 + y^2 = 25, and find the equation of the tangent line at (3, 4).

Step-by-Step Derivation (3 steps)

1

Differentiate Both Sides with Respect to x

ddx[x2]+ddx[y2]=ddx[25]  ⟹  2x+2ydydx=0\frac{d}{dx}[x^2] + \frac{d}{dx}[y^2] = \frac{d}{dx}[25] \implies 2x + 2y\frac{dy}{dx} = 0

Apply chain rule to y^2, producing 2y dy/dx.

Why this works: Implicit differentiation rule.
2

Solve Algebraically for dy/dx

2ydydx=−2x  ⟹  dydx=−xy(y≠0)2y\frac{dy}{dx} = -2x \implies \frac{dy}{dx} = -\frac{x}{y} \quad (y \neq 0)

Subtract 2x and divide by 2y.

Why this works: Isolating dy/dx.
3

Evaluate Slope at (3, 4) and Write Line Equation

m=−34;y−4=−34(x−3)  ⟹  4y−16=−3x+9  ⟹  3x+4y=25m = -\frac{3}{4}; \quad y - 4 = -\frac{3}{4}(x - 3) \implies 4y - 16 = -3x + 9 \implies 3x + 4y = 25

Substitute (3, 4) into dy/dx and apply point-slope form.

Why this works: Tangent line equation.

Answer: dydx=−xy;Tangent at (3, 4): y−4=−34(x−3)  ⟺  3x+4y=25\frac{dy}{dx} = -\frac{x}{y}; \quad \text{Tangent at (3, 4): } y - 4 = -\frac{3}{4}(x - 3) \iff 3x + 4y = 25

✓ Verified by SymPy CAS

Example 02(Section 3.7, Exercise 2)

Core practice

Problem. Find dy/dx for x^3 + y^3 = 6xy, and determine the tangent slope at (3, 3).

Step-by-Step Derivation (3 steps)

1

Differentiate Both Sides Term-by-Term

3x2+3y2dydx=6(1⋅y+xdydx)=6y+6xdydx3x^2 + 3y^2\frac{dy}{dx} = 6\left(1 \cdot y + x\frac{dy}{dx}\right) = 6y + 6x\frac{dy}{dx}

Apply product rule to 6xy: d/dx[6xy] = 6y + 6x(dy/dx).

Why this works: Product rule combined with chain rule.
2

Group dy/dx Terms and Factor

3y2dydx−6xdydx=6y−3x2  ⟹  3(y2−2x)dydx=3(2y−x2)3y^2\frac{dy}{dx} - 6x\frac{dy}{dx} = 6y - 3x^2 \implies 3(y^2 - 2x)\frac{dy}{dx} = 3(2y - x^2)

Collect dy/dx terms on the left.

Why this works: Linear grouping for isolation.
3

Solve for dy/dx and Evaluate at (3, 3)

dydx=2y−x2y2−2x  ⟹  dydx∣(3,3)=2(3)−3232−2(3)=6−99−6=−33=−1\frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x} \implies \frac{dy}{dx}\Big|_{(3,3)} = \frac{2(3) - 3^2}{3^2 - 2(3)} = \frac{6 - 9}{9 - 6} = \frac{-3}{3} = -1

Divide by (y^2 - 2x) and evaluate at point (3, 3).

Why this works: Tangent slope at specified point.

Answer: dydx=2y−x2y2−2x;Slope at (3, 3) =−1\frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x}; \quad \text{Slope at (3, 3) } = -1

✓ Verified by SymPy CAS

Example 03(Section 3.7, Exercise 3)

Core practice

Problem. Find dy/dx for x^2*y + y^2*x = 6.

Step-by-Step Derivation (2 steps)

1

Differentiate Each Product Term

ddx[x2y]=2xy+x2dydx;ddx[y2x]=2ydydxx+y2(1)=y2+2xydydx\frac{d}{dx}[x^2 y] = 2xy + x^2\frac{dy}{dx}; \quad \frac{d}{dx}[y^2 x] = 2y\frac{dy}{dx}x + y^2(1) = y^2 + 2xy\frac{dy}{dx}

Apply product rule to both terms.

Why this works: Both terms involve products of functions of x.
2

Assemble and Solve for dy/dx

(2xy+y2)+(x2+2xy)dydx=0  ⟹  dydx=−2xy+y2x2+2xy(2xy + y^2) + (x^2 + 2xy)\frac{dy}{dx} = 0 \implies \frac{dy}{dx} = -\frac{2xy + y^2}{x^2 + 2xy}

Isolate dy/dx.

Why this works: Standard algebraic solving.

Answer: dydx=−2xy+y2x2+2xy\frac{dy}{dx} = -\frac{2xy + y^2}{x^2 + 2xy}

✓ Verified by SymPy CAS

Example 04(Section 3.7, Exercise 4)

Challenge

Problem. Find d^2y/dx^2 for the ellipse 2x^2 + 3y^2 = 6 in terms of y alone.

Step-by-Step Derivation (3 steps)

1

Find First Derivative dy/dx

4x+6ydydx=0  ⟹  dydx=−2x3y4x + 6y\frac{dy}{dx} = 0 \implies \frac{dy}{dx} = -\frac{2x}{3y}

Differentiate implicitly once.

Why this works: First derivative calculation.
2

Differentiate dy/dx via Quotient Rule

d2ydx2=−231⋅y−xdydxy2=−23y−x(−2x3y)y2=−233y2+2x23y3\frac{d^2y}{dx^2} = -\frac{2}{3}\frac{1 \cdot y - x \frac{dy}{dx}}{y^2} = -\frac{2}{3}\frac{y - x\left(-\frac{2x}{3y}\right)}{y^2} = -\frac{2}{3}\frac{3y^2 + 2x^2}{3y^3}

Apply quotient rule and substitute dy/dx = -2x/(3y).

Why this works: Second derivative via chain and quotient rules.
3

Substitute the Original Curve Equation

2x2+3y2=6  ⟹  d2ydx2=−2363y3=−129y3=−43y32x^2 + 3y^2 = 6 \implies \frac{d^2y}{dx^2} = -\frac{2}{3}\frac{6}{3y^3} = -\frac{12}{9y^3} = -\frac{4}{3y^3}

Replace 2x^2 + 3y^2 with 6 from the original equation.

Why this works: Simplifies second derivative to depend purely on y.

Answer: d2ydx2=−43y3\frac{d^2y}{dx^2} = -\frac{4}{3y^3}

✓ Verified by SymPy CAS

Example 05(Section 3.7, Exercise 5)

Core practice

Problem. Find the slope of the curve sin(x + y) = 2x - 2y at (0, 0).

Step-by-Step Derivation (3 steps)

1

Differentiate Both Sides via Chain Rule

cos⁡(x+y)(1+dydx)=2−2dydx\cos(x + y)\left(1 + \frac{dy}{dx}\right) = 2 - 2\frac{dy}{dx}

d/dx[sin(x+y)] = cos(x+y)*(1 + dy/dx).

Why this works: Chain rule on trigonometric composite function.
2

Group dy/dx Terms

cos⁡(x+y)+cos⁡(x+y)dydx=2−2dydx  ⟹  [cos⁡(x+y)+2]dydx=2−cos⁡(x+y)\cos(x + y) + \cos(x + y)\frac{dy}{dx} = 2 - 2\frac{dy}{dx} \implies [\cos(x + y) + 2]\frac{dy}{dx} = 2 - \cos(x + y)

Collect dy/dx on the left.

Why this works: Algebraic isolation.
3

Solve and Evaluate at (0, 0)

dydx=2−cos⁡(x+y)2+cos⁡(x+y)  ⟹  dydx∣(0,0)=2−cos⁡(0)2+cos⁡(0)=2−12+1=13\frac{dy}{dx} = \frac{2 - \cos(x + y)}{2 + \cos(x + y)} \implies \frac{dy}{dx}\Big|_{(0,0)} = \frac{2 - \cos(0)}{2 + \cos(0)} = \frac{2 - 1}{2 + 1} = \frac{1}{3}

Substitute x = 0, y = 0 and cos(0) = 1.

Why this works: Slope evaluation at the origin.

Answer: dydx∣(0,0)=13\frac{dy}{dx}\Big|_{(0,0)} = \frac{1}{3}

✓ Verified by SymPy CAS