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

  • Context: Undergrad 
  • Thread starter Thread starter eric.l
  • Start date Start date
  • Tags Tags
    Error Phi Psi
Click For Summary
SUMMARY

The discussion centers on the 'ERR: Nonreal Ans' error encountered when calculating negative bases raised to non-integer exponents, specifically with the expressions Ψ^Φ and (-√5)^(√5). The error arises because powers of negative numbers are not well-defined in the real number system when using non-integer exponents. The conversation highlights the necessity of the complex number system to handle such cases, where expressions like (-1)^(1/2) and (-√5)^(√5) yield complex results. Tools like Wolfram Alpha can be utilized for further exploration of these mathematical concepts.

PREREQUISITES
  • Understanding of real and complex number systems
  • Familiarity with exponentiation and its properties
  • Basic knowledge of mathematical functions and their definitions
  • Experience with computational tools like Wolfram Alpha
NEXT STEPS
  • Explore the properties of complex numbers and their applications
  • Learn about the definition and implications of non-integer exponents
  • Investigate the use of Wolfram Alpha for complex calculations
  • Study the differences between real and complex exponentiation
USEFUL FOR

Mathematicians, educators, students in advanced mathematics, and anyone interested in understanding complex numbers and exponentiation of negative bases.

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!
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
6K
  • · Replies 5 ·
Replies
5
Views
89K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K