IntegrationTools
GetIntegrand
extract the integrand from an integral
GetRange
extract the range from a definite integral
GetVariable
extract the variable of integration from an integral
GetOptions
extract the option of integration from an integral
GetParts
extract the parts of an integral as a list
Calling Sequence
Parameters
Description
Examples
GetIntegrand(v)
GetRange(v)
GetVariable(v)
GetOptions(v)
GetParts(v)
v
-
definite or indefinite integral
The GetIntegrand command extracts the integrand from a definite or indefinite integral.
The GetRange command extracts the range(s) from a definite integral.
The GetVariable command extracts the variable(s) of integration from a definite or indefinite integral.
The GetOptions command extracts any optional arguments from a definite integral.
The GetParts command extracts all of the above parts as a list [Integrand, [Variable(s)], [Range(s)], [Option(s)]].
with⁡IntegrationTools:
v≔Int⁡f⁡x2,x=a..b
v≔∫abf⁡x2ⅆx
GetIntegrand⁡v
f⁡x2
GetRange⁡v
a..b
GetVariable⁡v
x
v≔Int⁡f⁡x2,x
v≔∫f⁡x2ⅆx
GetParts⁡v
f⁡x2,x,,
Here is an example of a nested integral.
w≔Int⁡Int⁡f⁡x,y,x=a..b,y=c..d
w≔∫cd∫abf⁡x,yⅆxⅆy
GetIntegrand⁡w
∫abf⁡x,yⅆx
GetVariable⁡w
y
GetParts⁡w
∫abf⁡x,yⅆx,y,c..d,
The same example given as a multiple integral.
ww≔Int⁡f⁡x,y,x=a..b,y=c..d
ww≔∫cd∫abf⁡x,yⅆxⅆy
GetIntegrand⁡ww
f⁡x,y
GetVariable⁡ww
x,y
GetParts⁡ww
f⁡x,y,x,y,a..b,c..d,
GetVariable⁡sin⁡x
Error, invalid input: IntegrationTools:-GetVariable expects its 1st argument, v, to be of type Integral, but received sin(x)
GetOptions⁡Int⁡f⁡x,x=0..1,continuous
continuous
See Also
Download Help Document