document.write( "Question 25126: Let f:X to Y and g:Y to W such that g.f is injective.
\n" ); document.write( "a) Show f is injective.
\n" ); document.write( "b) Give an example of functions f and g for which g.f is injective but g is not injective.
\n" ); document.write( "

Algebra.Com's Answer #13490 by khwang(438)\"\" \"About 
You can put this solution on YOUR website!
Let f:X to Y and g:Y to W such that g.f is injective.
\n" ); document.write( "a) Show f is injective.
\n" ); document.write( "b) Give an example of functions f and g for which g.f is injective
\n" ); document.write( " but g is not injective.\r
\n" ); document.write( "\n" ); document.write( " a) f(x) = f(y) --> g(f(x)) = g(f(y)) --> g.f(x) = g.f(y)
\n" ); document.write( " --> x = y (since g.f is injective)
\n" ); document.write( " Hence, f is injecitve.\r
\n" ); document.write( "\n" ); document.write( " b) Set f:{1} --> {1} to be f(x) = x (identity map) and
\n" ); document.write( " g:{1,2} --> {2} to be g(x) = 2 for x =1,2.
\n" ); document.write( " We see that g.f:{1}--> {2 } is injective, but g is not.\r
\n" ); document.write( "\n" ); document.write( " Kenny
\n" ); document.write( "
\n" );