Helping a buddy with his "intro to math" course for CompSci. I'm afraid my 'leet math skills are already giving out, so any help would be appreciated!
If f and g are both surjective functions, then so is the composition f o g. (so far so good).
I would expect the converse to be true too: If f o g is a surjective function, does that mean f and g are surjective?
From my research so far it seems that in this case f is indeed surjective but g is not necessarily so. Can anybody explain why, please? An example would rock!