- Practice
- About 16 min
- 5 practice questions
Implicit differentiation
Find dy/dx when x and y are mixed in one equation, get the slope at a given point quickly, check answers with the −P/Q shortcut, and handle expressions that repeat without end.
If something looks wrong, please tell us.
Not every curve comes in the form y = f(x). The circle x² + y² = 25 and the curve x³ + y³ = 6xy mix x and y, and solving for y is awkward or impossible. Implicit differentiation finds dy/dx without solving for y. It is also the engine behind the logarithmic, inverse-trigonometric and parametric methods later in this course, so it is worth making it automatic.
The method
Treat y as an unknown function of x and differentiate both sides of the equation with respect to x. Every time a term containing y is differentiated, the chain rule attaches a factor dy/dx (written y′ below). Then collect the y′ terms on one side and divide.
| Term | Derivative with respect to x |
|---|---|
| y² | 2y y′ |
| y³ | 3y² y′ |
| xy | y + x y′ (product rule) |
| sin y | cos y × y′ |
| eʸ | eʸ y′ |
| ln y | y′/y |
Worked example 1: slope at a point
Find the slope of x² + xy + y² = 7 at (1, 2). First check that the point lies on the curve: 1 + 2 + 4 = 7. Differentiate: 2x + (y + x y′) + 2y y′ = 0. Collect: y′(x + 2y) = −(2x + y), so y′ = −(2x + y)/(x + 2y), and at (1, 2) this is −4/5. A faster route for a number: put x = 1, y = 2 straight into the differentiated equation, 2 + 2 + y′ + 4y′ = 0, so 5y′ = −4.
Worked example 2: a cubic curve
For x³ + y³ = 6xy, differentiate: 3x² + 3y² y′ = 6y + 6x y′. Divide by 3 and collect: y′(y² − 2x) = 2y − x², so y′ = (2y − x²)/(y² − 2x). The point (3, 3) is on the curve because 27 + 27 = 54 = 6 × 9, and there y′ = (6 − 9)/(9 − 6) = −1.
Worked example 3: an exponential
Find dy/dx at (0, 1) for eʸ + xy = e. Check the point: e¹ + 0 = e. Differentiate: eʸ y′ + y + x y′ = 0, so y′ = −y/(eʸ + x). At (0, 1): y′ = −1/e.
A shortcut for checking: −P/Q
Write the equation as F(x, y) = 0. Let P be the derivative of F with respect to x treating y as a constant, and Q the derivative with respect to y treating x as a constant (these are called partial derivatives). Then dy/dx = −P/Q. In Worked example 1, F = x² + xy + y² − 7 gives P = 2x + y and Q = x + 2y, so dy/dx = −(2x + y)/(x + 2y), as before. The minus sign is the part people forget.
Implicit differentiation: differentiate both sides with respect to x, attach dy/dx to every y-term, collect and divide. Check: if F(x, y) = 0, then dy/dx = −P/Q, where P and Q are the partial derivatives of F.
Worked example 4: an expression that repeats
Let y = √(sin x + √(sin x + √(sin x + …))) without end. The part under the first root after sin x is y itself, so y = √(sin x + y), that is y² = sin x + y. Differentiate: 2y y′ = cos x + y′, so y′ = cos x/(2y − 1). The same idea works for any expression that repeats itself without end.
Common errors
- Dropping the dy/dx: d/dx(y²) is 2y y′, not 2y.
- Forgetting the product rule on terms such as xy and x²y.
- Using a point that is not on the curve: always check it first.
- Losing the minus sign in −P/Q.
Key takeaways: differentiate both sides, attach y′ to every y-term, collect and divide. Substituting the point into the differentiated equation is the fastest way to a numerical slope. Use −P/Q as a check. Expressions that repeat without end become ordinary implicit equations.
Check your understanding
-
1. For the circle x² + y² = 25, what is dy/dx at the point (3, −4)?
- −3/4
- 4/3
- −4/3
- 3/4
Show answer
Answer: D. 2x + 2y y′ = 0, so y′ = −x/y. At (3, −4): y′ = −3/(−4) = 3/4.
-
2. If x² − xy + y² = 3, what is dy/dx?
- (2x − y)/(2y − x)
- −x/y
- (y − 2x)/(2y − x)
- (y + 2x)/(2y − x)
Show answer
Answer: C. Differentiate: 2x − (y + x y′) + 2y y′ = 0. Collect: y′(2y − x) = y − 2x, so y′ = (y − 2x)/(2y − x). Check with −P/Q: P = 2x − y, Q = 2y − x.
-
3. If y + sin y = x, what is dy/dx?
- 1 + cos y
- 1/(1 − cos y)
- 1/(1 + cos y)
- −1/(1 + cos y)
Show answer
Answer: C. Differentiate with respect to x: y′ + cos y × y′ = 1, so y′(1 + cos y) = 1 and y′ = 1/(1 + cos y).
-
4. The point (2, 4) lies on the curve x³ + y³ = 9xy. What is the slope of the curve there?
- 4/5
- 5/4
- −4/5
- 2
Show answer
Answer: A. Check: 8 + 64 = 72 = 9 × 8. Differentiate: 3x² + 3y² y′ = 9y + 9x y′, so y′ = (3y − x²)/(y² − 3x). At (2, 4): (12 − 4)/(16 − 6) = 8/10 = 4/5.
-
5. If y = √(x + √(x + √(x + …))) without end, what is dy/dx at x = 2?
- 1/4
- 1/2
- 3
- 1/3
Show answer
Answer: D. y² = x + y, so 2y y′ = 1 + y′ and y′ = 1/(2y − 1). At x = 2: y² − y − 2 = 0 gives y = 2 (y is positive). So y′ = 1/(4 − 1) = 1/3.
Sign in to keep track of the lessons you finish.