Implicit Differentiation Equation Solver with Worked Examples

Implicit differentiation finds when is not the subject, using . Type “implicit differentiation x^2+y^2=25” and the solver differentiates.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

  • the chain rule
  • curves such as circles written as x² + y² = 25
  • rearranging for dy/dx

What Implicit differentiation (rule) means

Differentiate both sides of the equation with respect to , treating as a function of . Each time you differentiate a term in , multiply by (the chain rule).

For : , so .

Terms with both and , such as , need the product rule. It is the chain rule applied to y, used for the tangent at a point and the normal at a point; compare parametric differentiation.

This page is part of Differentiation in Calculus. Topics that work alongside it: Parametric differentiation, Chain rule, Tangent at a point, Inverse function derivative, Differential equation modelling: dy/dx = ky and Connected rates of change.

What is it used for?

Implicit differentiation finds dy/dx when y is not given as a simple function of x. You differentiate both sides with respect to x and treat y as a function of x.

How to use implicit differentiation (rule)

  1. Differentiate every term with respect to .
  2. Multiply terms in by .
  3. Collect the terms.
  4. Solve for .

Graph

Circle x² + y² = 25 with the tangent at (3, 4)(3, 4)-6-4-20246-6-4-20246Circle x² + y² = 25 with the tangent at (3, 4)xytangentGraph with x from -7 to 7 and y from -7 to 7. Shows the curve y = sqrt(25-x^2); the curve y = -sqrt(25-x^2); the curve tangent; point (3, 4) at (3, 4).

Differentiating gives 2x + 2y dy/dx = 0, so dy/dx = −x/y = −3/4 at (3, 4). That is the gradient of the tangent shown.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: a circle

Find for .

Implicit differentiation Answer checked
Answer
dydx=−xy\dfrac{dy}{dx} = -\frac{x}{y}
  1. Differentiate both sides with respect to x
    Treat y as a function of x, so every y-term needs the chain rule: d/dx of y^n is n y^(n-1) dy/dx.
  2. Collect the dy/dx terms
    F_x is the derivative of (LHS - RHS) treating y as a constant. F_y is the same treating x as a constant.
  3. Rearrange for dy/dx
  4. Check at a point on the curve
    The formula agrees with the slope measured between two very close points on the same curve.

Example 2: a different curve

Find dy/dx for x² + y² = 9.

Implicit differentiation Answer checked
Answer
dydx=−xy\dfrac{dy}{dx} = -\frac{x}{y}
  1. Differentiate both sides with respect to x
    Treat y as a function of x, so every y-term needs the chain rule: d/dx of y^n is n y^(n-1) dy/dx.
  2. Collect the dy/dx terms
    F_x is the derivative of (LHS - RHS) treating y as a constant. F_y is the same treating x as a constant.
  3. Rearrange for dy/dx
  4. Check at a point on the curve
    The formula agrees with the slope measured between two very close points on the same curve.

Example 3: a product term

Find dy/dx for xy = 6.

Implicit differentiation Answer checked
Answer
dydx=−yx\dfrac{dy}{dx} = -\frac{y}{x}
  1. Differentiate both sides with respect to x
    Treat y as a function of x, so every y-term needs the chain rule: d/dx of y^n is n y^(n-1) dy/dx.
  2. Collect the dy/dx terms
    F_x is the derivative of (LHS - RHS) treating y as a constant. F_y is the same treating x as a constant.
  3. Rearrange for dy/dx
  4. Check at a point on the curve
    The formula agrees with the slope measured between two very close points on the same curve.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A circle

x² + y² = 25: dy/dx = −x/y

At (3, 4) it is −0.75.

At the top

At (0, 5) dy/dx = 0

The tangent is horizontal.

A hyperbola

xy = 12: dy/dx = −y/x

At (3, 4) it is −4/3.

The tangent

At (3, 4): y − 4 = −0.75(x − 3)

Use the gradient and point.

Word problems

Differentiate every term with respect to x, remembering that d/dx of y-terms includes dy/dx, then solve for dy/dx.

A circle

Find dy/dx for x² + y² = 25 at (3, 4).

  1. Differentiate2x + 2y dy/dx = 0
  2. Rearrangedy/dx = −x/y
  3. Substitute−3/4
  4. Check: radius gradient 4/3 and perpendicular −3/4 ✓−0.75.

A hyperbola

Find dy/dx for xy = 12 at (3, 4).

  1. Product ruley + x dy/dx = 0
  2. Rearrangedy/dx = −y/x
  3. Substitute−4/3
  4. Check: y = 12/x gives −12/x² = −4/3 ✓−1.33.

The tangent Higher

Write the tangent to x² + y² = 25 at (3, 4).

  1. Gradient−0.75
  2. Liney − 4 = −0.75(x − 3)
  3. Tidyy = −0.75x + 6.25
  4. Check: at x = 3, y = 4 ✓y = −0.75x + 6.25.

A horizontal tangent Higher

Where is the tangent to x² + y² = 25 horizontal?

  1. dy/dx = 0x = 0
  2. Then y±5
  3. Check: (0, 5) and (0, −5) ✓(0, ±5).

Common mistakes

Forgetting dy/dx on y-terms

d/dx y² = 2y ✗

2y dy/dx ✓

y depends on x.

Sign error

dy/dx = x/y ✗

dy/dx = −x/y ✓

Move 2x across.

Treating y as constant

d/dx xy = y ✗

y + x dy/dx ✓

Use the product rule.

Not substituting both coordinates

using x only ✗

use x and y ✓

dy/dx depends on both.

Exam tips

  1. d/dx y^n = n y^(n−1) dy/dx.
  2. Product rule for xy.
  3. Solve for dy/dx.
  4. Substitute x and y.
  5. Check with a circle.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. x² + y² = 25: find dy/dx at (4, 3) Foundation

−4/3

2. x² + y² = 25: find dy/dx at (0, 5) Foundation

0

3. x² + y² = 100: find dy/dx at (6, 8) Foundation

−0.75

4. xy = 12: find dy/dx at (4, 3) Higher

−0.75

5. x² + y² = 25: find dy/dx at (−3, 4) Higher

0.75

6. xy = 6: find dy/dx at (2, 3) Higher

−1.5

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Implicit function
y not written as a function of x.
Implicit differentiation
Differentiating both sides.
dy/dx
The gradient.
Chain rule
Used for y-terms.
Tangent
A line touching the curve.
Circle
x² + y² = r².

Frequently asked questions

What is implicit differentiation?

Differentiating an equation where y is not isolated.

Why add dy/dx?

y is a function of x, so the chain rule applies.

What is dy/dx for a circle?

−x/y.

How do I find the tangent?

Substitute the point into dy/dx, then write the line.

Which page covers the chain rule?

chain rule.

Which page covers parametric equations?

parametric differentiation.

More in Calculus and the formula sheets.