So far, we've differentiated functions written explicitly as $y = f(x)$. But many curves — like circles $x^2 + y^2 = 25$ — are not functions. Yet we can still find $\frac{dy}{dx}$ using implicit differentiation. We treat $y$ as a function of $x$ and differentiate both sides of the equation, then solve for $dy/dx$.

🎯 In this section you will learn

📌 The Key Idea

When we differentiate an equation like $x^2 + y^2 = 25$, we treat $y$ as $y(x)$ — a function of $x$. So:

$$ \frac{d}{dx}(y^2) = 2y \cdot \frac{dy}{dx} \quad \text{(Chain Rule!)} $$
💡 Important
Whenever you differentiate a term involving $y$, you multiply by $\frac{dy}{dx}$ (because $y$ is a function of $x$).
Example 1Differentiating $y$ Terms

📌 Steps for Implicit Differentiation

Differentiate both sides
Differentiate every term with respect to $x$. Remember: derivative of $y$ is $\frac{dy}{dx}$.
Collect $\frac{dy}{dx}$ terms
Move all terms containing $\frac{dy}{dx}$ to one side.
Factor out $\frac{dy}{dx}$
Factor $\frac{dy}{dx}$ from the collected terms.
Solve for $\frac{dy}{dx}$
Divide both sides by the coefficient of $\frac{dy}{dx}$.
Example 2Circle: $x^2 + y^2 = 25$

Find $\frac{dy}{dx}$ for the circle $x^2 + y^2 = 25$.

Differentiate both sides
$\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)$
Apply the rules
$2x + 2y \cdot \frac{dy}{dx} = 0$
Solve for $\frac{dy}{dx}$
$2y \cdot \frac{dy}{dx} = -2x \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{2x}{2y} = -\frac{x}{y}$
Example 3Find the slope at a point

Find the slope of the tangent line to $x^2 + y^2 = 25$ at the point $(3, -4)$.

Use $\frac{dy}{dx} = -\frac{x}{y}$
From Example 2, $\frac{dy}{dx} = -\frac{x}{y}$
Plug in $(3, -4)$
$\frac{dy}{dx} = -\frac{3}{-4} = \frac{3}{4}$
Interpret
The slope of the tangent line at $(3, -4)$ is $\frac{3}{4}$.
Example 4Product Rule Inside

Find $\frac{dy}{dx}$ for $x^2 + xy + y^2 = 7$.

Differentiate
$\frac{d}{dx}(x^2) + \frac{d}{dx}(xy) + \frac{d}{dx}(y^2) = 0$
Apply rules
$2x + \left(x \cdot \frac{dy}{dx} + y \cdot 1\right) + 2y \cdot \frac{dy}{dx} = 0$
Collect $\frac{dy}{dx}$ terms
$2x + y + x \frac{dy}{dx} + 2y \frac{dy}{dx} = 0$
Factor and solve
$(x + 2y)\frac{dy}{dx} = -2x - y \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{2x + y}{x + 2y}$
Example 5Trig Functions in Implicit Differentiation

Find $\frac{dy}{dx}$ for $\sin x + \cos y = 1$.

Differentiate
$\frac{d}{dx}(\sin x) + \frac{d}{dx}(\cos y) = 0$
Apply rules
$\cos x - \sin y \cdot \frac{dy}{dx} = 0$
Solve
$\frac{dy}{dx} = \frac{\cos x}{\sin y}$
Example 6Exponentials in Implicit Differentiation

Find $\frac{dy}{dx}$ for $e^x + e^y = xy$.

Differentiate
$e^x + e^y \cdot \frac{dy}{dx} = x \cdot \frac{dy}{dx} + y \cdot 1$
Collect $\frac{dy}{dx}$ terms
$e^y \frac{dy}{dx} - x \frac{dy}{dx} = y - e^x$
Factor and solve
$(e^y - x) \frac{dy}{dx} = y - e^x \quad \Rightarrow \quad \frac{dy}{dx} = \frac{y - e^x}{e^y - x}$
⚠️ Common Mistakes
🔍 Key Takeaways
← Back to Module Page