VectorCalculus
SurfaceInt
compute the surface integral of a function from ℝ3 to ℝ
Calling Sequence
Parameters
Description
Examples
SurfaceInt(f, dom, inert)
f
-
algebraic expression; specify the function to be integrated
dom
list(name) = surface; specify the list of variable names and the surface over which to integrate
inert
(optional) name; specify that the integral representation is to be returned
The SurfaceInt(f, dom) command computes the surface integral of the function f over the surface specified on the right side of dom. The left side of dom is the list of variables of the function f.
Surfaces are represented by unevaluated function calls. The possible surfaces are Box(r1, r2, r3), Sphere(cen, rad), and Surface(v).
Box(r1, r2, r3)
Each ri must have type algebraic..algebraic. These represent the sides of the box, and the surface integral taken over each face of the box.
Sphere(cen, rad)
The first parameter of Sphere, cen, must have type 'Vector'(3, algebraic) and rad must have type algebraic. These represent the center and radius of the sphere, respectively. If a coordinate system attribute is specified on cen, the center is interpreted in this coordinate system.
Surface(v)
The first argument of v must have type 'Vector'(3, algebraic). The second argument can be of the form list(name) = region where the names of the two parameters are in the list and the region of the second argument is any valid two dimensional region that VectorCalculus:-int accepts, or an equation of the form name=range. If the region is in the form name=range, the third argument, range is also of the form name=range. This gives explicit ranges to the two parameters. If the two-dimensional region over which the surface is defined is given by name as Ellipse, Triangle, Circle, Sector, or Rectangle, this geometric region will be in the parameter space, and not necessarily in the space of the variables of integration.
Finally, an optional fourth argument can be coords=name or coordinates=name. It is the coordinate system in which v is interpreted. The variables in the integrand are then also interpreted in this same coordinate system. In the second example below, setting the coordinate system to cylindrical causes a,b,c to be interpreted as r,θ,z, the variables of the cylindrical system. The components of v are interpreted as the parametric equations for a surface defined in cylindrical coordinates: r⁡u,v=u,θ⁡u,v=v,z⁡u,v=1. u=r can be inferred from the known value of the surface-area element in cylindrical coordinates.
The SurfaceInt(f, dom, inert) command returns the integral form of the surface integral of f over dom.
with⁡VectorCalculus:
SurfaceInt⁡1,x,y,z=Surface⁡r,s,t,s=0..π,t=0..2⁢π,coords=sphericalassuming0<r
4⁢π⁢r2
simplify⁡SurfaceInt⁡f⁡a,b,c,a,b,c=Surface⁡u,v,1,u=0..1,v=0..2,coords=cylindrical,inert
∫01∫02f⁡u,v,1⁢csgn⁡u⁢uⅆvⅆu
SurfaceInt⁡x+y+z,x,y,z=Surface⁡s,t,4−2⁢s−t,s,t=Triangle⁡0,0,1,0,0,1
11⁢66
SurfaceInt⁡y2,x,y,z=Sphere⁡0,0,0,r
4⁢π⁢r43
SurfaceInt⁡x⁢y⁢z,x,y,z=Box⁡1..2,3..4,5..6
6934
SurfaceInt⁡x⁢y⁢z,x,y,z=Box⁡1..2,3..4,5..6,inert
∫56∫343⁢s⁢tⅆsⅆt+∫56∫127⁢s⁢tⅆsⅆt+∫34∫1211⁢s⁢tⅆsⅆt
See Also
assuming
type
VectorCalculus[Flux]
VectorCalculus[int]
VectorCalculus[LineInt]
VectorCalculus[PathInt]
Download Help Document