How to differentiate implicitly

Implicit differentiation is a method used to find the derivative dy/dxdy/dx when a relationship between xx and yy is not easily solvable for yy in terms of xx.

It applies the chain rule by treating yy as an implicitly defined, differentiable function of xx.

The setup

Identify the equation relating xx and yy. Treat xx as the independent variable and yy as the dependent variable, y(x)y(x). Any operation performed on a term containing yy requires the chain rule when taking the derivative with respect to xx.

The steps

  1. Differentiate both sides of the equation with respect to xx.
  2. Apply the chain rule to all terms containing yy, which results in multiplying those terms' derivatives by dy/dxdy/dx.
  3. Move all terms containing dy/dxdy/dx to one side of the equation and all other terms to the opposite side.
  4. Factor out dy/dxdy/dx from the grouped terms.
  5. Solve for dy/dxdy/dx by dividing both sides by the factored expression.

Checking the result

If evaluating at a specific point (x0,y0)(x_0, y_0), plug the coordinates into the original equation to ensure the point actually lies on the curve. Alternatively, if the original equation can be solved explicitly for yy, differentiate the explicit function and compare it to your implicit result after substitution.

Common errors

Failing to apply the product rule to mixed terms (e.g., treating the derivative of xyxy as just yy instead of 1cdoty+xcdotfracdydx1 \\cdot y + x \\cdot \\frac{dy}{dx}). Forgetting to multiply by dy/dxdy/dx when differentiating terms like y2y^2.

Worked example

Find dy/dxdy/dx for the equation x2+y2=25x^2 + y^2 = 25.

fracddx(x2+y2)=fracddx(25)\\frac{d}{dx}(x^2 + y^2) = \\frac{d}{dx}(25) 2x+2yfracdydx=02x + 2y \\frac{dy}{dx} = 0 2yfracdydx=2x2y \\frac{dy}{dx} = -2x fracdydx=frac2x2y\\frac{dy}{dx} = -\\frac{2x}{2y} fracdydx=fracxy\\frac{dy}{dx} = -\\frac{x}{y}

FAQ

Run your own problem

References: Stewart Calculus, Chapter 3 · OpenStax Calculus Volume 1, Section 3.8 · Khan Academy: Implicit differentiation

See also