Math Mystery: Why Is \sqrt{2}^{4} Not 4?

Click For Summary
SUMMARY

The discussion centers on the mathematical expression \(\sqrt{2}^{4}\) and its approximation by calculators, which yields a result of approximately 3.999999999996 instead of the exact value of 4. This discrepancy arises from the finite precision of calculators when evaluating square roots. The conversation highlights that calculators typically use algorithms such as CORDIC for trigonometric functions and pseudo-division for square roots, which can lead to slight inaccuracies in results due to rounding and decimal place limitations.

PREREQUISITES
  • Understanding of square roots and their properties
  • Familiarity with numerical algorithms, specifically CORDIC and pseudo-division
  • Basic knowledge of Taylor series and their applications in numerical computation
  • Concept of finite precision in numerical calculations
NEXT STEPS
  • Research the CORDIC algorithm and its applications in calculators
  • Explore the pseudo-division method for square root calculations
  • Study the implications of finite precision in numerical analysis
  • Learn about Taylor series and their convergence properties in numerical methods
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in numerical methods and the precision of mathematical calculations will benefit from this discussion.

AznBoi
Messages
470
Reaction score
0
Isn't \sqrt{2}^{4} equal to 4?? How come when I plug this into my calculator it gives me the number:3.999999999996 , which is very close to 4 but isn't?? Is there something wrong with the settings of my calculator?
 
Mathematics news on Phys.org
It is 4. This is just the all to do with the way the calculator works it out... If you can try
Pi/6=ans=x
x-x^3/3!+x^5/5!-x^7/7!+x^9/9!...
It would say: .4999999999999999999999999
Instead of .5
 
it is because the calculator evaluates the root function using a taylor series expansion which looks like what above poster wrote out. the calculator approximates the answer
 
Well, the Taylor series are not used by pocket calculators or microprocessors for calculating trigonometric function or other elementary functions. But, indeed, any numerical calclation has a finite precision.

For trigonometric functions, the CORDIC algorithm is mostly used: http://en.wikipedia.org/wiki/CORDIC .
For the square root, a generalisation of the same algorithm can also be used.
But the most used algorithm for the square root seems to be the "pseudo-division": http://www.jacques-laporte.org/Meggitt_62.pdf .

Of course, the Taylor series has numerous applications, including for numerical computation of some functions. But very often for numerical application the convergence can be improved by using other more specific methods. A famous book by http://www.math.sfu.ca/~cbm/aands/" give many of these methods.
 
Last edited by a moderator:
It doesn't matter what method the calculator uses to evaluate square roots.

The reason is that the calculator only works out sqrt(2) to a finite number of decimal places. When you raise that approximate value to the fourth power, it does not equal 4 exactly.

Sqrt(2) = 1.41421...

If you calculator only stored numbers to 3 decimal places, 1.414^4 = 3.9976...
To 4 decimal places, 1.4142^4 = 3.9998...
etc.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 14 ·
Replies
14
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K