Dove's LibraryDove's Library

3.2 - Implicit Differentiation

Explicit vs. Implicit Equations

Explicit equations give you one variable directly in terms of another:
  • f(t)=t2−3tf(t) = t^2 - 3t
  • y=2x+5y = 2x + 5
  • g(x)=sin⁡(x2)g(x) = \sin(x^2)
Implicit equations have multiple variables mixed together:
  • x2+y2=9x^2 + y^2 = 9 (a circle)
  • x3+y3=6xyx^3 + y^3 = 6xy (folium of Descartes)
  • sin⁡(xy)=x+y\sin(xy) = x + y
Not every graph is a function, so we need implicit equations to describe curves like circles and ellipses. Implicit differentiation is how we get derivatives for those.

Understanding the Notation

Leibniz notation makes this click. Technically dydx\frac{dy}{dx} isn’t a fraction, but it behaves like one.
With respect to xx:
ddx[x]=dxdx=1ddx[y]=dydx\frac{d}{dx}[x] = \frac{dx}{dx} = 1 \qquad \frac{d}{dx}[y] = \frac{dy}{dx}
Power rule with chain rule:
ddx[x2]=2x⋅dxdx=2xddx[y2]=2y⋅dydx\frac{d}{dx}[x^2] = 2x \cdot \frac{dx}{dx} = 2x \qquad \frac{d}{dx}[y^2] = 2y \cdot \frac{dy}{dx}
Exponentials:
ddx[e5x]=5e5xddx[e5y]=5e5y⋅dydx\frac{d}{dx}[e^{5x}] = 5e^{5x} \qquad \frac{d}{dx}[e^{5y}] = 5e^{5y} \cdot \frac{dy}{dx}
Key principle: whenever you differentiate a term containing yy with respect to xx, you have to multiply by dydx\frac{dy}{dx}. That’s the chain rule doing its thing.
Why the chain rule? In an implicit equation, yy is still a function of xx, even when you can’t solve for it. So y2y^2 is really [y(x)]2[y(x)]^2, a composite function: the outer function is u2u^2 and the inner function is y(x)y(x). The chain rule says take the derivative of the outside, 2y2y, and multiply by the derivative of the inside, dydx\frac{dy}{dx}. That’s where every dydx\frac{dy}{dx} comes from. An xx term gets the same treatment, but the derivative of the inside is dxdx=1\frac{dx}{dx} = 1, so nothing extra shows up.

The Four-Step Process

  1. Differentiate both sides with respect to xx. Tack on dydx\frac{dy}{dx} every time you differentiate a yy term.
  1. Collect all dydx\frac{dy}{dx} terms on one side. Move everything else to the other side.
  1. Factor out dydx\frac{dy}{dx}.
  1. Solve for dydx\frac{dy}{dx} by dividing by whatever’s left.

Example 1: Basic Implicit Differentiation

Find dydx\frac{dy}{dx} for y2−5x3=3yy^2 - 5x^3 = 3y.
Step 1: Differentiate both sides.
2ydydx−15x2=3dydx2y\frac{dy}{dx} - 15x^2 = 3\frac{dy}{dx}
Step 2: Collect the dydx\frac{dy}{dx} terms on the left.
2ydydx−3dydx=15x22y\frac{dy}{dx} - 3\frac{dy}{dx} = 15x^2
Step 3: Factor.
dydx(2y−3)=15x2\frac{dy}{dx}(2y - 3) = 15x^2
Step 4: Solve.
dydx=15x22y−3\frac{dy}{dx} = \frac{15x^2}{2y - 3}

Example 2: Implicit Differentiation with Trig and Product Rule

Find dydx\frac{dy}{dx} for sin⁡(xy)=10x\sin(xy) = 10x.
Step 1: Differentiate both sides. The left side needs the chain rule and the product rule, since xyxy is a product.
cos⁡(xy)⋅ddx[xy]=10\cos(xy) \cdot \frac{d}{dx}[xy] = 10
For ddx[xy]\frac{d}{dx}[xy], use the product rule:
ddx[xy]=1⋅y+x⋅dydx=y+xdydx\frac{d}{dx}[xy] = 1 \cdot y + x \cdot \frac{dy}{dx} = y + x\frac{dy}{dx}
So:
cos⁡(xy)(y+xdydx)=10\cos(xy)\left(y + x\frac{dy}{dx}\right) = 10
Step 2: Divide both sides by cos⁡(xy)\cos(xy).
y+xdydx=10cos⁡(xy)=10sec⁡(xy)y + x\frac{dy}{dx} = \frac{10}{\cos(xy)} = 10\sec(xy)
Step 3: Isolate the dydx\frac{dy}{dx} term.
xdydx=10sec⁡(xy)−yx\frac{dy}{dx} = 10\sec(xy) - y
Step 4: Solve.
dydx=10sec⁡(xy)−yx\frac{dy}{dx} = \frac{10\sec(xy) - y}{x}
You can write dydx\frac{dy}{dx} as y′y' to save time, just don’t confuse yy and y′y'.

Finding Equations of Tangent Lines

dydx\frac{dy}{dx} gives you the slope at any point (x,y)(x, y) on the curve. Unlike explicit functions where an xx-value is enough, implicit derivatives need both the xx and yy coordinates.

Example: Tangent Lines to a Circle

Find the equations of the tangent lines to x2+y2=4x^2 + y^2 = 4 at x=1x = 1.
3.2 - Implicit Differentiation
Find the yy-coordinates. Substitute x=1x = 1:
1+y2=4⇒y2=3⇒y=±31 + y^2 = 4 \quad \Rightarrow \quad y^2 = 3 \quad \Rightarrow \quad y = \pm\sqrt{3}
So the points are (1,3)(1, \sqrt{3}) and (1,−3)(1, -\sqrt{3}).
Find dydx\frac{dy}{dx}:
2x+2ydydx=0⇒dydx=−xy2x + 2y\frac{dy}{dx} = 0 \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{x}{y}
Find the slopes:
At (1,3)(1, \sqrt{3}): m1=−13m_1 = -\frac{1}{\sqrt{3}}
At (1,−3)(1, -\sqrt{3}): m2=13m_2 = \frac{1}{\sqrt{3}}
Write the tangent lines using point-slope form:
At (1,3)(1, \sqrt{3}): y−3=−13(x−1)y - \sqrt{3} = -\frac{1}{\sqrt{3}}(x - 1)
At (1,−3)(1, -\sqrt{3}): y+3=13(x−1)y + \sqrt{3} = \frac{1}{\sqrt{3}}(x - 1)

Horizontal and Vertical Tangent Lines

Horizontal tangent lines happen where the slope is zero: dydx=0\frac{dy}{dx} = 0
Vertical tangent lines happen where the slope is undefined.
So for a fraction dydx=N(x,y)D(x,y)\frac{dy}{dx} = \frac{N(x,y)}{D(x,y)}:
  • Horizontal tangents: set the numerator equal to 0
  • Vertical tangents: set the denominator equal to 0
Then check each point. It has to actually be on the curve (plug it into the original equation), and the other part of the fraction can’t also be 0 there. If the numerator and denominator are both 0 at the same point, dydx\frac{dy}{dx} comes out as 00\frac{0}{0}, which tells you nothing yet. You can’t call that a horizontal or vertical tangent without more work.

Example: Finding Horizontal and Vertical Tangents

Given 3x2+2y2=163x^2 + 2y^2 = 16.
Find dydx\frac{dy}{dx}:
6x+4ydydx=0⇒dydx=−6x4y=−3x2y6x + 4y\frac{dy}{dx} = 0 \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{6x}{4y} = -\frac{3x}{2y}
Horizontal tangents. Set the numerator to 0:
−3x=0⇒x=0-3x = 0 \quad \Rightarrow \quad x = 0
Find yy when x=0x = 0:
2y2=16⇒y2=8⇒y=±222y^2 = 16 \quad \Rightarrow \quad y^2 = 8 \quad \Rightarrow \quad y = \pm 2\sqrt{2}
Horizontal tangent lines: y=22y = 2\sqrt{2} and y=−22y = -2\sqrt{2}
Vertical tangents. Set the denominator to 0:
2y=0⇒y=02y = 0 \quad \Rightarrow \quad y = 0
Find xx when y=0y = 0:
3x2=16⇒x2=163⇒x=±4333x^2 = 16 \quad \Rightarrow \quad x^2 = \frac{16}{3} \quad \Rightarrow \quad x = \pm\frac{4\sqrt{3}}{3}
Vertical tangent lines: x=433x = \frac{4\sqrt{3}}{3} and x=−433x = -\frac{4\sqrt{3}}{3}
Important note: for now, whenever the derivative is undefined we’re treating it as a vertical tangent. Later in Unit 5 you’ll learn how to tell vertical tangents, cusps, and corners apart.

Practice Problem

Find dydx\frac{dy}{dx} for x3+y3=4xyx^3 + y^3 = 4xy.
Step 1: Differentiate both sides. The right side needs the product rule.
3x2+3y2dydx=4(y+xdydx)=4y+4xdydx3x^2 + 3y^2\frac{dy}{dx} = 4\left(y + x\frac{dy}{dx}\right) = 4y + 4x\frac{dy}{dx}
Step 2: Collect the dydx\frac{dy}{dx} terms.
3y2dydx−4xdydx=4y−3x23y^2\frac{dy}{dx} - 4x\frac{dy}{dx} = 4y - 3x^2
Step 3: Factor.
dydx(3y2−4x)=4y−3x2\frac{dy}{dx}(3y^2 - 4x) = 4y - 3x^2
Step 4: Solve.
dydx=4y−3x23y2−4x\frac{dy}{dx} = \frac{4y - 3x^2}{3y^2 - 4x}

Key Takeaways

  • Explicit equations isolate one variable (y=f(x)y = f(x)); implicit equations mix them (x2+y2=9x^2 + y^2 = 9)
  • Every time you differentiate a yy term, multiply by dydx\frac{dy}{dx}
  • Four-step process: differentiate both sides, collect dydx\frac{dy}{dx} terms, factor out dydx\frac{dy}{dx}, solve
  • To find a slope at a point, you need both the xx and yy values
  • Horizontal tangents: set the numerator of dydx\frac{dy}{dx} to 0, answer is y=ky = k
  • Vertical tangents: set the denominator of dydx\frac{dy}{dx} to 0, answer is x=kx = k
  • The product rule still applies: ddx[xy]=y+xdydx\frac{d}{dx}[xy] = y + x\frac{dy}{dx}

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.