From Input Changes to an Estimated Output Change
A change in either input of a two-variable function can change its output. If the function is differentiable, its partial derivatives at a starting point give a simple way to estimate that output change. The estimate is especially useful when the input changes are small, but it is not generally the exact change.
For a function \(f(x,y)\), suppose the starting input is \((a,b)\), and the inputs change by \(\Delta x\) and \(\Delta y\). The new input is \((a+\Delta x,b+\Delta y)\). The exact change in the function value is the new output minus the starting output. The differential gives a first-order estimate of that difference.
The partial derivatives in this formula are evaluated at the starting point \((a,b)\). The exact function change is
The symbols have different roles: \(\Delta f\) denotes the actual change, while \(df\) denotes the linear estimate of that change. In many applications, the estimate is a good practical substitute when the increments are small. It remains an approximation unless the function is linear in the relevant region or a special cancellation makes the two values agree.
Why the Differential Estimates the Change
Differentiability at \((a,b)\) means that the change in \(f\) can be written as a linear function of the input increments plus a remainder that becomes small relative to the size of those increments. More precisely, for increments not both zero,
where the remainder satisfies
The first two terms are exactly the total differential after setting \(dx=\Delta x\) and \(dy=\Delta y\). Thus the difference between the actual change and its differential estimate is the remainder:
As the input changes approach zero, this remainder becomes small relative to the length of the input change. That is why the differential provides a local first-order estimate. Differentiability does not say that the remainder is zero for a particular nonzero change, nor does it guarantee a specified level of accuracy for a large change.
A Reliable Calculation Procedure
For a concrete estimate, keep the base point, input increments, and function changes distinct. The calculation follows directly from the definition.
Write the base point as \((a,b)\), and record the specified changes \(\Delta x\) and \(\Delta y\). The new input is \((a+\Delta x,b+\Delta y)\).
Compute \(f_x\) and \(f_y\), then evaluate both at the starting point \((a,b)\).
Substitute \(dx=\Delta x\) and \(dy=\Delta y\) into \(df=f_x(a,b)\,dx+f_y(a,b)\,dy\).
Evaluate \(f\) at the new input and subtract its value at the starting point.
Worked Examples
Worked Example: A Polynomial Function
Estimate the change in \(f(x,y)=x^2+3xy+y^2\) as the input changes from \((1,2)\) by \(\Delta x=0.1\) and \(\Delta y=-0.05\). Then compare the estimate with the exact change.
First compute the partial derivatives:
At the starting point \((1,2)\),
Set \(dx=0.1\) and \(dy=-0.05\). Then
The differential estimates an increase of \(0.45\). For the exact change, the new point is \[ (1+0.1,2-0.05)=(1.1,1.95). \] The starting output is
At the new point,
Therefore the exact change is \(11.4475-11=0.4475\). The differential estimate \(0.45\) differs from the exact change by \(0.45-0.4475=0.0025\). The comparison confirms that the estimate is close here, but not exact.
Worked Example: A Function Involving a Square Root
Let \(f(x,y)=\sqrt{x^2+y^2}\), and estimate its change from \((3,4)\) when \(\Delta x=0.06\) and \(\Delta y=-0.08\). Compare with the exact change.
The partial derivatives are
where the formula applies when \(x^2+y^2>0\). At \((3,4)\), the denominator is \(\sqrt{3^2+4^2}=5\), so
The differential estimate is
For the exact change, the new point is \((3.06,3.92)\). Its output is
The starting output is \(f(3,4)=5\). Thus the exact change is \(\sqrt{24.73}-5\), approximately \(4.97293-5=-0.02707\), rounded to five decimal places. The estimated change, \(-0.028\), is close to the exact change, but it predicts a slightly larger decrease.
Worked Example: An Exponential Function
For \(f(x,y)=e^{x-y}\), estimate the change from \((0,0)\) when \(\Delta x=0.1\) and \(\Delta y=0.2\), then compare with the exact change.
The partial derivatives are
At \((0,0)\), these values are \(f_x(0,0)=e^0=1\) and \(f_y(0,0)=-e^0=-1\). Therefore,
The differential predicts a decrease of \(0.1\). The new input is \((0.1,0.2)\), and the starting output is \(f(0,0)=e^0=1\). At the new input,
The exact change is \(e^{-0.1}-1\approx 0.904837-1=-0.095163\), with the decimal rounded to six places. The differential estimate \(-0.1\) is close to, but not identical to, the exact change.
Reading the Estimate Correctly
The sign of \(df\) indicates the direction of change predicted by the differential: a positive value predicts an increase, and a negative value predicts a decrease. Its size estimates the amount of that change. Both input increments matter, including their signs. For example, if \(\Delta y<0\), then the contribution \(f_y(a,b)\Delta y\) has the opposite sign from \(f_y(a,b)\) when that partial derivative is positive.
The estimate is a sum of two contributions. The term \(f_x(a,b)\Delta x\) describes the first-order effect associated with changing \(x\); \(f_y(a,b)\Delta y\) describes the first-order effect associated with changing \(y\). These are combined at the same base point. This is not a claim that the function's exact change can be separated into two independent effects for arbitrary finite increments; it is the linear approximation supplied by differentiability.
Comparing an estimate with an exact change is useful when the exact calculation is available: it shows the size and direction of the approximation error for that particular input change. It does not, by itself, establish an error bound for other changes. The remainder in the differentiability statement explains why the approximation improves locally, but a particular accuracy guarantee would require additional information.
Common Pitfall: Evaluating at the New Point
A frequent error is to evaluate the partial derivatives at the endpoint rather than at the starting point. In the polynomial example, the endpoint is \((1.1,1.95)\). At that point,
Using these endpoint values would give the incorrect differential calculation
The correction is to evaluate both partial derivatives at \((1,2)\), the point from which the change begins. That gives \(8(0.1)+7(-0.05)=0.45\), the appropriate first-order estimate at the specified base point. The endpoint derivatives may be used as part of a different approximation method, but they are not the derivatives in the total differential based at \((1,2)\).
Check Your Understanding
For each question, distinguish the estimated change from the exact change where appropriate.
- For \(f(x,y)=x^2+y^2\) at \((1,2)\), with \(\Delta x=0.02\) and \(\Delta y=-0.03\), what is the differential estimate \(df\)?
- In the total differential estimate, where are \(f_x\) and \(f_y\) evaluated?
- What expression gives the exact change in \(f\) for increments \(\Delta x\) and \(\Delta y\) from \((a,b)\)?
- For a differentiable function, what does the remainder condition say about the error relative to the length of the input change as that change approaches zero?
- Why does a negative value of \(df\) not prove that the exact change equals that value?