Hello everyone,
I cannot understand this result from a few calculators. Please could somebody explain what is happening.
When I was in High School (more than 35 years ago), I was taught that a decimal power of a negative number is a complex number. Let’s consider (3)^3.6 and look at the result given by a few SCIENTIFIC calculators.
Result1: Math Error.
This result is given by Casio FX82 (very old calculator, bought in 1984), Casio FX 4500PA programmable, Casio FX100AU, HP10s+ and a few more calculators that I tested it on (I see a lot of calculators in my work). These are low end calculators that have no capacity to deal with complex numbers and therefore are indicating that the calculation is beyond their scope. Free42 says “Invalid data” when in “realres” mode, and HP Prime says “undef” also in “real” CAS mode.
Result2: 52.19591521
This result is given by Casio FX82AU (the newish version of the old FX82), and HP300s. While these are of cheaper variety, I was shocked to see this result on Casio Classpad CP400 when in “Real” mode. Interestingly, all these calculators have the ability to display fractions (book view I think they call it). It appears that they are substituting (18/5) for 3.6 and then working out the fifth root of (3)^18. As (3)^18 is positive, the fifth root is a real number. But the point is, why should the calculators overthink and make this substitution in the first place? I didn’t ask for it.
Result3: 16.129449.6413i
Given by HP48gII and HP50g. When in “complex” mode Classpad CP400, HP42s, Free42 (and therefore DM42) give this result. Mathematica gives this answer. WolframAlpha says this is the principal root of (3)^3.6. Wolf then proceeds to give all five roots of (3)^(18/5) if one decides to make the substitution of (18/5) for 3.6. One of the roots is Result2 above. But only if 3.6 is replaced by (18/5).
From what I learnt Result3 is the correct one. But what is happening here? Are some calculators, including Classpad when in “real mode”, giving wrong answers? These many? Or is it that my understanding of numbers is wrong?
Thanks for reading a rather long post. Request comments please.
Regards,
Prasad.
Can't understand this result from a few calculators...
Re: Can't understand this result from a few calculators...
It looks like Result 2 is the real part of the complex number in polar coordinates. That would correspond to the vector magnitude, and the imaginary part not shown is the phase angle.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973.
Re: Can't understand this result from a few calculators...
Thanks for the reply Mike.
Result2 is the modulus (distance from the origin to the vector in the complex plane) of the complex number. As you said correctly the argument of the complex number (which is the angle in the complex plane) is not shown by the calculators. [16.129449.6413i (in rectangular coordinates) is equivalent to a modulus of 52.19591521 and an argument of 72 degrees]. As the result of (3)^3.6 is two dimensional, i.e., comprising both a real part and an imaginary part, I feel it is wrong to show only the modulus and ignore the argument. Some, including Classpad, are making this mistake. The reason for my being so particular about the Classpad is that it is used by all Year 11 and Year 12 Mathematics students here in Western Australia. The students would not know if the calculator is giving them a wrong answer.
I am not sure if I am wrongly saying the calculators are wrong or they are really wrong.
Re: Can't understand this result from a few calculators...
Is it really showing the magnitude (modulus) and not just happening to show the one result that lies on the real axis (when the calculator is in "Real" mode)? I wonder what result the Classpad (in "Real" mode) would show for a negative base raised to an irrational exponent (or as close to irrational as you can get on a fixed precision calculator)? E.g. what would it show for (3)^pi?

 Posts: 8
 Joined: Sun Dec 03, 2017 5:22 pm
Re: Can't understand this result from a few calculators...
Damn, it is a pity those calculators do not give back a partial rectangular coordinate. That way the result would be "really correct".
Re: Can't understand this result from a few calculators...
To answer your question, Classpad (in "Real" mode) says "NonReal in Calc", for (3)^pi (I have checked it again now). It says the same for all irrational powers for a negative number and also for (3)^0.5. Let me clarify.ijabbott wrote: ↑Fri Mar 02, 2018 6:20 pmIs it really showing the magnitude (modulus) and not just happening to show the one result that lies on the real axis (when the calculator is in "Real" mode)? I wonder what result the Classpad (in "Real" mode) would show for a negative base raised to an irrational exponent (or as close to irrational as you can get on a fixed precision calculator)? E.g. what would it show for (3)^pi?
From what I can figure out, Classpad (in "Real" mode) gives a real number answer to a negative number raised to a decimal power when
(a) the decimal power can be replaced with a fraction and
(b) the numerator of the fraction is an even number.
If the above two conditions are not satisfied, Classpad returns "NonReal in Calc".
For example, the answer obtained is 54.13094523 for (5)^2.48. In this, 2.48 could be replaced by 62/25 and the numerator is an even number. The calculator then, it appears, works out the 25th root of (5)^62. However, if you attempt (5)^2.58, you will get "NonReal in Calc". The power 2.58 can be replaced by 129/50. As the numerator is an odd number (5)^129 is negative and the 50th root is a complex number.
Trust the above answers your question.
Re: Can't understand this result from a few calculators...
Yes, that makes sense (certainly, it makes more sense than just returning the absolute value of the complex result!). I just tried it on my FXCG50 PRIZM and it behaves the same as above (not that surprising, really).prasad22 wrote: ↑Sat Mar 03, 2018 1:32 amFrom what I can figure out, Classpad (in "Real" mode) gives a real number answer to a negative number raised to a decimal power when
(a) the decimal power can be replaced with a fraction and
(b) the numerator of the fraction is an even number.
If the above two conditions are not satisfied, Classpad returns "NonReal in Calc".
For example, the answer obtained is 54.13094523 for (5)^2.48. In this, 2.48 could be replaced by 62/25 and the numerator is an even number. The calculator then, it appears, works out the 25th root of (5)^62. However, if you attempt (5)^2.58, you will get "NonReal in Calc". The power 2.58 can be replaced by 129/50. As the numerator is an odd number (5)^129 is negative and the 50th root is a complex number.
Trust the above answers your question.
EDIT
Actually, I think condition (b) is:
(b) the denominator of the (simplified) fraction is an odd number.
Re: Can't understand this result from a few calculators...
Regarding condition (b), I accept. If the denominator is an odd number, then one can do roots of both positive and negative numbers. Thanks for the correction. I was thinking more in the lines that if the numerator is an even number then the exponentiation makes the result positive and then any root of that number is possible.ijabbott wrote: ↑Sat Mar 03, 2018 3:02 am
Yes, that makes sense (certainly, it makes more sense than just returning the absolute value of the complex result!). I just tried it on my FXCG50 PRIZM and it behaves the same as above (not that surprising, really).
EDIT
Actually, I think condition (b) is:
(b) the denominator of the (simplified) fraction is an odd number.
However, what I would like to know is whether substituting (62/25 ) for 2.48 is correct. I feel the calculator should not substitute just because it can.
Re: Can't understand this result from a few calculators...
I think, if 2.48 is either an input or a full result (i.e. not rounded) then it may be replaced by 62/25 and evaluated following the rules of calculus. I didn't look it up but I'd guess that x^(62/25) = (x^62)^(1/25) so this way is legal. The calculator should indicate, however, this being just one (i.e. the real) result of more IMHO.prasad22 wrote: ↑Sat Mar 03, 2018 4:11 amRegarding condition (b), I accept. If the denominator is an odd number, then one can do roots of both positive and negative numbers. Thanks for the correction. I was thinking more in the lines that if the numerator is an even number then the exponentiation makes the result positive and then any root of that number is possible.
However, what I would like to know is whether substituting (62/25 ) for 2.48 is correct. I feel the calculator should not substitute just because it can.
DM42 SN: 00041 β
WP 43S running on this device
HP35, HP45, ..., HP35S, WP 34S & WP 31S for obvious reasons, DM16L
WP 43S running on this device
HP35, HP45, ..., HP35S, WP 34S & WP 31S for obvious reasons, DM16L