此为 Mathematica 4 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)

3.5.2 Total Derivatives

Total differentiation operations.

When you find the derivative of some expression  with respect to  , you are effectively finding out how fast  changes as you vary  . Often  will depend not only on  , but also on other variables, say  and  . The results that you get then depend on how you assume that  and  vary as you change  .
There are two common cases. Either  and  are assumed to stay fixed when  changes, or they are allowed to vary with  . In a standard partial derivative  , all variables other than  are assumed fixed. On the other hand, in the total derivative  , all variables are allowed to change with  .
In Mathematica, D[f, x] gives a partial derivative, with all other variables assumed independent of x. Dt[f, x] gives a total derivative, in which all variables are assumed to depend on x. In both cases, you can add an argument to give more information on dependencies.

This gives the partial derivative  .  is assumed to be independent of  .

This gives the total derivative  . Now  is assumed to depend on  .

You can make a replacement for  .

You can also make an explicit definition for  . You need to use y/: to make sure that the definition is associated with y.

With this definition made, Dt treats y as independent of x.

This removes your definition for the derivative of y.

This takes the total derivative, with z held fixed.

This specifies that c is a constant under differentiation.

The variable c is taken as a constant.

The function c is also assumed to be a constant.

This gives the total differential  .

You can make replacements and assignments for total differentials.