Example 1.
First initialize the jet space for two independent variables and two dependent variables and prolong it to order 3.
Recall that represents the mixed 3rd derivative of once with respect to and twice with respect to The total derivative of with respect to is which represents the 4th derivative of , twice with respect to and twice with respect to
The total derivative of with respect to is which represents the 4th derivative of , once with respect to and 3 times with respect to .
In place of the independent variables or the integer 1 or 2 can be used.
Here is a general formula for the total derivative of a function with dependencies on the 2-jet of
The total derivative satisfies the usual rules of differentiation.
Multiple total derivatives can also be calculated by using TotalDiff. We differentiate 2 times with respect to and 3 times with respect to to get .
Example 2.
Total differentiation extends to differential forms and contact forms on jet spaces.
Example 3.
The DifferentialGeometry package supports an alternative jet notation. For example, if there are 2 independent variables , then would now represent the 3rd mixed partial derivative of once with respect to and twice with respect to
Revert to the default jet notation.