Chapter 4: Partial Differentiation
Section 4.3: Chain Rule
Example 4.3.10
If Fx,y is the composition of Gu,v with u=x2−y2, v=2 x y, obtain Fx and Fy in terms of Gu and Gv.
Solution
Mathematical Solution
Fx
=Gu ux+Gv vx
Fy
=Gu uy+Gv vy
=Gu 2 x+Gv 2 y
=Gu −2 y+Gv 2 x
=2x Gu+y Gv
=2x Gv−y Gu
Maple Solution - Interactive
Obtain Fx
Calculus palette: Partial-differential operator
Context Panel: Evaluate and Display Inline
∂∂ x Gx2−y2,2 x y = 2⁢D1⁡G⁡x2−y2,2⁢x⁢y⁢x+2⁢D2⁡G⁡x2−y2,2⁢x⁢y⁢y
Obtain Fy
∂∂ y Gx2−y2,2 x y = −2⁢D1⁡G⁡x2−y2,2⁢x⁢y⁢y+2⁢D2⁡G⁡x2−y2,2⁢x⁢y⁢x
Maple Solution - Coded
Initialize
Simplified Maple notation is available if the commands to the right are first executed.
interfacetypesetting=extended:Typesetting:-Suppressux,y,vx,y:Typesetting:-Settingsuserep=true:
Maple's representation of Fx and Fy
diffGu,v,x
D1⁡G⁡u,v⁢ux+D2⁡G⁡u,v⁢vx
diffGu,v,y
D1⁡G⁡u,v⁢uy+D2⁡G⁡u,v⁢vy
Implement the chain rule
Restore the variables x and y.
Typesetting:-Unsuppressux,y,vx,y:
Assign ux,y and vx,y to the names u and v, respectively.
u≔x2−y2:v≔2 x y:
Apply the diff command.
diffGu,v,x = 2⁢D1⁡G⁡x2−y2,2⁢x⁢y⁢x+2⁢D2⁡G⁡x2−y2,2⁢x⁢y⁢y
diffGu,v,y = −2⁢D1⁡G⁡x2−y2,2⁢x⁢y⁢y+2⁢D2⁡G⁡x2−y2,2⁢x⁢y⁢x
<< Previous Example Section 4.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