Differentials &
Error Estimation
Learn how the total differential lets you approximate changes in multivariable functions and bound propagation errors in real-world measurements.
What Is a Differential?
In single-variable calculus, the differential \( dy = f'(x)\,dx \) approximates the change in \( y \) for a small change \( dx \). In multivariable calculus, we extend this idea: the total differential captures how a function \( f(x_1, x_2, \dots, x_n) \) changes when all of its inputs change simultaneously.
Geometric Intuition
The total differential is the change along the tangent plane to the surface \( z = f(x,y) \) at a point. While \( \Delta z \) is the exact change on the surface, \( dz \) is the linear approximation from the tangent plane.
Why Error Estimation Matters
In science and engineering, measured quantities always carry small uncertainties. When you compute a derived quantity from several measurements, those individual errors propagate through the formula.
The Total Differential Formula
Each \( dx_i \) represents a small change (or measurement error) in variable \( x_i \). The partial derivative \( \frac{\partial f}{\partial x_i} \) acts as a sensitivity weight: it tells you how strongly variable \( x_i \) influences the output.
Sensitivity and Partial Derivatives
A large \( \left|\frac{\partial f}{\partial x}\right| \) means even a tiny error in \( x \) produces a significant change in \( z \). This tells engineers which measurement to refine for better accuracy.
\(dz\) versus \(\Delta z\)
| \( dz \) (Differential) | \( \Delta z \) (Exact Change) | |
|---|---|---|
| Definition | Linear approximation via tangent plane | \( f(a+\Delta x,\, b+\Delta y) - f(a,b) \) |
| Computation | Only requires partial derivatives at one point | Requires evaluating \( f \) at two points |
| Accuracy | Approximation: ignores higher-order terms | Exact: captures all nonlinear effects |
| When to Use | Quick estimates, error bounds | When exact precision is needed |
Absolute vs Relative Error
How to Apply Error Estimation
Example 1: Cylinder Volume
A cylinder has measured radius \( r = 5 \) cm (\( \pm 0.1 \) cm) and height \( h = 12 \) cm (\( \pm 0.2 \) cm). Estimate the maximum error in the computed volume \( V = \pi r^2 h \).
Example 2: Resistance from Ohm's Law
Resistance is computed as \( R = \frac{V}{I} \). Measured voltage \( V = 20 \) V (\( \pm 0.5 \) V) and current \( I = 4 \) A (\( \pm 0.1 \) A). Find the maximum relative error in \( R \).
Example 3: Three-Variable Function
Let \( w = x^2 y - 3xz^2 \). At the point \( (1, 2, -1) \), each variable has maximum error \( \pm 0.02 \). Estimate the maximum error \( |dw| \).
Relative Error for Products & Powers
When functions have a product/power structure, the relative error formula becomes especially clean. For \( f = x^a y^b z^c \):
Common Mistakes
Summary of Key Formulas
| Concept | Formula | Use Case |
|---|---|---|
| Total Differential | \( dz = \sum \frac{\partial f}{\partial x_i}\,dx_i \) | Approximate change |
| Maximum Absolute Error | \( |dz| \leq \sum \left|\frac{\partial f}{\partial x_i}\right| |dx_i| \) | Worst-case bound |
| Relative Error | \( \frac{|dz|}{|z|} \) | Percentage error |
| Product/Power Rule | \( \frac{|df|}{|f|} \leq \sum |a_i| \frac{|dx_i|}{|x_i|} \) | Quick relative estimate |
Question 1 of 5
Given \( z = x^2 + y^2 \), what is the total differential \( dz \)?
Question 2 of 5
For \( f = xy \), each variable is measured with max error \( |dx| = |dy| = 0.01 \). At \( (3, 4) \), the maximum absolute error \( |df| \) is at most:
Question 3 of 5
For \( V = \pi r^2 h \), the maximum relative error in \( V \) is bounded by:
Question 4 of 5
If \( w = \frac{x}{y} \), which variable's error contributes the same relative weight to the relative error in \( w \)?
Question 5 of 5
At \( (1, 2, -1) \), \( w = x^2 y - 3xz^2 \). Which partial derivative has the largest absolute value, indicating the most sensitive variable?