Operator D vs. Function diff
Description
Examples
The D operator computes derivatives of operators, while diff computes derivatives of expressions.
The argument and result of D are functional operators, while the argument and result of diff are expressions.
The following diagram illustrates the transitions that occur using D, diff, unapply, and function application.
function application -->
f ----------------------------- f(x)
<-- unapply
| |
| d | ^
| i | |
|D() f |
| | f | i
| | | n
| V | | t
| V |
D(f) ---------------------------- f'(x)
D⁡sin⁡x
cos⁡x
diff⁡sin⁡x,x
D⁡f@g
D⁡f@g⁢D⁡g
diff⁡f@g⁡x,x
D⁡f⁡g⁡x⁢ⅆⅆxg⁡x
See Also
D
diff
operators[functional]
unapply
Download Help Document