Understanding the 'ERR: Nonreal Ans' Error with Psi and Phi

  • Thread starter Thread starter eric.l
  • Start date Start date
  • Tags Tags
    Error Phi Psi
Click For Summary
The discussion centers on the mathematical error "ERR: Nonreal Ans" encountered when calculating Ψ^Φ, where Ψ and Φ are the golden ratio constants. This error arises because powers of negative numbers with non-integer exponents are not defined in the real number system. While integer exponents can yield real results, non-integer exponents lead to undefined outcomes, such as (-1)^{1/2} or (-√5)^{√5}. The conversation highlights that extending to the complex number system allows for the definition of these expressions, resulting in complex numbers rather than imaginary ones. Understanding this distinction clarifies why certain calculations yield errors in the real number framework.
eric.l
Messages
5
Reaction score
0
I just had a question involving both psi and phi. I know that:

Ψ= (1-√5)/2 = -0.618033989...
Φ= (1+√5)/2 = 1.618033989...

And out of boredom, I decided to put into my calculator:
(Φ^Ψ) = 0.7427429446...

But my question rose from there: What happens if you do (Ψ^Φ)? I plugged it in and got ERR:Nonreal Ans and couldn't distinguish why that had happened. So, I went to my math teacher and he had no idea. I then went to my statistics teacher and he had said the only way he could see an error was some sort of correlation involving squaring a negative number, which may have some similarity with taking the square root of a negative number as well. To see if he was right, I tested:

(-√(5))^(√(5))

To get the same error. My question is, why does this happen and what exactly is this error?
 
Mathematics news on Phys.org
Powers of negative numbers are not well-defined in the real number system.

Basically, we can make sense of (-1)^2, ~(-1)^3 and others, but that is only for integer exponents!

Once we come to non-integer exponents, then things stop being defined. Things like (-1)^{1/2} or (-1)^\pi are not defined anymore. This is sharp contrast with powers of positive numbers!

Of course, it is possible to extend the real number system to define expressions such as the above. This extension is called the complex number system. Things like (-1)^{1/2}, (-1)^\pi or (-\sqrt{5})^{\sqrt{5}} are defined there. They are complex numbers, but not imaginary.

If you want to play around with complex numbers and powers of negative numbers, you can always check wolfram alpha.
 
micromass said:
Powers of negative numbers are not well-defined in the real number system.

Basically, we can make sense of (-1)^2, ~(-1)^3 and others, but that is only for integer exponents!

Once we come to non-integer exponents, then things stop being defined. Things like (-1)^{1/2} or (-1)^\pi are not defined anymore. This is sharp contrast with powers of positive numbers!

Of course, it is possible to extend the real number system to define expressions such as the above. This extension is called the complex number system. Things like (-1)^{1/2}, (-1)^\pi or (-\sqrt{5})^{\sqrt{5}} are defined there. They are complex numbers, but not imaginary.

If you want to play around with complex numbers and powers of negative numbers, you can always check wolfram alpha.

Definitely makes more sense with an explanation rather than a simple inference, thank you so much!
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 26 ·
Replies
26
Views
2K
Replies
8
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 22 ·
Replies
22
Views
5K
Replies
3
Views
2K
Replies
5
Views
3K
Replies
2
Views
2K