01 / 21

Implicit
Differentiation

Learn to find derivatives of equations where \(y\) is not isolated: circles, ellipses, and beyond.

Calculus 1

What Is an Implicit Equation?

Most equations you've differentiated so far look like \(y = f(x)\): the variable \(y\) is explicitly written as a function of \(x\). But many important curves cannot be neatly solved for \(y\).

In these cases, we need a technique called implicit differentiation to find \(\frac{dy}{dx}\) without first solving for \(y\).

A Circle You Can't Solve Easily

x y 5 −5 5 −5 (3, 4) tangent \(x^2 + y^2 = 25\)

Why Not Just Solve for \(y\)?

Simple cases
For \(x^2 + y^2 = 25\), you could write \(y = \pm\sqrt{25 - x^2}\) and differentiate. But you get two branches and messy radicals.
Impossible cases
For \(\sin(xy) + y^3 = x\), there is no algebraic way to isolate \(y\). Implicit differentiation is the only option.

The Core Idea: Chain Rule on \(y\)

Since \(y\) is implicitly a function of \(x\), every time you differentiate a term containing \(y\), you must apply the chain rule.

$$\frac{d}{dx}\bigl[f(y)\bigr] = f'(y) \cdot \frac{dy}{dx}$$

The Implicit Differentiation Procedure

1
Differentiate both sides of the equation with respect to \(x\).
2
Apply the chain rule to every term containing \(y\): attach a factor of \(\frac{dy}{dx}\).
3
Collect all terms with \(\frac{dy}{dx}\) on one side of the equation.
4
Factor out \(\frac{dy}{dx}\) and solve for it algebraically.

Explicit vs. Implicit Differentiation

Explicit Implicit
Form \(y = f(x)\) \(F(x, y) = 0\)
Solve for \(y\)? Already solved Not needed
Chain rule on \(y\)? Not required Always required
Result contains Only \(x\) Both \(x\) and \(y\)
Use case Simple curves Circles, ellipses, etc.

How to Apply It: Checklist

1
Write the equation. Make sure both sides are set equal (e.g., move everything to one side if needed).
2
Differentiate term by term. Use product rule, quotient rule, or chain rule as needed. Every \(y\)-term gets a \(\frac{dy}{dx}\) factor.
3
Isolate \(\frac{dy}{dx}\). Move \(\frac{dy}{dx}\) terms to one side, everything else to the other.
4
Simplify. Factor, cancel, and substitute the point \((x_0, y_0)\) if a numerical slope is requested.

Example 1: The Circle \(x^2 + y^2 = 25\)

1
Differentiate both sides: \(\frac{d}{dx}[x^2] + \frac{d}{dx}[y^2] = \frac{d}{dx}[25]\)
2
Apply rules: \(2x + 2y\,\frac{dy}{dx} = 0\)
3
Isolate: \(2y\,\frac{dy}{dx} = -2x\)
4
Solve: \(\frac{dy}{dx} = -\frac{x}{y}\)

Example 2: Product Rule \(xy = 6\)

1
Differentiate: \(\frac{d}{dx}[xy] = \frac{d}{dx}[6]\)
2
Product rule on the left: \(1 \cdot y + x \cdot \frac{dy}{dx} = 0\)
3
Isolate: \(x\,\frac{dy}{dx} = -y\)
4
Solve: \(\frac{dy}{dx} = -\frac{y}{x}\)

Example 3: Trig \(\sin(y) + x^2 = y\)

1
Differentiate: \(\cos(y)\,\frac{dy}{dx} + 2x = \frac{dy}{dx}\)
2
Collect \(\frac{dy}{dx}\) terms: \(\cos(y)\,\frac{dy}{dx} - \frac{dy}{dx} = -2x\)
3
Factor: \(\frac{dy}{dx}\bigl(\cos(y) - 1\bigr) = -2x\)
4
Solve: \(\frac{dy}{dx} = \frac{-2x}{\cos(y) - 1} = \frac{2x}{1 - \cos(y)}\)

Visualizing Tangent Lines on an Ellipse

x y 4 −4 3 −3 \((2,\, \tfrac{3\sqrt{3}}{2})\) \((-3,\, \tfrac{\sqrt{63}}{4})\) \(\frac{x^2}{16} + \frac{y^2}{9} = 1\)

When You Need the Product Rule

If \(x\) and \(y\) appear multiplied together, you must use the product rule before applying the chain rule. Here is the pattern:

$$\frac{d}{dx}[x \cdot g(y)] = 1 \cdot g(y) + x \cdot g'(y)\,\frac{dy}{dx}$$
\(\frac{d}{dx}[xy^2]\)
\(= y^2 + x \cdot 2y\,\frac{dy}{dx}\)
Product rule + chain rule together
\(\frac{d}{dx}[x^2 y^3]\)
\(= 2xy^3 + x^2 \cdot 3y^2\,\frac{dy}{dx}\)
Same pattern, higher powers

Finding \(\frac{d^2y}{dx^2}\) Implicitly

You can find the second derivative by differentiating \(\frac{dy}{dx}\) again with respect to \(x\): treat it as another implicit differentiation.

1
Find \(\frac{dy}{dx}\) using the standard procedure.
2
Differentiate \(\frac{dy}{dx}\) with respect to \(x\), using the quotient rule. Remember that \(y\) still depends on \(x\).
3
Substitute your expression for \(\frac{dy}{dx}\) back in to eliminate it from the answer.

Common Mistakes to Avoid

✕ Forgetting \(\frac{dy}{dx}\)
Writing \(\frac{d}{dx}[y^2] = 2y\) instead of \(2y\,\frac{dy}{dx}\). Every \(y\)-term needs the chain rule factor.
✕ Skipping Product Rule
When \(x\) and \(y\) are multiplied (like \(xy\)), you must apply the product rule before isolating \(\frac{dy}{dx}\).
✕ Solving for \(y\) First
Attempting to isolate \(y\) before differentiating. This wastes time and is often impossible for complex equations.

Summary: Differentiation Rules in Implicit Context

Expression \(\frac{d}{dx}\) Result Rule Used
\(x^n\) \(nx^{n-1}\) Power
\(y^n\) \(ny^{n-1}\,\frac{dy}{dx}\) Power + Chain
\(xy\) \(y + x\,\frac{dy}{dx}\) Product + Chain
\(\sin(y)\) \(\cos(y)\,\frac{dy}{dx}\) Trig + Chain
\(e^y\) \(e^y\,\frac{dy}{dx}\) Exponential + Chain
\(\ln(y)\) \(\frac{1}{y}\,\frac{dy}{dx}\) Logarithmic + Chain

Question 1 of 5

Find \(\frac{dy}{dx}\) if \(x^2 + y^2 = 10\).

Question 2 of 5

What is \(\frac{d}{dx}[y^3]\)?

Question 3 of 5

For the equation \(xy + y^2 = 7\), find \(\frac{dy}{dx}\).

Question 4 of 5

Find the slope of the tangent line to \(x^3 + y^3 = 9\) at the point (1, 2).

Question 5 of 5

If \(e^y = x + y\), which expression equals \(\frac{dy}{dx}\)?