This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Algebraic Computation / Calculus  /
NonConstants

  • NonConstants is an option for D which gives a list of objects to be taken to depend implicitly on the differentiation variables.
  • If c does not appear in the list of NonConstants, then D[ c , x ] is taken to be 0 unless c and x are identical expressions.
  • See the Mathematica book: Section 3.5.1.
  • See also: Dt.

    Further Examples

    Normally, if you differentiate a function with respect to x, say, Mathematica will treat all other parameters as constants.

    In[1]:=

    Out[1]=

    By specifying that t depends upon x, you can get the desired result for such expressions.

    In[2]:=

    Out[2]=