Implicit Differentiation: Steps, Examples & Formula

#Calculus
TL;DR
Implicit differentiation finds $\frac{dy}{dx}$ for an equation that is not solved for $y$, such as $x^2 + y^2 = 25$. You differentiate both sides with respect to $x$, treat $y$ as a function of $x$ so every $y$-term picks up a $\frac{dy}{dx}$ through the chain rule, then solve for $\frac{dy}{dx}$. For the circle this gives $\frac{dy}{dx} = -\frac{x}{y}$, the slope of the tangent at any point.
BT
Bhanzu TeamLast updated on September 22, 202611 min read

What Is Implicit Differentiation?

Implicit differentiation is a method for finding $\frac{dy}{dx}$ when an equation relates $x$ and $y$ without being solved for $y$. Instead of writing $y = f(x)$ and differentiating, you differentiate the whole equation as it stands, treating $y$ as an unknown function of $x$.

An equation like $y = x^2 + 3x$ is explicit: $y$ sits alone on one side, so you can differentiate it directly. An equation like $x^2 + y^2 = 25$ is implicit: $y$ is tangled up with $x$, and solving for $y$ would split the curve into two separate square-root branches. Implicit differentiation skips that split and differentiates the relation in one pass.

The whole method rests on a single idea. Everywhere $y$ appears, it stands for some function of $x$, so differentiating a $y$-term is really the chain rule in disguise:

$$\frac{d}{dx}\big[,y,\big] = \frac{dy}{dx}, \qquad \frac{d}{dx}\big[,y^2,\big] = 2y,\frac{dy}{dx}$$

That extra $\frac{dy}{dx}$ factor is the heart of the technique. Miss it, and every later step is wrong.

How Do You Do Implicit Differentiation?

There are three steps, and they never change:

  1. Differentiate both sides of the equation with respect to $x$, term by term.

  2. Attach $\frac{dy}{dx}$ to every term that came from differentiating a $y$-term (this is the chain rule).

  3. Solve for $\frac{dy}{dx}$: gather the $\frac{dy}{dx}$ terms on one side, factor it out, and divide.

Example 1: Differentiate the circle $x^2 + y^2 = 25$.

Apply Step 1 to each term:

$$\frac{d}{dx}\big[x^2\big] + \frac{d}{dx}\big[y^2\big] = \frac{d}{dx}\big[25\big]$$

Now Step 2. The $x^2$ term differentiates normally to $2x$; the $y^2$ term picks up a $\frac{dy}{dx}$; the constant differentiates to $0$:

$$2x + 2y,\frac{dy}{dx} = 0$$

Step 3, solve for $\frac{dy}{dx}$:

$$2y,\frac{dy}{dx} = -2x \qquad\Longrightarrow\qquad \frac{dy}{dx} = -\frac{x}{y}$$

Final answer: $\dfrac{dy}{dx} = -\dfrac{x}{y}$.

Notice the answer depends on both $x$ and $y$. That is normal for implicit differentiation, and it is exactly what you want, because a single $x$ on the circle has two heights, and the slope differs between them.

What Does The Answer Mean Geometrically?

The derivative is the slope of the tangent line to the curve. Take the point $(3, 4)$, which lies on the circle because $3^2 + 4^2 = 25$. The slope there is:

$$\frac{dy}{dx}\bigg|_{(3,4)} = -\frac{3}{4}$$

The radius drawn from the centre $(0,0)$ to $(3,4)$ has slope $\frac{4}{3}$. Multiply the two slopes:

$$\left(-\frac{3}{4}\right)\left(\frac{4}{3}\right) = -1$$

A product of $-1$ means the tangent is perpendicular to the radius, which is exactly the geometry every circle obeys. The algebra and the picture agree. For the underlying figure, see the equation of a circle, and for the line itself the tangent.

How Do You Differentiate A Term Like $xy$?

A term that multiplies $x$ and $y$ together, such as $xy$, needs the product rule, because both factors change with $x$ (remember, $y$ is a function of $x$). The product rule gives:

$$\frac{d}{dx}\big[xy\big] = x,\frac{dy}{dx} + y$$

Skipping the product rule here is one of the most common errors in the whole topic. Here is a worked case that uses it.

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

Differentiate every term with respect to $x$. The middle term $xy$ takes the product rule:

$$2x + \left(x,\frac{dy}{dx} + y\right) + 2y,\frac{dy}{dx} = 0$$

Collect the two $\frac{dy}{dx}$ terms and move everything else to the right:

$$x,\frac{dy}{dx} + 2y,\frac{dy}{dx} = -,2x - y$$

Factor out $\frac{dy}{dx}$ and divide:

$$(x + 2y),\frac{dy}{dx} = -(2x + y) \qquad\Longrightarrow\qquad \frac{dy}{dx} = -\frac{2x + y}{x + 2y}$$

Final answer: $\dfrac{dy}{dx} = -\dfrac{2x + y}{x + 2y}$.

Check it at a real point. The point $(1, 2)$ lies on the curve because $1 + 2 + 4 = 7$. There the slope is $-\frac{2(1)+2}{1+2(2)} = -\frac{4}{5}$.

What Are The Derivatives Of The Common $y$-Terms?

Every implicit problem is built from a small set of $y$-term derivatives, each one the chain rule applied to a standard function. Keep this table beside you until it is automatic.

Table: Differentiating a $y$-term with respect to $x$ (each carries a $\frac{dy}{dx}$).

$y$-term

Derivative with respect to $x$

$y$

$\dfrac{dy}{dx}$

$y^{n}$

$n,y^{n-1},\dfrac{dy}{dx}$

$\sin y$

$\cos y ;\dfrac{dy}{dx}$

$e^{y}$

$e^{y},\dfrac{dy}{dx}$

$\ln y$

$\dfrac{1}{y},\dfrac{dy}{dx}$

$xy$

$x,\dfrac{dy}{dx} + y$

The trigonometric rows come straight from the differentiation of trigonometric functions, and the last two from the derivatives of logarithmic functions and exponentials. Every row is just a normal derivative with $\frac{dy}{dx}$ tacked on the end.

How Do You Find The Second Derivative Implicitly?

To get $\frac{d^2y}{dx^2}$, differentiate the first derivative again, and substitute the value of $\frac{dy}{dx}$ you already found.

Example 3: Find $\frac{d^2y}{dx^2}$ for the circle $x^2 + y^2 = 25$.

Start from the first derivative, $\frac{dy}{dx} = -\frac{x}{y}$, and differentiate it with the quotient rule:

$$\frac{d^2y}{dx^2} = \frac{d}{dx}\left[-\frac{x}{y}\right] = -,\frac{(1)(y) - x\left(\dfrac{dy}{dx}\right)}{y^2}$$

Substitute $\frac{dy}{dx} = -\frac{x}{y}$ into the numerator:

$$\frac{d^2y}{dx^2} = -,\frac{y - x\left(-\dfrac{x}{y}\right)}{y^2} = -,\frac{y + \dfrac{x^2}{y}}{y^2} = -,\frac{y^2 + x^2}{y^3}$$

Since the point sits on the circle, $x^2 + y^2 = 25$, so the answer simplifies cleanly:

$$\frac{d^2y}{dx^2} = -\frac{25}{y^3}$$

Final answer: $\dfrac{d^2y}{dx^2} = -\dfrac{25}{y^3}$. On the upper semicircle $y > 0$ this is negative, which matches the curve bending downward there.

How Do You Use Implicit Differentiation To Prove A Derivative?

Implicit differentiation is not only for tangled curves. It is the standard way to unlock the derivatives of inverse functions, where solving for $y$ is impossible but flipping the equation is easy.

Example 4: Show that $\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}$.

Let $y = \arcsin x$, which means $\sin y = x$ with $y$ in $\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$. Differentiate both sides with respect to $x$:

$$\cos y ;\frac{dy}{dx} = 1 \qquad\Longrightarrow\qquad \frac{dy}{dx} = \frac{1}{\cos y}$$

On that interval $\cos y \ge 0$, so $\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}$. Substituting:

$$\frac{dy}{dx} = \frac{1}{\sqrt{1 - x^2}}$$

Final answer: $\dfrac{d}{dx}[\arcsin x] = \dfrac{1}{\sqrt{1 - x^2}}$. The same trick, applied to $\tan y = x$, gives the derivative of $\arctan x$. This is why implicit differentiation is the engine behind every inverse function derivative.

Why Does Implicit Differentiation Work?

The method can feel like a trick, but it follows from one honest assumption: near the point of interest, the equation defines $y$ as some differentiable function of $x$, even if we cannot write that function down.

Once you grant that, three ideas do all the work:

  • Both sides are the same function of $x$. If two expressions are equal for every $x$ on the curve, their derivatives are equal too. Differentiating both sides is allowed.

  • A $y$-term is a composition. Something like $y^2$ is "square the function $y(x)$," so the chain rule applies: the derivative is $2y$ (the outer part) times $\frac{dy}{dx}$ (the inner part). The mysterious $\frac{dy}{dx}$ factor is just the chain rule refusing to be skipped.

  • $\frac{dy}{dx}$ is one unknown. After differentiating, the equation is linear in $\frac{dy}{dx}$, so ordinary algebra isolates it.

Here is the same logic deriving a rule you already trust, the power rule for a rational exponent. Let $y = x^{p/q}$, so $y^{q} = x^{p}$. Differentiate implicitly:

$$q,y^{q-1},\frac{dy}{dx} = p,x^{p-1} \qquad\Longrightarrow\qquad \frac{dy}{dx} = \frac{p}{q},\frac{x^{p-1}}{y^{q-1}}$$

Replace $y = x^{p/q}$ and simplify the exponents to recover $\frac{dy}{dx} = \frac{p}{q},x^{(p/q) - 1}$. The rule you memorised for square roots and cube roots is implicit differentiation wearing a familiar coat.

Who Discovered Implicit Differentiation?

Implicit differentiation arrived with calculus itself, in the 1600s, when two brilliant and stubborn men built the same machine on opposite sides of the English Channel.

Two more figures shaped the ground this method stands on:

  • René Descartes (1596–1650, France) drew curves like the folium $x^3 + y^3 = 6xy$, which cannot be untangled into $y = f(x)$, forcing later mathematicians to differentiate relations directly.

  • Gottfried Wilhelm Leibniz (1646–1716, Germany) introduced the $\frac{dy}{dx}$ and $\frac{d}{dx}$ symbols in the 1670s and 1680s, the notation this entire article relies on. For the wider story, see the history of calculus.

Where Is Implicit Differentiation Used In The Real World?

The technique powers related rates, the family of problems where two quantities are tied by an equation and both change with time. Differentiating that equation implicitly (with respect to time) links their rates.

  • Physics and safety: the sliding-ladder problem in the hook is a related-rates classic. From $x^2 + y^2 = 25$, implicit differentiation with respect to time gives $x\frac{dx}{dt} + y\frac{dy}{dt} = 0$, which predicts how fast the top falls as the foot is pulled out.

  • Weather and fluids: a circular ripple or an oil spill spreading on water has area tied to radius by $A = \pi r^2$; differentiating relates how fast the area grows to how fast the edge moves.

  • Medicine and engineering: inflating a spherical balloon or draining a conical tank links volume, radius, and height through one equation, and implicit differentiation converts a known pump rate into the rate a level rises.

  • Economics: demand curves that mix price and quantity in one relation are differentiated implicitly to find marginal effects without solving for either variable.

  • Computer graphics: many smooth shapes are stored as implicit equations $F(x, y) = 0$, and their tangents and normals, needed for lighting and collisions, come from implicit differentiation.

One method, from ladders to oil spills to rendered surfaces. The reason is always the same: the real world ties variables together in equations that refuse to be solved for one letter.

What Are The Most Common Mistakes With Implicit Differentiation?

These four errors account for most lost marks, verified against the AP Calculus review at Albert.io, the Math Mistakes archives, and the recurring questions students post on r/calculus and math.stackexchange.

Forgetting the $\frac{dy}{dx}$ on a $y$-term.

Where it slips in:

A student differentiates $y^2$ and writes $2y$, treating $y$ like a plain variable instead of a function of $x$.

Don't do this:

Do not stop at $2y$. Every $y$-term is a composition, so the chain rule adds a factor.

The correct way:

Write $\frac{d}{dx}[y^2] = 2y,\frac{dy}{dx}$. Attach $\frac{dy}{dx}$ the moment you differentiate anything containing $y$.

Skipping the product rule on a mixed term like $xy$.

Where it slips in:

A student differentiates $xy$ as $\frac{dy}{dx}$, or as $y$, forgetting that both $x$ and $y$ vary.

Don't do this:

Do not treat one factor as a constant. $xy$ is a product of two changing quantities.

The correct way:

Use the product rule: $\frac{d}{dx}[xy] = x,\frac{dy}{dx} + y$. The same care applies to $x^2y$, $\sin(xy)$, and every mixed term.

Treating $y$ as a constant.

Where it slips in:

A student differentiates a $y$-only term, such as $\sin y$, and gets $0$ or $\cos y$ with no $\frac{dy}{dx}$, as if $y$ were a number.

Don't do this:

Do not differentiate $y$-terms to zero and do not drop the chain-rule factor. In this whole method $y$ is never a constant.

The correct way:

Differentiate the outer function, then multiply by $\frac{dy}{dx}$: $\frac{d}{dx}[\sin y] = \cos y,\frac{dy}{dx}$.

Substituting the point too early, or forgetting it lies on the curve.

Where it slips in:

A student plugs numbers in before solving for $\frac{dy}{dx}$, or evaluates the slope at a point that is not actually on the curve.

Don't do this:

Do not substitute coordinates until $\frac{dy}{dx}$ is fully isolated, and do not trust a point you have not checked.

The correct way:

Solve for $\frac{dy}{dx}$ in terms of $x$ and $y$ first, confirm the point satisfies the original equation, then substitute both coordinates at the very end.

Practice Problems On Implicit Differentiation

Find $\frac{dy}{dx}$ unless a problem says otherwise. Answers follow each line.

  1. Find $\frac{dy}{dx}$ for $x^2 + y^2 = 100$.
    (Answer: $\frac{dy}{dx} = -\frac{x}{y}$.)

  2. Find $\frac{dy}{dx}$ for $xy = 1$.
    (Answer: $x\frac{dy}{dx} + y = 0$, so $\frac{dy}{dx} = -\frac{y}{x}$.)

  3. Find $\frac{dy}{dx}$ for the folium $x^3 + y^3 = 6xy$.
    (Answer: $\frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x}$.)

  4. Find $\frac{dy}{dx}$ for $\sin y = x$.
    (Answer: $\cos y,\frac{dy}{dx} = 1$, so $\frac{dy}{dx} = \frac{1}{\cos y}$.)

  5. Find the slope of the tangent to $x^2 + y^2 = 25$ at $(-4, 3)$.
    (Answer: $-\frac{x}{y} = -\frac{-4}{3} = \frac{4}{3}$.)

  6. Find $\frac{d^2y}{dx^2}$ for $x^2 + y^2 = 25$ at the point $(3, 4)$.
    (Answer: $-\frac{25}{y^3} = -\frac{25}{64}$.)

Where Should You Go Next After Implicit Differentiation?

Implicit differentiation sits in the middle of the derivatives toolkit, and several doors open from here.

  1. The derivative. Solidify what $\frac{dy}{dx}$ means as a rate of change and a tangent slope, the idea this whole method extends.

  2. Differentiation of trigonometric functions. Master the $\sin$, $\cos$, and $\tan$ derivatives that fill the $y$-term table above.

  3. Inverse functions. See why implicit differentiation is the standard route to the derivatives of $\arcsin$, $\arctan$, and $\ln$.

If your child is building toward calculus, a live Bhanzu trainer teaches implicit differentiation starting from the "why" (the chain rule and the tangent picture, not a memorised recipe) through the Bhanzu math tutoring program.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is implicit differentiation?
Implicit differentiation is a method for finding $\frac{dy}{dx}$ from an equation that mixes $x$ and $y$ without being solved for $y$. You differentiate both sides with respect to $x$, treat $y$ as a function of $x$ so every $y$-term gains a $\frac{dy}{dx}$, and then solve for $\frac{dy}{dx}$.
When do you use implicit differentiation instead of the normal method?
Use implicit differentiation whenever solving for $y$ is hard, impossible, or would break the curve into pieces, as with $x^2 + y^2 = 25$ or $x^3 + y^3 = 6xy$. If the equation is already in the form $y = f(x)$, ordinary differentiation is simpler.
Why do you multiply by $\frac{dy}{dx}$?
Because $y$ stands for a function of $x$, so any $y$-term is a composition and the chain rule applies. Differentiating $y^2$ gives the outer derivative $2y$ times the inner derivative $\frac{dy}{dx}$. The factor is not optional.
What is the difference between implicit and explicit differentiation?
Explicit differentiation works on an equation already solved for $y$, like $y = x^2 + 3x$. Implicit differentiation works on a relation where $y$ is not isolated, differentiating it in place and carrying a $\frac{dy}{dx}$ through every $y$-term.
Do you need the product rule in implicit differentiation?
Yes, on any term that multiplies variables together, such as $xy$ or $x^2y$. There $\frac{d}{dx}[xy] = x\frac{dy}{dx} + y$. Forgetting the product rule on mixed terms is one of the most common errors in the topic.
How do you find the second derivative implicitly?
Differentiate the first derivative again, then substitute the expression you already found for $\frac{dy}{dx}$. For $x^2 + y^2 = 25$ this yields $\frac{d^2y}{dx^2} = -\frac{25}{y^3}$ after using the original equation to simplify.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →