PX153 - G2 - the total differential, and exact and inexact differentials
- if we think of a 3D plot of
, it is clear that the gradient changes depending on the direction - we define the total differential as:
- more generally, we can write the small change as you change variables by a small amount as:
- this is no longer explicitly l\inked to a function,
- we say that a differential is exact if and only if it can be integrated to a function of the variables,
. - an exact differential can always be integrated to a function, and the differential found from the derivative of a function is always exact
- comparing the two equations above gives:
- so, a differential is exact if and only if:
- eg: is
exact? - compare with
and - so, not an exact differential
- compare with
- we can extend this to multiple variables:
- is exact if
- so, it is exact:
$$df = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy + \frac{\partial f}{\partial z}dz$$
$$\frac{\partial f}{\partial x} = y+z \implies f(x,y,z) = x(y+z)+h_{x}(y,z)+c$$
$$\frac{df}{dy}= x \implies f(x,y,z) = xy + h_{y}(x,z) +c$$
$$\frac{df}{dz}= x \implies f(x,y,z) = xz + h_{z}(x,y) +c$$
- these are satisfied by:
- the constant of integration could involve other variables held constant