Chapter 9: Vector Calculus
Section 9.4: Differential Identities
Example 9.4.6
Show that for sufficiently well-behaved functions fr,θ,z in cylindrical coordinates, the gradient of f is curl-free.
Solution
Mathematical Solution
In cylindrical coordinates, the gradient of f is given by ∇f=frfθ/rfz≡uvw, as per Table 9.3.2.
By Table 9.3.3, the curl in cylindrical coordinates is
∇×∇f=erreθkr∂r∂θ∂zur vw=wθ−(r v)zruz−wr(r v)r−uθr = ∂θ(fz)−∂z(r(fθ/r)) r∂z(fr)−∂r(fz)∂r(r(fθ/r))−∂θ(fr)r = fz θ−fθ zrfr z−fz rfθ r−fr θr = 000
where the final simplification to the zero vector hinges on the equality of the mixed partial derivatives. That is why an assumption on the behavior of the function f must be made.
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
Obtain the curl of the gradient of f in cylindrical coordinates
Write the scalar fr,θ,z.
Context Panel: Student Vector Calculus≻Differentiate≻Gradient (Complete the dialog as per the figure to the right.)
Context Panel: Student Vector Calculus≻Curl
fr,θ,z→gradient∂∂rf⁡r,θ,z∂∂θf⁡r,θ,zr∂∂zf⁡r,θ,z→curl
The scalar f does not carry (as an attribute) its coordinate system. Hence, it is necessary to use the Context Panel, not typeset math notation, to obtain the gradient. However, the gradient vector does carry its coordinate system, so the curl operator could be applied either by typeset math notation or by the Context Panel. It is clearly simpler to chain the calculations and continue using the Context Panel in this example.
Maple Solution - Coded
Load the Student VectorCalculus package and execute the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Verify ∇×∇f=0
Apply the Curl and Gradient commands from the Student VectorCalculus package. Because scalars do not carry a coordinate system, Maple's Gradient command must be told to act in cylindrical coordinates.
CurlGradientfr,θ,z,cylindricalr,θ,z =
<< Previous Example Section 9.4 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