Implicit partial derivatives
Find the slope of a level curve and the slopes ∂z/∂x and ∂z/∂y of a surface given by an equation F = k, without solving for the unknown, and check the result against an explicit formula where one exists.
It opens on
Walk along the contour line through (2, 0) on the hill and your height stays 6. How steep is that line on the map, and can we say so without solving the equation for y?
Why it matters
Many curves and surfaces, from contour lines to spheres to equations of state, are given by an equation in which the height cannot be isolated, yet their slopes and tangent planes are still needed.
Good to know first
- The chain rule for several variables: along a path the rate is fx dx/dt + fy dy/dt, one term for each route
- Implicit differentiation in Calculus I: differentiate both sides of an equation, treating y as a function of x, then solve for dy/dx
Step by step
The slope of a contour line
Find dy/dx = −Fx/Fy for a level curve F(x, y) = k, from the idea that the height does not change along it and from the chain rule.
For F = 10 − x² − 2y² + xy at (2, 0): Fx = −4 and Fy = 2, so dy/dx = 2, the slope of the tangent line to the contour line.
A common mix-up
Dy/dx = Fx/Fy, no minus.
In fact: The contour line rises as it goes east, slope +2, although fx = −4; the minus gives 2, not −2.
Slopes of a surface F(x, y, z) = k
Find ∂z/∂x = −Fx/Fz and ∂z/∂y = −Fy/Fz from the chain rule, and check them against the explicit formula for a sphere.
On the sphere at (1, 2, 2), which lies on it since 1 + 4 + 4 = 9: Fx = 2x = 2, Fy = 2y = 4, Fz = 2z = 4.
A common mix-up
zx = 0 because z has no x.
In fact: On the sphere z depends on x and y, and the chain rule gives 2z zx; here zx = −1/2.
When z cannot be isolated
Use the implicit formulas on z³ + xyz = 10, where z cannot be solved for, and use the slopes for the tangent plane.
Let F = z³ + xyz − 10. The point (1, 1, 2) of the equation is on the surface since 8 + 2 = 10.
A common mix-up
Without a formula for z there is no slope.
In fact: The implicit formulas give zx = zy = −2/13 at (1, 1, 2).
Try it
Find dy/dx for x² + y² = 25 at (3, 4).Answer
−3/4
Hint: Fx = 2x = 6, Fy = 2y = 8
Find zx for x² + y² + z² = 14 at (1, 2, 3).Answer
−1/3
Hint: Fx = 2x = 2, Fz = 2z = 6
For xyz + x² = 5 at (1, 1, 4) find zx implicitly and check with z = (5 − x²)/(xy).Answer
−6 both ways
Hint: Fx = yz + 2x = 6, Fz = xy = 1
Walking along the contour line through (2, 0), your height stays 6. What does that say about the effects of the east and north steps?Answer
They cancel.
Write the hill as F = x² + 2y² − xy + z = 10. What are Fx, Fz and zx at (2, 0, 6)?Answer
Fx = 4, Fz = 1, zx = −4, the same as fx.
