Chapter 4: Partial Differentiation
Section 4.5: Gradient Vector
Show both graphically and analytically that the level curves of u=sin⁡x⁢cosh⁡y are orthogonal to the level curves of v=cos⁡x⁢sinh⁡y.
Figure 4.5.9(a) shows the level curves of u in black, and the level curves of v in red. From the figure, it appears that these sets of level curves intersect at right angles.
Analytically, the orthogonality of these sets of level curves is shown by the computation
which shows that the respective gradient vectors are orthogonal. Since these gradient vectors are themselves orthogonal to vectors tangent to the level curves, the sets of level curves are then orthogonal to each other.
use plots in
Figure 4.5.9(a) Level curves of u and v
Maple Solution - Interactive
Tools≻Load Package: Student Multivariate Calculus
Control-drag expressions for each of u and v.
Context Panel: Student Multivariate Calculus≻Differentiate≻Gradient
Context Panel: Assign to a Name≻Gu or Gv, as appropriate
sinx coshy→gradientcos⁡x⁢cosh⁡ysin⁡x⁢sinh⁡y→assign to a nameGu
cosx sinhy→gradient−sin⁡x⁢sinh⁡ycos⁡x⁢cosh⁡y→assign to a nameGv
Common Symbols palette: Dot product operator
Context Panel: Evaluate and Display Inline
Gu·Gv = 0
to generate Figure 4.5.9(a)
At the present time, the Plot Builder in the Context Panel does not allow for specifying exactly which contours are to be drawn. Therefore, it will not reproduce Figure 4.5.9(a).
The Interactive Plot Builder can be used to draw Figure 4.5.9(a), but the figure so generated cannot be saved to the document. It can only be Previewed.
Figure 4.5.9(a) is best drawn with the code hidden behind the graph in the Mathematical Solution, or by the code in the Coded Solution.
Set the main panel of the Interactive Plot Builder as per Figure 4.5.9(b).
In the Options panel, select a function (topmost drop-down box) to set its color and to change the default list of contours to seqk,k=−5..5.
Select "Global Defaults & Settings" in the topmost drop-down box, and check "Constrained Scaling" (lower-left in the "View" section of the Options panel). See Figure 4.5.9(c).
Figure 4.5.9(b) Interactive Plot Builder: 2-D contour plot
Figure 4.5.9(c) Options pane in Interactive Plot Builder
Maple Solution - Coded
Install the Student MultivariateCalculus package.
Define u and v.
Use the Gradient and DotProduct commands.
DotProductGradientu,x,y,Gradientv,x,y = 0
Obtain Figure 4.5.9(a)
The contourplot and display commands from the plots package will produce Figure 4.5.9(a), as illustrated by the following code. Simply remove the colon from the last line and execute.
<< Previous Example Section 4.5
Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2021. 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
What kind of issue would you like to report? (Optional)