UNIHIVE

Study Hub UNIPORT ENG 201

ENG 201 · Engineering Mathematics I (Mathematics Analysis)

Total differentials and approximate computation

The total differential, linear approximation, error estimation, and the gradient.

Our notes

1 min read

Total differential

For z = f(x, y): dz = f_x dx + f_y dy. For three variables add f_z dz.
It gives the change in z for small changes dx, dy: Δz ≈ dz.

Linear approximation

f(a + h, b + k) ≈ f(a, b) + f_x(a, b) h + f_y(a, b) k.

Example: estimate √(3.02² + 3.97²).
f = √(x² + y²) at (3, 4): f = 5, f_x = x/f = 0.6, f_y = y/f = 0.8.
h = 0.02, k = −0.03: f ≈ 5 + 0.6(0.02) + 0.8(−0.03) = 5 + 0.012 − 0.024 = 4.988.
Check: 3.02² = 9.1204, 3.97² = 15.7609, sum 24.8813, √ ≈ 4.98812 ✓.

Error estimation

Example: a cylinder has r = 5 cm and h = 12 cm, each measured with a possible error of 0.1 cm. Volume V = πr²h.
dV = 2πrh dr + πr² dh = 2π(5)(12)(0.1) + π(25)(0.1) = 12π + 2.5π = 14.5π ≈ 45.6 cm³ (maximum error).
V = π(25)(12) = 300π ≈ 942.5 cm³, so the relative error ≈ 45.6/942.5 ≈ 4.8%.
Shortcut with relative errors: dV/V = 2 dr/r + dh/h = 2(0.02) + 0.0083 = 0.0483 ✓.

Percentage-error rule: for z = k xᵐ yⁿ, dz/z ≈ m dx/x + n dy/y (powers multiply percentage errors).

Exact differentials

M dx + N dy is exact (equal to df for some f) if ∂M/∂y = ∂N/∂x.
Example: (2xy + 3) dx + (x² − 1) dy: ∂M/∂y = 2x = ∂N/∂x ✓. f = x²y + 3x − y (check: f_x = 2xy + 3, f_y = x² − 1 ✓).
In thermodynamics, properties (U, H, S) have exact differentials; heat and work do not.

Gradient and directional derivative

∇f = (f_x, f_y, f_z). The rate of change in the direction of a unit vector u is ∇f · u. ∇f points in the direction of fastest increase, with magnitude |∇f|, and is perpendicular to level surfaces.
Example: f = x²y + yz at (1, 2, 1): ∇f = (2xy, x² + z, y) = (4, 2, 2). In the direction (1, 2, 2)/3: (4 + 4 + 4)/3 = 4.

Exams usually ask: approximate a value; estimate maximum or percentage error; test exactness; directional derivatives.

Common mistake: adding errors with signs that cancel. For a maximum error take absolute values of each term.

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 ENG 201 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.