Partial derivatives
Measure how fast the hill's height changes due east and due north as a limit, find fx and fy by freezing the other variable, and read them as rates of change from a formula, a table and a function of three variables.
It opens on
You stand on the hill 2 units east and 0 north, at height 6: walking due east, do you climb or descend?
Why it matters
A function of two variables changes in many directions at once; holding one variable fixed reduces the question to one-variable calculus, and partial derivatives are the building block of tangent planes, gradients and optimisation.
Good to know first
- Limits and continuity in several variables: a limit of f(x, y) is the number the readings approach as the point closes in
- The power rule and the constant, sum, difference and constant multiple rules: x² gives 2x and a constant multiplier stays
- The product rule and the quotient rule: they differentiate a product or a fraction of two functions
Step by step
The slope due east and due north
Define fx and fy as slopes of the east and north traces through a point, and compute them from the limit definition.
A step east to (3, 0) changes the height from 6 to 1, so the secant slope on the east curve is (1 − 6)/1 = −5.
A common mix-up
The hill has one slope at a point.
In fact: At (2, 0) the ground falls 4 per unit east but rises 2 per unit north, so each partial derivative names its direction.
Finding fx and fy by freezing
Find fx and fy of a formula by treating the other variable as a constant, write them as ∂f/∂x and ∂f/∂y, and substitute the point last.
For the hill's east trace, hold y fixed: 10 and −2y² contain no x so give 0; −x² gives −2x; xy gives y. So fx = −2x + y.
A common mix-up
Every term still changes, so −2y² gives −4y in fx.
In fact: Freeze y at a number such as 3: −2y² becomes the constant −18, whose derivative is 0.
Rates, tables and three variables
Read a partial derivative as a rate with units, estimate partials from a table of heights, and find the three partials of a function of three variables.
In the survey table, row y = 0 reads 10, 9, 6, 1; the heights beside x = 2 are 9 and 1, so fx(2, 0) ≈ (1 − 9)/2 = −4.
A common mix-up
The hill has one slope at a point.
In fact: The table gives −4 along the row and 2 along the column at the same entry, so the slope depends on the direction.
Try it
Use the limit to find fx(1, 0) for the hill.Answer
−2, since [f(1 + h, 0) − f(1, 0)]/h = (−2h − h²)/h → −2
Hint: f(1 + h, 0) = 10 − (1 + h)²
Find fx and fy of f = x³y² + 4x − 5y.Answer
fx = 3x²y² + 4 and fy = 2x³y − 5
Hint: y² and x³ stay as constant multipliers
Estimate fx(1, 0) and fy(1, 0) from the table.Answer
fx ≈ (6 − 10)/2 = −2 and fy ≈ (8 − 6)/2 = 1
Hint: Use row y = 0 and column x = 1
At the spot (2, 0) of the hill, height 6, you walk due east. Do you climb or descend?Answer
Descend: the top is to the west.
Why does −2y² vanish when we find fx?Answer
y is held fixed, so it is a constant, and a constant has derivative 0.
