Implicit Differentiation

Use implicit differentiation to find dy/dx when an equation defines y implicitly instead of as an explicit function of x.

ddx[F(x,y)]=0    dydx\frac{d}{dx}\big[F(x,y)\big] = 0 \implies \frac{dy}{dx}

Solve a problem with Implicit Differentiation

Type the problem. The solver will use Implicit Differentiation where Implicit Differentiation is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Implicit Differentiation takes
FF
xx
yy
Implicit Differentiation
SymbolMeaning
FFF is the expression on the left side of an implicit equation, such as x2+y2x^2 + y^2 in x2+y2=25x^2 + y^2 = 25, and it implicitly equals a constant.
xxx is the independent variable with respect to which you differentiate; it is the variable you treat as changing.
yyy is the dependent variable defined implicitly by the equation and understood as a function of x that you cannot or do not want to solve for explicitly.

When to use it

Reach for implicit differentiation when an equation relates x and y but y is not easily solved for explicitly.

Level

Usually taught in: Calculus I

Worked examples

1. Find the slope of a circle at a point

Problem

Find dydx\frac{dy}{dx} for the circle x2+y2=25x^2 + y^2 = 25.
  1. 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0

    Differentiate both sides of the equation with respect to xx, using the chain rule on y2y^2 to get 2ydydx2y\frac{dy}{dx}.

  2. 2ydydx=2x2y\frac{dy}{dx} = -2x

    Subtract 2x2x from both sides to isolate the term containing dydx\frac{dy}{dx}.

  3. dydx=xy\frac{dy}{dx} = -\frac{x}{y}

    Divide both sides by 2y2y and simplify the fraction by canceling the common factor of 22.

Answer: dydx=xy\frac{dy}{dx} = -\frac{x}{y}

This method finds the slope without solving for yy explicitly, which would give two separate branches of the circle. The slope at any point depends on both coordinates, so the answer contains both xx and yy.

2. Differentiate an equation with products and mixed terms

Problem

Find dydx\frac{dy}{dx} for x23xy+y2=7x^2 - 3xy + y^2 = 7.
  1. 2x3xdydx3y+2ydydx=02x - 3x\frac{dy}{dx} - 3y + 2y\frac{dy}{dx} = 0

    Differentiate each term: 2x2x from x2x^2, 3xdydx3y-3x\frac{dy}{dx} - 3y from the product 3xy-3xy using the product rule, and 2ydydx2y\frac{dy}{dx} from y2y^2 using the chain rule.

  2. 3xdydx+2ydydx=2x+3y-3x\frac{dy}{dx} + 2y\frac{dy}{dx} = -2x + 3y

    Collect all terms with dydx\frac{dy}{dx} on the left side and move all other terms to the right.

  3. dydx=2x+3y2y3x\frac{dy}{dx} = \frac{-2x + 3y}{2y - 3x}

    Factor out dydx\frac{dy}{dx} from the left side to get (2y3x)dydx=2x+3y(2y - 3x)\frac{dy}{dx} = -2x + 3y, then divide both sides by (2y3x)(2y - 3x).

Answer: dydx=2x+3y2y3x\frac{dy}{dx} = \frac{-2x + 3y}{2y - 3x}

This example shows that implicit differentiation handles negative signs and products skillfully. The product rule for the 3xy-3xy term is essential, and organizing terms on each side of the equation prevents algebra mistakes.

3. Word problem: rate of change of ticket prices at a concert

Problem

A concert venue manages premium and regular ticket prices through the constraint 80p2+100pr=400080p^2 + 100pr = 4000, where pp is the premium price in dollars and rr is the regular price in dollars. Find the rate drdp\frac{dr}{dp} at which the regular price changes with respect to the premium price.
  1. 160p+100r+100pdrdp=0160p + 100r + 100p\frac{dr}{dp} = 0

    Differentiate both sides with respect to pp: the constant 40004000 differentiates to zero, 80p280p^2 gives 160p160p by the power rule, and 100pr100pr gives 100r+100pdrdp100r + 100p\frac{dr}{dp} by the product rule.

  2. 100pdrdp=160p100r100p\frac{dr}{dp} = -160p - 100r

    Subtract 160p160p and 100r100r from both sides to isolate the term containing drdp\frac{dr}{dp}.

  3. drdp=160p100r100p=8p+5r5p\frac{dr}{dp} = \frac{-160p - 100r}{100p} = -\frac{8p + 5r}{5p}

    Divide both sides by 100p100p and simplify by factoring out 2020 from both the numerator and denominator.

Answer: drdp=8p+5r5p\frac{dr}{dp} = -\frac{8p + 5r}{5p}

Real-world constraints often define one variable implicitly in terms of another. Here, implicit differentiation shows that when premium prices increase, regular prices must decrease (negative sign) to maintain a revenue target. The formula tells us how fast this adjustment happens at any price pair.

Common mistakes

Where Implicit Differentiation usually goes wrong
Answer came out wrong
Writing ddx[y2]=2y\frac{d}{dx}[y^2] = 2y instead of 2ydydx2y\frac{dy}{dx}.
Always apply the chain rule to powers of y: ddx[yn]=nyn1dydx\frac{d}{dx}[y^n] = ny^{n-1}\frac{dy}{dx}.
Trying to separate dy from dx as independent quantities and dividing by dx individually, such as writing dy=2xdxdy = -2x dx and then handling dy and dx separately.
Treat dydx\frac{dy}{dx} as an indivisible unit. Isolate it using standard algebra (adding, subtracting, factoring, dividing) just as you would any variable.
Solving for y explicitly before differentiating, such as rearranging x2+y2=25x^2 + y^2 = 25 to y=25x2y = \sqrt{25 - x^2} and then taking the derivative.
Differentiate both sides immediately with respect to x without solving for y, then rearrange to isolate dydx\frac{dy}{dx}.
The mistakeWhy it is wrongThe fix
Writing ddx[y2]=2y\frac{d}{dx}[y^2] = 2y instead of 2ydydx2y\frac{dy}{dx}.The power rule gives 2y2y, but this is only the outer derivative; the chain rule requires multiplying by dydx\frac{dy}{dx} because y depends on x.Always apply the chain rule to powers of y: ddx[yn]=nyn1dydx\frac{d}{dx}[y^n] = ny^{n-1}\frac{dy}{dx}.
Trying to separate dy from dx as independent quantities and dividing by dx individually, such as writing dy=2xdxdy = -2x dx and then handling dy and dx separately.The symbol dydx\frac{dy}{dx} is a single object representing the derivative; dy and dx are not separate algebraic quantities you can manipulate independently at this level of calculus.Treat dydx\frac{dy}{dx} as an indivisible unit. Isolate it using standard algebra (adding, subtracting, factoring, dividing) just as you would any variable.
Solving for y explicitly before differentiating, such as rearranging x2+y2=25x^2 + y^2 = 25 to y=25x2y = \sqrt{25 - x^2} and then taking the derivative.Solving for y defeats the purpose of implicit differentiation; for many relations, this introduces messy algebra and requires multiple formulas (positive and negative roots for circles and ellipses).Differentiate both sides immediately with respect to x without solving for y, then rearrange to isolate dydx\frac{dy}{dx}.

Tips and when to use something else

  • Apply the chain rule to every term containing yy, remembering to multiply by dydx\frac{dy}{dx} as part of the chain.
  • It is normal and correct for dydx\frac{dy}{dx} to contain both xx and yy; the slope at a point on an implicit curve genuinely depends on both coordinates.
  • When an equation is too complex to solve for yy explicitly (such as sin(xy)=x+y\sin(xy) = x + y), implicit differentiation is often the only practical method.
  • Use the Product Rule, Quotient Rule, and Chain Rule together: implicit differentiation combines these rules to navigate complex relationships.

Frequently asked questions

When should I use implicit differentiation instead of solving for y = f(x) first?
Many implicit relations cannot be solved for yy explicitly, and even when they can (like circles), solving introduces messy algebra—a circle is actually two separate formulas (top and bottom halves), each needing its own derivative. Implicit differentiation gives a single, unified formula for the slope without those complications.
Why do I need to keep dy/dx as a single unit and not split dy and dx?
The notation dydx\frac{dy}{dx} is a single symbol representing the derivative of yy with respect to xx. Treating it as an indivisible variable lets you use normal algebra to solve for it. If you separate dy and dx, you lose the meaning of the derivative and cannot apply standard algebraic techniques.
Can I use implicit differentiation on any equation?
Yes, as long as the equation relates xx and yy and represents yy as a function of xx (at least locally). If the relation fails the vertical-line test, implicit differentiation still works at points where it is a function, but you may need to switch variables at some places.
My answer for dy/dx has both x and y in it—is that a mistake?
No, this is completely correct. The slope of an implicitly defined curve at any point depends on where you are on that curve, so both coordinates naturally appear in the answer. You can substitute a specific point's coordinates to find the numerical slope at that location if needed.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18