Total Differential and Linear Approximation

College Depth 61 in the knowledge graph I know this Set as goal
Unlocks 4167 downstream topics
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

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesLiteral EquationsSlope-Intercept FormPoint-Slope FormWriting Linear EquationsParallel and Perpendicular Line SlopesGraphing Linear EquationsPiecewise FunctionsOne-Sided LimitsContinuity DefinitionLimit Definition of the DerivativeDerivative as Slope of Tangent LinePartial Derivatives: Definition and ComputationDifferentiability in Multiple VariablesDifferentiability in Multivariable FunctionsTotal Differential and Linear Approximation

Longest path: 62 steps · 257 total prerequisite topics

Prerequisites (2)

Leads To (1)