Stand on a hillside and face due east. The ground in front of you has a slope. Turn to face due north and the slope is different. A function of two variables has no single rate of change at a point, but if you move along one coordinate direction and hold the other fixed, you are back to an ordinary derivative. That derivative is a partial derivative.
Key terms
Varying one coordinate
Definition Let be a function of and and let be an interior point of its domain. The partial derivative of with respect to at is
and the partial derivative with respect to is
provided these limits exist. For three or more variables, change one coordinate by and keep all the others fixed. In practice is computed by treating as a constant and differentiating in with the one-variable rules. Existence of both partial derivatives at a point says nothing about other directions, and it does not even make continuous there.
In plain words Freeze every input but one, then take the ordinary derivative in the one that is still moving.
Example For at , only changes in the quotient,
so . The shortcut gives the same answer. With held constant, , and at that is .
Slopes of traces
Definition Let exist. The trace of the graph in the vertical plane is the curve , and is the slope of its tangent line at , measured in the direction. Likewise is the slope at of the trace in the plane . Both are rates of change of the output per unit change of one input.
In plain words Slice the surface parallel to one axis. The partial derivative is the steepness of the cut, read off like any single-variable slope.
Example For at the height is , and
So and . Walking in the positive direction from the point the surface drops units per unit step, and in the positive direction it drops . The tangent line to the trace in the plane is .
Partial derivative notation
Definition For the following all denote the partial derivative with respect to ,
and similarly for , with for the second input. The curly symbol signals that other variables are held fixed. A value at a point is written or . The partial derivatives are themselves functions, defined at the points where the limits exist.
In plain words Several notations, one idea. The subscript or the letter under names the variable that moves.
Example For , defined on all of ,
Domains matter too. For , defined on the open set , the partials and hold only on that set.
Higher partial derivatives
Definition The partial derivatives of and , where they exist, are the second partial derivatives of . Writing the variables of differentiation in the order they are applied,
So means differentiate first in , then in . In the notation the order reads from right to left. Third and higher partials are defined by repeating the process.
In plain words Take a partial derivative, then take a partial derivative of the result. Subscripts are read left to right in the order you differentiate.
Example Let . Then
and
At these give , and .
Mixed partials
Definition The mixed partial derivatives of are and . They come from differentiating in the two variables in opposite orders. Without extra hypotheses they need not be equal, even at a single point.
In plain words Changing the order of differentiation usually changes nothing, but not always, so equality has to be justified.
Example Let
Fix . Since , the definition gives
The same formula holds at , because is on the whole -axis and so . A similar computation gives for every . Now is the derivative of in at , and is the derivative of in at , so
The mixed partials disagree at the origin.
Clairaut’s theorem
Definition Let be defined on an open disk containing the point . If the mixed partials and both exist at every point of and are continuous on , then
More generally, if all partial derivatives of of order up to are continuous on an open set, then on that set any partial derivative of order at most is the same whatever the order of differentiation, so for example when .
In plain words When the mixed partials are continuous, order does not matter. The counterexample above escapes the theorem because its mixed partials are not continuous at the origin. Away from the origin its equals on the -axis and on the -axis, while .
Example Take . Then and , so
Both are continuous on all of , exactly as Clairaut’s theorem predicts.
Partial differential equations
Definition A partial differential equation is an equation relating an unknown function of two or more variables to some of its partial derivatives. A solution on an open set is a function with the needed partial derivatives there that makes the equation true at every point of the set. Three classical examples, with constants and , are
In plain words The unknown is a whole function, and the equation constrains how its partial derivatives fit together. Checking a proposed solution is just computing partials and substituting.
Example The function solves the heat equation with on all of . Indeed , and gives , the same function. It describes a sine-shaped temperature profile that fades over time.
Check yourself
- Let . Find the slope of the trace of its graph in the plane at , and the slope of the trace in the plane at .
Show the answer
The trace in the plane is controlled by , so its slope at is . The trace in the plane is controlled by , so its slope at is .
- Show that satisfies Laplace’s equation on its domain.
Show the answer
The domain is without the origin, an open set. There , and the quotient rule gives
Their sum is at every point of the domain.
- Let for and . Find and . Is continuous at the origin?
Show the answer
On the -axis , so the difference quotient is and . In the same way . Yet is not continuous at the origin, because along its values are . Both partial derivatives exist and is still discontinuous.