On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Implicit Differentiation

Implicit differentiation finds dydx from an equation relating x and y without first solving for y: differentiate both sides with respect to x, treating y as a function of x so every y-term picks up a dydx, then solve algebraically.

For F(x,y)=0: differentiate both sides with respect to x, apply chain rule to y-terms, solve for dydx.

Quick Answer

Implicit differentiation finds dydx from an equation relating x and y without first solving for y: differentiate both sides with respect to x, treating y as a function of x so every y-term picks up a dydx, then solve algebraically. Use it for circles, ellipses and curves like x3+y3=6xy, where y is not a single function of x or is too hard to isolate. The slope formula usually contains both x and y, so you need a point on the curve to get a number.

Why This Matters

Many relationships come as equations rather than formulas: a circle x2+y2=r2, an elliptical orbit, the gas law PV=k. Implicit differentiation gives slopes and tangent lines for all of them without solving for y, which is often impossible. It is also the engine of related rates and the way to derive ddxln⁡x=1x. Forgetting that y depends on x gives a slope that is silently wrong.

Intuitive Explanation

The circle x2+y2=25 is not the graph of one function: each x between −5 and 5 has two y-values. Still, at the point (3,4) the circle has a definite tangent line. Implicit differentiation finds its slope by treating y as some unknown function of x near that point and differentiating both sides of the equation with respect to x.

The only new step is the chain rule on y-terms. ddx(x2)=2x as usual, but ddx(y2)=2ydydx, because y2 squares the inner function y(x). So 2x+2ydydx=0, and solving gives dydx=−xy. At (3,4) the slope is −34, and at (3,−4) it is +34: one formula covers both halves of the circle, which is why it keeps y in it. Mixed terms need the product rule as well: ddx(xy)=y+xdydx.

When y is already alone on one side, as in y=x2+x, differentiate directly. Doing it implicitly gives dydx=2x+12x anyway, just with an extra step. The giveaway for implicit differentiation is x and y tangled together. If instead both x and y change with time and you differentiate with respect to t, the same technique becomes related rates.

Think of it like this. Treat y like a puppet on strings held by x: move x and y moves too, so the change in any y-term picks up the factor dydx, how far the puppet moves per unit of hand movement. Unlike a puppet, a curve such as a circle can have two y-values for one x, so the slope formula needs y to tell them apart.

Core idea. When you can't isolate y, differentiate the whole equation and attach dydx to each y-term via the chain rule, then solve.


When to Use

Use it when an equation mixes **x and y** in a way that is hard or impossible to solve for y: circles and ellipses, terms like xy, sin⁡(xy) or y3+y, and the question asks for a slope or tangent line at a given point. It also produces the derivatives of inverse functions such as ln⁡x and arcsin⁡x. If y is already a formula in x, differentiate directly. If the quantities change with time and you want rates, it becomes related rates.

Tip. Ask: Is y tied to x by an equation I can't easily solve for y, and do I need its derivative?

How to Recognize It

Look at how x and y appear in the equation, which variable you differentiate with respect to, and whether a point on the curve is given.

  1. Is the derivative taken with respect to x, rather than with respect to time?

    With respect to x gives a slope dydx, the job here. If quantities change over time and you need dVdt, it is related rates: the same chain-rule step, but every variable gets a time derivative.

  2. Does the curve have more than one y for some x, like a circle?

    Yes favours implicit differentiation, since solving would split the circle into y=±25−x2 and force you to pick a branch. If y is a single, easily isolated formula, ordinary explicit differentiation works just as well.

  3. Is a specific point on the curve given?

    Yes means substitute both its x and its y into dydx to get a number. Check first that the point satisfies the equation; without a point, the answer stays a formula in x and y.

  4. Does the question ask where the tangent is horizontal or vertical?

    Then set the numerator of dydx to 0 for horizontal tangents, or the denominator to 0 for vertical ones, and solve together with the curve's equation to find the actual points.

Implicit Differentiation compared with Explicit differentiation, Chain rule, and Related rates

All four rows rely on the chain rule, so the working looks the same on paper. Ask whether y is already isolated, whether you differentiate with respect to x or to time t, and whether you mean the rule or the method built on it.

Implicit Differentiation

Meaning
Use this when an equation mixes x and y and you need the slope but can't (or won't) solve for y explicitly.
Key test
Is y tied to x by an equation I can't easily solve for y, and do I need its derivative?
Formula
For F(x,y)=0: differentiate both sides with respect to x, apply chain rule to y-terms, solve for dydx.
Example
Find dydx for x2+y2=25, then the slope at (3,4).

Explicit differentiation

Meaning
Differentiates a function already in y=f(x) form, no dydx tags needed.
Key test
Use when you can write y alone on one side first.
Formula
dydx=f′(x)
Example
y=x2⇒y′=2x

Chain rule

Meaning
The rule you APPLY to each y-term; implicit differentiation is its repeated use.
Key test
Use chain rule as the mechanism inside implicit differentiation.
Formula
ddxf(g(x))=f′(g)g′
Example
ddx(y2)=2y y′

Related rates

Meaning
Differentiates implicitly with respect to TIME t, not x.
Key test
Use when quantities change over time and you want ddt.
Formula
ddt of the relation
Example
balloon volume vs radius over time

Formula & Notation

For F(x,y)=0: differentiate both sides with respect to x, apply chain rule to y-terms, solve for dydx.
If F(x,y)=0 defines y implicitly as a differentiable function of x, then by the chain rule: ∂F∂x+∂F∂y⋅dydx=0, so dydx=−Fx(x,y)Fy(x,y) provided Fy(x,y)≠0.

How to read it: dydx found implicitly. Alternatively, dydx=−FxFy where Fx and Fy are partial derivatives of F(x,y).

Worked Examples

Example 1 — Slope on a circle

Easy

Find dydx for x2+y2=25, then the slope at (3,4).
Show the steps and the answer
  1. Differentiate each term with respect to x: 2x, then 2ydydx, then 0 for the constant 25.

    y is a function of x, so the chain rule attaches dydx to the y-term.

  2. Write the result: 2x+2ydydx=0.

    Both sides of the equation stay equal after differentiating.

  3. Solve: dydx=−2x2y=−xy.

    Move the x-term across and divide by the coefficient of dydx.

  4. Substitute (3,4): −34. Check: the radius to (3,4) has slope 43, and 43⋅(−34)=−1.

    A tangent to a circle is perpendicular to the radius, so their slopes multiply to −1.

Answer: dydx=−xy=−34 at (3,4)

Takeaway: Tag every y-term with dydx, then solve; the slope formula needs the point's y-value as well as its x-value.

Example 2 — Already explicit

Standard

Find dydx for y=x2+x.
Show the steps and the answer
  1. Notice that y is already isolated: y=x2+x1/2.

    y is an explicit function of x, so there is nothing to untangle.

  2. Differentiate term by term with the power rule: 2x+12x−1/2.

    The power rule brings down the exponent 12 and lowers it by 1.

  3. Rewrite: dydx=2x+12x.

    Differentiating both sides implicitly would give 1⋅dydx=2x+12x, the same result with an extra step.

Answer: dydx=2x+12x

Takeaway: Implicit differentiation is for tangled equations; when y=f(x) is given, differentiate directly.

Example 3 — Find the mistake: the mixed term

Application

Find the slope of x2+xy+y2=7 at (1,2). Sam writes: "2x+dydx+2ydydx=0, so dydx=−2x1+2y=−25." Find the mistake and correct it.
Show the steps and the answer
  1. Find Sam's error: he differentiated xy as dydx alone.

    xy is a product of two functions of x, so it needs the product rule.

  2. Use the product rule: ddx(xy)=1⋅y+xdydx.

    Differentiate x (giving 1) times y, plus x times the derivative of y.

  3. Redo the equation: 2x+y+xdydx+2ydydx=0, so dydx(x+2y)=−(2x+y).

    Collect every dydx term on one side before dividing.

  4. Solve and substitute: dydx=−2x+yx+2y=−2+21+4=−45.

    Sam's −25 missed the y in the numerator and the x in the denominator, both from the product rule.

Answer: dydx=−2x+yx+2y, so the slope at (1,2) is −45.

Takeaway: A term containing both x and y is a product: use the product rule and tag the y-part with dydx.

Where You'll See It

  • Squeezing a gas

    At constant temperature a gas obeys PV=k. Differentiating with respect to P gives V+PdVdP=0, so dVdP=−VP. At 2 atm and 10 L, the volume is shrinking by 5 L for each extra atmosphere of pressure at that moment.

  • Trading apples for oranges

    Economists draw indifference curves such as xy=36: all mixes of x apples and y oranges a shopper likes equally. Implicitly, y+xdydx=0, so dydx=−yx. At (4,9) the shopper would give up 94=2.25 oranges for one more apple.

  • Steering around an elliptical track

    On the track x2100+y225=1, differentiating gives x50+2y25dydx=0, so dydx=−x4y. At (8,3) the car points along slope −23, the direction its headlights shine.

Common Mistakes

  1. The slip: Differentiating a y-term without attaching dydx

    Instead: ddx(y3)=3y2dydx, because y depends on x.

  2. The slip: Forgetting the product rule on mixed xy-terms

    Instead: ddx(xy)=y+xdydx, not just dydx.

  3. The slip: Leaving dydx unsolved

    Instead: after differentiating, collect all dydx terms and solve for it explicitly.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find dydx for y2=4x, then find the slope at (1,2).

    Hint: Differentiate both sides; the left side needs a factor of dydx.

  2. Find the slope of x2+xy+y2=7 at the point (1,2).

    Hint: The xy term needs the product rule. Collect the dydx terms on one side.

  3. Find the slope of the curve x3+y3=6xy at the point (3,3).

    Hint: Differentiate both sides, using the product rule on 6xy, then substitute x=3, y=3.

  4. Find the equation of the tangent line to the ellipse x2+4y2=8 at (2,1).

    Hint: Get the slope by implicit differentiation, then use the point-slope form.

  5. You need dydx for y=x2+1x and for xy+y2=6. Which one needs implicit differentiation?

    Hint: In which equation is y already alone on one side?

  6. For xy=12, a student writes "ddx(xy)=dydx, so dydx=0." Correct the work.

    Hint: xy is a product of two things that both depend on x.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why does y2 differentiate to 2ydydx but x2 only to 2x?

Both follow the chain rule. The derivative of the outer square is twice the inside, times the derivative of the inside with respect to xx. For x2x^2 the inside is xx, whose derivative is 1, so that factor is invisible. For y2y^2 the inside is yy, which changes with xx at the rate dydx\frac{dy}{dx}, so the factor shows up.

How does implicit differentiation give the derivative of ln⁡x?

Write y=ln⁡xy=\ln x as ey=xe^y=x. Differentiating both sides with respect to xx gives eydydx=1e^y\frac{dy}{dx}=1, so dydx=1ey\frac{dy}{dx}=\frac{1}{e^y}, and since ey=xe^y=x, that is 1x\frac1x. The same trick on sin⁡y=x\sin y=x gives dydx=1cos⁡y=11−x2\frac{dy}{dx}=\frac{1}{\cos y}=\frac{1}{\sqrt{1-x^2}}, the derivative of arcsin⁡x\arcsin x, using cos⁡y≥0\cos y\ge0 on its range. Any inverse function can be handled this way, because its defining equation is easier to differentiate than its formula.

What does it mean if dydx comes out as 00 at a point?

It usually marks a point where the curve is not a single smooth branch. For y2=x2(x+1)y^2=x^2(x+1), implicit differentiation gives dydx=3x2+2x2y\frac{dy}{dx}=\frac{3x^2+2x}{2y}, which is 00\frac00 at the origin. There the curve crosses itself, with two tangent lines of slopes 1 and −1-1, so no single slope exists and each branch must be studied separately.

Can I differentiate with respect to y instead of x?

Yes, and sometimes it is easier. Treating xx as a function of yy gives dxdy\frac{dx}{dy}, and wherever dxdy≠0\frac{dx}{dy}\ne0, the slope is dydx=1/dxdy\frac{dy}{dx}=1\big/\frac{dx}{dy}. For the curve x=y3+yx=y^3+y, dxdy=3y2+1\frac{dx}{dy}=3y^2+1, so dydx=13y2+1\frac{dy}{dx}=\frac{1}{3y^2+1} without ever solving the cubic for yy. The trick pays off whenever xx is a simple formula in yy but yy has no neat formula in xx.

Learning Path

Implicit Differentiation

You are here

Next →

Related Rates
You need Derivative, Differentiation Rules (power, product, quotient) and above all the Chain Rule, which supplies the dydx on every y-term. Implicit differentiation finds slopes on curves defined by equations, such as x2+y2=25, without solving for y. Next, Related Rates applies the same move with respect to time, linking how fast connected quantities change.

See Also