Prove Injectivity of x^x Function?

  • Thread starter Izzhov
  • Start date
  • Tags
    Injective
In summary: So would it just be classified as a miscellaneous transcendental function?In summary, the function f(x) = x^x is not injective as it has a minimum at 1/e and is either constant or increasing and decreasing at different points on the interval (0,1). It can be classified as a transcendental function, but not as an exponential function as it does not fit the definition of raising a constant to a variable power.
  • #1
Izzhov
121
0
I have recently taken great interest in studying the properties of the function [tex] f(x) = x^x [/tex], and I was wondering: is there any way to prove whether [tex] f(x) = x^x [/tex] is an injective (i.e. one-to-one) function? I realize that if I can prove that if the inverse of [tex] f(x) = x^x [/tex] is also a function, then [tex] f(x) = x^x [/tex] is injective. The problem is: [tex] f^{-1}(x) [/tex] is non-algebraic, so I can't figure out whether it's a function or not. Does anyone know another way to prove whether or not [tex] f(x) = x^x [/tex] is injective?

NOTE: The domain of this function is real numbers.
 
Last edited:
Mathematics news on Phys.org
  • #2
I suppose you are focusing on the interval x > 0, or else the function is distincontinuous. This said, the interval that poses a difficulty is 0<x<1, as it is very simple to show that if x is greater or equal to one, x^x is monotincally increasing. A quick computation with Excel suggests that the function has a minima on the interval on the interval [0, 1]. This value would obviously be 1/e since it's the only solution to the equation

[tex] {x^{x}}^{'} = {e^{x ln x}}^{'} = x^{x} (1 + ln x) = 0 [/tex]

Now we have simplified the question; is x monotonically decreasing on the interval [0, 1/e] and is it montonically increasing on the interval [1/e, 1]? I haven't got much time now so I won't be able to investigate this as I would like, but you can work in that direction.
 
Last edited:
  • #3
It is not injective. You can prove this by counterexample: f(1/4)=f(1/2).
 
  • #4
Manchot said:
It is not injective. You can prove this by counterexample: f(1/4)=f(1/2).

Not only that, but I would go so far as to say that all values between 1/e^1/e and 1 are not injective, even though I haven't really tried to prove it by seeing if the function x^x is made of "monotonic pieces" or not.
 
Last edited:
  • #5
Clearly [itex]1^1 = 1[/itex]. You can easily see that [itex]x^x[/itex] is differentiable for x>0 and that

[tex]\lim_{x \rightarrow 0^+} x^x = 1.[/tex]

So, the MVT (or, more appropriately, Rolle's theorem, to see that there's a max or min) tells you that it's impossible for [itex]x^x[/itex] to be injective on the positive reals (and thus on the reals).
 
Last edited:
  • #6
Data said:
Clearly [itex]1^1 = 1[/itex]. You can easily see that [itex]x^x[/itex] is differentiable for x>0 and that

[tex]\lim_{x \rightarrow 0^+} x^x = 1.[/tex]

So, the MVT (or, more appropriately, Rolle's theorem, to see that there's a max or min) tells you that it's impossible for [itex]x^x[/itex] to be injective on the positive reals (and thus on the reals).

But this involves that the function is monotonic on the intervals [0,1/e] and [1/e, 1], something that has to be proven. Also this can't be shown with ways of the derivative because the derivative involves the function itself...
 
Last edited:
  • #7
Werg22 said:
But this involves that the function is montonic on the intervals [0,1/e] and [1/e, 1], something that has to be proven.

what do you need to prove it? that there is a unique minimum and it is at 1/e?
 
  • #8
While we're on the subject of this function, I have another question: exactly what kind of function is [tex]x^x[/tex], anyway? It's transcendental, but would it be considered exponential? When I looked up exponential function on Wikipedia, it said an exponential function is one that raises a constant to a variable power, which is not the case with [tex]x^x[/tex]. So would it just be classified as a miscellaneous transcendental function?
 
  • #9
rbj said:
what do you need to prove it? that there is a unique minimum and it is at 1/e?

No, that's not it. I'm wondering if we have the condition [tex]0<x<x_{2}<1/e[/tex], then

[tex] x^x > x_{2} ^ {x_{2}} [/tex]

As of now, I do not see this as a certainty. The function is continuous on the interval, yes, but I am not sure if it's monotonic (the fact that there is only 1 minimum does not exclude the possibility of non-monotonicity). Maybe I'm not thinking right, so I am open to correction.
 
Last edited:
  • #10
Werg22 said:
No, that's not it. I'm wondering if we have the condition [tex]0<x<x_{2}<1/e[/tex], then

[tex] x^x > x_{2} ^ {x_{2}} [/tex]

As of now, I do not see this as a certainty. The function is continuous on the interval, yes, but I am not sure if it's monotonic (the fact that there is only 1 minimum does not exclude the possibility of non-monotonicity). Maybe I'm not thinking right, so I am open to correction.

it's because [itex] f(x) = x^x [/itex] and all derivatives are continuous for all x>0 and, with only one place where the derivative is zero (at 1/e) and that for 0<x<1/e, the derivative is negative. if the function is continuous in that region and if the derivative is defined and negative in that region, then it must be strictly decreasing in that region. that should prove it sufficiently.
 
  • #11
Werg22 said:
But this involves that the function is monotonic on the intervals [0,1/e] and [1/e, 1], something that has to be proven. Also this can't be shown with ways of the derivative because the derivative involves the function itself...

Monotonicity on any interval is not necessary: Any real function, continuous on [a,b] (with a<b), is injective on domain [a,b] iff it is either strictly increasing or strictly decreasing on (a,b).

In this case, [itex]f(x) = x^x[/itex] has f(0) = f(1), is continuous on [0,1] and is differentiable on (0,1). Rolle's theorem says there's a point with derivative 0 in between, and it's easy to see that this implies f is either constant or increasing at some points and decreasing at others on (0,1). In any case f isn't strictly decreasing or strictly increasing on [0,1], so f can't be injective.

Izzhov said:
While we're on the subject of this function, I have another question: exactly what kind of function is LaTeX graphic is being generated. Reload this page in a moment., anyway? It's transcendental, but would it be considered exponential? When I looked up exponential function on Wikipedia, it said an exponential function is one that raises a constant to a variable power, which is not the case with LaTeX graphic is being generated. Reload this page in a moment.. So would it just be classified as a miscellaneous transcendental function?

It's not any standard form, so "misc. transcendental function" is good enough for me! Some people will refer to it as a "power tower of order 2," or a "tetration." You could also describe it as the composition of an exponential and [itex]x\log x[/itex].
 
Last edited:
  • #12
Monotonicity on any interval is not necessary: Any real function, continuous on [a,b] (with a<b), is injective on domain [a,b] iff it is either strictly increasing or strictly decreasing on (a,b).

That's what was bothering me exactly! I wasn't sure the function was piecewise in in terms of monotonicity (I wasn't sure if there is an "infinite" number of oscillations on the interval or not) as I wasn't realizing that this condition is assured by the fact that [tex]x(1 + log x)[/tex] is strictly negative for x inferior to 1/e and positive for x superior to 1/e (thanks rbj)
 
Last edited:
  • #13
Yeah, but you don't need to worry about the explicit derivative at all. All you need to know is that it is either always zero or sometimes negative and sometimes positive (we don't care where). :smile:

Furthermore, the simple fact that f(0) = f(1) is enough to show non-injectiveness on the reals. To show non-injectiveness on the positive reals requires a little bit of argument (as posted above).
 
Last edited:
  • #14
Well, I understand now that it is non-injective on positive real numbers. I believe, however, that [tex]x^x[/tex] is injective on negative integers. I'm not sure how you could go about proving it, though, seeing as it's not really a continuous function in that domain...
 
  • #15
It's injective on the positive integers, you don't need the function to be continuous to define injectivity/surjectivity, only consider the images/preimages of the mapping (it's a well defined notion on discrete sets).

[tex]n^{n}[/tex] is clearly increasing as integer n does, [tex]n^{n} < (n+1)^{n}[/tex] for n>0. Therefore [tex](n^{n})^{-1} = n^{-n}[/tex] is strictly decreasing as n increases, so no equalities for [tex]m\not= n[/tex]. Then considering [tex](-n)^{-n} = (-1)^{-n}n^{-n}[/tex] so you just get an oscillating pattern. Since [tex]|(-n)^{-n}| \not= |(-m)^{-m}|[/tex] by the strictly decreasing nature of [tex]n^{-n}[/tex], then the alternating sign of the sequence doesn't give equality either. Therefore [tex](-n)^{-n} \not= (-m)^{-m} \quad \forall n \not= m[/tex].
 
  • #16
Just something bugging me...f(0) doesn't equal f(1). f isn't defined at 0.
 
  • #17
I am using the (often ill-advised, in the context of analysis) definition [itex]0^0 = 1[/itex]. In general there's no definition for [itex]0^0[/itex] (many many combinatorial and series identities necessitate the definition [itex]0^0 = 1[/itex] - but in analysis it usually makes more sense to leave it undefined and remove point discontinuities piecewisely).

It's inconsequential in this case, as [itex]\lim_{x \rightarrow 0^+} x^x = 1[/itex] (which is what I used originally, and avoids the confusion) and the argument still works (this is of course why I later went ahead and used the convention [itex]0^0 = 1[/itex] heedless of any possible difficulties. [itex]0^0=1[/itex] makes this particular function continuous on the closed interval [0,1]).
 
Last edited:
  • #18
lets take the derivative. we get x^x= e^[xln(x)] so the deriv is [x^x][ln(x) +1].

now x^x is always positive for positive x, and ln(x) + 1 is positive whenever ln(x) > -1, i.e. for x > 1/e.

thusm x^x is strictly monotone increasing for x in the interval [ 1/e, infinity).

moreover, on (0,1/e) for the same reason it is strictly decreasing.

so it is not injective on R+, but is injective on each of the two intervals where it is monotone.

it is of course not even defined on many negative numbers like -1/2, since the square root of -1/2 is undefined.
 
  • #19
Mystic998 said:
Just something bugging me...f(0) doesn't equal f(1). f isn't defined at 0.

For a function to be continuous at a point we need it not to be defined, but only that the limit of the function as x goes to a is a real number. This because continuity is assured if we define the value of the function at that point as the limit in question - Data's argument holds.
 
  • #20
Izzhov said:
While we're on the subject of this function, I have another question: exactly what kind of function is [tex]x^x[/tex], anyway? It's transcendental, but would it be considered exponential? When I looked up exponential function on Wikipedia, it said an exponential function is one that raises a constant to a variable power, which is not the case with [tex]x^x[/tex]. So would it just be classified as a miscellaneous transcendental function?
i think this function is exponentialo-power, i do not know if my naming is right, but it is how to say it an exponential and a power function meanwhile.

it is like this the general form:

[u(x)]^v(x)

sorry data allready explained this, i did not read through all threads.
 
Last edited:
  • #21
AlphaNumeric said:
It's injective on the positive integers, you don't need the function to be continuous to define injectivity/surjectivity, only consider the images/preimages of the mapping (it's a well defined notion on discrete sets).

[tex]n^{n}[/tex] is clearly increasing as integer n does, [tex]n^{n} < (n+1)^{n}[/tex] for n>0. Therefore [tex](n^{n})^{-1} = n^{-n}[/tex] is strictly decreasing as n increases, so no equalities for [tex]m\not= n[/tex]. Then considering [tex](-n)^{-n} = (-1)^{-n}n^{-n}[/tex] so you just get an oscillating pattern. Since [tex]|(-n)^{-n}| \not= |(-m)^{-m}|[/tex] by the strictly decreasing nature of [tex]n^{-n}[/tex], then the alternating sign of the sequence doesn't give equality either. Therefore [tex](-n)^{-n} \not= (-m)^{-m} \quad \forall n \not= m[/tex].

I was asking about negative integers, not positive ones.
 
  • #22
On the negative integers [itex]x^x[/itex] is certainly injective, since for n,m natural

[tex]\frac{(-1)^n}{n^n} = \frac{(-1)^m}{m^m}[/tex]iff m=n.

(in fact injectiveness on the positive integers implies injectiveness on the negative integers in this case, since if [itex]f(x) = x^x[/itex] then for integers n, [itex]f(-n) = (-1)^n/f(n)[/itex])
 
Last edited:
  • #23
Izzhov said:
I was asking about negative integers, not positive ones.
That's easy.
Extend your considerations to complex function [itex]f(z)=z^z;z\in\mathbb{C}[/itex] and have a party.
 
  • #24
Izzhov said:
I was asking about negative integers, not positive ones.
I know, hence why a bunch of minus signs are in my post. I was showing that because the function is injective for the positive integers by obviousness, you can see that it's also injective for the negative integers by putting in minus signs to make it about the negative integers.

Please actually read my post.
 
  • #25
Data said:
Clearly [itex]1^1 = 1[/itex]. You can easily see that [itex]x^x[/itex] is differentiable for x>0 and that

[tex]\lim_{x \rightarrow 0^+} x^x = 1.[/tex]

So, the MVT (or, more appropriately, Rolle's theorem, to see that there's a max or min) tells you that it's impossible for [itex]x^x[/itex] to be injective on the positive reals (and thus on the reals).

I am sorry, but I can not prove lim(x^x) =1 when x approaches +0. Can you help?
 
  • #26
Werg22 said:
For a function to be continuous at a point we need it not to be defined, but only that the limit of the function as x goes to a is a real number. This because continuity is assured if we define the value of the function at that point as the limit in question - Data's argument holds.

In order that a function be continuous at a point we do need it to be defined: that's part of the definition of "continuous". What you mean to say is that if the limit at that point exists, then it has a removable discontinuity- and we can make it into a continuous function by defining it to be equal to the limit at that point. However, when you have done that you have a new function that is continuous at the point.
 
  • #27
pixel01 said:
I am sorry, but I can not prove lim(x^x) =1 when x approaches +0. Can you help?

Well, [itex]x^x = e^{x\ln x}[/itex], so it suffices to look at

[tex]\lim_{x \rightarrow 0^+}{x \ln x} = \lim_{x \rightarrow 0^+}\frac{\ln x}{\frac{1}{x}};[/tex]

Apply l'Hopital.
 
  • #28
Data said:
Well, [itex]x^x = e^{x\ln x}[/itex], so it suffices to look at

[tex]\lim_{x \rightarrow 0^+}{x \ln x} = \lim_{x \rightarrow 0^+}\frac{\ln x}{\frac{1}{x}};[/tex]

Apply l'Hopital.

Thanks Data. It's so simple but great.
 
  • #29
Izzhov said:
While we're on the subject of this function, I have another question: exactly what kind of function is [tex]x^x[/tex], anyway? It's transcendental, but would it be considered exponential? When I looked up exponential function on Wikipedia, it said an exponential function is one that raises a constant to a variable power, which is not the case with [tex]x^x[/tex]. So would it just be classified as a miscellaneous transcendental function?
No,xx is not really exponential function.
ex is exponential and transcendental function,but is classified as elementar function.
OTOH,xx is trancendental,but nonelementar one.
"Miscellanous transcendental" function ?What does that mean?
Anyway,I think it's a beautiful function with many interesting features..

Important property is (that nobody mentioned) it is a convex function over the whole interval of its' definition ( means that it's graph curve may have only 1 or 0 extremes).Of course,in this case it's one point of minimum at x0=1/e.
But consider it's inverted syster :function (x-1)x-1 .It's also convex ,and defined over the same interval.But ,it has no stationary points.Prove that.
There are more interesting things like inequality [itex]x^x\geq x[/itex] holds for x>0 .Equality occurs only for x=1.
Therefore the graph curve of the function f(x)=xx ,in Kartesian plane,is located "above" line y=x.
f'(1)=1 means that in point (1,1) tangent slope on the graph is exactly 45°.That's also interesting ,isn't it?
 
  • #30
an elementary function is usually defined to be one obtained from the field of rational functions by adjoining algebraic elements, and also exponentials and logarithms of functions already obtained.

In this sense, x and log(x) are both elementary, and hence so is the exponential of their product, i.e. in that sense, e^(xln(x)) = x^x is an elementary function.see e.g. the article in the math monthly from 1972, on integration in finite terms, by maxwell rosenlicht.
 
  • #31
mathwonk,this is strange to me ,but if that's really definition you're right (thank you!).
composition of standard elementary functions x,e^x,and ln(x) creates xx.Indeed,I thought elementary functions were those obtainable from standard elementary functions only by means of finite number of arithmetical operations (+,-,*,:) among them.
 
  • #32
tehno said:
mathwonk,this is strange to me ,but if that's really definition you're right (thank you!).
composition of standard elementary functions x,e^x,and ln(x) creates xx.Indeed,I thought elementary functions were those obtainable from standard elementary functions only by means of finite number of arithmetical operations (+,-,*,:) among them.


throw in composition and you are there.

i.e. ln(ln(x)) is also elementary.

I guess the definition was made this way to try to encompass functions we usually try to antidifferentiate, like x^2 e^(x^3).


by the way in omitting trig functions, i was tacitly assuming the functions are complex valued, so that trig functions and their inverses are a special case of exponentials and logs.

e.g. arctan is the same as log except it twirls around i and -i instead of 0 and infinity. so if you compose with an automorphism like (1-i)/(1+i) they become almost the same.


to see this, just think of log as path integral of 1/z along paths that avoid 0 and infinity, and arctan as path integral of 1/(1+z^2) along paths that avoid i and -i.
 
Last edited:
  • #33
You pro-mathematicians certainly know *all rules * of your game.And We computer scientists must obey it without objections :smile:.
Maybe,I'll be hang for telling you this but most of us consider only
polynomials over Q-field truly elementary functions :wink:
 

1. What is the definition of injectivity in mathematics?

Injectivity, also known as one-to-one correspondence, is a property of a function where each element in the function's domain maps to a unique element in the function's range. This means that for every input, there is only one possible output.

2. How do you prove injectivity of a function?

To prove injectivity of a function, we must show that for any two distinct inputs, the corresponding outputs are also distinct. This can be done by assuming that the two inputs have the same output, and then using algebraic or logical manipulations to arrive at a contradiction.

3. What is the domain and range of the x^x function?

The domain of the x^x function is all real numbers, while the range is all positive real numbers. This means that for any real number input, the output will always be a positive real number.

4. Can a function be injective if it is not one-to-one?

No, a function cannot be injective if it is not one-to-one. This is because the definition of injectivity requires each input to have a unique output, which is the same as saying that no two inputs can have the same output. If a function is not one-to-one, then there are at least two inputs that have the same output, which violates the definition of injectivity.

5. What is the significance of proving injectivity of a function?

Proving injectivity of a function is important because it guarantees that there will be no ambiguity in the output for a given input. This allows us to use the function for a variety of applications, such as solving equations and modeling real-world situations. It also ensures that we can find the inverse of the function, which is useful for solving problems and understanding the behavior of the function.

Similar threads

Replies
2
Views
242
Replies
4
Views
404
Replies
1
Views
1K
Replies
3
Views
952
Replies
2
Views
679
  • General Math
Replies
2
Views
3K
  • General Math
Replies
13
Views
2K
  • General Math
Replies
3
Views
15K
Replies
5
Views
1K
Back
Top