Suppose we have a function as follows f(x,h)f(x,h), where h(x)h(x) is also a function of xx.
Type of derivative | Notation | Meaning |
---|---|---|
Total derivative | df(x,h)dxdf(x,h)dx | How much ff changes when we vary the variable xx |
Partial derivative | ∂f(x,h)∂x∂f(x,h)∂x | How much ff changes when we vary the argument of ff labeled xx |
Constrained derivative | (df(x,h)dx)h(df(x,h)dx)h | How much ff changes when we vary the variable xx with the constraint that hh is held constant. |
The total derivative can be written in terms of partial derivatives using the chain rule.
df(x,h)dx=∂f(x,h)∂x+∂f(x,h)∂h∂h(x)∂xdf(x,h)dx=∂f(x,h)∂x+∂f(x,h)∂h∂h(x)∂x
Suppose we have a different function g(x,y)g(x,y), where x(t)x(t) and y(t)y(t) both are dependant on tt. Then
dg(x,y)dt=∂g∂x∂x(t)∂t+∂g∂y∂y(t)∂tdg(x,y)dt=∂g∂x∂x(t)∂t+∂g∂y∂y(t)∂t
But ∂g(x,y)∂t∂g(x,y)∂t is meaningless because f does not have an argument labeled t.
Sometimes the constrained derivative is the same as a partial derivative. For example,
(df(x,h)dx)h=∂f(x,h)∂x
But another function a(x,y,z)
(da(x,y,z)dx)y=∂a(x,y,z)∂x+∂a(x,y,z)∂z∂z∂x