A section of Laboratory Project: An Elusive Limit: the full video with all its notes is on that page.
Notes: An Elusive Limit Question 6: Subtracting Nearly Identical Numbers can BREAK Calculators!
Written notes — from Laboratory Project: An Elusive Limit.
Question 6
In view of the answers to Questions 4 and 5, how do you explain the results in Questions 1 and 2?
Solution to Question 6
The strange results (with only 10 to 17 digits of precision) from Question 1 and 2 must be due to the fact that the terms being subtracted in the numerator and denominator are very close in value when |x| is small.
Thus, the differences are imprecise (have few correct digits).
We can see this is the case by comparing the graphs of the terms in the numerator as well as comparing the terms in the denominator.
When we zoom in near x = 0 we see that the values of the terms are almost identical and to any level of zoom we get to.
https://www.desmos.com/calculator/vhwpqsail1





Thus, the terms themselves are near identical when zooming in beyond even the level of precision of most calculators.
To illustrate what this means, consider the following calculations of 10 digits of precision:
Division:
Exact:
0.000012345279 ÷ 0.000012345111 = 1.000013608626
Calculator:
0.000012345 ÷ 0.000012345 = 1.000000000
Difference: Exact:
0.000012345279 - 0.000012345111 = 0.000000000168
Calculator:
0.000012345 - 0.000012345 = 0.000000000
And dividing differences that are rounded to 0 is undefined, i.e. get the indeterminate form 0/0.
#InterestingStuff
- Watch on: YouTube · Telegram
- Full video and written notes: Laboratory Project: An Elusive Limit
- Sections playlist: Laboratory Project: An Elusive Limit (YouTube)
- More: Infinite Sequences and Series · mes.fm/math
Notes originally posted on the Hive blockchain →

