Chapter 9: Vector Calculus
Section 9.3: Differential Operators
Example 9.3.5
Obtain the divergence of the Cartesian vector field F=x y i+x/y j.
Solution
Mathematical Solution
The divergence of the field F=fx,y i+gx,y j is given by ∇·F=fx+gy. Hence, the required calculation is ∇·F=∂∂ x x y+∂∂ y x/y=y−x/y2.
Maple Solution - Interactive
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
Write the field as 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 y,x/y = →to Vector Field →assign to a nameF
Obtain the divergence of F
Common Symbols palette: Del operator and dot product operator
Context Panel: Evaluate and Display Inline
∇·F = y−xy2
Alternate access to the divergence
Write the name F. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus: Divergence
F = →divergencey−xy2
Maple Solution - Coded
Load the Student VectorCalculus package and execute the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Invoke the VectorField command.
F≔VectorFieldx y,x/y:
Apply the Divergence command.
DivergenceF = y−xy2
<< 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
Download Help Document