Student[MultivariateCalculus]
MultiInt
return the integral of a function defined over a region
Calling Sequence
Parameters
Description
Examples
Compatibility
MultiInt(f(x,y), x=a..b, y=c..d, opts)
MultiInt(f(x,y,z), x=a..b, y=c..d, z=e..f, opts)
MultiInt(f(vars), [vars]=region, opts)
f(x,y), f(x,y,z), f(vars)
-
algebraic expressions
x, y, z
name; specify the independent variables
a, b, c, d, e, f
algebraic; limits of integration
vars
sequence of names; specify the independent variables
region
one of the possible regions of integration as described below
opts
(optional) equation(s) of the form option=value where option is coordinates or output; specify output options
The MultiInt command returns the integral of a function over a region in space.
The opts argument can contain any of the following equations.
coordinates = cartesian[x,y], polar[r,theta] (2-D), cartesian[x,y,z], cylindrical[r,theta,z], or spherical[r,phi,theta]
Specifies the coordinate system being used. The first variable of polar, cylindrical, and spherical is assumed to be the radial component. For spherical coordinates [r, phi,theta], the second coordinate is the angle measured down from the vertical.
The default is cartesian.
Note: The coordinates option is not valid for the third calling sequence.
output = value, integral, or steps
Specifies the return value of the function.
output = value specifies that the value of the integral is returned. This is the default.
output = integral specifies that the inert form of the integral is shown.
output = steps specifies that the intermediate steps of solving the multiple integral are shown.
The third calling sequence specifies a region of integration using the parameter [vars]=region. The possible regions of integration are Circle, Ellipse, Parallelepiped, Rectangle, Region, Sector, Sphere, Tetrahedron, and Triangle.
Circle(center, radius) The first parameter, center, is the center of the circle and must be a two-dimensional Vector with algebraic entries. The second parameter, radius, is the radius of the circle and must be an algebraic expression.
Ellipse(center, major, minor, angle) The first parameter, center, is the center of the ellipse and must be a two-dimensional Vector with algebraic entries. The second and third parameters, major and minor, are the lengths of the semimajor and semiminor axes of the ellipse, respectively. The last parameter angle specifies the angle through which the ellipse is rotated from its standard position, in which its major axis is coincident with the x-axis. Note: The ellipse specified by this structure is obtained by first performing the rotation on an ellipse in standard position; this rotated ellipse is then translated to the point center.
Ellipse(expr) The parameter expr must be an algebraic expression. The Ellipse is specified by the equation expr = 0. The two variable names that appear in expr must be the same as those specified in vars.
Parallelepiped(r1, ..., rk) This specifies a k-dimensional region of integration. Each ri is a range of the form lowerlimit..upperlimit and the expressions in these ranges must be algebraic and cannot depend on the variables of integration. The range ri specifies the integration interval for the ith variable of integration.
Rectangle(r1, r2) This is a specialization of Parallelepiped to ℝ2 . In the x-y-plane, the integration has the order dx dy, and range r1 can be of the form x1(y)..x2(y), in contrast to the restrictions on ranges in Parallelepiped.
Region(r1, ..., rk) This specifies a k-dimensional region of integration. Each ri is a range of the form lowerlimit..upperlimit and the expressions in these ranges must be algebraic and the ith range can only depend on the first i-1 variables. The integral over the region is transformed into an iterated integral. The range ri specifies the integration interval for the ith variable of integration.
Sector(object, start, finish) The first parameter of Sector, object, must be a Circle or Ellipse structure. The parameters start and finish must be algebraic expressions. This represents the sector of the specified Circle or Ellipse, starting at angle start radians and ending at angle finish radians.
For a Circle, an angle of 0 points in the positive x direction. For example, if start is 0 and finish is π2, it would represent the top-right quarter of a circle centered anywhere.
For an Ellipse, an angle of 0 points in the direction of one of its semimajor axes: the one in the right-half of the plane. If the Ellipse is vertical (its major axis is coincident with the y-axis), then the 0 angle points in the negative y direction. For example, consider an ellipse centered at the origin with a rotation of π4 (its major axis sits on the line y = x). If start is −π4 and finish is π4, it would represent the region of the ellipse inside first quadrant of the plane. If the ellipse is not centered at the origin, these angles are treated as if the center of the ellipse were the origin.
Sphere(center, radius) The first parameter, center, is the center of the sphere and must be a three-dimensional Vector with algebraic entries. The second parameter, radius, is the radius of the sphere and must be an algebraic expression.
Tetrahedron(v1, v2, v3, v4) Each vi is a three-dimensional Vector (with algebraic entries). These represent the vertices of the tetrahedron. If coordinate system attributes are specified on these Vectors, each vertex is interpreted in its own coordinate system.
Triangle(v1, v2, v3) Each vi is a two-dimensional Vector (with algebraic entries). These represent the vertices of the triangle. If coordinate system attributes are specified on these Vectors, each vertex is interpreted in its own coordinate system.
with⁡StudentMultivariateCalculus:
MultiInt⁡3⁢x2+3⁢y2,x=1..4,y=−1..6
1092
MultiInt⁡r,r=1..4,θ=0..π2,coordinates=polarr,θ
21⁢π2
MultiInt⁡r+θ+z,r=0..2,θ=2..4,z=π2..π,coordinates=cylindricalr,θ,z
263⁢π+32⁢π2
MultiInt⁡r,r=0..π,θ=0..π,φ=0..π,coordinates=sphericalr,θ,φ
π52
MultiInt⁡x2+y2+z,z=−2..4+y2,y=x−1..x+6,x=2..4,output=integral
∫24∫x−1x+6∫−2y2+4x2+y2+zⅆzⅆyⅆx
MultiInt⁡x2+y2,x,y=Circle⁡0,0,r
π⁢r42
MultiInt⁡x⁢y,x,y=Triangle⁡0,0,1,0,0,1
124
MultiInt⁡exp⁡−x2−y2−z2,x,y,z=Sphere⁡0,0,0,r
π⁢π⁢erf⁡r⁢ⅇr2−2⁢r⁢ⅇ−r2
MultiInt⁡sin⁡x⁢cos⁡y⁢tan⁡z,x,y,z=Parallelepiped⁡0..π,0..π2,0..π4
ln⁡2
MultiInt⁡1,x,y=Region⁡0..1,x2..x
16
MultiInt⁡x+y+z,x,y,z=Tetrahedron⁡0,0,0,1,0,0,0,1,0,0,0,1,output=integral
∫01∫01−t∫0−1+t⁢x−1+t1−tx+y+tⅆyⅆxⅆt
MultiInt⁡1,x,y=Ellipse⁡x24+y29−1
6⁢π
You can specify an equivalent integration by giving the parameters of the ellipse directly.
MultiInt⁡1,x,y=Ellipse⁡0,0,3,2,0
MultiInt⁡y2,x,y=Sector⁡Circle⁡0,0,r,0,π
π⁢r48
MultiInt⁡x,x,y=Sector⁡Ellipse⁡x24+y29−1,0,π2
4
The region parameter was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
Student
Download Help Document