Total Differential Explained with Worked Examples

The total differential of is , the approximate change in for small changes and .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Total differential means

For small changes in the inputs, the change in the output is approximately the sum of the effects of each: the rate of change in each direction times the change in that variable.

It is used for error estimates: if and are measured with small errors, estimates the resulting error in .

It is the linear approximation of a function of several variables. It is the linear approximation behind the tangent plane, is divided by dt in the multivariable chain rule, and uses the gradient. A closely connected idea is Partial derivatives commute.

This page is part of Multivariable calculus in Calculus. Topics that work alongside it: Multivariable chain rule, Tangent plane, Gradient and directional derivative, Hessian and second-derivative test, Double integral in polar coordinates and Divergence and curl.

What is it used for?

The total differential df = fₓ dx + fᵧ dy estimates the small change in f(x, y) when both x and y change a little.

How to use total differential

  1. Find the partial derivatives at the point.
  2. Multiply each by the change in its variable.
  3. Add.
  4. Interpret as the approximate change in .

Graph

f(x) = x² and its tangent line 4x − 4 at x = 2f(2) = 400.511.522.533.540246810121416f(x) = x² and its tangent line 4x − 4 at x = 2xyf(x) = x²tangent at x = 2Graph with x from 0 to 4 and y from 0 to 16. Shows the curve f(x) = x²; the curve tangent at x = 2; point f(2) = 4 at (2, 4).

The differential df = 4 dx is the change along the tangent.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: an approximate change

For , estimate the change when moves from by , .

Worked example
Answer
df=0.35df=0.35
  1. Partial derivatives at (1, 2)
  2. Total differential

Example 2: an error estimate

The area of a rectangle is found from and . Estimate the maximum error in .

Worked example
Answer
1.51.5
  1. Partial derivatives
  2. Maximum error

Example 3: a small move

For , estimate the change when moves from by .

Worked example
Answer
−0.2-0.2
  1. Total differential
  2. Substitute

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

f = x²y at (2, 3), dx = 0.1, dy = −0.05

df = 12(0.1) + 4(−0.05)

1.0.

Actual change

f(2.1, 2.95) − 12

1.0095.

Area xy, 10 × 5, dx = dy = 0.1

y dx + x dy

1.5.

Relative error

1.5/50

3%.

Word problems

df = f_x dx + f_y dy approximates the change in f for small dx, dy. It is the linear approximation of f at the point.

Differential

f = x²y at (2, 3): f_x = 12, f_y = 4. Find df for dx = 0.1, dy = −0.05.

  1. 1.2 − 0.2
  2. Check: ✓1

Actual

Find f(2.1, 2.95) − f(2, 3).

  1. 13.0095 − 12
  2. Check: close ✓1.0095

Area Higher

A = xy at (10, 5) with dx = dy = 0.1.

  1. 0.5 + 1.0
  2. Check: ✓1.5

Relative Higher

dA/A.

  1. 1.5/50
  2. Check: ✓0.03

Common mistakes

Using finite change as df

exact ✗

approximation ✓

Linear.

Forgetting one variable

f_x dx only ✗

add f_y dy ✓

Both.

Large increments

accurate ✗

small only ✓

Error grows.

Wrong partial

f_x = x² ✗

f_x = 2xy ✓

Differentiate.

Exam tips

  1. df = f_x dx + f_y dy.
  2. Small increments.
  3. Compare with the actual change.
  4. Relative error df/f.
  5. Linear approximation.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. df for f = xy at (3, 4), dx = 0.1, dy = 0.2 Foundation

1

2. df for f = x² + y² at (1, 2), dx = dy = 0.1 Foundation

0.6

3. df for f = x²y at (1, 1), dx = 0.1, dy = 0 Foundation

0.2

4. Actual (1.1)²(1) − 1 Higher

0.21

5. df for f = x/y at (4, 2), dx = 0.2, dy = 0 Higher

0.1

6. df for f = ln(xy) at (1, 1), dx = dy = 0.1 Higher

0.2

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Total differential
df.
Linear approximation
Tangent plane estimate.
Increment
dx, dy.
Relative error
df/f.
Partial derivative
f_x, f_y.
Error propagation
Effect of measurement error.

Frequently asked questions

What is the total differential?

df = f_x dx + f_y dy.

What is it used for?

Estimating small changes and errors.

How accurate is it?

Accurate for small dx, dy.

How is it related to the tangent plane?

It is the change along the plane.

Which page covers the tangent plane?

tangent plane.

Which page covers the chain rule?

multivariable chain rule.

More in Calculus and the formula sheets.