how do we know that there is a subtraction of two close numbers thus making loss of significance?

there is no close numbers there is variable X

it could give use a close result or otherwise

and why multiplying and dividing by

makes it go away?

Printable View

- March 29th 2010, 09:52 AMtransgalacticnumerical analisys close numbers question..

how do we know that there is a subtraction of two close numbers thus making loss of significance?

there is no close numbers there is variable X

it could give use a close result or otherwise

and why multiplying and dividing by

makes it go away? - March 29th 2010, 12:11 PMHallsofIvy
I presume this means for x close to 0. For example, if x= 0.001, . If you are rounding to, say, 6 decimal places, That would be just 0. As for multiplying and dividing by the result, of course, will be the same but I presume that this is talking about it being some intermediate result in a further calculation- where the " " you would get in the numerator will be canceled.

- March 29th 2010, 11:18 PMtransgalactic
we get x^2 in the nominator

and a sum in the denominator

now there is some stuff about relative error

but i dont know what? - March 30th 2010, 03:19 PMawkward
I think you have already figured out that

The point of the exercise is that in this form the value can be computed without the catastrophic loss of significant figures that occurs in the original computation when x is small due to the subtraction of two almost-equal numbers.

Or, to put it another way, No Subtraction!