JustToThePoint English Website Version
JustToThePoint en español

Total differential

And there are never really endings, happy or otherwise. Things keep going on, they overlap and blur, your story is part of your sister’s story is part of many other stories, and there is no telling where any of them may lead. Everything turns in circles and spirals with the cosmic heart until infinity.

Functions, Partials, and Gradients

Implicit Differentiation & The Total Differential

Implicit differentiation is used to find the derivative of functions defined implicitly ($F(x,y) = 0$) rather than explicitly ($y = f(x)$).

The total differential of a function $w = f(x, y, z)$ describes how small changes in each independent variable cumulatively affect the function’s overall value. It provides a linear (tangent plane) approximation of the function for small variations $\Delta x$, $\Delta y$, and $\Delta z$.

It is denoted by $df$ or $dw$ and is defined as follows: $dw = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy + \frac{\partial f}{\partial z}dz = f_x dx + f_y dy + f_z dz$ where $f_x = \frac{\partial f}{\partial x}, f_y = \frac{\partial f}{\partial y}$, and $f_z = \frac{\partial f}{\partial z}$ are the partial derivatives of f.

  1. The total differential is the unique linear function whose slopes in the x-, y-, and z-directions match the partial derivatives of f.
  2. 🧱 A function $w = f(x,y,z)$ defines a surface in 4‑dimensional space. Near a point $(x_0,y_0,z_0)$, the surface behaves almost linearly: $f(x_0+\Delta x, y_0 +\Delta y, z_0 +\Delta z) \approx f(x_0,y_0,z_0) + f_x \Delta x + f_y \Delta y + f_z \Delta z.$
    This is the first‑order Taylor polynomial.
    The differential is simply the increment part: $dw \approx f_x\Delta x + f_y\Delta y + f_z\Delta z.$
    Replace $\Delta x, \Delta y, \Delta z$ with the differential symbols $dx, dy, dz$: $dw = f_xdx + f_ydy + f_zdz.$
  3. 🧭 Chain rule viewpoint.
    Think of f as a function of three variables that each depend on some parameter t: $w(t) = f(x(t), y(t), z(t)).$
    Differentiate with respect to t: $\frac{dw}{dt} = f_x \frac{dx}{dt} + f_y\frac{dy}{dt} + f_z \frac{dz}{dt}.$
    Now multiply both sides by $dt: dw = f_xdx + f_ydy + f_zdz.$ This is the total differential.
  4. 🧠 Geometric intuition: the gradient is the “slope vector”.
    The gradient $\nabla f = (f_x, f_y, f_z)$ tells you how $f$ changes in each coordinate direction.
    A small displacement $d\mathbf{r} = (dx, dy, dz)$ changes the function by the dot product: $dw = \nabla f \cdot d\mathbf{r}.$
    The total differential tells us how the function w changes as you move along an infinitesimal displacement in each of its variables, hence providing information about the rate of change of the function in the x, y, and z directions.

Alternative Notations

When considering how w changes with respect to another variable t, we can write: $\frac{dw}{dt} = w_x\frac{dx}{dt}+ w_y\frac{dy}{dt}+ w_z\frac{dz}{dt}$.

This can be elegantly expressed as the dot product of the gradient $\nabla w$ and the velocity vector $\frac{d\vec{r}}{dt}$: $\boxed{\frac{dw}{dt} = \nabla w \cdot \frac{d\vec{r}}{dt}} \quad \text{where} \quad \frac{d\vec{r}}{dt} = \left\langle \frac{dx}{dt}, \frac{dy}{dt}, \frac{dz}{dt} \right\rangle$

The Multivariable Chain Rule

The Chain Rule for multivariable functions allows us to compute the derivative of a composite function. It states that if we have a function $f(x, y, z)$ where $x = x(t)$, $y = y(t)$, and $z = z(t)$ are functions of another variable $t$, then: the derivative of f with respect to t is given by $\frac{df}{dt} = f_x\frac{dx}{dt} + f_y\frac{dy}{dt} + f_z\frac{dz}{dt}$

Proof of the Chain Rule (2 versions)

Version 1: Using Total Differential

  1. Start with the total differential: df = $f_xdx + f_ydy +f_zdz,$ where $x = x(t)$, $y = y(t)$, and $z = z(t)$ are functions of another variable t.

  2. Substitute $dx = x'(t)dt$, $dy = y'(t)dt$, $dz = z'(t)dt$. Then, $df = f_xdx + f_ydy +f_zdz = f_xx'(t)dt + f_yy'(t)dt +f_zz'(t)dt$.

  3. Factor out $dt$ and divide: $\frac{df}{dt} = f_x\frac{dx}{dt} +f_y\frac{dy}{dt}+f_z\frac{dz}{dt}.$

Version 2: Using Incremental Changes

  1. Approximate the change in f for small increments: $\Delta f \approx f_x\Delta x + f_y\Delta y + f_z\Delta z$.
    🧩 Understanding the Components: $\Delta f$ is the total change in the function’s output value. $\Delta x, \Delta y, \Delta z$ are the small changes (increments) made to the input variables $x$, $y$, and $z$. $f_x, f_y, f_z$ represent the rate of change of the function along each individual axis.
    💡 Why It Works: Imagine you are standing on a hill. If you walk a tiny step forward $\Delta x$, your elevation changes based on how steep the hill is in that direction $f_{x}$.
    If you move slightly in all three directions $x$, $y$, and $z$ at the same time, your total change in elevation $\Delta f$ is roughly the sum of the changes caused by each individual movement:
    Change from x step (change in the x-direction) = $f_x \cdot \Delta x$. Change from y step = $f_y \cdot \Delta y$. Change from z step = $f_z \cdot \Delta z$
    Summing these up gives you the total approximate change.

  2. Divide by $\Delta t$: $\frac{\Delta f}{\Delta t} \approx f_x\frac{\Delta x}{\Delta t} + f_y\frac{\Delta y}{\Delta t} + f_z\frac{\Delta z}{\Delta t}$.

  3. As $\Delta t \to 0$, this approximation becomes exact and we get the Chain Rule again, $\frac{df}{dt} = f_x\frac{dx}{dt} +f_y\frac{dy}{dt}+f_z\frac{dz}{dt}.$

Exercises

Calculate the total differential

Approximate $f(2.5, 1.25)$ for $f(x, y) = ye^x$ using the base point $(2, 1)$.

Chain Rule vs. Direct Substitution

Given $w = x^2y+z$ where $x = t$, $y = e^t$, and $z = \sin(t)$.

Deriving standard rules from the Multivariable Chain Rule

Multi-parameter Chain Rule

Given $w = f(x, y)$ where $x(u, v)$ and $y(u, v)$. Starting with the total differential $dw = f_xdx + f_ydy$, substitute (since x and y are functions of u and v) $dx = x_udu + x_vdv$ and $dy = y_udu + y_vdv$: $dw = f_x(x_udu + x_vdv) + f_y(y_udu + y_vdv)$

Group by $du$ and $dv$: $dw = (f_xx_u + f_yy_u)du + (f_xx_v + f_yy_v)dv$

Therefore, the partials with respect to the new parameters are: $\boxed{\frac{\partial f}{\partial u} = \frac{\partial f}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial f}{\partial y}\frac{\partial y}{\partial u}} \quad \text{and} \quad \boxed{\frac{\partial f}{\partial v} = \frac{\partial f}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial f}{\partial y}\frac{\partial y}{\partial v}}$

We want to find: $\frac{\partial f}{\partial r} = \frac{\partial f}{\partial x}\frac{\partial x}{\partial r}+\frac{\partial f}{\partial y}\frac{\partial y}{\partial r} = f_x\cos(\theta) + f_y\sin(\theta)$

The temperature of a bird in flight is $T(x, y, z) = 0.09x^2 + 1.4xy + 95z^2$. Approximate the change in temperature when headwind $x$ increases from 1 meters per second to 2 meters per second, bird heart rate $y$ increases from 50 beats per minute to 55 beats per minute and flapping rate $z$ increases from 3 flaps per second to 4 flaps per second.

  1. To approximate the change in temperature T given the changes in the head wind x, bird heart rate y, and flapping rate z, we can use the concept of the total differential in multivariable calculus.
  2. Deltas: $\Delta x = 2m/s−1m/s = 1m/s$, $\Delta y = 55beats/min −50beats/min = 5$, $\Delta z = 4flaps/s −3flaps/s = 1flaps/s$.
  3. Calculate the partial derivatives: $T_x = 0.18x + 1.4y$, $T_y = 1.4x$, $T_z = 190z$.
  4. Evaluate at initial state $(1, 50, 3)$:
    $T_x(1, 50, 3) = 0.18(1) + 1.4(50) = 70.18$, $T_y(1, 50, 3) = 1.4(1) = 1.4$, and $T_z(1, 50, 3) = 190(3) = 570$
  5. Total Differential Calculation: $dT \approx T_x\Delta x + T_y\Delta y + T_z\Delta z$
    $dT \approx (70.18)(1) + (1.4)(5) + (570)(1) = 647.18$
  6. 🔬Conclusion. Thus, the approximate change in temperature is $647.18 °C$. The math is flawless, but an instantaneous temperature increase of 647 degrees suggests this poor bird has spontaneously combusted mid-flight!
    Why? The reason for this absurd result lies entirely in the unrealistic coefficient for the $z^2$ term (95) and the massive step size ($\Delta z = 1$) for a quadratic variable. As a consequence, the partial derivative for the flapping rate is $T_z = 190z$. Evaluated at $z = 3$, this single component contributes $570$ (or roughly 88%) to the total estimated temperature change.

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License and is based on MIT OpenCourseWare [18.01 Single Variable Calculus, Fall 2007].
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus and Calculus 3e (Apex). Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
  8. MIT OpenCourseWare 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007.
  9. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.