Why 8 Decimal Places? The Surprising Reason Behind Finite Numbers in Roots

  • Context: High School 
  • Thread starter Thread starter trini
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the phenomenon of calculators displaying results of root calculations, such as √2 + √3, with a consistent precision of 8 decimal places (dp). This is attributed to the internal format and precision limitations of calculators, which often store results at higher precision but only display an 8-digit mantissa. The conversation highlights that while the roots themselves are infinite, the finite representation is a result of practical design choices in calculators, which prioritize usability over theoretical accuracy.

PREREQUISITES
  • Understanding of floating-point representation in computing
  • Basic knowledge of mathematical roots and their properties
  • Familiarity with precision and mantissa in numerical calculations
  • Awareness of the limitations of calculators in theoretical mathematics
NEXT STEPS
  • Research floating-point representation in programming languages like Python or C++
  • Explore the concept of numerical precision and its impact on calculations
  • Learn about the differences between integer and floating-point data types
  • Investigate the design principles of calculators and their applications in real-world scenarios
USEFUL FOR

Mathematicians, software developers, educators, and anyone interested in the practical applications of numerical precision in calculators and computing.

trini
Messages
216
Reaction score
1
Ok so I'm playing around with my claculator the other day and i realize that sometimes when you play around with roots(for example root 2 +root 3) you get finite numbers, and these numbers are always 8 dp long. Is there some reason for this? here are a few examples:

root 2 + root 3 = 3.14626437
root 6 x root 8 = 6.92820323
root 3 + root 6 = 4.18154055
root 2 + root 5 = 3.65028154

just to name a few. considering that individually all these roots are infinite, how do they always condense to 8 dp finite numbers?
 
Physics news on Phys.org
ok so they're not actually finite, just a result of internal approximations?
 
trini said:
Ok so I'm playing around with my claculator the other day and i realize that sometimes when you play around with roots(for example root 2 +root 3) you get finite numbers, and these numbers are always 8 dp long. Is there some reason for this? here are a few examples:

root 2 + root 3 = 3.14626437
root 6 x root 8 = 6.92820323
root 3 + root 6 = 4.18154055
root 2 + root 5 = 3.65028154

just to name a few. considering that individually all these roots are infinite, how do they always condense to 8 dp finite numbers?


There could be a couple of reasons for that.

Reason 1: The calculator stores results at higher precision but only displays an 8 digit mantissa.

Reason 2: That is the precision that the calculator uses.

To understand precision, you have to understand that integers have a certain range. For instance, an unsigned 8 bit integer has a range of 0 to 2^8. An eight bit signed float has a greater range, but it must sacrifice precision in the mantissa to store values in the exponent.

For instance, if you have a 16 bit number, the range of 0- 10^99 in the floating point digit takes a maximum of seven bits, one bit needs to be used for the sign bit, and the other eight bits can be used to store for the precision of the value, which would limit you to 2^8=256, or effectively, two digit precision. So then your answer to the square root of two might be 1.4.
 
trini said:
ok so they're not actually finite, just a result of internal approximations?

Bullseye.
 
It would take the calculator an infinite amount of time to calculate an infinite amount of digits - and what practical purpose would that serve?

Calculators aren't designed for deep theoretical stuff. They are for real world operations - carpenters measuring wood to cut, architects, navigators calculating an airplane's course, and so on. Those tasks are unlikely to have measurements or observations that are accurate to eight digits, so such accuracy isn't necessary.

And it is assumed that any good craftsman understands the limits of his tools.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K