Assignment:
Let X be a non-empty set and f a mapping of X into itself.
Show that f is one-to-one onto ↔ there exists a mapping g of x into itself such that fg = gf = ix.
If there exists a mapping g with this property, then there is only one such mapping. Why?
Provide complete and step by step solution for the question and show calculations and use formulas.