Implicit Differentiation: Steps, Examples & Formula

#Calculus
TL;DR
Implicit differentiation finds dydx\frac{dy}{dx} for an equation that is not solved for yy, such as x2+y2=25x^2 + y^2 = 25. You differentiate both sides with respect to xx, treat yy as a function of xx so every yy-term picks up a dydx\frac{dy}{dx} through the chain rule, then solve for dydx\frac{dy}{dx}. For the circle this gives dydx=−xy\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 dydx\frac{dy}{dx} when an equation relates xx and yy without being solved for yy. Instead of writing y=f(x)y = f(x) and differentiating, you differentiate the whole equation as it stands, treating yy as an unknown function of xx.

An equation like y=x2+3xy = x^2 + 3x is explicit: yy sits alone on one side, so you can differentiate it directly. An equation like x2+y2=25x^2 + y^2 = 25 is implicit: yy is tangled up with xx, and solving for yy 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 yy appears, it stands for some function of xx, so differentiating a yy-term is really the chain rule in disguise:

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

That extra dydx\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 xx, term by term.

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

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

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

Apply Step 1 to each term:

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

Now Step 2. The x2x^2 term differentiates normally to 2x2x; the y2y^2 term picks up a dydx\frac{dy}{dx}; the constant differentiates to 00:

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

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

2y,dydx=−2x⟹dydx=−xy2y,\frac{dy}{dx} = -2x \qquad\Longrightarrow\qquad \frac{dy}{dx} = -\frac{x}{y}

Final answer: dydx=−xy\dfrac{dy}{dx} = -\dfrac{x}{y}.

Notice the answer depends on both xx and yy. That is normal for implicit differentiation, and it is exactly what you want, because a single xx 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)(3, 4), which lies on the circle because 32+42=253^2 + 4^2 = 25. The slope there is:

dydx∣(3,4)=−34\frac{dy}{dx}\bigg|_{(3,4)} = -\frac{3}{4}

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

(−34)(43)=−1\left(-\frac{3}{4}\right)\left(\frac{4}{3}\right) = -1

A product of −1-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 xyxy?

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

ddx[xy]=x,dydx+y\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 dydx\frac{dy}{dx} for x2+xy+y2=7x^2 + xy + y^2 = 7.

Differentiate every term with respect to xx. The middle term xyxy takes the product rule:

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

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

x,dydx+2y,dydx=−,2x−yx,\frac{dy}{dx} + 2y,\frac{dy}{dx} = -,2x - y

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

(x+2y),dydx=−(2x+y)⟹dydx=−2x+yx+2y(x + 2y),\frac{dy}{dx} = -(2x + y) \qquad\Longrightarrow\qquad \frac{dy}{dx} = -\frac{2x + y}{x + 2y}

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

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

What Are The Derivatives Of The Common yy-Terms?

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

Table: Differentiating a yy-term with respect to xx (each carries a dydx\frac{dy}{dx}).

yy-term

Derivative with respect to xx

yy

dydx\dfrac{dy}{dx}

yny^{n}

n,yn−1,dydxn,y^{n-1},\dfrac{dy}{dx}

sin⁡y\sin y

cos⁡y;dydx\cos y ;\dfrac{dy}{dx}

eye^{y}

ey,dydxe^{y},\dfrac{dy}{dx}

ln⁡y\ln y

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

xyxy

x,dydx+yx,\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 dydx\frac{dy}{dx} tacked on the end.

How Do You Find The Second Derivative Implicitly?

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

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

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

d2ydx2=ddx[−xy]=−,(1)(y)−x(dydx)y2\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 dydx=−xy\frac{dy}{dx} = -\frac{x}{y} into the numerator:

d2ydx2=−,y−x(−xy)y2=−,y+x2yy2=−,y2+x2y3\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, x2+y2=25x^2 + y^2 = 25, so the answer simplifies cleanly:

d2ydx2=−25y3\frac{d^2y}{dx^2} = -\frac{25}{y^3}

Final answer: d2ydx2=−25y3\dfrac{d^2y}{dx^2} = -\dfrac{25}{y^3}. On the upper semicircle y>0y > 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 yy is impossible but flipping the equation is easy.

Example 4: Show that ddx[arcsin⁡x]=11−x2\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}.

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

cos⁡y;dydx=1⟹dydx=1cos⁡y\cos y ;\frac{dy}{dx} = 1 \qquad\Longrightarrow\qquad \frac{dy}{dx} = \frac{1}{\cos y}

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

dydx=11−x2\frac{dy}{dx} = \frac{1}{\sqrt{1 - x^2}}

Final answer: ddx[arcsin⁡x]=11−x2\dfrac{d}{dx}[\arcsin x] = \dfrac{1}{\sqrt{1 - x^2}}. The same trick, applied to tan⁡y=x\tan y = x, gives the derivative of arctan⁡x\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 yy as some differentiable function of xx, 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 xx. If two expressions are equal for every xx on the curve, their derivatives are equal too. Differentiating both sides is allowed.

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

  • dydx\frac{dy}{dx} is one unknown. After differentiating, the equation is linear in dydx\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=xp/qy = x^{p/q}, so yq=xpy^{q} = x^{p}. Differentiate implicitly:

q,yq−1,dydx=p,xp−1⟹dydx=pq,xp−1yq−1q,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=xp/qy = x^{p/q} and simplify the exponents to recover dydx=pq,x(p/q)−1\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 x3+y3=6xyx^3 + y^3 = 6xy, which cannot be untangled into y=f(x)y = f(x), forcing later mathematicians to differentiate relations directly.

  • Gottfried Wilhelm Leibniz (1646–1716, Germany) introduced the dydx\frac{dy}{dx} and ddx\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 x2+y2=25x^2 + y^2 = 25, implicit differentiation with respect to time gives xdxdt+ydydt=0x\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=πr2A = \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)=0F(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 dydx\frac{dy}{dx} on a yy-term.

Where it slips in:

A student differentiates y2y^2 and writes 2y2y, treating yy like a plain variable instead of a function of xx.

Don't do this:

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

The correct way:

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

Skipping the product rule on a mixed term like xyxy.

Where it slips in:

A student differentiates xyxy as dydx\frac{dy}{dx}, or as yy, forgetting that both xx and yy vary.

Don't do this:

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

The correct way:

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

Treating yy as a constant.

Where it slips in:

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

Don't do this:

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

The correct way:

Differentiate the outer function, then multiply by dydx\frac{dy}{dx}: ddx[sin⁡y]=cos⁡y,dydx\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 dydx\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 dydx\frac{dy}{dx} is fully isolated, and do not trust a point you have not checked.

The correct way:

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

Practice Problems On Implicit Differentiation

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

  1. Find dydx\frac{dy}{dx} for x2+y2=100x^2 + y^2 = 100.
    (Answer: dydx=−xy\frac{dy}{dx} = -\frac{x}{y}.)

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

  3. Find dydx\frac{dy}{dx} for the folium x3+y3=6xyx^3 + y^3 = 6xy.
    (Answer: dydx=2y−x2y2−2x\frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x}.)

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

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

  6. Find d2ydx2\frac{d^2y}{dx^2} for x2+y2=25x^2 + y^2 = 25 at the point (3,4)(3, 4).
    (Answer: −25y3=−2564-\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 dydx\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⁡\sin, cos⁡\cos, and tan⁡\tan derivatives that fill the yy-term table above.

  3. Inverse functions. See why implicit differentiation is the standard route to the derivatives of arcsin⁡\arcsin, arctan⁡\arctan, and ln⁡\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.

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 dydx\frac{dy}{dx} from an equation that mixes xx and yy without being solved for yy. You differentiate both sides with respect to xx, treat yy as a function of xx so every yy-term gains a dydx\frac{dy}{dx}, and then solve for dydx\frac{dy}{dx}.
When do you use implicit differentiation instead of the normal method?
Use implicit differentiation whenever solving for yy is hard, impossible, or would break the curve into pieces, as with x2+y2=25x^2 + y^2 = 25 or x3+y3=6xyx^3 + y^3 = 6xy. If the equation is already in the form y=f(x)y = f(x), ordinary differentiation is simpler.
Why do you multiply by dydx\frac{dy}{dx}?
Because yy stands for a function of xx, so any yy-term is a composition and the chain rule applies. Differentiating y2y^2 gives the outer derivative 2y2y times the inner derivative dydx\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 yy, like y=x2+3xy = x^2 + 3x. Implicit differentiation works on a relation where yy is not isolated, differentiating it in place and carrying a dydx\frac{dy}{dx} through every yy-term.
Do you need the product rule in implicit differentiation?
Yes, on any term that multiplies variables together, such as xyxy or x2yx^2y. There ddx[xy]=xdydx+y\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 dydx\frac{dy}{dx}. For x2+y2=25x^2 + y^2 = 25 this yields d2ydx2=−25y3\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 →