7

Consider the real function $x^x$.

I understand that $0^0$ is undefined so $x \neq 0$ but $x$ values like $-1$ and $-2$ have well defined function values (although curiously opposite sign). Why isn't the curve well defined for $x<0$?

Note: the domain that I would like to investigate this function for is x is an element of the real numbers

  • 3
    What about $x=-\frac{1}{2}$? – uniquesolution Jun 21 '17 at 08:10
  • Oh that's true, but can't that just be a point of discontinuity? – Isaac Greene Jun 21 '17 at 08:12
  • 2
    What about $x$ any negative non-integer? – uniquesolution Jun 21 '17 at 08:13
  • x = -1/3? Is that defined? – Isaac Greene Jun 21 '17 at 08:19
  • 1
    You haven't really defined a function until you have specified what its domain is going to be and then explained what its values on every point of that domain should be. In many usual cases you can get away with just giving an expression and leave it to the reader to figure out what domain you had in mind -- but $x^x$ is obviously not one of those, as evidenced by the observable fact that people here disagree about which domain you should have in mind. – hmakholm left over Monica Jun 21 '17 at 08:26
  • As has been mentioned, for negative non-integers it is a complex number, for negative integers it is a real number. For zero it is usually defined as 1. – Anixx Jun 21 '17 at 08:32
  • In fact, it isn't. Please refer to the very interesting https://math.stackexchange.com/questions/394110/can-the-graph-of-xx-have-a-real-valued-plot-below-zero – Michael Hoppe Jun 21 '17 at 13:26

3 Answers3

6

Think about a number of the form $x=-(n+a)$, where $n\geq 1$ is a natural number and ${0<a<1}$. Then $$x^x=(-(n+a))^{-(n+a)}=(-(n+a))^{-n}(-(n+a))^{-a}$$ So if $x^x$ is a real number, then so is $(-(n+a))^{-a}$. But then, there are very many choices of $a$ for which $(-(n+a))^{-a}$ is not real. For example, if $a=1/2$, then this number is not real. There are many other choices, too.

That's why the "natural" domain of $x^x$ does not include negative numbers, although - for a selected subset of them, the values $x^x$ are real valued.

3

$$x^x=\begin{cases} x^x\qquad\text{if } x>0 \\ (-1)^x(-x)^x \quad\text{if } x<0 \end{cases}$$ $(-1)^x=\cos(\pi x)+i\,\sin(\pi x)$ $$x^x=\begin{cases} x^x\qquad\text{if } x>0 \\ \left(\cos(\pi x)+i\,\sin(\pi x)\right)(-x)^x \quad\text{if } x<0 \end{cases}$$ For $x<0$, one can draw separately the real part $\cos(\pi x)(-x)^x$ and the imaginary part $\sin(\pi x)(-x)^x$.

Of course, for $x=-n$ integer, the imaginary part is $0$. The real part is $\cos(\pi x)(-x)^x=\cos(-n\pi)(n)^{-n}=\frac{(-1)^n}{n^n}$. So, the result is real : $$(-n)^{-n}=\frac{(-1)^n}{n^n}$$

JJacquelin
  • 66,221
  • 3
  • 37
  • 87
1

Let's say $x<0$. Then make a change: $x=-y, y>0$ so that your function becomes: $$x^x=(-y)^{-y}=\frac{1}{(-y)^y}.$$

Well, if $y$ is an integer, it is real, but if $y$ is a rational like $\frac{1}{2}$ (or $\frac{2m+1}{2n}$), its value is a complex (unreal) number: $$\frac{1}{(-1/2)^{1/2}}=\frac{1}{(1/2)i}.$$

farruhota
  • 31,482