Chapter 4: Partial Differentiation
Section 4.3: Chain Rule
Example 4.3.19
If the equation z=fx,y,z implicitly defines z=zx,y, obtain zx and zy.
Solution
Mathematical Solution
If z=fx,y,z implicitly defines z=zx,y, then zx,y≡fx,y,zx,y, that is, zx,y=fx,y,zx,y is an identity. Hence, differentiation with respect to x and y via the appropriate forms of the chain rule will result in the following.
zx=fx+fz zx ⇒ zx= fx1− fz
and
zy=fy+fz zy ⇒ zx= fy1− fz
Maple Solution - Interactive
The following solution, based on just the Context Panel, obtains zx. The modifications necessary for obtaining zy should be obvious.
Obtaining zx via the Context Panel
Write the equation defining zx,y.
Context Panel: Differentiate≻Implicitly Complete dialog as per Figure 4.3.19(a)
z=fx,y,z
z=f⁡x,y,z
→implicit differentiation
−D1⁡f⁡x,y,zD3⁡f⁡x,y,z−1
Figure 4.3.19(a) Implicit Differentiation dialog
Alternatively, use the Implicit Differentiation task template displayed in Table 4.3.19(a). Make the obvious modifications to obtain zy instead of zx.
Tools≻Tasks≻Browse:
Calculus - Differential≻Derivatives≻Implicit Differentiation≻fx,y,z=gx,y,z
Implicit Differentiation with Three Variables
Enter equation:
Obtain ∂z∂x:
implicitdiff, zx,y, x
Stepwise Calculation:
Replace z with zx,y:
eval,z=zx,y
z⁡x,y=f⁡x,y,z⁡x,y
Apply ∂ ∂x:
diff,x
∂∂x⁢z⁡x,y=D1⁡f⁡x,y,z⁡x,y+D3⁡f⁡x,y,z⁡x,y⁢∂∂x⁢z⁡x,y
Isolate ∂z∂x:
isolate, diffzx,y,x
∂∂x⁢z⁡x,y=D1⁡f⁡x,y,z⁡x,y1−D3⁡f⁡x,y,z⁡x,y
Replace zx,ywith z:
zx=evalrhs,zx,y=z
zx=D1⁡f⁡x,y,z1−D3⁡f⁡x,y,z
Table 4.3.19(a) Implicit differentiation task template
It is also possible to implement a solution from first principles via the Context Panel system, as shown below in Table 4.3.19(b).
Write the equation defining zx,y. Press the Enter key.
Context Panel: Evaluate at a Point≻z=zx,y
Context Panel: Solve≻Isolate Expression for≻diff(z(x,y),x) (See Figure 4.3.19(b))
Figure 4.3.19(b) Isolate via Context Panel
→evaluate at point
→differentiate w.r.t. x
→isolate for diff(z(x,y),x)
Table 4.3.19(b) Context Panel implementation of implicit derivative via first principles
Maple Solution - Coded
Immediate results via the implicitdiff command
Apply the implicitdiff command.
implicitdiffz=fx,y,z,zx,y,x = −D1⁡f⁡x,y,zD3⁡f⁡x,y,z−1
implicitdiffz=fx,y,z,zx,y,y = −D2⁡f⁡x,y,zD3⁡f⁡x,y,z−1
Solution from first principles
Apply the diff and isolate commands to obtain zx.
temp≔diffzx,y=fx,y,zx,y,x
isolatetemp,diffzx,y,x
Apply the diff and isolate commands to obtain zy.
temp≔diffzx,y=fx,y,zx,y,y
∂∂y⁢z⁡x,y=D2⁡f⁡x,y,z⁡x,y+D3⁡f⁡x,y,z⁡x,y⁢∂∂y⁢z⁡x,y
isolatetemp,diffzx,y,y
∂∂y⁢z⁡x,y=D2⁡f⁡x,y,z⁡x,y1−D3⁡f⁡x,y,z⁡x,y
<< 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