Chapter 4: Partial Differentiation
Section 4.7: Approximations
Example 4.7.4
Use the total differential to approximate the value of fx,y=x2e2 xy2 at x,y=1.03,0.96.
Solution
Mathematical Solution
Define the function fx,y=x2e2 xy2 and approximate f1.03,0.96 as f1,1+df.
f(1.03,0.96
≐f1,1+df
=e2+fx1,1⋅.03+fy1,1⋅−.04
=e2+4e2⋅.03+4e2⋅−.04
=0.96 e2
=7.093493855
Note that f1.03,0.96=7.082405462.
Maple Solution - Interactive
Define fx,y and its first partial derivatives
Context Panel: Assign Function (Be sure to use Maple's exponential "e".)
fx,y=x2ⅇ2 x y2→assign as functionf
Calculus palette: Partial derivative operator (Set the symbols fx and fy as Atomic Identifiers)
Context Panel: Assign Function
f__xx,y=∂∂ x fx,y→assign as functionf__x
f__yx,y=∂∂ y fx,y→assign as functionf__y
Calculate f1.03,0.96≐f1,1+df
Context Panel: Evaluate and Display Inline
Context Panel: Approximate≻10 (digits)
f1,1+f__x1,1⋅.03+f__y1,1⋅−.04 = 0.96⁢ⅇ2→at 10 digits7.093493855
Compute f1.03,0.96 "exactly"
f1.03,0.96 = 7.082405462
Maple Solution - Coded
Define an appropriate function f
Define f. Be sure to use Maple's exponential "e".
f≔x,y→x2ⅇ2 x y2:
Compute df=fx1,1⋅0.03+fy1,1⋅−0.04
Use the differential operator D to calculate partial derivatives at 1,1.
Use the evalf command to float the result.
df≔evalfD1f1,1⋅.03+D2f1,1⋅−.04 = −0.2955622440
Approximate f1.03,0.96 as f1,1+df
Apply the evalf command.
evalff1,1+df = 7.093493855
Obtain f1.03,0.96 "exactly"
Evaluate f at 1.03,0.96.
<< Previous Example Section 4.7 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