Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Partial Derivatives and Total Differentials

Hello! This course develops mathematical tools that recur throughout higher physics, then uses them in physical and quantum-mechanical settings. We begin with a basic question: how does a quantity change when it depends on more than one input? In this lesson, you will compute partial derivatives, combine them into a total differential, and use that differential to estimate a small change in a physical quantity.


Changing one input at a time

Suppose depends on two independent variables. In single-variable calculus, a derivative measures the effect of changing the input. Here we can ask two distinct questions: what happens when changes while stays fixed, and what happens when changes while stays fixed? Their answers are the partial derivatives and .

At a point , the definitions are

Notice what does not change in each limit: is fixed in the first, and is fixed in the second. In practice, this means treating every other independent variable as a constant and applying ordinary differentiation rules.

4.3 Partial Derivatives - Calculus Volume 3

Read OpenStax’s introduction to partial derivatives for the limit definitions and the practical rule for calculating them.

Under “Derivatives of a Function of Two Variables,” begin with definitions and notation, stopping before Example 4.14. Then, immediately after Checkpoint 4.12, read the calculation rule and Example 4.15. Focus on which variables are held fixed; you do not need to work the checkpoints now.

For example, let

Holding fixed makes it a coefficient when differentiating . Holding fixed makes a coefficient when differentiating that same term. Thus

At , these rates are and . The function’s response depends on which input you vary.

The same method works with more inputs. For , there are three first partial derivatives:

Each calculation holds the other two variables fixed.


From slopes to a tangent plane

If , its graph is a surface. Fixing cuts a curve through that surface. The slope of this curve at is ; the corresponding slice with has slope .

The green curve is the slice of \(z=f(x,y)\) obtained by holding \(y=b\). Its tangent-line slope at the marked point is \(f_x(a,b)\).

When the surface is sufficiently smooth, these two slopes specify its tangent plane at the point. The plane gives a linear approximation near :

This is the multivariable counterpart of approximating a curve by its tangent line. The plane agrees with the surface at the base point and captures its first-order change in both input directions.

The translucent plane is tangent to the orange surface at the marked point. Tangent lines to curves on the surface through that point lie in the tangent plane.

The total differential: a predicted small change

Let the inputs change by and . The total differential is the change predicted by the tangent plane:

For independently chosen input changes, we set and . The actual output change, however, is

In general, is not exactly equal to : the surface can bend away from its tangent plane. For sufficiently small input changes at a differentiable point, approximates .

Watch the following short lecture segment for the distinction between an actual change and a differential. It also connects the two-input formula to the single-variable tangent-line idea.

Lec 11: Differentials; chain rule | MIT 18.02 Multivariable Calculus, Fall 2007

Watch “Differentials; chain rule” from MIT OpenCourseWare for its introduction to the total differential. Stop before the lecture turns to the chain rule, which is the next lesson’s topic.

Watch the setup for the connection to single-variable differentials, followed by actual versus predicted change. Focus on why the differential uses the local linear approximation rather than claiming to equal every finite change.

OpenStax develops the tangent-plane approximation and states when it is valid. The essential condition is differentiability: near the base point, the error in the linear prediction must become small compared with the size of the input change. Continuous first partial derivatives in a neighborhood are a useful sufficient condition. Merely finding two partial derivatives at one point is not enough to guarantee a good tangent-plane approximation there.

4.4 Tangent Planes and Linear Approximations

Read OpenStax’s account of how a tangent plane leads to a linear approximation and a total differential. Pay particular attention to the distinction between a condition for differentiability and simply calculating partial derivatives.

In “Linear Approximations,” begin at the tangent-plane approximation, continuing through Example 4.23. In “Differentiability,” read the error definition; then find Theorem 4.7 and read the continuity criterion. Finally, in “Differentials,” start where the text extends the single-variable idea and read the total differential. Focus on its formula and how it estimates a change; leave the later three-variable definition and exercises for another time.

For a differentiable function, the precise statement behind “small change” is

where the remainder satisfies

The differential is the two-term linear part. This explains both its usefulness and its limit: it captures the leading response near the chosen point, not necessarily the exact response to a finite step.


Computing and using a differential

Return to . Since its partial derivatives are and , its total differential is

At , this becomes . If increases by and decreases by , the predicted change is

Because , the corresponding linear estimate is . Direct evaluation gives , so the exact change is . The small difference between these changes is the part the tangent plane does not capture.

A physical example makes the roles of the inputs clearer. Kinetic energy as a function of mass and speed is . Treating the two inputs independently gives

The first term estimates the energy change attributable to a small mass change with speed held fixed; the second does the same for a speed change with mass held fixed. The total differential combines both contributions when both inputs vary. With three or more independent variables, you use the same rule: compute one first partial derivative per input and multiply each by that input’s differential.


Looking ahead

A partial derivative measures change while the other inputs are fixed. The total differential combines those separate rates into one local, linear prediction for simultaneous input changes. Keep the distinction between and the exact change in view: it will matter whenever a physical model is approximated near a chosen state.

Next, you will study what happens when the inputs are themselves functions of other variables. That leads to the multivariable chain rule and Jacobian matrices.

Can't find a good explanation? Sign up and we'll make it for you

Sign up