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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
AznBoi
Messages
470
Reaction score
0
Isn't [tex]\sqrt{2}^{4}[/tex] 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.