Let f:A→B and g:B→C be two functions, show that if g∘f is injective then f injective.
My try: suppose that the theorem is false, that is suppose it is true that g∘f injective andf not injective. Since is true that f is not injective, it is true that there exist a1,a2∈A such that f(a1)=f(a2) and a1=a2.
By hypothesis it is true that g∘f is injective, hence it is true that g(f(a1))=g(f(a2))⟹a1=a2; so it is true that I have both a1=a2 and a1=a2, a contradiction. Is this correct?
My try: suppose that the theorem is false, that is suppose it is true that g∘f injective andf not injective. Since is true that f is not injective, it is true that there exist a1,a2∈A such that f(a1)=f(a2) and a1=a2.
By hypothesis it is true that g∘f is injective, hence it is true that g(f(a1))=g(f(a2))⟹a1=a2; so it is true that I have both a1=a2 and a1=a2, a contradiction. Is this correct?