Chapter 9: Vector Calculus
Section 9.6: Surface Integrals
|
Example 9.6.11
|
|
Working in spherical coordinates, obtain the flux of the field through the surface of the unit sphere centered at the origin. Use a parametric representation of the surface.
|
|
|
|
Solution
|
|
|
Mathematical Solution
|
|
•
|
Figure 9.6.11(a) shows the sphere, a representative normal on its surface, and field arrows.
|
•
|
The arrows suggest the field is radially outward, so in spherical coordinates it would be , and on the sphere it is just . The outward normal on the sphere is also just , so . Thus, the integral of over the surface of the sphere is
|
|
>
|
use Student:-VectorCalculus in
module()
local F,p1;
F:=VectorField(<x,y,z>);
p1:=Flux(F,Sphere(<0,0,0>,1),output=plot,caption="",tickmarks=[3,3,3],axes=frame,orientation=[-55,65,0],fieldoptions=[grid=[5,5,5]]);
print(p1);
end module:
end use:
|
|
Figure 9.6.11(a) Sphere, field, normal
|
|
|
|
|
|
|
|
Maple Solution - Interactive
|
|
Table 9.6.11(a) provides a solution via task template. The vector field F is given in Cartesian coordinates, but could also be expressed in spherical coordinates. Table 9.6.11(b) shows how the same task template can be used for the alternate calculation.
Tools≻Tasks≻Browse:
Calculus - Vector≻Integration≻Flux≻3-D≻Through a Sphere
|
Flux through a Sphere
|
For the Vector Field:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 9.6.11(a) Solution by task template
|
|
|
Table 9.6.11(b) uses the same task template, but expresses the vector field F in spherical coordinates.
Tools≻Tasks≻Browse:
Calculus - Vector≻Integration≻Flux≻3-D≻Through a Sphere
|
Flux through a Sphere
|
For the Vector Field:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 9.6.11(b) Task-template solution for field in spherical coordinates
|
|
|
|
|
Maple Solution - Coded
|
|
Table 9.6.11(c) provides a solution in which the vector field is given in Cartesian coordinates, but in which the Flux command in the Student VectorCalculus package writes the integral in spherical coordinates.
Initialize
|
•
|
Install the Student VectorCalculus package.
|
|
|
|
|
Use the Flux command with the Sphere option to compute the flux
|
=
|
Table 9.6.11(c) Solution via the Flux command
|
|
|
Figure 9.6.11(a) can be obtained by changing the option "output = integral" to "output = plot" in Table 9.6.11(c). The version of this command used for this figure is hidden behind the cell containing the graph.
Table 9.6.11(d) provides a solution from first principles. The surface is represented by a position vector that parametrizes the surface via spherical coordinates. However, the position vector is essentially a Cartesian vector, so the vector field F is also given in Cartesian coordinates. In the expression , the Cartesian variables are simply replaced with their equivalents on the surface of the sphere.
Initialize
|
•
|
Set the display of vectors with the BasisFormat command.
|
|
|
•
|
Define the sphere as the position vector R.
|
|
|
Obtain
|
•
|
In the Student VectorCalculus package, diff maps onto the components of vectors.
|
|
=
|
Obtain a unit outward normal on the surface of the sphere
|
•
|
In the Student VectorCalculus package, diff maps onto the components of vectors.
|
|
|
Evaluate on the surface of the sphere
|
•
|
Use the eval command to make the substitutions for as returned by the Equate command.
|
|
=
|
Form and evaluate the flux integral
|
•
|
Use the Int and int commands, accessing the top-level versions via the prefix operator
|
|
|
Table 9.6.11(d) Solution from first principles with F given in Cartesian coordinates
|
|
|
|
|
|
<< Previous Example Section 9.6
Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
|