Proving that $g\circ f$ is injective if $f$ and $g$ are injective. [Verification]

70 Views Asked by At

Let $f:X\rightarrow Y, g:Y\rightarrow Z$. Show that if $f$ and $g$ are injective, then $g \circ f$ is also injective.

My attempt:

  1. $x \neq x’ \implies f(x) \neq f(x’)$
  2. $f(x) \neq f(x’) \implies g(f(x)) \neq g(f(x’))$

$(A\implies B) \wedge (B\implies C) \implies (A\implies C)$

Therefore: $x\neq x’ \implies g(f(x))\neq g(f(x’))$

Hence $g \circ f$ is injective.

1

There are 1 best solutions below

2
On BEST ANSWER

Perfectly correct. You can also proceed as follows:

Let $x,x' \in X$. Then $$(g \circ f)(x) = (g\circ f)(x')\implies g(f(x)) = g(f'(x)) \implies f(x) = f'(x) \implies x = x'$$

where the second implication uses that $g$ is injective and the third (and last implication) that $f$ is injective.

A good follow up exercise: show that the same holds if you replace 'injective' by 'surjective'.