Using Differentials to determine maximum possible error

  • Thread starter Salazar
  • Start date
  • #1
8
0

Homework Statement



Four positive numbers, each less than 30, are rounded to the first decimal place and then multiplied together. Use differentials to estimate the maximum possible error in the computed product that might result from the rounding.

So our function of four variables would be : f(w,x,y,z) = wxyz
Where w,x,y,z<30

Homework Equations



From Scratch

The Attempt at a Solution



So I have [itex] df = xyz\frac{\partial f}{\partial w} + wyz\frac{\partial f}{\partial x} + wxz\frac{\partial f}{\partial y} +wxy\frac{\partial f}{\partial z}[/itex]

I know that

[itex]\frac{\partial f}{\partial w}, \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \& \frac{\partial f}{\partial z} = \frac{1}{2}[/itex]

since the max error when rounding a number is .5.

My question is when solving for the error, would I substitute [itex]w, x, y, \& z[/itex] with 30, or 29.9.

With 30 I get 303*(.2) = 5,400.
With 29.9 I get 29.93*(.2) =5,346.17 -> and I wouldn't know where to round off.

Or is my method wrong already?
 
Last edited:

Answers and Replies

  • #2
lanedance
Homework Helper
3,304
2
your differential isn't quite right
f=wxyz

then
df = xyz.dw + wyz.dx + wxz.dy + wxy.dz

a single partial derivative (excuse the notation) is
df/dw=xyz.1

and you know
dx,dy,dz,dw<=0.5
 
  • #3
HallsofIvy
Science Advisor
Homework Helper
41,833
964
It might help to look at the "relative error"- that is, the error as a fraction or percentage of the actual value.
You have df= xyzdw+ xywdz+ xzwdy+ yzwdx. Dividing by the value, xyzw, gives
[tex]\frac{df}{xyzw}= \frac{dw}{w}+ \frac{dz}{z}+ \frac{dy}{y}+ \frac{dx}{x}[/tex]

You know that x, y, z, and w are all less than 30 so f= xyzw< 810000. You also know that dcx, dy, dz, and dw less than 0.05.
 

Related Threads on Using Differentials to determine maximum possible error

Replies
2
Views
1K
  • Last Post
Replies
9
Views
1K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
2
Views
7K
Replies
4
Views
30K
  • Last Post
Replies
10
Views
3K
  • Last Post
Replies
2
Views
1K
Replies
8
Views
11K
Top