Chapter 4: Partial Differentiation
Section 4.5: Gradient Vector
Example 4.5.12
At P:1,2,3, determine the maximal rate of change and its direction for fx,y,z=x2−2 y+5 zx+y z.
Solution
Mathematical Solution
At P:1,2,3, the direction of the maximal rate of change of f is ∇fP/∥∇fP∥ = 2525⁢105−221⁢10511525⁢105.
The maximal rate of change itself is 5⁢x2+5−2⁢x⁢−x2+1.
Maple Solution - Interactive
Initialize
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Obtain ∇fP
Control-drag the expression defining f.
Context Panel: Student Multivariate Calculus≻ Differentiate≻Gradient Complete the Gradient dialog as shown in Figure 4.5.12(a).
Context Panel: Select Element≻1
Context Panel: Assign to a Name≻GfP
Figure 4.5.12(a) Gradient dialog
x2−2 y+5 zx+y z→gradient →select entry 1 →assign to a nameGfP
Obtain ∇fP/∥∇fP∥
Write the name GfP. Context Panel: Evaluate and Display Inline
Context Panel: Normalize≻Euclidean
GfP = →Euclidean-normalize
Context Panel: Norm≻Euclidean
GfP = →Euclidean-norm549⁢105
Maple Solution - Coded
Install the Student MultivariateCalculus package.
Define f.
f≔x2−2 y+5 zx+y z:
Calculate ∇fP
Use the Gradient command.
GfP≔Gradientf,x,y,z=1,2,3 =
Calculate ∇fP/∥∇fP∥
Apply the Normalize command.
NormalizeGfP =
Apply the Norm command.
NormGfP = 549⁢105
<< Previous Example Section 4.5 Next Section >>
© 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