Chapter 8
Differentials and Partial Derivatives
Linear approximation, functions of several variables and partial derivatives.
1. Linear approximation — the tangent line as a calculator
Near a point, a smooth curve looks almost straight — it hugs its tangent line. This is the single most useful idea in differential calculus: over a small step , the change in is well approximated by the change along the tangent, whose slope is .
Sliding along the tangent from a point where is easy to evaluate gives the linear approximation (also called the tangent-line approximation):
The linear approximation of a differentiable near is . For close to , . The trick is to choose as a nearby point where and are known exactly.
2. Errors: absolute, relative and percentage
When a measured quantity feeds into a formula, its small error propagates. The differential is the tool that converts a measurement error into an estimated error in .
(carries a unit). (no unit). .
If carries a small error , then the induced error in is about . Dividing by turns this into a relative error.
3. Differentials as a working notation
To turn into a precise object, we introduce the differentials and . We treat as an independent variable (the size of the step), and define to be the matching rise along the tangent line.
For a differentiable , the differential of is , where is the differential of . The true change and the differential agree to first order: for small .
Differentials obey the same algebra as derivatives — sum, product, quotient and chain rules all carry over:
4. Functions of several variables
Most real quantities depend on more than one input: the volume of a cylinder depends on radius and height, temperature on position and time. A function of two variables assigns a single number to each point in a region of the plane.
A function of two variables is a rule assigning to each ordered pair in a domain a unique real number . Its graph is a surface sitting above the -plane.
For example is a paraboloid. Fixing gives , a parabola — the curve where the vertical plane slices the surface. Fixing gives , another parabola. Slicing to hold one variable fixed is exactly what partial derivatives will formalise.
5. Limits and continuity in two variables
We say as if can be made arbitrarily close to by taking close enough to . The crucial new feature in two dimensions is that a point can be approached from infinitely many directions — along any path in the plane, not just from left and right.
is continuous at if . Polynomials in and are continuous everywhere; a quotient is continuous wherever its denominator is non-zero.
6. Partial derivatives
To measure how changes, we vary one input at a time and hold the other fixed. Freezing turns into a function of alone; its ordinary derivative is the partial derivative with respect to .
The partial derivatives of are and , when these limits exist. They are also written and .
7. Higher-order partials and Clairaut's theorem
Each partial derivative is itself a function of and , so we can differentiate again. This gives four second-order partial derivatives:
The two mixed partials (by , then ) and (the other order) are, remarkably, almost always equal.
If and both exist and are continuous on a region, then there. The order of differentiation does not matter.
8. The total differential and error propagation
With one variable, . With two variables, a small change in comes from both inputs moving, so the two contributions add:
For , the total differential is . It gives the tangent-plane (linear) approximation .
9. Chain rule for partial derivatives
When and are themselves functions of another variable , then depends only on . Its rate of change combines both channels through which influences :
If with and differentiable, then .
When and depend on two variables and , the same idea gives partial chain rules:
10. Homogeneous functions and Euler's theorem
Many functions in geometry and physics scale in a simple way when all inputs are stretched by the same factor. Such functions are called homogeneous.
A function is homogeneous of degree if for all admissible . Equivalently, every term of a polynomial has the same total degree ; a ratio is homogeneous of degree (numerator degree denominator degree).
For instance is homogeneous of degree , and is homogeneous of degree . But is not homogeneous of any degree.
If is homogeneous of degree with continuous partials, then . Differentiating once more gives the second-order form .
- Read the degree by summing exponents in each term (they must all match).
- Euler's relation is a fast check and a shortcut in many proofs.
- If is not homogeneous but is (of degree ), apply Euler to and then substitute back.