Why is (-1)^(2/3) undefined on calculators?

  • Thread starter RichardParker
  • Start date
In summary, Paul's notes say that a^(m/n)= (a^m)^(1/n) = (a^1/n)^m. However, if a, m, and n are integers then (-1)^(2/3) must be an element of the set of real numbers.
  • #1
RichardParker
23
0
My hand-held calculator (as well as GraphCalc and Wolfram) registers DOMAIN ERROR whenever I try to input this.

Paul's notes (http://tutorial.math.lamar.edu/pdf/Algebra_Cheat_Sheet.pdf) says that

a^(m/n)= (a^m)^(1/n) = (a^1/n)^m
However it does not define what set of numbers does a, m, and n represents.

With a, m, n as integers, it follows that

(-1)^(2/3) = ((-1)^2)^(1/3) = (1)^(1/3) = 1

or

(-1)^(2/3) = ((-1)^1/3)^(2) = (-1)^(2) = 1

Hence if a, m, and n are integers then (-1)^(2/3) must be an element of the set of real numbers. What am I missing?
 
Last edited:
Physics news on Phys.org
  • #2
Well,defining -1=ei pi, we can see that

[tex]-1 = e^{\frac{2 i \pi}{3}}[/tex]

And this is the imaginary number...

[tex]-\frac{1}{2} + i \frac{\sqrt{3}}{2}[/tex]

Which isn't in the domain your calculator is used to using. There should be a setting somewhere to allow imaginaries of the form a+bi.
 
  • #3
There are three different numbers whose cube is -1. They are:

[tex]\frac{1}{2} + i\frac{\sqrt{3}}{2}[/tex]
[tex]-1[/tex]
[tex]\frac{1}{2} - i\frac{\sqrt{3}}{2}[/tex]

Thus

[tex](-1)^{1/3}[/tex]

can be any of these. Furthermore, the first one listed above is the "principal value", which is what a calculator (or, e.g., Matlab) will return if it supports complex numbers.

If your calculator does not support complex numbers, then it will probably choke. Mine (Microsoft Windows built-in calculator) can't do it either.
 
  • #4
Probably your calculator is doing a^b by exp (b ln(a)) and ln(a) is not defined for a negative.
 
  • #5
There's also a few interesting issues with taking roots of negative numbers.

Consider this:

[tex]-1 = (-1)^{\frac 2 2} = ((-1)^2)^{\frac 1 2} = 1^{\frac 1 2} = 1[/tex]

(Just another proof that -1 = 1 :wink:)
 
  • #6
RichardParker said:
My hand-held calculator (as well as GraphCalc and Wolfram) registers DOMAIN ERROR whenever I try to input this.

Paul's notes (http://tutorial.math.lamar.edu/pdf/Algebra_Cheat_Sheet.pdf) says that

a^(m/n)= (a^m)^(1/n) = (a^1/n)^m
However it does not define what set of numbers does a, m, and n represents.

With a, m, n as integers, it follows that

(-1)^(2/3) = ((-1)^2)^(1/3) = (1)^(1/3) = 1

or

(-1)^(2/3) = ((-1)^1/3)^(2) = (-1)^(2) = 1

Hence if a, m, and n are integers then (-1)^(2/3) must be an element of the set of real numbers. What am I missing?
I don't see anything wrong in what you did.
 
  • #7
Mark44 said:
I don't see anything wrong in what you did.

It's valid, but it is only one of three possible answers.

The other two are

[tex]e^{\pm i 2 \pi / 3}[/tex]

Matlab, for example, gives

>> (-1)^(2/3)

ans =

-0.5 + 0.866025403784439i
 
  • #8
Mark44 said:
I don't see anything wrong in what you did.

I concur.
When constrained to how powers are defined for the set of real numbers the OP's calculation is correct.

EDIT: I have to add that your cheat sheet makes no mention of a constraint to real numbers, nor of the extra rules that apply when using fractional powers on negative numbers.
See this section of the wikipedia page for an explanation: http://en.wikipedia.org/wiki/Exponentiation#Real_powers_of_positive_numbers
 
Last edited:
  • #9
I thought about this a bit more in the context of calculators that can only handle real numbers. The problem is that if you perturb the problem even slightly, there might not be any real solutions.

And it can't just check them all to see if one happens to be real: for an irrational exponent, there are a countably infinite number of complex solutions, and none of them are real. Now it's true that every number representable in a calculator is rational, but in lowest terms it might have a huge denominator, and the denominator controls how many complex answers there are.

So while the calculator can in principle calculate the one real-valued root

[tex](-1)^{2/3} = -1[/tex]

there's generally nothing it can do with

[tex](-1)^{(2/3 + \epsilon)}[/tex]

and it cannot know that you have given it an exponent of the form m/n (with small n). In fact, you have not done so in this case, since 2/3 can't be expressed exactly with a finite number of binary digits.
 
Last edited:
  • #10
There are actually several different exponentiation functions (though they usually have the same value in the situations where more than one makes sense).

The real number exponentiation operation is only defined for positive bases. Period. Even [itex](-1)^1[/itex] is undefined.

Another common exponentiation operation is defined for any integer exponent. With this operation, [itex](-1)^1[/itex] is defined. (But [itex]2^{1/2}[/itex] is not defined)

Another operation that is sometimes convenient is to allow any positive base with any exponent, and any base with any rational exponent of odd denominator -- this is taking advantage of the fact that, if n is odd, then any real number has a unique n-th root.


Complex exponentiation is also often used, and has the advantage of being defined for any nonzero base. However, it is a multi-valued function. Generally when it is used the principal branch is meant. In this case, the principal branch is [itex](-1)^{2/3} = -\frac{1}{2} + \frac{\sqrt{3}}{2} i[/itex].
 
  • #11
RichardParker said:
What am I missing?
It depends on how you try to calculate the answer because of the various definitions of exponentiation, as Hurkyl described.

If your calculator has a built-in cube root function, you can get an answer by taking the cube root of -1 and then squaring the result or vice versa. This takes advantage of the fact that all real numbers have a real cube root. On the other hand, if you calculate the exponent first and then try taking -1 to that power, it probably doesn't work because the calculator resorts to using real number exponentiation.

Some calculators are smart enough to look at the exponent and then use the appropriate method to get an answer. Some will even keep track of the fact your calculated exponent is a rational number.
 
  • #12
I see. I am not familiar with the exponential function yet, so I only know of one method of exponentiation.

Thanks everyone.
 
  • #13
RichardParker said:
My hand-held calculator (as well as GraphCalc and Wolfram) registers DOMAIN ERROR whenever I try to input this.

Paul's notes (http://tutorial.math.lamar.edu/pdf/Algebra_Cheat_Sheet.pdf) says that

a^(m/n)= (a^m)^(1/n) = (a^1/n)^m
However it does not define what set of numbers does a, m, and n represents.

With a, m, n as integers, it follows that

(-1)^(2/3) = ((-1)^2)^(1/3) = (1)^(1/3) = 1

or

(-1)^(2/3) = ((-1)^1/3)^(2) = (-1)^(2) = 1

Hence if a, m, and n are integers then (-1)^(2/3) must be an element of the set of real numbers. What am I missing?

You must be careful: things like a^(m/n) = (a^m)^(1/n) = (a^(1/n))^m are true for integer m, n and for *positive* a. However, they may be false for a < 0, depending on the values of m and n. In fact, for a = -1, m = 2 and n = 3, they *are* false!

RGV
 
  • #14
I think your calculator maybe having trouble taking the root of a negative number?
 

1. Why is (-1)^(2/3) undefined?

The number (-1) raised to any fractional exponent will result in an imaginary number. This means that the number cannot be represented on the real number line and is therefore considered undefined.

2. Can (-1)^(2/3) be simplified?

No, (-1)^(2/3) cannot be simplified as it is already in its simplest form. The result cannot be represented as a real number, so it cannot be further simplified.

3. Is there a way to make (-1)^(2/3) defined?

No, (-1)^(2/3) cannot be defined as a real number. However, it can be expressed in terms of imaginary numbers as (-1)^(2/3) = (1/2 + i√3/2), where i is the imaginary unit.

4. Why is (-1)^(2/3) different from (-1)^2 or (-1)^3?

When a negative number is raised to an even power, the result is always positive. However, when a negative number is raised to an odd power, the result will be negative. In the case of (-1)^(2/3), the fraction exponent makes it impossible for the result to be either positive or negative, resulting in an imaginary number.

5. What is the practical significance of (-1)^(2/3) being undefined?

The practical significance of (-1)^(2/3) being undefined is that it cannot be used in real-life situations or practical applications. It is a mathematical concept that has no physical representation and is only used in theoretical calculations.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
899
  • Precalculus Mathematics Homework Help
Replies
6
Views
830
  • Precalculus Mathematics Homework Help
Replies
1
Views
885
  • Calculus and Beyond Homework Help
Replies
20
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
276
  • Precalculus Mathematics Homework Help
Replies
3
Views
878
  • Calculus and Beyond Homework Help
Replies
1
Views
514
Back
Top