F bijective <=> f has an inverse

You could also have said "for ##y \in Y##, there exists ##x \in X## such that ##y = f(x)##". But that's just a restatement of the definition of surjective. So my point is that you don't need to say that "since ##g## is a function, there exists...". That's already contained in the statement that ##f## is surjective.
  • #1
member 587159

Homework Statement



Proof that: f has an inverse ##\iff## f is a bijection

Homework Equations

/definitions[/B]

A) ##f: X \rightarrow Y##

If there is a function ##g: Y \rightarrow X## for which ##f \circ g = f(g(x)) = i_Y## and ##g \circ f = g(f(x)) = i_X##, then ##g## is the inverse function of ##f##.

B) A function ##f## is a bijection if
##\forall y \in Y, \exists! x \in X: y = f(x)##
or ##f## is surjective and injective
or there is a function ##g: Y \rightarrow X## for which ##f \circ g = f(g(x)) = i_Y## and ##g \circ f = g(f(x)) = i_X##

The Attempt at a Solution



##\Rightarrow##

##f##

##f: X \rightarrow Y## has an inverse, thus ##f \circ g = f(g(x)) = i_Y## and ##g \circ f = g(f(x)) = i_X##. We must show that f is bijective, so we will show it is both injective and surjective.

1) Take ##x_1,x_2 \in X##

##f(x_1) = f(x_2)##
##\Rightarrow g(f(x_1)) = g(f(x_2))##
##\Rightarrow i_X(x_1) = i_X(x_2)##
##\Rightarrow x_1 = x_2##

Thus, f is injective.

2) Take ##y \in Y##

Then, ##y = i_Y(y) = f(g(y))##.

Since g is a function ##Y \rightarrow X##, we have ##\forall y \in Y, \exists g(y) \in X: y = f(g(y))## thus f is surjective.

##\Leftarrow##

##f## is a bijection, thus we have that there is a function ##g: Y \rightarrow X## for which ##f \circ g = f(g(x)) = i_Y## and ##g \circ f = g(f(x)) = i_X##. And this is exactly the definition of the inverse function.

So, QED. Or not? Now comes the actual question. Is the definition my textbook provides for bijection wrong? I think this, because what I actually have to proof, is in the definition. I do understand that it is a useful criterium to see whether a function is a bijection, but should it be in the very definition of bijection? Thank you.
 
Physics news on Phys.org
  • #2
No, the second part of the proof is incorrect. You have assumed the definition of bijective is equivalent to the definition of having an inverse, before proving it. Assume ##f## is a bijection, and use the definition that it is both surjective and injective. Then use surjectivity and injectivity to show some ##g## exists with the properties of the inverse.
 
  • Like
Likes member 587159
  • #3
Lucas SV said:
No, the second part of the proof is incorrect. You have assumed the definition of bijective is equivalent to the definition of having an inverse, before proving it. Assume ##f## is a bijection, and use the definition that it is both surjective and injective. Then use surjectivity and injectivity to show some ##g## exists with the properties of the inverse.

So now I need to show that

##f## is a bijection ##\Rightarrow f## has in inverse.

Proof: ##f## is a bijection. Thus it is both injective and surjective. This means, that:
##f(x_1) = f(x_2) \Rightarrow x_1 = x_2## and ##\forall y \in Y, \exists x \in X: y = f(x)##

Now, we need to proof that there exists a function ##g: Y \rightarrow X## for which ##f \circ g = f(g(x)) = i_Y## and ##g \circ f = g(f(x)) = i_X##.
So, let us first define ##g: Y \rightarrow X##:

##g(y) = x \iff f(x) = y##. (we can write this because f is a bijection, this is why the surjectivity is nessecary)

Take ##x_1,x_2 \in X##: Then we can write:

##g(f(x_1)) = x_2 \Rightarrow f(x_2) = f(x_1) \Rightarrow x_2 = x_1##. Thus, ##g(f(x)) = x = i_X##
Analogue, we obtain: ##f(g(x)) = x = i_Y##. Thus, ##g## is the inverse function of ##f## by definition.

I'm not to sure about the way I defined ##g## though.
 
  • #4
Math_QED said:
So, let us first define ##g: Y \rightarrow X##:

##g(y) = x \iff f(x) = y##. (we can write this because f is a bijection, this is why the surjectivity is nessecary)

That's not so much wrong as not quite right! You can patch it up logically as follows:

We define ##g: Y \rightarrow X##:

For ##y \in Y##, we define ##g(y) = x## where ##f(x) = y##.

##g## is well-defined as ##\forall y \in Y, \exists## unique ##x## such that ##f(x) = y\ ## (as ##f## is a bijection).

In general, what you have done is not wrong but often you have done more than is necessary, For example:

If ##f## has an inverse, then ##f## is surjective:

For ##y \in Y##, ##f(f^{-1}(y)) = y##.

Hence ##f## is surjective.

That's actually all you need.
 
  • Like
Likes member 587159
  • #5
PeroK said:
That's not so much wrong as not quite right! You can patch it up logically as follows:

We define ##g: Y \rightarrow X##:

For ##y \in Y##, we define ##g(y) = x## where ##f(x) = y##.

##g## is well-defined as ##\forall y \in Y, \exists## unique ##x## such that ##f(x) = y\ ## (as ##f## is a bijection).

Thanks a lot for this.

In general, what you have done is not wrong but often you have done more than is necessary, For example:

If ##f## has an inverse, then ##f## is surjective:

For ##y \in Y##, ##f(f^{-1}(y)) = y##.

Hence ##f## is surjective.

That's actually all you need.

What have I done more here that was unnessecary? Can you point out other places where I did too much?
 
  • #6
Math_QED said:
2) Take ##y \in Y##

Then, ##y = i_Y(y) = f(g(y))##.

**Since g is a function ##Y \rightarrow X##, we have ##\forall y \in Y, \exists g(y) \in X: y = f(g(y))##**

thus f is surjective.**

You could have missed out the bit I've marked **. Your logic stands up without spelling it out.

I think it's a natural process when you learn this to say things like "as ##g## is a function". It's not wrong and - perhaps it's even a good thing at this stage. But, it's useful to know that you can start to drop that. And, if you have more difficult problems, you can soon get lost in all the detail and lose the wood in the trees.
 
  • Like
Likes member 587159
  • #7
PeroK said:
You could have missed out the bit I've marked **. Your logic stands up without spelling it out.

I think it's a natural process when you learn this to say things like "as ##g## is a function". It's not wrong and - perhaps it's even a good thing at this stage. But, it's useful to know that you can start to drop that. And, if you have more difficult problems, you can soon get lost in all the detail and lose the wood in the trees.

Is that the only thing that was unnessecary? I believe you are right. Those are things that may be obvious to you and other people who have a lot of experience in mathematics, but all the concepts are rather new for me and it only becomes obvious to me when I write it out in that way. Probably later..

I hope the proof is correct now. Thanks a lot for your help. You have helped me out a lot of times.
 
  • #8
Math_QED said:
Is that the only thing that was unnessecary? I believe you are right. Those are things that may be obvious to you and other people who have a lot of experience in mathematics, but all the concepts are rather new for me and it only becomes obvious to me when I write it out in that way. Probably later..

I hope the proof is correct now. Thanks a lot for your help. You have helped me out a lot of times.

The proof is well done. And, the more confident you become, the more you will want to drop some of the details yourself.
 
  • Like
Likes member 587159

FAQ: F bijective <=> f has an inverse

1. What does "F bijective <=> f has an inverse" mean?

"F bijective <=> f has an inverse" is a mathematical statement that describes the relationship between a function and its inverse. It means that a function, f, is both injective (one-to-one) and surjective (onto), which is necessary for the function to have an inverse.

2. What is a function's inverse?

A function's inverse is a new function that "undoes" the original function. In other words, if the original function maps an input to an output, the inverse function maps the output back to the input.

3. How do you determine if a function has an inverse?

A function has an inverse if it is both injective and surjective. This means that every input has a unique output, and every output has a corresponding input. To determine if a function is injective, you can check if different inputs lead to different outputs. To determine if a function is surjective, you can check if all possible outputs are mapped to by at least one input.

4. Can every function have an inverse?

No, not every function has an inverse. A function must be both injective and surjective to have an inverse. If a function is not injective, it means that multiple inputs can lead to the same output, making it impossible for the inverse to map the output back to a unique input. Similarly, if a function is not surjective, there will be some outputs that have no corresponding input, making it impossible for the inverse to map them back.

5. What is the importance of "F bijective <=> f has an inverse" in mathematics?

The statement "F bijective <=> f has an inverse" is important in mathematics because it defines a specific type of function that has a unique inverse. This property is useful in many areas of mathematics, such as linear algebra, calculus, and abstract algebra. It also allows for easier manipulation and analysis of functions with inverses.

Similar threads

Back
Top