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

Online Help

All Products    Maple    MapleSim


Differentiation Rules for Calculus1

 

Rules

Examples

Rules

• 

See Student[Calculus1] for a general introduction to the Calculus1 subpackage of the Student package.

• 

See SingleStepOverview for an introduction to the step-by-step (or single-step) functionality of the Calculus1 package.

• 

The following table lists the built-in rules for differentiation that do not take parameters.  These rules can be passed as the index to Rule or as a rule argument to Understand.

Rule

Alternate Names

Description

chain

 

f⁡g⁡x′=f′g⁡x⁢g′x

constant

 

c′=0

constantmultiple

`c*`

c⁢f′=c⁢f′

difference

`-`

f−g′=f′−g′

identity

`^`

x′=1

int

Int

∫cxf⁡tⅆt⁢' =f⁡x

power

`^`

xn′=n⁢xn−1

product

`*`

f⁢g′=f′⁢g+f⁢g′

quotient

`/`

fg′=g⁢f′−f⁢g′g2

sum

`+`

f+g′=f′+g′

  

The name of any univariate function can also be used as a rule argument to the Rule command.  The name of any univariate function recognized by Maple, for example, sin, can be passed as a rule argument to the Understand command (where recognized means that it is of type mathfunc).

• 

There is one differentiation rule which requires a parameter: rewrite.  This rule can be used as the index to a call to Rule, but cannot be given as a rule argument to Understand.  This rule is used to change the form of the expression being differentiated.  It has the general form:

     [rewrite, f1⁡x=g1⁡x, f2⁡x=g2⁡x, ...]

  

The effect of applying the rewrite rule is to perform each substitution listed as a parameter to the rule, where occurrences of the left-hand side of each substitution are replaced by the corresponding right-hand side.

  

The main application of this rule is to rewrite an expression of the form f⁡xg⁡x, where the exponent (at least) depends on the differentiation variable, as an exponential.  The rule would thus be given as:

     [rewrite, f⁡xg⁡x=ⅇg⁡x⁢ln⁡f⁡x ]

  

Note: The Rule routine does not attempt to validate the rewrite rules you provide.

Examples

> 

with⁡Student:-Calculus1:

> 

infolevelStudentCalculus1≔1:

> 

Rule`*`⁡Diff⁡x2⁢sin⁡x2,x

Creating problem #1

ⅆⅆxx2⁢sin⁡x2=ⅆⅆxx2⁢sin⁡x2+x2⁢ⅆⅆxsin⁡x2

(1)
> 

Rulechain⁡

ⅆⅆxx2⁢sin⁡x2=ⅆⅆxx2⁢sin⁡x2+x2⁢ⅆⅆ_X0sin⁡_X0_X0=x2|ⅆⅆ_X0sin⁡_X0_X0=x2⁢ⅆⅆxx2

(2)
> 

Rulesin⁡

ⅆⅆxx2⁢sin⁡x2=ⅆⅆxx2⁢sin⁡x2+x2⁢cos⁡x2⁢ⅆⅆxx2

(3)

If the operation type is ambiguous, Maple returns an error

> 

Rulesum⁡Diff⁡x2+Int⁡cos⁡t,t=0..x,x

Error, (in Student:-Calculus1:-Rule[sum]) unable to determine which calculus operation is being applied in this problem; you can provide this information as the 2nd argument on your call to Rule or Hint

> 

Rulesum⁡Diff⁡x2+Int⁡cos⁡t,t=0..x,x,diff

Creating problem #2

∂∂xx2+∫0xcos⁡tⅆt=ⅆⅆxx2+∂∂x∫0xcos⁡tⅆt

(4)
> 

Ruleint⁡

∂∂xx2+∫0xcos⁡tⅆt=ⅆⅆxx2+cos⁡x

(5)
> 

Rule`^`⁡Diff⁡exp⁡x,x

Creating problem #3

Rule [power] does not apply

ⅆⅆxⅇx=ⅆⅆxⅇx

(6)
> 

Rulerewrite,xsin⁡x=exp⁡sin⁡x⁢ln⁡x⁡Diff⁡xsin⁡x,x

Creating problem #4

ⅆⅆxxsin⁡x=ⅆⅆxⅇsin⁡x⁢ln⁡x

(7)

This example illustrates how to handle an unknown univariate function.

> 

Rule`*`⁡Diff⁡r⁢f⁡r,r

Creating problem #5

ⅆⅆrr⁢f⁡r=ⅆrⅆr⁢f⁡r+r⁢ⅆⅆrf⁡r

(8)
> 

Rulef⁡

ⅆⅆrr⁢f⁡r=ⅆrⅆr⁢f⁡r+r⁢ⅆⅆrf⁡r

(9)
> 

Ruleidentity⁡

ⅆⅆrr⁢f⁡r=f⁡r+r⁢ⅆⅆrf⁡r

(10)
> 

ShowIncomplete⁡

The current problem is complete

See Also

diff

Diff

Student

Student[Calculus1]

Student[Calculus1][DiffTutor]

Student[Calculus1][SingleStepOverview]