D vs. Diff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Operator D vs. Function diff

 

Description

Examples

Description

• 

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 |

 |                                    |

       function application -->

D(f) ----------------------------   f'(x)

           <-- unapply

Examples

> 

D⁡sin⁡x

cos⁡x

(1)
> 

diff⁡sin⁡x&comma;x

cos⁡x

(2)
> 

D⁡f∘g

D⁡f∘g⁢D⁡g

(3)
> 

diff⁡f∘g⁡x&comma;x

D⁡f⁡g⁡x⁢&DifferentialD;&DifferentialD;xg⁡x

(4)

See Also

D

diff

operators[functional]

unapply