MultiInt - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[MultivariateCalculus]

  

MultiInt

  

return the integral of a function defined over a region

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

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)

Parameters

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

Description

• 

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.

Examples

withStudentMultivariateCalculus:

MultiInt3x2+3y2,x=1..4,y=1..6

1092

(1)

MultiIntr,r=1..4,θ=0..π2,coordinates=polarr,θ

21π2

(2)

MultiIntr+θ+z,r=0..2,θ=2..4,z=π2..π,coordinates=cylindricalr,θ,z

263π+32π2

(3)

MultiIntr,r=0..π,θ=0..π,φ=0..π,coordinates=sphericalr,θ,φ

π52

(4)

MultiIntx2+y2+z,z=2..4+y2,y=x1..x+6,x=2..4,output=integral

24x1x+6−2y2+4x2+y2+zⅆzⅆyⅆx

(5)

MultiIntx2+y2,x,y=Circle0,0,r

πr42

(6)

MultiIntxy,x,y=Triangle0,0,1,0,0,1

124

(7)

MultiIntexpx2y2z2,x,y,z=Sphere0,0,0,r

ππerfrⅇr22rⅇr2

(8)

MultiIntsinxcosytanz,x,y,z=Parallelepiped0..π,0..π2,0..π4

ln2

(9)

MultiInt1,x,y=Region0..1,x2..x

16

(10)

MultiIntx+y+z,x,y,z=Tetrahedron0,0,0,1,0,0,0,1,0,0,0,1,output=integral

0101t01+tx1+t1tx+y+tⅆyⅆxⅆt

(11)

MultiInt1,x,y=Ellipsex24+y291

6π

(12)

You can specify an equivalent integration by giving the parameters of the ellipse directly.

MultiInt1,x,y=Ellipse0,0,3,2,0

6π

(13)

MultiInty2,x,y=SectorCircle0,0,r,0,π

πr48

(14)

MultiIntx,x,y=SectorEllipsex24+y291,0,π2

4

(15)

Compatibility

• 

The region parameter was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

Student

Student[MultivariateCalculus]