Chapter 9: Vector Calculus
Section 9.3: Differential Operators
|
Example 9.3.16
|
|
Graph the vector fields and . Show that , but , even though the arrows of both fields are radially outward, suggesting "divergence" for both.
|
|
|
|
Solution
|
|
•
|
Tools≻Load Package: Student Vector Calculus
|
|
Loading Student:-VectorCalculus
|
>
|
Student:-VectorCalculus:-PlotVector(Student:-VectorCalculus:-VectorField(<x,y>),color=red,x=-1..1,y=-1..1,tickmarks=[[-1,1],[-1,1]],arrows=medium,grid=[10,10]);
|
|
Figure 9.3.16(a) Vector field
|
|
|
|
>
|
Student:-VectorCalculus:-PlotVector(Student:-VectorCalculus:-VectorField(<x,y>/(x^2+y^2)),color=green,x=-1..1,y=-1..1,tickmarks=[[-1,1],[-1,1]],arrows=medium,grid=[10,10]);
|
|
Figure 9.3.16(b) Vector field
|
|
|
|
•
|
Use the VectorField command to define the vector fields and .
|
|
|
•
|
Compute the divergence of each field.
|
|
=
=
|
|
|
The only difference in the fields is the length of the arrows, as seen in Figures 9.3.16(a) and 9.3.16(b). The arrows of each field are directed radially outward. Yet one field has positive divergence everywhere, and the other has no divergence anywhere. The image of a vector field is a global, or "in the large" view, but the divergence is a local, or pointwise, measure. Great caution should be exercised when, from a picture of its arrows, drawing conclusions about the divergence of a field.
Figures 9.3.16(a) and 9.3.16(b) can be drawn with the fieldplot command in the plots package, or more easily with the VectorField command itself in the Student VectorCalculus package. Simply add the option "output=plot." The PlotVector command in the same package will also draw a vector field.
|
|
<< Previous Example Section 9.3
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
|