A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Total Differential and Linear Approximation

College Depth 76 in the knowledge graph ☐ I know this ☆ Set as goal
5,786topics build on this
327prerequisites beneath it
See this on the map →
Differentiability in Multivariable FunctionsPartial Derivatives: Definition and Computation→→Chain Rule for Multivariable FunctionsTangent Planes and Linear Approximation
total-differential approximation exactness

Core Idea

The total differential df = (∂f/∂x)dx + (∂f/∂y)dy represents the change in a differentiable function f when x and y change by small amounts dx and dy. It defines the best linear approximation to f near a point.

Explainer

From single-variable calculus, you know that the derivative f'(a) gives the slope of the tangent line, and the linear approximation f(a + Δx) ≈ f(a) + f'(a)Δx tells you how much f changes when x changes by a small amount Δx. The total differential is the precise multivariable generalization. For a function f(x, y), your prerequisite knowledge of partial derivatives gives you ∂f/∂x (rate of change with x fixed y) and ∂f/∂y (rate of change with x fixed). The total differential df = (∂f/∂x)dx + (∂f/∂y)dy combines both into a single expression that accounts for simultaneous changes in both variables.

The key insight is that dx and dy are independent variables in the differential — they represent arbitrary (small) changes in x and y, not specific increments. Given a specific displacement (Δx, Δy), the approximation becomes Δf ≈ (∂f/∂x)Δx + (∂f/∂y)Δy. This is the best linear approximation to the change in f: it is exact to first order, meaning the error |Δf − df| shrinks faster than the magnitude of the displacement |(Δx, Δy)| as the displacement goes to zero. This is precisely what differentiability means in the multivariate setting — your other prerequisite — and distinguishes it from merely having partial derivatives.

A concrete example: suppose f(x, y) = x²y and you want to estimate f(2.01, 2.98) without computing it exactly. Near (2, 3): ∂f/∂x = 2xy = 12, ∂f/∂y = x² = 4, f(2, 3) = 12. So Δf ≈ 12(0.01) + 4(−0.02) = 0.12 − 0.08 = 0.04, giving f ≈ 12.04. The actual value is (2.01)²(2.98) ≈ 12.04, confirming the approximation. Each partial derivative isolates the contribution of one variable; the total differential sums the contributions linearly.

The total differential extends naturally to more variables: df = (∂f/∂x)dx + (∂f/∂y)dy + (∂f/∂z)dz, and to exact differentials — expressions P dx + Q dy that equal the differential of some function f, which requires ∂P/∂y = ∂Q/∂x. This exactness condition connects directly to conservative vector fields and path independence in line integrals. The total differential is also the foundation for the multivariable chain rule: if x and y both depend on a parameter t, then df/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt) — literally the total differential divided by dt, with each term recording how f changes through one path of influence.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Piecewise Functions → One-Sided Limits → Continuity Definition → Limits and Continuity in Multiple Variables → Functions of Several Variables → Continuity in Multiple Variables → Partial Derivatives: Definition and Computation → Differentiability in Multiple Variables → Differentiability in Multivariable Functions → Total Differential and Linear Approximation

Longest path: 77 steps · 327 total prerequisite topics

Prerequisites (2)

Leads To (2)