When Can You Manipulate Differentials Like Fractions?

by Justin Skycak (@justinskycak) on

In general, you can manipulate total derivatives like fractions, but you can't do the same with partial derivatives.

Cross-posted from here.

Want to get notified about new posts? Join the mailing list and follow on X/Twitter.


If you have a function f(x,y) where x=x(t) and y=y(t) are themselves functions of a parameter t, and you blindly cancel out differentials, then you can get to incorrect statements like

βˆ‚fβˆ‚t=βˆ‚fβˆ‚xβ‹…βˆ‚xβˆ‚t=βˆ‚fβˆ‚yβ‹…βˆ‚yβˆ‚t,Γ—


whereas what’s actually true is

βˆ‚fβˆ‚t=βˆ‚fβˆ‚xβ‹…βˆ‚xβˆ‚t+βˆ‚fβˆ‚yβ‹…βˆ‚yβˆ‚t.βœ“


You can’t cancel because the βˆ‚f’s in the numerators of βˆ‚fβˆ‚t, βˆ‚fβˆ‚x, βˆ‚fβˆ‚y all mean different things.

  • The βˆ‚f in the numerator of βˆ‚fβˆ‚t, represents the change in f attributed to the change in t.
  • The βˆ‚f in the numerator of βˆ‚fβˆ‚x represents the change in f attributed to the change in x.
  • The βˆ‚f in the numerator of βˆ‚fβˆ‚y represents the change in f attributed to the change in y.

But in single-variable calculus, you’re working exclusively with functions that have only one input variable. And if you have a function f(x) where x=x(t) is itself a function of a parameter t, then it’s true that

βˆ‚fβˆ‚t=βˆ‚fβˆ‚xβ‹…βˆ‚xβˆ‚t.


The above is conventionally written with β€œtotal” derivative symbols (d means β€œtotal”, βˆ‚ means β€œpartial”) since the change attributed to the single variable is the same as the total change of the function.

dfdt=dfdxβ‹…dxdt


So in general, you can manipulate total derivatives (d) like fractions, but you can’t do the same with partial derivatives (βˆ‚).

valid:dfdt=dfdxβ‹…dxdtβœ“NOT valid:βˆ‚fβˆ‚t=βˆ‚fβˆ‚xβ‹…βˆ‚xβˆ‚tΓ—




Want to get notified about new posts? Join the mailing list and follow on X/Twitter.