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)]].
withIntegrationTools:
v≔Intfx2,x=a..b
v≔∫abfx2ⅆx
GetIntegrandv
fx2
GetRangev
a..b
GetVariablev
x
v≔Intfx2,x
v≔∫fx2ⅆx
GetPartsv
fx2,x,,
Here is an example of a nested integral.
w≔IntIntfx,y,x=a..b,y=c..d
w≔∫cd∫abfx,yⅆxⅆy
GetIntegrandw
∫abfx,yⅆx
GetVariablew
y
GetPartsw
∫abfx,yⅆx,y,c..d,
The same example given as a multiple integral.
ww≔Intfx,y,x=a..b,y=c..d
ww≔∫cd∫abfx,yⅆxⅆy
GetIntegrandww
fx,y
GetVariableww
x,y
GetPartsww
fx,y,x,y,a..b,c..d,
GetVariablesinx
Error, invalid input: IntegrationTools:-GetVariable expects its 1st argument, v, to be of type Integral, but received sin(x)
GetOptionsIntfx,x=0..1,continuous
continuous
See Also
Download Help Document