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