Clarification on Inverse of x^3

  • Thread starter Thread starter cjellison
  • Start date Start date
  • Tags Tags
    Inverse
Click For Summary
The discussion centers on the existence of an inverse for the function f(x) = x^3, with participants debating its properties and implications. It is established that f(x) is a bijection from R to R, thus having an inverse f^{-1}(x) = x^{1/3} when restricted to real numbers. However, complications arise when considering complex numbers, where the inverse may not be well-defined due to multiple roots. The importance of specifying the domain and codomain is emphasized, as it affects the validity of the inverse function. Overall, the conversation highlights the nuances of exponentiation and the conditions under which inverse functions can be accurately defined.
cjellison
Messages
18
Reaction score
0
Clarification on "Inverse" of x^3

Hello. I was seeking some clarification on what should be a trivial problem.

Consider f(x) = x^3. Does this function have an inverse?

Well...many websites seem to say so...as do the solution sets for some abstract algebra courses. Certainly, my TI-89 has no trouble plotting the inverse. Without thinking about it too much, I would have to conclude that

f^{-1}(x) = x^{1/3}

But is this actually correct? I have convinced myself that it is not. Let me make my case...and then hopefully someone can shed light on my eyes.

First, I want to take a tangent and summarize some of the properties of exponents. Please comment on these---are they correct? too strong? not strong enough?

---

Typically, we are told that (x^a)^b = x^{ab} without any proper restictions on a and b. So here is my shot:

Let x\in \mathbb{R}. Unless stated otherwise, a and b are real numbers.

<br /> \begin{align*}<br /> \text{If } b \in \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b = x^{ab}.\\<br /> \text{If } b \notin \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b \neq x^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^b = |x|^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^{1/a} = |x|.\\&amp;\\<br /> \text{In general, } &amp;\qquad(x^a)^{1/a} \neq x.<br /> \end{align*}<br />

For example, (x^{1/2})^2 = |x|. However, (x^2)^{1/2} \neq x.

---

Now, back to the problem. Let me clairfy first: Let f:\mathbb{R} \rightarrow \mathbb{R}.

Now, consider the follow example:
<br /> \begin{align*}<br /> f \left( f^{-1}(3) \right) &amp;= \left(3^{1/3}\right)^3 = 3\\<br /> f \left( f^{-1}(-3) \right) &amp;= \left((-3)^{1/3}\right)^3 = -3\\&amp;\\<br /> f^{-1}\left( f(3) \right) &amp;= \left( 3^3 \right)^{1/3} = 27^{1/3} = 3\\<br /> f^{-1}\left( f(-3) \right) &amp;= \left( (-3)^3 \right)^{1/3} =<br /> (-27)^{1/3} = 3\,e^{i\pi/3}<br /> \end{align*}<br />

Essentially, this example shows that

<br /> \begin{align*}<br /> f(f^{-1}(x)) \neq f^{-1}(f(x))<br /> \end{align*}<br />

but this must be true for the inverse function! Thus, it would appear that all those websites which claimed an inverse for x^3 were wrong.

What is going on here? When I look at f(x)=x^3, I see that it is onto and that it is 1-1. Could the problem be that f(x) = x^3 does not have an inverse when the range is the complex numbers---thus, it only has an inverse when f:\mathbb{R}\rightarrow \mathbb{R} rather than f:\mathbb{R} \rightarrow \mathbb{C}. Or is the problem that f^{-1}(x) is only valid for x>0? If so, why does this restriction exist. Again, f(x) = x^3 is 1-1 and onto.

This problem came up while I was trying to show that the Legendre transformation of f(x) = x^\alpha / \alpha was g(y) = y^\beta/\beta where 1 = \alpha^{-1} + \beta^{-1}. Since f must be convex, \alpha must be even.

To do this, I say that y = f&#039;(x) = x^{\alpha - 1}. This is x raised to an odd power. Basically, I have to solve for x in terms of y---which means I need to get rid of that exponent. I can get the result I seek, but it requires that I say that y^{1/(\alpha - 1)} = x. I guess I don't feel comfortable with that statement...it seems like I am throwing away possible solutions.

Thanks,
 
Last edited:
Mathematics news on Phys.org
Before you start asking all these questions you ought to have written down the domain (and codomain).

cubing is a bijection from R to R so it has an inverse, again from R to R.

From R to C it cannot be invertible since it is not surjective, from C to C it cannot it be invertible since it is not injective.

The domain (and codomain) is important, and you can't omit it if you are asking such questions.

The inverse exists and is easy to write down as long as you do it sensibly.
 
cjellison said:
Typically, we are told that (x^a)^b = x^{ab} without any proper restictions on a and b.
This is true.

cjellison said:
<br /> \begin{align*}<br /> \text{If } b \in \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b = x^{ab}.\\<br /> \text{If } b \notin \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b \neq x^{ab}.<br /> \end{align*}<br />
You just said (x^a)^b = x^{ab} for all real a and b, so why are you now saying (x^a)^b \neq x^{ab} if b is not an integer?

cjellison said:
<br /> \begin{align*}<br /> f \left( f^{-1}(3) \right) &amp;= \left(3^{1/3}\right)^3 = 3\\<br /> f \left( f^{-1}(-3) \right) &amp;= \left((-3)^{1/3}\right)^3 = -3\\&amp;\\<br /> f^{-1}\left( f(3) \right) &amp;= \left( 3^3 \right)^{1/3} = 27^{1/3} = 3\\<br /> \end{align*}<br />
So far so good and exactly what you would expect.
cjellison said:
<br /> f^{-1}\left( f(-3) \right) &amp;= \left( (-3)^3 \right)^{1/3} =<br /> (-27)^{1/3} = 3\,e^{i\pi/3}<br /> \end{align*}<br />
Here you are moving into the complex numbers. In the complex numbers, any number has n n-th roots. There are n solutions to x^n=a. (They say \sqrt[n]x is a multi-valued or one-to-many 'function')
The three values of \sqrt[3]{-27} are 3e^{i\pi/3}, 3e^{-i\pi/3} and 3e^{i\pi} (which equals -3).
You don't have this problem in the restriction to real numbers, where (-27)^{1/3} is unambiguously equal to -3 (the only real solution of the above 3).
 
Last edited:
Ok...so it was a domain issue.

Galileo said:
You just said (x^a)^b = x^{ab} for all real a and b, so why are you now saying (x^a)^b \neq x^{ab} if b is not an integer?

Sorry for not being clear. I was actually trying to state that (x^a)^b \neq x^{ab}, in general for any real numbers a and b. This is why I then proceeded to show the conditions under which it was true. Concerning the case when b \notin \mathbb{Z} consider this: (x^2)^{1/2} \neq x. In fact, (x^2)^{1/2} = |x| (I had a typo on my original post). Hence, we must restrict b to an integer.

However, as pointed out...I should state the domain and codomain. For all real numbers x, if we restrict our solutions to the real numbers, then we have the following specific cases:

<br /> \begin{align*}<br /> \text{If } b \in \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b = x^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^b = |x|^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^{1/a} = |x|.\\<br /> \text{If } a \in \{3,5,7,\ldots\}, &amp;\qquad\text{then } (x^a)^{1/a} = x.\\<br /> \end{align*}<br />

And if when we include complex results, then the last statement is no longer true.

Thanks.
 
How do you define x^a when a is irrational? [Hint: I would personally use the exp and ln functions.]

Also, exponents and their properties are usually looked at for positive numbers. Your example:
cjellison said:
Concerning the case when b \notin \mathbb{Z} consider this: (x^2)^{1/2} \neq x. In fact, (x^2)^{1/2} = |x| (I had a typo on my original post). Hence, we must restrict b to an integer.
Your approach here is wrong. In this case, the function you're using is not an inverse. If a function is f : A \to B and bijective, its inverse function f^{-1} goes from B \to A (by definition). Therefore, if you define a function to be f: \mathbb{R} \to \mathbb{R}^+ by f(x) = x^2, then that function has no inverse. That is because it is not bijective. Therefore you are taking two different functions that are not inverses of each other, and then taking their composition and expecting the identity. That is why your example doesn't really work out.


cjellison said:
However, as pointed out...I should state the domain and codomain. For all real numbers x, if we restrict our solutions to the real numbers, then we have the following specific cases:

<br /> \begin{align*}<br /> \text{If } b \in \mathbb{Z}, &amp;\qquad\text{then } (x^a)^b = x^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^b = |x|^{ab}.\\<br /> \text{If } a \in \{2,4,6,\ldots\}, &amp;\qquad\text{then } (x^a)^{1/a} = |x|.\\<br /> \text{If } a \in \{3,5,7,\ldots\}, &amp;\qquad\text{then } (x^a)^{1/a} = x.\\<br /> \end{align*}<br />
In all above cases you should have used only positive real numbers as your domain and range for both functions. In this case, |x| = x.
 
Last edited:
Fun

cogito² said:
How do you define x^a when a is irrational? [Hint: I would personally use the exp and ln functions.]

So 3^\pi = e^{3 \ln \pi}...is that what you were suggesting?

To evaluate, we could just expand e^x in a Taylor series...though, we could also expand 3^x.
 
cjellison said:
So 3^\pi = e^{3 \ln \pi}...is that what you were suggesting?

To evaluate, we could just expand e^x in a Taylor series...though, we could also expand 3^x.
Yes that is exactly what I am suggesting (except 3^\pi = e^{\pi \ln 3}). If you define \exp: \mathbb{R} \to \mathbb{R}^+ to be \exp(x) = \sum_{i=0}^\infty \frac{x^n}{n!} then you can show it has an inverse (called \ln usually). You can use these functions to show quite easilly all the properties you speak of. But the thing that is necessary is that you do it for positive numbers.

We can then define a^b = e^{b \ln a}. All properties of exponents can be proved pretty easilly. The one important fact is that a must be greater than 0 because that is where \ln is defined. In this fashion exponents can be defined for any real numbers but it does require that the numbers (not the exponents) must not be negative.
 
Just a minor quibble, cogito:
Actually, I think you should define Exp(x) as:
Exp(x)=1+\sum_{i=1}^{\infty}\frac{x^{n}}{n!}
This is because it is unproblematic to define inductively the meaning of x^{n} where n is a natural number, whereas the case x^{0} ought to be a result:
For x&gt;0 we may define an inverse Ln, so that Exp(Ln(x))=x
We may then define (for x&gt;0 ) the a'th power of x as:
x^{a}=Exp(aLn(x))
It then trivially follows that x^{0}=1 for all x&gt;0

(i've only considered the reals in this approach)
 
Last edited:
Ahh that's pretty good. I've never seen this way but it really gets rid of that problematic first term. Thanks for the info.

My only objection was that I thought at first that when you differentiate exp you would then have to define x^0 = 1 so that the derivative would be equal but then I realized that x^0 = 1 is only dependent on the first exp function so the derivatives are equal...or does this reasoning become circular somewhere?

Either way, thanks for showing me this. It's sort of been a thing that's bothered me for quite a while.
 
  • #10
I can't see that differentiation poses any trouble.
A few ideas:
1) At the start of our inductive definition of the natural powers of x, we DEFINE:
x^{1}\equiv{x}
x^{n}=x*x^{n-1}, n\geq{2}
2) For derivatives, we may derive the relations:
\frac{d}{dx}1=0
\frac{d}{dx}x=1
\frac{d}{dx}x^{n}=nx^{n-1},n\geq{2}
3) Using these definitions when differentiating Exp(x) should eschew any troublesome nitpicks, if these exist.
 
  • #11
Yeah it didn't really seem like a problem to me. I just need to work out any issues before I'll accept something like this. There doesn't seem to be any issues (also less than my original definition) but I don't actually have any time to think about it. Either way thanks for showing me a new way of looking at it.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K