Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem

Implicit Differentiation Calculator

Enter an equation in x and y to find dy/dx by implicit differentiation, with the chain rule applied to every y term, the algebra that isolates y′ and, optionally, the slope and tangent line at a point.

Optional. Gives the slope and tangent line at that point.

Examples

About the Implicit Differentiation Calculator

Many curves cannot be written neatly as y=f(x)y = f(x). A circle such as x2+y2=25x^2 + y^2 = 25 fails the vertical line test, and a curve like the folium of Descartes, x3+y3=6xyx^3 + y^3 = 6xy, has no convenient formula for yy at all. Their slopes still exist at almost every point, and implicit differentiation is the technique that finds them without solving for yy first.

This calculator performs the method exactly as it is taught. It treats yy as an unknown function of xx, differentiates both sides of your equation with respect to xx, and attaches a factor of y′y' to every term containing yy through the chain rule. It then gathers the y′y' terms on one side, factors y′y' out and divides, giving a formula for dydx\frac{dy}{dx} in terms of both xx and yy.

If you supply a point on the curve, the calculator substitutes it to give the numerical slope and writes the equation of the tangent line there. The final formula is verified independently by comparing it with −FxFy-\frac{F_x}{F_y}, the result predicted by partial derivatives, so you can trust the answer before you copy it into your work.

What is implicit differentiation?

An equation such as x2+y2=25x^2 + y^2 = 25 defines yy implicitly: it describes a relationship between xx and yy rather than giving yy directly. Near most points of the curve, yy still behaves like a function of xx, even if you cannot write that function down. Implicit differentiation finds its derivative from the relationship itself.

The key fact is the chain rule. If yy depends on xx, then the derivative of y2y^2 with respect to xx is not 2y2y but 2y⋅dydx2y \cdot \frac{dy}{dx}. The same goes for sin⁡y\sin y, eye^y or any other expression in yy: differentiate as usual, then multiply by y′y'. Terms that contain only xx are differentiated normally, and constants vanish.

The result usually contains both xx and yy, as in dydx=−xy\frac{dy}{dx} = -\frac{x}{y}. That is expected and correct. A single xx-value can correspond to several points on the curve, and the slope is different at each of them, so the formula needs the yy-coordinate to know which point you mean.

How to use the Implicit Differentiation Calculator

  1. Type an equation containing x and y with one equals sign, for example x^2 + y^2 = 25 or x^3 + y^3 = 6 x y.
  2. Use a space or * for multiplication between letters, so x y or x*y for the product of x and y.
  3. Optionally enter a point on the curve, such as x = 3, y = 4, to get the slope and tangent line there.
  4. Press Find dy/dx to see each side differentiated, the y′ terms collected and the final formula.
  5. If you gave a point, read off the slope and the tangent line equation from the last steps.

Formulas

Chain rule for a y term

ddx[g(y)]=g′(y) dydx\frac{d}{dx}\big[g(y)\big] = g'(y)\,\frac{dy}{dx}

Product rule with y

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

Shortcut from partial derivatives

F(x,y)=0  ⇒  dydx=−FxFyF(x,y) = 0 \;\Rightarrow\; \frac{dy}{dx} = -\frac{F_x}{F_y}

Tangent line at (x₀, y₀)

y−y0=m (x−x0),m=dydx∣(x0, y0)y - y_0 = m\,(x - x_0),\quad m = \left.\frac{dy}{dx}\right|_{(x_0,\,y_0)}

Worked example: x² + y² = 25 at (3, 4)

The worked example below is computed live for the circle x2+y2=25x^2 + y^2 = 25 at the point (3,4)(3, 4). Differentiating both sides gives 2x+2y y′=02x + 2y\,y' = 0; the 2y y′2y\,y' term comes from the chain rule. Moving 2x2x across and dividing by 2y2y gives dydx=−xy\frac{dy}{dx} = -\frac{x}{y}.

At (3,4)(3, 4) the slope is −34=−0.75-\frac34 = -0.75, so the tangent line is y−4=−0.75(x−3)y - 4 = -0.75(x - 3). Geometry confirms it: the radius to (3,4)(3, 4) has slope 43\frac43, and a tangent to a circle is perpendicular to the radius, so its slope must be the negative reciprocal, −34-\frac34.

The solution below is generated by the same engine that powers the calculator above.

Final answer

dydx=−xy,slope at the point=−0.75\frac{dy}{dx} = -\frac{x}{y},\quad \text{slope at the point} = -0.75

How we read your problem

Find dy/dx for a curve defined implicitly, treating y as a differentiable function of x.

x2+y2=25{x}^{2}+{y}^{2} = 25

Step-by-step solution

  1. Treat y as a function of x and differentiate both sides with respect to x

    Every term containing y needs the chain rule: d/dx[g(y)] = g′(y)·y′.

    ddx[x2+y2]=ddx[25]\frac{d}{dx}\left[{x}^{2}+{y}^{2}\right] = \frac{d}{dx}\left[25\right]
  2. Result of differentiating each side

    2x+(2y)y′=02x + \left(2y\right) y' = 0
  3. Collect the y′ terms on one side

    Move every y′ term to the left and everything else to the right, then factor out y′.

    (2y)y′=−(2x)\left(2y\right) y' = -\left(2x\right)
  4. Divide to isolate y′

    dydx=−xy\frac{dy}{dx} = -\frac{x}{y}
  5. Substitute x = 3, y = 4

    dydx∣(3, 4)=−0.75\left.\frac{dy}{dx}\right|_{(3,\,4)} = -0.75
  6. Tangent line at the point

    y−4=−0.75 (x−3)y - 4 = -0.75\,(x - 3)

Formulas used

  • Chain rule for y

    ddx g(y)=g′(y) dydx\frac{d}{dx}\,g(y) = g'(y)\,\frac{dy}{dx}
  • Implicit function formula

    dydx=−FxFy,F(x,y)=0\frac{dy}{dx} = -\frac{F_x}{F_y},\quad F(x,y) = 0

Differentiating both sides keeps the equation balanced; because y depends on x, each y-term produces a factor y′, which is then solved for algebraically. The result usually contains both x and y.

Verification

  • Matches −F_x / F_y from an independent symbolic differentiator at several sample points ✓
  • (3, 4) lies on the curve ✓

Detailed explanation

The method in four steps

First, differentiate every term on both sides with respect to xx. Second, wherever a term contains yy, multiply its derivative by y′y'; wherever xx and yy are multiplied, use the product rule. Third, move every term containing y′y' to one side and everything else to the other. Fourth, factor out y′y' and divide by what remains.

Applied to x3+y3=6xyx^3 + y^3 = 6xy, the first two steps give 3x2+3y2y′=6y+6xy′3x^2 + 3y^2 y' = 6y + 6x y', because the right side is a product. Collecting terms gives (3y2−6x) y′=6y−3x2(3y^2 - 6x)\,y' = 6y - 3x^2, so dydx=6y−3x23y2−6x\frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x}. The calculator shows exactly this sequence.

Why the chain rule produces y′

Think of yy as y(x)y(x), a function you cannot see. Then y3y^3 is really a composite function, the cube of y(x)y(x), and the chain rule says its derivative is 3y(x)2⋅y′(x)3y(x)^2 \cdot y'(x). Implicit differentiation is nothing more than the ordinary chain rule applied to an inner function whose formula is unknown.

This is also why ddx[sin⁡y]=cos⁡y⋅y′\frac{d}{dx}[\sin y] = \cos y \cdot y' and ddx[ey]=ey y′\frac{d}{dx}[e^y] = e^y\,y'. For the equation sin⁡y=x\sin y = x, differentiating gives cos⁡y y′=1\cos y\,y' = 1, so y′=1cos⁡yy' = \frac{1}{\cos y}. Since this curve is y=arcsin⁡xy = \arcsin x on its principal branch, the result is a quick derivation of the derivative of arcsine once cos⁡y\cos y is written as 1−x2\sqrt{1 - x^2}.

Slopes, tangent lines and special points

Substituting a point into the formula gives the slope there, but only if the point is actually on the curve; it is worth checking that it satisfies the original equation first. With the slope mm and the point (x0,y0)(x_0, y_0), the tangent line is y−y0=m(x−x0)y - y_0 = m(x - x_0).

The formula also locates special features. Horizontal tangents occur where the numerator of dydx\frac{dy}{dx} is zero and the denominator is not. Vertical tangents occur where the denominator is zero and the numerator is not; on the circle, that happens at (±5,0)(\pm 5, 0), where y=0y = 0. If both numerator and denominator vanish, as at the origin on the folium, the curve may cross itself and the slope must be investigated separately.

A shortcut with partial derivatives

Moving everything to one side writes the curve as F(x,y)=0F(x, y) = 0. Multivariable calculus then gives the formula dydx=−FxFy\frac{dy}{dx} = -\frac{F_x}{F_y}, where FxF_x and FyF_y are partial derivatives. For x2+xy+y2=7x^2 + xy + y^2 = 7, Fx=2x+yF_x = 2x + y and Fy=x+2yF_y = x + 2y, so dydx=−2x+yx+2y\frac{dy}{dx} = -\frac{2x + y}{x + 2y}, which is −0.8-0.8 at (1,2)(1, 2).

The calculator uses this formula as an independent check on the step-by-step result. You can use it the same way: when your hand calculation and the shortcut agree, you can be confident in the answer.

Where the technique is used next: related rates

Implicit differentiation is the engine behind related-rates problems. When a ladder slides down a wall, its foot and top satisfy x2+y2=L2x^2 + y^2 = L^2 at every moment, and both coordinates depend on time. Differentiating with respect to tt instead of xx gives 2xdxdt+2ydydt=02x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0, which connects the speed of the foot to the speed of the top.

The pattern is identical to the one on this page: differentiate the relationship, apply the chain rule to every quantity that changes, and solve for the rate you want. It also underlies logarithmic differentiation, where you take ln⁡\ln of both sides of y=xxy = x^x and differentiate ln⁡y=xln⁡x\ln y = x \ln x implicitly to get y′=xx(ln⁡x+1)y' = x^x(\ln x + 1).

Common mistakes

  • Writing the derivative of y2y^2 as 2y2y and forgetting the factor y′y'.
  • Missing the product rule on mixed terms, so that ddx[xy]\frac{d}{dx}[xy] is written as y′y' or xy′xy' alone.
  • Differentiating the constant on the right side as if it were a variable instead of giving 0.
  • Dividing by an expression that is zero at the point of interest, which hides a vertical tangent.
  • Substituting a point that does not satisfy the original equation.
  • Solving for yy first when it is not necessary, which often creates square roots with sign ambiguities.

Tips

  • Circle or highlight every y′y' as you write it so none get lost when collecting terms.
  • Expand products before differentiating if it reduces the number of product-rule terms.
  • Use −FxFy-\frac{F_x}{F_y} to check your result quickly.
  • Simplify the final fraction by cancelling common factors such as 2 or 3.
  • Verify that your point lies on the curve before finding the tangent line.
  • For a second derivative, differentiate y′y' implicitly again and substitute the first-derivative formula.

Frequently asked questions

When should I use implicit differentiation?

Whenever y is tied to x by an equation that is hard or impossible to solve for y, such as x³ + y³ = 6xy, or when solving would split the curve into several branches, as with circles and ellipses.

Why does dy/dx contain y as well as x?

One x-value can correspond to several points on an implicit curve, each with its own slope. The y in the formula identifies which point you mean. For the circle, −x/y gives −0.75 at (3, 4) and +0.75 at (3, −4).

How do I enter the point for the slope?

Type both coordinates in the optional box, for example x = 3, y = 4. The calculator substitutes them into dy/dx and writes the tangent line in point-slope form.

Can it differentiate equations with sin y or e^y?

Yes. Any differentiable expression in x and y can be used. Terms like sin y and e^y receive the factor y′ through the chain rule, so sin y = x gives dy/dx = 1/cos y.

What does it mean if the denominator of dy/dx is zero?

At such a point the tangent line is vertical, provided the numerator is not also zero. On x² + y² = 25 this happens at (5, 0) and (−5, 0).

Is implicit differentiation the same as using partial derivatives?

They give the same answer. The step-by-step method uses the chain rule directly, while the formula dy/dx = −F_x/F_y uses partial derivatives of F(x, y). The calculator shows the first and checks with the second.

Can I find d²y/dx² with this calculator?

The calculator returns the first derivative. For the second, differentiate the formula for dy/dx again with the quotient rule, remembering that y still depends on x, and replace each y′ that appears with the first-derivative expression.

Which letters must the equation use?

The equation must be written in x and y, with y treated as the dependent variable. Other letters are not supported, and the calculator says so rather than guessing their role.

Do I need to solve for y before differentiating?

No, and it is usually better not to. Solving x² + y² = 25 for y gives ±√(25 − x²), two separate functions with awkward square roots. Differentiating the original equation handles both halves of the circle at once.

Differentiate your implicit equation

Enter an equation in x and y above to find dy/dx with every chain-rule step, and add a point to get the slope and tangent line.

More math calculators