If $g\circ f$ is onto, and $g$ is into, is true that $f$ is onto?

75 Views Asked by At

I was faced by this question some time ago, and it keeps me thinking:

If $g\circ f$ is onto, and $g$ is into, prove that $f$ is onto.

In this link we can find something very close, but with $g$ being $1-1$, which is not my case here (if it was, it would be easy). Then, I was thinking if this is necessarilly true, trying to find some counter example.

Any help would be very appreciated! Thanks in advance!

1

There are 1 best solutions below

0
On BEST ANSWER

Let $y$ be a point in the codomain of $f$. Then $g(y)$ is defined, in the codomain of $g \circ f$ and so there is some $x$ in the domain of $f$ such that $g(f(x)) = g(y)$. It follows that $y=f(x)$ as $g$ is injective (or "into"). So $y$ is a value of $f$ and we're done.

Note that 1-1 = into = injective, so the quoted proof actually goes through.