NonConstants
✖
NonConstants
is an option for D which gives a list of objects to be taken to depend implicitly on the differentiation variables.
Details

- 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.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Here c is treated as a constant under differentiation:
In[1]:=1

✖
https://wolfram.com/xid/0b8d382wba-y7ooi
Out[1]=1

Specify that c depends implicitly on x:
In[2]:=2

✖
https://wolfram.com/xid/0b8d382wba-cnebre
Out[2]=2

Specify that both c and d depend implicitly on x:
In[3]:=3

✖
https://wolfram.com/xid/0b8d382wba-i2vkcg
Out[3]=3

Wolfram Research (1988), NonConstants, Wolfram Language function, https://reference.wolfram.com/language/ref/NonConstants.html.
✖
Wolfram Research (1988), NonConstants, Wolfram Language function, https://reference.wolfram.com/language/ref/NonConstants.html.
Text
Wolfram Research (1988), NonConstants, Wolfram Language function, https://reference.wolfram.com/language/ref/NonConstants.html.
✖
Wolfram Research (1988), NonConstants, Wolfram Language function, https://reference.wolfram.com/language/ref/NonConstants.html.
CMS
Wolfram Language. 1988. "NonConstants." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NonConstants.html.
✖
Wolfram Language. 1988. "NonConstants." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NonConstants.html.
APA
Wolfram Language. (1988). NonConstants. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NonConstants.html
✖
Wolfram Language. (1988). NonConstants. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NonConstants.html
BibTeX
✖
@misc{reference.wolfram_2025_nonconstants, author="Wolfram Research", title="{NonConstants}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/NonConstants.html}", note=[Accessed: 09-July-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_nonconstants, organization={Wolfram Research}, title={NonConstants}, year={1988}, url={https://reference.wolfram.com/language/ref/NonConstants.html}, note=[Accessed: 09-July-2025
]}