Chapter 9: Vector Calculus
Section 9.8: Divergence Theorem
Example 9.8.6
Apply the Divergence theorem to the vector field F=x y3i+y z j+x2⁢z k and R, the region bounded by the paraboloid z=x2+y2 and the plane z=1.
Solution
Mathematical Solution
The divergence of F:
∇·F=∂xx y3+∂yy z+∂zx2z=y3+z+x2
Implement the integral of ∇·F over the interior of R:
∫−11∫−1−x21−x2∫x2+y21y3+z+x2 ⅆz ⅆy ⅆx = 512 π
To compute the flux through R, note that there are two boundaries, the paraboloid, and the unit disk in the plane z=1. To compute the flux through the paraboloid, note that on the paraboloid
F·N dσ
=x y3y zx2z·2 x2 y−1 11+4 x2+4 y21+4 x2+4 y2 dA
=2 x2y3+2 y2z−x2z dA
=2 x2y3+2 y2−x2 x2+y2 dA
If this be integrated over the unit disk, the result is
∫−11∫−1−x21−x22 x2y3+2 y2−x2 x2+y2 dy dx=π6
On the upper boundary (disk), the outward normal is N=k, so F·N=x2z, which becomes x2 in the plane z=1. Implementing the flux integral in polar coordinates gives
∫02 π∫01r⋅r cosθ2 dr dθ=π4
The total flux is then 16+14 π=512 π, the same value obtained for the volume integral of the divergence, as predicted by the Divergence theorem.
Maple Solution - Interactive
The Student VectorCalculus package is needed for calculating the divergence, but it then conflicts with any multidimensional integral set from the Calculus palette. Hence, the Student MultivariateCalculus package is installed to gain Context Panel access to the MultiInt command.
Initialize
Tools≻Load Package: Student Vector Calculus
Loading Student:-VectorCalculus
Tools≻Tasks≻Browse: Calculus - Vector≻ Vector Algebra and Settings≻ Display Format for Vectors
Press the Access Settings button and select "Display as Column Vector"
Display Format for Vectors
Define the vector field F
Enter the components of F in a free vector. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Conversions≻To Vector Field
Context Panel: Assign to a Name≻F
x y3,y z,x2z = →to Vector Field →assign to a nameF
Obtain ∇·F, the divergence of F, and represent it parametrically
Common Symbols palette: Del and dot-product operators Context Panel: Evaluate and Display Inline
Context Panel: Assign to a Name≻divF
∇·F = y3+x2+z→assign to a namedivF
Obtain the volume integral of the divergence of F
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Write the name given to the divergence. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Integrate≻Iterated Complete the dialogs as per the figures below.
Context Panel: Evaluate Integral
divF = y3+x2+z→MultiInt∫−11∫−−x2+1−x2+1∫x2+y21y3+x2+zⅆzⅆyⅆx=512⁢π
There are two parts to the boundary of R, the paraboloid and a unit disk in the plane z=1. For the flux through the paraboloid, use a task template.
Tools≻Tasks≻Browse: Calculus - Vector≻Integration≻Flux≻3-D≻Through a Surface Defined over a Disk
Flux through a Surface Defined over a Disk
For the Vector Field:
Select Coordinate SystemCartesian [x,y,z]Cartesian - othercylindricalsphericalbipolarcylindricalbisphericalcardioidalcardioidcylindricalcasscylindricalconicalellcylindricalhypercylindricalinvcasscylindricallogcylindricallogcoshcylindricaloblatespheroidalparaboloidalparacylindricalprolatespheroidalrosecylindricalsixspheretangentcylindricaltangentspheretoroidal
For the "open" surface z=x2+y2, Maple uses the normal Rx×Ry, where R=x i+y j+x2+y2 k is a position-vector description of the paraboloid. This gives a normal that is upward, and hence inward for the closed region R. Because R is a closed region, the normal should be outward, and hence downward; the flux through the paraboloid is actually π/6.
On the upper boundary (disk), the outward normal is N=k, so F·N=x2z, which becomes x2 in the plane z=1. The flux through this disk is given by the following calculation in which the integration is implemented in polar coordinates.
Write the integrand. Context Panel: Evaluate and Display Inline
r cosθ2→MultiInt∫02⁢π∫01r3⁢cos⁡θ2ⅆrⅆθ=14⁢π
Maple Solution - Coded
Install the Student VectorCalculus package.
withStudent:-VectorCalculus:
Set display of vectors via BasisFormat.
BasisFormatfalse:
Define F via the VectorField command.
F≔VectorFieldx y3,y z,x2z:
Obtain ∇·F, the divergence of F
Invoke the Divergence command.
divF≔DivergenceF
y3+x2+z
Use the int command to integrate the divergence of F over R
intdivF,x,y,z=Region−1..1,−1−x2..1−x2,x2+y2..1,output=integral
∫−11∫−−x2+1−x2+1∫x2+y21y3+x2+zⅆzⅆyⅆx
intdivF,x,y,z=Region−1..1,−1−x2..1−x2,x2+y2..1 = 512⁢π
Use the Flux command to obtain the flux of F through the paraboloid
FluxF,Surfacex,y,x2+y2,x=−1..1,y=−1−x2..1−x2,output=integral
∫−11∫−−x2+1−x2+1−2⁢x2⁢y3−2⁢y2⁢x2+y2+x2⁢x2+y2ⅆyⅆx
FluxF,Surfacex,y,x2+y2,x=−1..1,y=−1−x2..1−x2 = −16⁢π
On the upper boundary (disk), the outward normal is N=k, so F·N=x2z, which becomes x2 in the plane z=1. The integration of x2 over the unit disk is simple enough to implement directly; the Flux command is a viable alternative.
FluxF,Surfacex,y,1,x,y=Circle0,0,1,r,θ,output=integral = ∫01∫02⁢πr3⁢cos⁡θ2ⅆθⅆrFluxF,Surfacex,y,1,x,y=Circle0,0,1,r,θ14⁢π
<< Previous Example Section 9.8 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
Download Help Document