Is this proof of g(f(x)) injective implies f injective correct?

Ozma

Junior Member
Joined
Oct 14, 2020
Messages
83
Let f:ABf:A \to B and g:BCg:B\to C be two functions, show that if gfg\circ f is injective then ff injective.

My try: suppose that the theorem is false, that is suppose it is true that gfg\circ f injective andff not injective. Since is true that ff is not injective, it is true that there exist a1,a2Aa_1,a_2 \in A such that f(a1)=f(a2)f(a_1)=f(a_2) and a1a2a_1 \ne a_2.

By hypothesis it is true that gfg \circ f is injective, hence it is true that g(f(a1))=g(f(a2))    a1=a2g(f(a_1)) = g(f(a_2)) \implies a_1=a_2; so it is true that I have both a1=a2a_1=a_2 and a1a2a_1 \ne a_2, a contradiction. Is this correct?
 
Looks mostly right, but the fact that g(f(a1))=g(f(a2))g(f(a_1))=g(f(a_2)) does not require gfg\circ f to be injective.
 
@blamocur: Thank you for the help, I didn't mean that g(f(a1))=g(f(a2))g(f(a_1))=g(f(a_2)) because of the injectivity but that the implication g(f(a1))=g(f(a2))    a1=a2g(f(a_1))=g(f(a_2)) \implies a_1=a_2 comes from the injectivity. Have I wrote something wrong that made you think that g(f(a1))=g(f(a2))g(f(a_1))=g(f(a_2)) comes from gfg\circ f injective? Sorry for my mistake in that case.
 
@blamocur: Thank you for the help, I didn't mean that g(f(a1))=g(f(a2))g(f(a_1))=g(f(a_2)) because of the injectivity but that the implication g(f(a1))=g(f(a2))    a1=a2g(f(a_1))=g(f(a_2)) \implies a_1=a_2 comes from the injectivity. Have I wrote something wrong that made you think that g(f(a1))=g(f(a2))g(f(a_1))=g(f(a_2)) comes from gfg\circ f injective? Sorry for my mistake in that case.
You are right, my mistake: while reading the second paragraph I've grouped together the phrase before "\Longrightarrow".
 
Suppose that f(p)=f(q)f(p)=f(q) then by definition gf(p)=gf(q)g\circ f(p)=g\circ f(q).
But we are given that gfg\circ f is an injective so that it must be the case that p=qp=q.
QED.

 
Top