Chapter 4: Partial Differentiation
Section 4.7: Approximations
Example 4.7.3
Approximate 12.03+13.02+14.97 by using the total differential for some appropriate function fx,y,z.
Solution
Mathematical Solution
Define the function fx,y,z=1x+1y+1z and approximate 12.03+13.02+14.97 as f2,3,5+df.
12.03+13.02+14.97
≐f2,3,5+df
=12+13+15+fx2,3,5⋅.03+fy2,3,5⋅.02+fz2,3,5⋅−.03
=3130+−14⋅.03−19⋅.02−125⋅−.03
=1.033333333−0.008522222222
=1.024811111
Note that f2.03,3.02,4.97=1.024943909.
Maple Solution - Interactive
Define fx,y and its first partial derivatives
Context Panel: Assign Function
fx,y,z=1x+1y+1z→assign as functionf
Calculus palette: Partial derivative operator (Set the symbols fx, fy and fz as Atomic Identifiers)
f__xx,y,z=∂∂ x fx,y,z→assign as functionf__x
f__yx,y,z=∂∂ y fx,y,z→assign as functionf__y
f__zx,y,z=∂∂ z fx,y,z→assign as functionf__z
Calculate f2.03,3.02,4.97≐f2,3,5+df
Context Panel: Evaluate and Display Inline
f2,3,5+f__x2,3,5⋅.03+f__y2,3,5⋅.02+f__z2,3,5⋅−.03 = 1.024811111
Compute f2.03,3.02,4.97 "exactly"
f2.03,3.02,4.97 = 1.024943909
Maple Solution - Coded
Define an appropriate function f
Define f.
f≔x,y,z→1/x+1/y+1/z:
Compute df=fx2,3,5⋅0.03+fy2,3,5⋅0.02+fz2,3,5⋅−0.03
Use the differential operator D to calculate partial derivatives at 2,3,5.
df≔D1f2,3,5⋅.03+D2f2,3,5⋅.02+D3f2,3,5⋅−.03
−0.008522222222
Approximate f2.03,3.02,4.97 as f2,3,5+df
Apply the evalf command.
evalff2,3,5+df = 1.024811111
Obtain f2.03,3.02,4.97 "exactly"
Evaluate f at 2.03,3.02,4.97.
<< 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