| Implicit differentiation |
|---|
Lesson
The theory — Implicit Differentiation
A curve F(x, y) = 0 that cannot be solved for y still has a slope at each of its smooth points: dy/dx = −F_x/F_y, a formula in x and y together. It breaks where F_y = 0.
What each symbol means
F_x- ∂F/∂x, the derivative of F in x with y held fixed
F_y- ∂F/∂y, the derivative of F in y with x held fixed; where it is 0 the slope formula has no value
Where the formula comes from
- Differentiate along the curve. Treat y as a function of x and differentiate F(x, y(x)) = 0. Each x term differentiates as usual; each y term picks up a factor y′ by the chain rule. The two pieces are F_x and F_y·y′, and they add to 0.
- Solve for y′. Wherever F_y is not zero, divide by it. The slope comes out in terms of x and y, so it needs the point, not just x: one x can carry several points and several slopes.
- Where F_y = 0. The formula has nothing to divide by. If F_x is not zero there, the tangent is vertical; if F_x is zero too, the formula reads 0/0 and says nothing, as at the folium's crossing.
- Assumes
- F has partial derivatives at the point. On the three built-in curves the points above an x are found in closed form; on a typed curve they are found numerically, by scanning F along y for a change of sign, so a point where F touches 0 without crossing it is not listed.
Problems solved in full
-
The tangent to a circle 3 steps
Find dy/dx on x² + y² = 25, and the tangent line at (3, 4).
-
Differentiate both sides with y a function of x. The chain rule puts a y′ beside the derivative of y²:
-
Collect y′ and solve:
-
At (3, 4), then the line through that point with that slope:
Answer
y′ = −x/y, and the tangent at (3, 4) is y = −3x/4 + 25/4. The page prints F_x = 6 and F_y = 8 there, and −6/8 is the slope. The tangent is at right angles to the radius, whose slope is 4/3.
-
-
A product inside the curve 3 steps
Find dy/dx on x²y + y² = 2 and its value at (1, 1).
Show solution
-
Differentiate both sides. x²y is a product, so it gives two terms, and every y picks up a y′:
-
Collect the y′ terms and solve:
-
At (1, 1):
Answer
y′ = −2xy/(x² + 2y), and −2/3 at (1, 1). On the page: Your own, x^2*y + y^2 = 2, x = 1. It prints F_x = 2 and F_y = 3.
-
-
A cube of y 3 steps
Find dy/dx on y³ + xy = 2 and its value at (1, 1).
Show solution
-
Differentiate both sides. y³ gives 3y²y′ by the chain rule, and xy gives y + xy′ by the product rule:
-
Collect and solve:
-
At (1, 1):
Answer
y′ = −y/(3y² + x), and −1/4 at (1, 1). No one can solve this curve for y in a line, and the slope never needed it.
-
-
Where the tilted ellipse is level 3 steps
Find the points of x² + xy + y² = 3 where the tangent is horizontal.
Show solution
-
Differentiate and solve for y′ as before:
-
The slope is zero where the numerator is, so put y = −2x back into the curve:
-
The two points:
Answer
(1, −2) and (−1, 2). At (1, −2) the page prints F_x = 0 and a slope of 0. Where the denominator is zero instead, at (2, −1) and (−2, 1), the tangent is vertical.
-
-
The derivative of ln x 3 steps
Use eʸ = x to find the derivative of y = ln x.
Show solution
-
Differentiate both sides of eʸ = x. The left side is a chain, so it gives eʸ times y′:
-
Solve, and use eʸ = x once more:
-
So y = ln x has slope 1/x:
Answer
(ln x)′ = 1/x. At x = 2 the page prints a slope of 0.5. The argument used only the derivative of eˣ, which is how the rule for ln x is first proved.
-
-
The second derivative of a circle 3 steps
Find y″ on x² + y² = 25 and its value at (3, 4).
Show solution
-
Start from the first derivative:
-
Differentiate again with the quotient rule, replace y′ by −x/y, and use x² + y² = 25:
-
At (3, 4):
Answer
y″ = −25/y³, and −25/64 ≈ −0.3906 at (3, 4). The second derivative is past what the page computes; it prints the slope −0.75 that the calculation starts from.
-
-
The tip of the folium 3 steps
Find the slope of x³ + y³ = 6xy at the tip of its loop, (3, 3).
Show solution
-
Differentiate both sides. The right side is a product:
-
Collect y′ and solve, dividing through by 3:
-
At (3, 3):
Answer
y′ = −1 at (3, 3). The curve is symmetric in y = x, so its tangent there has to cross that line at right angles. The page prints F_x = F_y = 9.
-
-
The top of the leaf 4 steps
Find the highest point of the folium's leaf exactly, and decide whether it is the tip (3, 3), where the leaf meets the line y = x. Press Top of the leaf: at x = 2.52 the upper point's slope reads −0.0002, close to 0, but a slider of step 0.01 can only bracket the answer.
Show solution
-
The tangent is horizontal where y′ = 0, which needs the numerator 2y − x² to be 0 while the denominator is not:
-
Put y = x²/2 into the curve. x = 0 is the origin, where the formula is 0/0, so divide by x³:
-
So x is the cube root of 16, and the denominator there is not 0:
-
At the tip (3, 3) the slope is −1, so the leaf is still rising to the left of it:
Answer
The top of the leaf is (24/3, 25/3) ≈ (2.5198, 3.1748), higher than the tip by 0.1748. Its height is the x of the vertical tangent in Where it folds, because swapping x and y leaves x³ + y³ = 6xy unchanged and turns horizontal tangents into vertical ones. The page reads a slope wherever you put the point; solving y′ = 0 is algebra it does not do.
-
Learning path
Differentiation: how rates combine
References (2)
- The method as the page steps it (differentiate both sides with y a function of x, then solve for dy/dx), the circle x² + y² = 25 with its tangent at (3, −4) (Example 3.71), and the folium in the form x³ + y³ − 3xy = 0 with slope −1 at (3/2, 3/2) (Example 3.72), the a = 1 version of the page's tip (3, 3): G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 3.8, “Implicit Differentiation”.
- That Descartes first discussed the folium in 1638 and believed the leaf was repeated in each quadrant like the petals of a flower (insight block 1), and the asymptote x + y + a = 0 (here a = 2): J. J. O'Connor and E. F. Robertson, “Folium of Descartes”, Famous Curves Index, MacTutor History of Mathematics Archive, University of St Andrews.