Close
Close window
CollapseNested - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

IntegrationTools

CollapseNested

collapse a nested integral into a multiple integral

Calling Sequence

CollapseNested(v)

CollapseNested(v, options)

Parameters

v

-

nested integral expression

options

-

(optional) specify one or more of the following: stripoptions, intersectoptions, matchtypes, norecurse

Description

The function CollapseNested collapses a nested integral into a multiple integral given as a single Int or int function call.

If v is an expression of nested definite and indefinite integrals, only the matching integrals will be collapsed.

You can control whether options present in the integral v will appear in the output. If the option stripoptions is given, none of the options in the integral v will appear in the output. If the option intersectoptions is given, the options that appear in every integral will appear in the output. Otherwise, all options on any of the integrals will appear in the output.

If the option matchtypes is given, only integrals of the same type will be collapsed. For example, two nested Int integrals will be collapsed, but nested int and Int integrals will not be collapsed.

If the option norecurse if given, only the outermost integrals will be collapsed.

Examples

>

withIntegrationTools:

>

i1IntIntfx,y,x,y

i1fx,yⅆxⅆy

(1)
>

i2CollapseNestedi1

i2fx,yⅆxⅆy

(2)

The display of i1 and i2 look the same but in fact the integrals have different structure:

>

lprinti2=i1

Int(f(x,y),[x, y]) = Int(Int(f(x,y),x),y)

>

CollapseNestedIntIntfx,y,x=a..b,y=c..d

cdabfx,yⅆxⅆy

(3)
>

CollapseNestedIntIntfx,y,x=a..b,CauchyPrincipalValue,y=c..d

Typesetting:-_HoldIntfx,y,x=a..b,y=c..dCauchyPrincipalValue

(4)
>

CollapseNestedIntIntfx,y,x=a..b,CauchyPrincipalValue,y=c..d,stripoptions

cdabfx,yⅆxⅆy

(5)
>

CollapseNestedIntIntfx,y,x=a..b,AllSolutions,CauchyPrincipalValue,y=c..d,CauchyPrincipalValue,intersectoptions

Typesetting:-_HoldIntfx,y,x=a..b,y=c..dCauchyPrincipalValue

(6)

Collapsing integrals will match the outermost type of integral

>

CollapseNestedIntintfx,y,x,y

fx,yⅆxⅆy

(7)
>

lprint

Int(f(x,y),[x, y])

>

CollapseNestedIntintfx,y,x,y,matchtypes

fx,yⅆxⅆy

(8)
>

lprint

Int(int(f(x,y),x),y)

>

CollapseNestedIntIntIntIntfx,y,x=a..b,y=c..d,x,y

cdabfx,yⅆxⅆyⅆxⅆy

(9)
>

lprint

Int(Int(f(x,y),[x = a .. b, y = c .. d]),[x, y])

>

CollapseNestedIntIntIntIntfx,y,x=a..b,y=c..d,x,y,norecurse

cdabfx,yⅆxⅆyⅆxⅆy

(10)
>

lprint

Int(Int(Int(f(x,y),x = a .. b),y = c .. d),[x, y])


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /