SurfaceInt - Maple Help

VectorCalculus

 SurfaceInt
 compute the surface integral of a function from ${ℝ}^{3}$ to $ℝ$

 Calling Sequence SurfaceInt(f, dom, inert)

Parameters

 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

Description

 • 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.
 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$,$\mathrm{\theta }$,$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\left(u,v\right)=u,\mathrm{\theta }\left(u,v\right)=v,z\left(u,v\right)=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.

Examples

 > $\mathrm{with}\left(\mathrm{VectorCalculus}\right):$
 > $\mathrm{SurfaceInt}\left(1,\left[x,y,z\right]=\mathrm{Surface}\left(⟨r,s,t⟩,s=0..\mathrm{\pi },t=0..2\mathrm{\pi },\mathrm{coords}=\mathrm{spherical}\right)\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}\mathbf{assuming}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}0
 ${4}{}{\mathrm{\pi }}{}{{r}}^{{2}}$ (1)
 > $\mathrm{simplify}\left(\mathrm{SurfaceInt}\left(f\left(a,b,c\right),\left[a,b,c\right]=\mathrm{Surface}\left(⟨u,v,1⟩,u=0..1,v=0..2,\mathrm{coords}=\mathrm{cylindrical}\right),\mathrm{inert}\right)\right)$
 ${\mathrm{Typesetting}}{:-}{\mathrm{_Hold}}{}\left(\left[{\mathrm{Int}}{}\left({f}{}\left({u}{,}{v}{,}{1}\right){}{\mathrm{csgn}}{}\left({u}\right){}{u}{,}\left[{v}{=}{0}{..}{2}{,}{u}{=}{0}{..}{1}\right]\right)\right]\right)$ (2)
 > $\mathrm{SurfaceInt}\left(x+y+z,\left[x,y,z\right]=\mathrm{Surface}\left(⟨s,t,4-2s-t⟩,\left[s,t\right]=\mathrm{Triangle}\left(⟨0,0⟩,⟨1,0⟩,⟨0,1⟩\right)\right)\right)$
 $\frac{{11}{}\sqrt{{6}}}{{6}}$ (3)
 > $\mathrm{SurfaceInt}\left({y}^{2},\left[x,y,z\right]=\mathrm{Sphere}\left(⟨0,0,0⟩,r\right)\right)$
 $\frac{{4}{}{\mathrm{\pi }}{}{{r}}^{{4}}}{{3}}$ (4)
 > $\mathrm{SurfaceInt}\left(xyz,\left[x,y,z\right]=\mathrm{Box}\left(1..2,3..4,5..6\right)\right)$
 $\frac{{693}}{{4}}$ (5)
 > $\mathrm{SurfaceInt}\left(xyz,\left[x,y,z\right]=\mathrm{Box}\left(1..2,3..4,5..6\right),'\mathrm{inert}'\right)$
 ${{\int }}_{{5}}^{{6}}{{\int }}_{{3}}^{{4}}{3}{}{s}{}{t}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{s}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}{+}{{\int }}_{{5}}^{{6}}{{\int }}_{{1}}^{{2}}{7}{}{s}{}{t}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{s}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}{+}{{\int }}_{{3}}^{{4}}{{\int }}_{{1}}^{{2}}{11}{}{s}{}{t}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{s}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{t}$ (6)