Implicit Differentiation Calculator

Type an equation in x and y to find dy/dx.

An equation in x and y with one equals sign.

Try

Result

You enteredx3+y3=6x yx^{3} + y^{3} = 6x\,y

dydx=2y−x2y2−2x\displaystyle \frac{dy}{dx} = \frac{2y - x^{2}}{y^{2} - 2x}

d²y/dx²

d2ydx2=2(6x2 y2−x4 y−x y4−8x y)(y2−2x)3\displaystyle \frac{d^{2}y}{dx^{2}} = \frac{2\left(6x^{2}\,y^{2} - x^{4}\,y - x\,y^{4} - 8x\,y\right)}{\left(y^{2} - 2x\right)^{3}}
Show the work
  1. Implicit differentiation

    Move everything to one side as F(x,y)=0F(x, y) = 0. Here yy is a function of xx, so differentiating with respect to xx gives the xx-part of FF plus the yy-part times dydx\frac{dy}{dx} (the chain rule).

    Using ddxF(x,y)=∂F∂x+∂F∂y dydx=0\frac{d}{dx}F(x, y) = \frac{\partial F}{\partial x} + \frac{\partial F}{\partial y}\,\frac{dy}{dx} = 0

    F(x,y)=x3+y3−6x yF(x, y) = x^{3} + y^{3} - 6x\,y
  2. Partial derivative with respect to x

    Differentiate FF treating yy as a constant.

    ∂F∂x=3x2−6y\frac{\partial F}{\partial x} = 3x^{2} - 6y
  3. Partial derivative with respect to y

    Differentiate FF treating xx as a constant.

    ∂F∂y=3y2−6x\frac{\partial F}{\partial y} = 3y^{2} - 6x
  4. Solving for dy/dx

    Setting the total derivative to 0 and solving for dydx\frac{dy}{dx}, then cancelling any common number.

    dydx=−∂F/∂x∂F/∂y=−3x2−6y3y2−6x=2y−x2y2−2x\begin{aligned} \frac{dy}{dx} &= -\frac{\partial F / \partial x}{\partial F / \partial y} \\ &= -\frac{3x^{2} - 6y}{3y^{2} - 6x} \\ &= \frac{2y - x^{2}}{y^{2} - 2x} \end{aligned}
  5. Result

    The slope of the curve at a point (x,y)(x, y) on it is 2y−x2y2−2x\frac{2y - x^{2}}{y^{2} - 2x}.

    dydx=2y−x2y2−2x\frac{dy}{dx} = \frac{2y - x^{2}}{y^{2} - 2x}

Worked examples