UNIHIVE

Study Hub UNIPORT MTH 224

MTH 224 · Mathematical Methods 1

The chain rule, increments and differentials

Chain rule for several variables, total differentials, and linear approximation.

Our notes

2 min read

Chain rule, one parameter

If z = f(x, y), with x(t) and y(t):

dz/dt = (∂z/∂x)(dx/dt) + (∂z/∂y)(dy/dt)

Example: z = x²y, x = t², y = 3t.

  • ∂z/∂x = 2xy, ∂z/∂y = x², dx/dt = 2t, dy/dt = 3.
  • dz/dt = 2(t²)(3t)(2t) + (t⁴)(3) = 12t⁴ + 3t⁴ = 15t⁴.

Check directly: z = (t²)²(3t) = 3t⁵, so dz/dt = 15t⁴. Correct.

Chain rule, two parameters

If z = f(x, y), with x(s, t) and y(s, t):

∂z/∂s = (∂z/∂x)(∂x/∂s) + (∂z/∂y)(∂y/∂s), and the same for t.

A tree diagram helps: follow each path, multiply along it, then add.

Implicit differentiation

If F(x, y) = 0, then dy/dx = −Fₓ/F_y.

Example: x² + y² − 25 = 0. Fₓ = 2x, F_y = 2y, so dy/dx = −x/y. This matches the single-variable result.

Increments and differentials

A small change in x and y gives an increment Δz in z. The total differential is its linear approximation:

dz = (∂z/∂x)dx + (∂z/∂y)dy

Worked example: error estimate

A cylindrical tank has r = 2 m and h = 5 m. The radius is measured with error ±0.01 m, and the height ±0.02 m. What is the likely maximum error in V = πr²h?

  • ∂V/∂r = 2πrh = 20π
  • ∂V/∂h = πr² = 4π
  • dV = 20π(0.01) + 4π(0.02) = 0.2π + 0.08π = 0.28π ≈ 0.88 m³

Relative: dV/V = 0.28π/(20π) = 1.4%.

Check with the log rule: dV/V = 2(dr/r) + dh/h = 2(0.005) + 0.004 = 0.014 = 1.4%. Correct.

Linear approximation

Near (a, b):

f(x, y) ≈ f(a, b) + fₓ(a, b)(x − a) + f_y(a, b)(y − b)

This is the tangent plane.

Example: estimate √(3.02² + 3.97²). Take f = √(x² + y²) at (3, 4), with f = 5, fₓ = 3/5, f_y = 4/5.

f ≈ 5 + 0.6(0.02) + 0.8(−0.03) = 5 + 0.012 − 0.024 = 4.988.

Check: 3.02² + 3.97² = 9.1204 + 15.7609 = 24.8813; √24.8813 ≈ 4.9881. Correct.

Exact differentials

An expression M dx + N dy is exact if M_y = Nₓ. Then it equals df for some f. This idea returns in line integrals and in differential equations.

Example: 2xy dx + x² dy. M_y = 2x = Nₓ. So it is exact, with f = x²y.

Taylor in two variables, to second order

f(a + h, b + k) ≈ f + hfₓ + kf_y + (1/2)(h²fₓₓ + 2hkfₓᵧ + k²f_yy), all evaluated at (a, b).

Exams usually ask: apply the chain rule; estimate an error with differentials; approximate a value with a tangent plane; test for exactness.

Common mistake: adding the relative errors without their powers. In r²h, the relative error of r counts twice.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 224 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.