On this page
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 x , treating y as a function of x . Each time you differentiate a term in y , multiply by d x d y (the chain rule).
For x 2 + y 2 = 25 : 2 x + 2 y d x d y = 0 , so d x d y = − y x .
Terms with both x and y , such as x y , 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.
Finding tangents and normals to circles and other curves defined by an equation. Differentiating equations such as x² + y² = 25. Connected rates of change with several variables.
How to use implicit differentiation (rule)
Differentiate every term with respect to x . Multiply terms in y by d x d y . Collect the d x d y terms. Solve for d x d y .
Graph Circle x² + y² = 25 with the tangent at (3, 4) (3, 4) -6 -4 -2 0 2 4 6 -6 -4 -2 0 2 4 6 Circle x² + y² = 25 with the tangent at (3, 4) x y tangent Graph 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 d x d y for x 2 + y 2 = 25 .
Try this in the solver: implicit differentiation x^2+y^2=25
Implicit differentiation Answer checked
Answer
d y d x = − x y \dfrac{dy}{dx} = -\frac{x}{y} d x d y = − y x 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.
d x d ( x 2 + y 2 ) = d x d ( 25 )
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.
F x = 2 x , F y = 2 y
Rearrange for dy/dx
d x d y = − F y F x = − y x
Check at a point on the curve
The formula agrees with the slope measured between two very close points on the same curve.
x = 1 , y = 4.899 : formula = − 0.2041 , slope from nearby points ≈ − 0.2041 ✓
Example 2: a different curve Find dy/dx for x² + y² = 9.
Try this in the solver: implicit differentiation x^2+y^2=9
Implicit differentiation Answer checked
Answer
d y d x = − x y \dfrac{dy}{dx} = -\frac{x}{y} d x d y = − y x 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.
d x d ( x 2 + y 2 ) = d x d ( 9 )
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.
F x = 2 x , F y = 2 y
Rearrange for dy/dx
d x d y = − F y F x = − y x
Check at a point on the curve
The formula agrees with the slope measured between two very close points on the same curve.
x = 1 , y = 2.8284 : formula = − 0.3536 , slope from nearby points ≈ − 0.3536 ✓
Example 3: a product term Find dy/dx for xy = 6.
Try this in the solver: implicit differentiation x*y=6
Implicit differentiation Answer checked
Answer
d y d x = − y x \dfrac{dy}{dx} = -\frac{y}{x} d x d y = − x y 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.
d x d ( x y ) = d x d ( 6 )
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.
F x = y , F y = x
Rearrange for dy/dx
d x d y = − F y F x = − x y
Check at a point on the curve
The formula agrees with the slope measured between two very close points on the same curve.
x = 1 , y = 6 : formula = − 6 , slope from nearby points ≈ − 6 ✓
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).
Differentiate 2x + 2y dy/dx = 0 Rearrange dy/dx = −x/y Substitute −3/4 Check: radius gradient 4/3 and perpendicular −3/4 ✓ −0.75.
A hyperbola Find dy/dx for xy = 12 at (3, 4).
Product rule y + x dy/dx = 0 Rearrange dy/dx = −y/x Substitute −4/3 Check: y = 12/x gives −12/x² = −4/3 ✓ −1.33.
The tangent Higher Write the tangent to x² + y² = 25 at (3, 4).
Gradient −0.75 Line y − 4 = −0.75(x − 3) Tidy y = −0.75x + 6.25 Check: at x = 3, y = 4 ✓ y = −0.75x + 6.25.
A horizontal tangent Higher Where is the tangent to x² + y² = 25 horizontal?
dy/dx = 0 x = 0 Then y ±5 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
d/dx y^n = n y^(n−1) dy/dx.
Product rule for xy.
Solve for dy/dx.
Substitute x and y.
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.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
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.