Spivak chapter 3 problem 24 - proof of a composition

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Andraz Cepic
Messages
31
Reaction score
3

Homework Statement


Suppose g is a function with the property that g(x) =/= g(y) if x=/=y.
Prove that there is a function f such that f( g(x) ) = x. (The composition)

Homework Equations


Definition of a function, collection of ordered pairs;
g(x) =/= g(y) if x=/=y;
x → g(x) → x (The composition that has to be proven).

The Attempt at a Solution


Since all g(x) are actually unique, that means there is a function f whose domain is a collection of all g(x) and that assigns the value x to all g(x), so that f is a collection of ordered pairs of the form (g(x), x). In other words, there is no contradiction from definition of a function, thus such a function does exist.

My problem is that I am extremely careful with proofs and to be honest this "proof" of mine seems lazy and wrong and full of holes. The part where I assume that f can assign x to g(x) seems very sketchy. I also found out that this is somehow a proof that there is an inverse function f for function g, if g(x) are all unique.

So I wonder if this is actually the right way of doing things, or did I miss sth crucial and my "proof" has bunch of holes in it or is it even plain miss from the start.
 
on Phys.org
Andraz Cepic said:
Since all g(x) are actually unique, that means there is a function f whose domain is a collection of all g(x) and that assigns the value x to all g(x), so that f is a collection of ordered pairs of the form (g(x), x). In other words, there is no contradiction from definition of a function, thus such a function does exist.
I would say it is correct.
 
Thank you :)
 
  • Like
Likes   Reactions: Buffu