Chapter 9: Vector Calculus
Section 9.3: Differential Operators
Example 9.3.2
If r and θ are polar coordinates, obtain ∇f for fr,θ=lnr tanθ.
Solution
Mathematical Solution
In polar coordinates, ∇f=frfθr. Applying this to the given f results in 1rtan(θ)ln(r)sec2(θ).
Note that Maple differentiates tanx to 1+tan2x on the grounds that having a new function name (i.e., sec) appear is somehow less simple than sticking with the name "tan".
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 gradient
Control-drag f.
Context Panel: Student Vector Calculus≻Differentiate≻Gradient (Complete the resulting dialog as shown below, and click OK.)
lnrtanθ→gradient
Maple Solution - Coded
Load the Student VectorCalculus package and execute the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Obtain the gradient of f
Apply the Gradient command, including the name of the coordinate system.
Gradientlnrtanθ,polar
<< 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