Fiveable

Calculus IV Unit 4 Review

QR code for Calculus IV practice questions

4.3 Approximation of functions using differentials

4.3 Approximation of functions using differentials

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Calculus IV
Unit & Topic Study Guides

Differential Approximation Fundamentals

Differential approximation lets you estimate how a function's value changes without computing it exactly. The core idea: if you know a function's value and its derivatives at a point, you can predict its value at nearby points using differentials. This is especially useful in multivariable calculus, where exact computation can get unwieldy fast.

Understanding Differentials and Approximations

For a function y=f(x)y = f(x), the differential is defined as:

dy=f(x)dxdy = f'(x)\,dx

This approximates the actual change Δy\Delta y when xx changes by a small amount dxdx. The key relationship is:

Δydyfor small dx\Delta y \approx dy \quad \text{for small } dx

The approximation works because dydy captures the linear (tangent-line) behavior of the function near the point. The smaller dxdx is, the better the estimate.

For multivariable functions z=f(x,y)z = f(x, y), the differential generalizes to:

dz=fxdx+fydydz = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy

This is the multivariable version you'll use most often in this course, and it connects directly to the tangent plane from earlier sections. The tangent plane is the linear approximation, and dzdz gives you the approximate change in zz along that plane.

Higher-order differentials improve accuracy when dxdx isn't tiny. The second-order differential adds a curvature correction:

d2y=f(x)dx2d^2y = f''(x)\,dx^2

Including this term gives a quadratic approximation, which stays accurate over a wider range of dxdx values.

Absolute and Relative Error

Once you use a differential to approximate a value, you need to know how good that approximation is. Two measures handle this:

  • Absolute error: ActualApproximation|{\text{Actual}} - {\text{Approximation}}|. This tells you the raw size of the error in the same units as the output. For example, if the actual value is 5.2 and your approximation gives 5.1, the absolute error is 5.25.1=0.1|5.2 - 5.1| = 0.1.
  • Relative error: ActualApproximationActual\frac{|\text{Actual} - \text{Approximation}|}{|\text{Actual}|}. This gives a scale-independent measure, often expressed as a percentage. A 0.1 error on a value of 100 (0.1% relative error) is far less concerning than a 0.1 error on a value of 0.5 (20% relative error).

Relative error is what you typically care about when deciding whether an approximation is "good enough" for a given application.

Understanding Differentials and Approximations, Linear Approximations and Differentials · Calculus

Error Analysis

Propagation of Errors

In practice, you rarely measure a quantity directly. Instead, you compute it from other measured quantities, each with its own uncertainty. Error propagation tells you how those input uncertainties combine to affect the output.

For a function f(x,y)f(x, y) where xx and yy each have small errors dxdx and dydy, the propagated error in ff is approximated by the total differential:

df=fxdx+fydydf = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy

Here, the partial derivatives act as sensitivity coefficients. A large fx\frac{\partial f}{\partial x} means ff is very sensitive to errors in xx, so even a small dxdx can produce a significant error in ff.

To find the worst-case (maximum) error, you take absolute values:

dffxdx+fydy|df| \leq \left|\frac{\partial f}{\partial x}\right||dx| + \left|\frac{\partial f}{\partial y}\right||dy|

Example: Suppose you're computing the area of a rectangle, A=xyA = xy, where x=10±0.1x = 10 \pm 0.1 cm and y=5±0.2y = 5 \pm 0.2 cm. Then:

dA=ydx+xdy=(5)(0.1)+(10)(0.2)=0.5+2.0=2.5 cm2dA = y\,dx + x\,dy = (5)(0.1) + (10)(0.2) = 0.5 + 2.0 = 2.5 \text{ cm}^2

So the area is approximately 50±2.550 \pm 2.5 cm2^2. Notice that the error in yy contributes more because it gets multiplied by the larger dimension xx.

Understanding Differentials and Approximations, Tangent Planes and Linear Approximations · Calculus

Chain Rule for Differentials

When your function involves composition (a function of a function), the chain rule extends to differentials. For a composite function f(g(x))f(g(x)):

df=f(g(x))dgdf = f'(g(x)) \cdot dg

where dg=g(x)dxdg = g'(x)\,dx. This lets you track errors through multi-step calculations by chaining differentials at each stage.

For multivariable compositions, the same principle applies. If z=f(u,v)z = f(u, v) where u=u(x,y)u = u(x, y) and v=v(x,y)v = v(x, y), you first find dudu and dvdv in terms of dxdx and dydy, then substitute into the expression for dzdz.

Applications

Differential approximation and error propagation show up constantly in applied work:

  • Physics: Propagating measurement uncertainties through formulas (e.g., computing the uncertainty in a pendulum's period from uncertainties in length and timing measurements). Perturbation theory uses differentials to analyze how small parameter changes affect a system's behavior.
  • Engineering: Tolerance analysis in manufacturing determines how variations in component dimensions affect the final assembly. If a part's radius has tolerance ±0.01\pm 0.01 mm, the differential tells you how much the volume or surface area can vary.
  • Numerical methods: Linear approximation underlies many computational algorithms. Understanding the differential error helps you choose step sizes and assess the reliability of numerical results.

The common thread across all these applications: differentials turn a hard "exact change" problem into a manageable linear estimate, and error analysis tells you when that estimate is trustworthy.