Consider a differentiable function f of two variables z=f(x,y). If x changes to x+Δx and y changes to y+Δy, the increment of f, Δf, from the definition of differentiability , can be written as:
Δf=f(x+Δx,y+Δy)f(x,y)(i)=fx(x,y)Δx+fy(x,y)Δy+(Δx)2+(Δy)2  ε(Δx,Δy).

We take the linear part of Δf and call them the differential of f. The differential part of f is denoted by df or dz:
dz=df=fxΔx+fyΔy=fx(x,y)Δx+fy(x,y)Δy.

 

  • Note that df is a function of four variables: x,y,Δx, and Δy. To emphasize on that, we may write it as df(x,y,Δx,Δy).

 

If x and y are independent variables, from Equation (i) we have:
dx=xx=1Δx+xy=0Δy=Δx, and
dy=yx=0Δx+yy=1Δy=Δy.

Then Equation (i) takes the form:
df=fxdx+fydy=fx(x,y)dx+fy(x,y)dy.
The above expression is sometimes called the total differential of f(x,y).

Definition 1. If z=f(x,y) is a differentiable function at (x,y), the total differential of f is the function df defined by:
df(x,y,dx,dy)=fxdx+fydy=fx(x,y)dx+fy(x,y)dy

When u = f(x, y, z):

Obviously, we can extend these methods and results to functions of any number of variables. For example, if u=f(x,y,z), then
du=df=fxdx+fydy+fzdz.

In general, when y = f(x1, x2, …, xn):

In this case,

dy=df=fx1dx1++fxndxn=i=1nfxidxi.

Example 1

The period of vibration, T of a mass on a spring is determined by the mass m and the stiffness of the spring k as: T=2πmk. Estimate the percentage change in the period of this system if the mass increases by 5% and the stiffness by 3%.

Solution

We can use the total differential of T and say ΔTTdTT:
dT=Tmdm+Tkdk=2π12mkdm2π2mk3/2dk,(because T=2πm1/2k1/2)
Here m and k are independent variables, so:
dm=Δm=5100m,anddk=Δk=3100k
If we plug these expressions for dm and dk in dT, we obtain:
dT=π1mk×5100m5π100mkπmk3/2×3100k3π100mk=2π100mk=1100×2πmkT
Therefore
ΔT/TdT/T=1%, that is the period decreases by approximately 1%.

The exact change in the period is:
ΔT=2πm+0.05mk+0.03k2πmk=(1.051.031)×2πmk=(1.051.031)T0.009662T.
That is, the exact change in the period is 0.9662%.