Tutorials › Calculus III › Increments and First-Order Change

Differentiability and Linearization · Tutorial 326 of 999

Increments and First-Order Change

Learn to track changes in each input and the resulting output, and to combine partial derivatives into a candidate first-order change.

Intermediate 10 min read

What You'll Learn

  • Define input increments and the corresponding output increment at a base point
  • Write the candidate first-order change using partial derivatives
  • Extend the formula from two variables to several variables
  • Distinguish a candidate change from the actual function change
  • Check a first-order calculation against an exact change
  • Identify sign and interpretation errors in increment calculations

From Input Changes to Output Change

A function of several variables assigns one output to a collection of inputs. If the inputs are changed, the output generally changes too. Keeping track of these changes gives a natural way to use partial derivatives together: each partial derivative describes the rate of change in one coordinate direction, while the corresponding input increment records how far that coordinate moves.

The resulting expression is a candidate first-order change. It combines the coordinatewise rates at a base point with the input increments. The word “candidate” matters: having partial derivatives at the base point gives us this expression, but by itself does not guarantee that it accurately approximates the actual change when several inputs move together.

Input and Output Increments

Let \(f:A\to\mathbb{R}\) be a scalar-valued function, where \(A\) is a subset of \(\mathbb{R}^n\). Choose a base point \(\mathbf{a}=(a_1,\ldots,a_n)\) in the domain and an input increment \(\mathbf{h}=(h_1,\ldots,h_n)\) such that \(\mathbf{a}+\mathbf{h}\) is also in the domain. The new input is \(\mathbf{a}+\mathbf{h}\); the change in the input is \(\mathbf{h}\).

Definition: The input increment is \(\mathbf{h}\), with coordinates \(h_i\). The corresponding output increment is the actual difference $$ \Delta f=f(\mathbf{a}+\mathbf{h})-f(\mathbf{a}). $$

For two inputs \(x\) and \(y\), we usually write the increments as \(\Delta x\) and \(\Delta y\). If the base point is \((a,b)\), the new point is \((a+\Delta x,b+\Delta y)\), and the output increment is

$$ \Delta f = f(a+\Delta x,b+\Delta y)-f(a,b). $$

The output increment is an exact difference. It is not a derivative and is not automatically equal to a formula built from partial derivatives.

Constructing the Candidate First-Order Change

Suppose the first partial derivatives of \(f\) exist at the base point \(\mathbf{a}\). For a small change in coordinate \(i\) alone, the partial derivative \(\frac{\partial f}{\partial x_i}(\mathbf{a})\) gives the coordinatewise rate at that point. Multiplying this rate by the corresponding input increment gives that coordinate’s first-order contribution.

Definition: The candidate first-order change at \(\mathbf{a}\), for input increment \(\mathbf{h}\), is $$ L_{\mathbf{a}}(\mathbf{h}) = \sum_{i=1}^{n} \frac{\partial f}{\partial x_i}(\mathbf{a})h_i. $$ For two variables, this is $$ L_{(a,b)}(\Delta x,\Delta y) = f_x(a,b)\Delta x+f_y(a,b)\Delta y. $$

This expression is linear in the increments: doubling every input increment doubles the candidate, and adding two increment vectors adds their candidate changes. For two variables, the first term uses the change in \(x\) and the \(x\)-partial; the second term uses the change in \(y\) and the \(y\)-partial. Matching each derivative with its own coordinate increment is essential.

Why These Coefficients Appear

The formula is motivated by the meaning of a partial derivative. Along coordinate \(i\), with all other coordinates fixed at their base-point values, the derivative is the limit of the output change divided by the coordinate increment:

$$ \frac{\partial f}{\partial x_i}(\mathbf{a}) = \lim_{t\to 0} \frac{f(\mathbf{a}+t\mathbf{e}_i)-f(\mathbf{a})}{t}, $$

where \(\mathbf{e}_i\) is the vector whose \(i\)-th coordinate is \(1\) and whose other coordinates are \(0\). Thus the partial derivative supplies the first-order rate in that coordinate direction.

Here is a useful justification for combining those rates. If a first-order rule is linear in the input increment, then its value on a general increment is determined by its values on the coordinate directions. Indeed, \(\mathbf{h}=\sum_{i=1}^{n}h_i\mathbf{e}_i\). By linearity, the rule’s value at \(\mathbf{h}\) must be the sum of \(h_i\) times its value at \(\mathbf{e}_i\). The coordinatewise rates are the partial derivatives, so this gives the stated candidate formula.

This argument explains why the partial derivatives are the coefficients of a linear first-order candidate. It does not establish that the candidate matches the actual output change for every function with partial derivatives at \(\mathbf{a}\). The actual change involves moving all coordinates, and coordinatewise rates at the base point alone do not settle how well the combined change is captured. The later study of differentiability addresses the precise conditions for a valid first-order approximation.

Worked Examples

Worked Example: A Two-Variable Polynomial

Let \(f(x,y)=x^2+3xy+2y^2\), with base point \((1,-1)\) and increments \(\Delta x=0.02\), \(\Delta y=-0.03\). First evaluate the function at the base point:

$$ f(1,-1)=1^2+3(1)(-1)+2(-1)^2=1-3+2=0. $$

The partial derivatives are \(f_x=2x+3y\) and \(f_y=3x+4y\). At the base point,

$$ f_x(1,-1)=2(1)+3(-1)=-1, \qquad f_y(1,-1)=3(1)+4(-1)=-1. $$

Therefore the candidate first-order change is

$$ L_{(1,-1)}(0.02,-0.03) =(-1)(0.02)+(-1)(-0.03) =-0.02+0.03=0.01. $$

Check against the exact change. The new point is \((1.02,-1.03)\), and

$$ \begin{aligned} f(1.02,-1.03) &=(1.02)^2+3(1.02)(-1.03)+2(-1.03)^2\\ &=1.0404-3.1518+2.1218\\ &=0.0104. \end{aligned} $$

Hence \(\Delta f=0.0104-0=0.0104\). The candidate is \(0.01\), not the exact change; the difference between them is \(0.0004\).

Worked Example: A Product with a Negative Increment

Let \(f(x,y)=xy\), with base point \((2,3)\) and increments \(\Delta x=0.1\), \(\Delta y=-0.2\). At the base point, \(f(2,3)=6\). Since \(f_x=y\) and \(f_y=x\),

$$ f_x(2,3)=3, \qquad f_y(2,3)=2. $$

The candidate first-order change is

$$ L_{(2,3)}(0.1,-0.2) =3(0.1)+2(-0.2) =0.3-0.4=-0.1. $$

The new point is \((2.1,2.8)\). Direct evaluation gives

$$ f(2.1,2.8)=2.1(2.8)=5.88, \qquad \Delta f=5.88-6=-0.12. $$

The exact change is \(-0.12\), while the candidate is \(-0.1\). Their difference is \(-0.02\). In this example, the product of the two increments, \((0.1)(-0.2)=-0.02\), accounts for that difference.

Worked Example: Three Input Variables

Let \(f(x,y,z)=xy+z^2\), with base point \((1,2,-1)\) and increments \(\Delta x=0.1\), \(\Delta y=-0.2\), and \(\Delta z=0.05\). The base value is

$$ f(1,2,-1)=(1)(2)+(-1)^2=2+1=3. $$

The partial derivatives are \(f_x=y\), \(f_y=x\), and \(f_z=2z\). Therefore, at the base point,

$$ f_x(1,2,-1)=2, \qquad f_y(1,2,-1)=1, \qquad f_z(1,2,-1)=-2. $$

Each derivative is multiplied by its matching increment:

$$ \begin{aligned} L_{(1,2,-1)}(0.1,-0.2,0.05) &=2(0.1)+1(-0.2)+(-2)(0.05)\\ &=0.2-0.2-0.1\\ &=-0.1. \end{aligned} $$

The new point is \((1.1,1.8,-0.95)\). The exact new function value and output increment are

$$ f(1.1,1.8,-0.95) =(1.1)(1.8)+(-0.95)^2 =1.98+0.9025 =2.8825, $$
$$ \Delta f=2.8825-3=-0.1175. $$

This verifies the exact change directly and distinguishes it from the candidate, which is \(-0.1\).

A Common Sign Error

In the product example, a common mistake is to use the correct partial derivatives but forget that \(\Delta y=-0.2\). That incorrect calculation would be

$$ 3(0.1)+2(0.2)=0.3+0.4=0.7. $$

The second term must use the signed increment, not its absolute value. The corrected calculation is

$$ 3(0.1)+2(-0.2)=0.3-0.4=-0.1. $$

A quick check is to write each derivative and increment as a matched pair before evaluating: \(f_x\Delta x\) and \(f_y\Delta y\). This makes it harder to lose the sign or attach a derivative to the wrong coordinate.

Interpreting the Candidate Carefully

The output increment \(\Delta f\) is always the difference between two function values. The candidate \(L_{\mathbf{a}}(\mathbf{h})\) is formed from the partial derivatives at the base point and the input increments. They are different quantities, even when their numerical values are close.

For a single coordinate change, the definition of the corresponding partial derivative explains the coordinatewise rate. For simultaneous changes, the candidate adds the contributions suggested by those rates. Whether that sum accurately captures the actual output change is a further question: partial derivatives at one point alone are not a guarantee.

These distinctions are useful whenever a problem asks how a function changes near a chosen input. Begin by identifying the base point and the signed input increments. Then compute the partial derivatives at that base point, form the candidate, and keep it distinct from the exact output increment unless the required approximation conditions have been established.

Check Your Understanding

Use the definitions and distinctions in this tutorial to answer the following questions.

  1. For a function of two variables, what is the exact output increment from \((a,b)\) to \((a+\Delta x,b+\Delta y)\)?
  2. Write the candidate first-order change for a function of three variables at a base point.
  3. For \(f(x,y)=x^2+y\) at \((1,2)\), with increments \(\Delta x=-0.1\) and \(\Delta y=0.3\), calculate the candidate change.
  4. In the preceding question, calculate the exact output increment and compare it with the candidate.
  5. Does the existence of all first partial derivatives at a base point, by itself, guarantee that the candidate accurately approximates the actual change? Explain the distinction.