Differentials

The derivative d y / d x has so far been a single symbol for the limit of a ratio. In this section we give d x and d y independent meanings as differentials, so that d y / d x literally equals the quotient d y ÷ d x . Differentials are used to approximate changes in function values and to estimate errors.

Symbol Meaning
d x Independent differential of x ; any real number
dy=f'(x)\,dx Differential of y ; depends on x and d x
Δ y True change in y : f ( x + Δ x ) f ( x )
d y Δ y When d x = Δ x is small

Definition

Suppose y = f ( x ) is differentiable at x . Let d x denote an independent variable ranging over all real numbers ( < d x < + ) . This is called the differential of x .

The differential of f (also written d y ) is:

dy=f'(x)\,dx\tag{i}

d y is a function of two independent variables x and d x .

Notes:

  • d x and d y are single entities, not products of d and x (or d and y ).
  • If d x = 0 , then d y = 0 .
  • If d x 0 , dividing (i) by d x gives dy/dx=f'(x), so the derivative equals the ordinary quotient of the differentials.
  • d x and d y are not the limits of Δ x and Δ y . Those limits are both zero.

Worked Examples

Given y = f ( x ) = x 7 , find d y .

Solution f'(x)=7x^6, so d y = 7 x 6 d x .

If y = x , calculate d y for x = 4 and d x = 0.1 .

Solution f'(x)=\dfrac{1}{2\sqrt{x}}, so d y = 1 2 x d x . For x = 4 , d x = 0.1 : d y = 1 2 4 0.1 = 0.5 × 0.1 = 0.05 .

Given v = u ln u , compute the differential d v .

Solution d v d u = ln u + u 1 u = ln u + 1 , so d v = ( ln u + 1 ) d u .

Geometric Interpretation

For fixed x = x 0 , the equation dy=f'(x_0)\,dx defines a straight line through the origin in the d x - d y plane, with slope f'(x_0).

If we place this d x - d y plane on top of the x y -plane with the origin at ( x 0 , f ( x 0 ) ) and parallel axes, the line dy=f'(x_0)\,dx coincides with the tangent line to the curve at ( x 0 , f ( x 0 ) ) .

Geometric interpretation of differentials and tangent line

Differentials as Approximations

When Δ x = d x is small, the differential d y approximates the true change Δ y :

Δ y d y

or equivalently

\underbrace{f(x_0+dx)-f(x_0)}_{\Delta y}\approx\underbrace{f'(x_0)\,dx}_{dy}
Comparison of Δy and dy on the curve

Use differentials to approximate 65 3 .

Solution Let f ( x ) = x 3 = x 1 / 3 and x = 64 , d x = 1 . Then f'(x)=\dfrac{1}{3}x^{-2/3}, so d y = 1 3 64 2 / 3 1 = 1 3 16 = 1 48 0.02083 f ( 65 ) f ( 64 ) + d y = 4 + 1 48 4.02083 (Actual value: 65 3 4.02073 . The approximation is accurate to 3 decimal places.) Wait: the text uses d x = 2 (from 64 to 66). Let me recalculate for 65 3 : f ( x ) = x 1 / 3 , base point x = 64 , d x = 1 : d y = 1 3 ( 64 ) 2 / 3 1 = 1 3 × 16 = 1 48 65 3 4 + 1 48 4.02083 Actual: $4.02073$. Our approximation is correct to 3 places.

Use differentials to estimate 4 ( 1.001 ) 5 3 ( 1.001 ) 3 + 2 .

Solution Let f ( x ) = 4 x 5 3 x 3 + 2 , x = 1 , d x = 0.001 . f ( 1 ) = 4 3 + 2 = 3 . f'(x)=20x^4-9x^2, so d y = ( 20 9 ) ( 0.001 ) = 0.011 . f ( 1.001 ) 3 + 0.011 = 3.011 (Actual: $3.01103$.)

Error Analysis

If the true value is Q t and the approximated value is Q a :

true error = | Q t Q a | = | Δ Q | relative error = | Δ Q Q t | | d Q Q | percentage relative error = | d Q Q | × 100

The radius of a spherical tank is measured with percentage error within ± 2 % . Estimate the percentage error in the calculated volume.

Solution V = 4 3 π x 3 , so d V = 4 π x 2 d x . d V V = 4 π x 2 d x 4 3 π x 3 = 3 d x x Since | d x / x | 0.02 : | d V V | 3 × 0.02 = 0.06 The percentage error in volume is at most ± 6 % .
Sphere diagram for error estimation example

Properties of Differentials

Multiplying both sides of the derivative formulas by d x yields the corresponding differential formulas:

Derivative Formula Differential Formula
d d x c = 0 d c = 0
d d x ( c u ) = c d u d x d ( c u ) = c d u
d d x ( u + v ) = d u d x + d v d x d ( u + v ) = d u + d v
d d x ( u v ) = u d v d x + v d u d x d ( u v ) = u d v + v d u
d d x ( u v ) = v d u / d x u d v / d x v 2 d ( u v ) = v d u u d v v 2
d d x ( x r ) = r x r 1 d ( x r ) = r x r 1 d x
d d x sin u = cos u d u d x d ( sin u ) = cos u d u
d d x tan u = sec 2 u d u d x d ( tan u ) = sec 2 u d u
d d u arcsin u = 1 1 u 2 d ( arcsin u ) = d u 1 u 2

Invariance of the Form of the Differential

If y = f ( x ) and x is itself a function of another variable t (so x = g ( t ) ), then:

dy=f'(x)\,dx

holds whether x is the independent variable or not. This is because if x = g ( t ) :

dy=h'(t)\,dt=f'(g(t))g'(t)\,dt=f'(x)\underbrace{g'(t)\,dt}_{dx}=f'(x)\,dx

This invariance means we can always write dy=f'(x)\,dx without caring whether x is the base independent variable.

For example, for y = sin x , whether x or u = x is independent:

d y = cos x 1 2 x d x

Caution: Even though d y / d x can be treated as a ratio when x is the independent variable, we cannot "cancel" d y 's in the Chain Rule d z d x = d z d y d y d x as an algebraic identity. The Chain Rule requires proof of existence and uses the full theorem, not just algebra.

Frequently Asked Questions

What is the difference between Δ x and d x ? Δ x is a concrete increment in x that must keep x 0 + Δ x in the domain of f . The differential d x is an independent variable ranging over all reals; it can take any value, not just small ones. When we use d x = Δ x in approximations, we are treating d x as small, but the definition does not require this.

Is d y always a good approximation for Δ y ? Only when d x = Δ x is small. The error | Δ y d y | is approximately \frac{1}{2}|f''(x_0)||(\Delta x)^2|, so the approximation improves as Δ x 0 .

How do differentials apply to error propagation? If a quantity Q depends on a measured quantity x via Q = f ( x ) , and x has measurement error ± | Δ x | , then the corresponding error in Q is approximately |dQ|=|f'(x)||\Delta x|. The relative error is |dQ/Q|=|f'(x)/f(x)||\Delta x|.