Is it possible to have a function which has both left and right inverse but they are unequal ?
A left inverse means the function should be one-to-one whereas a right inverse means the function should be onto.
How can both of these conditions be valid simultaneously without being equal ?
An example will be really helpful. Thanks in advance
Suppose that $f(g(x))=x$ and $h(f(x))=x$, then $h(x)=h(f(g(x))=g(x)$. So they have to be the same.