Homepage › Solution manuals › Terence Tao › Analysis I › Exercise 3.3.5 (Composition injective, surjective)

Exercise 3.3.5 (Composition injective, surjective)

Let f : X → Y and g : Y → Z be functions. Show that if g ∘ f is injective, then f must be injective. Is it true that g must also be injective? Show that if g ∘ f is surjective, then g must be surjective. Is it true that f must also be surjective?

Answers

Proof. Assume that g ∘ f : X → Z is injective. We show that f is injective.

If f ( x ) = f ( x ′ ) , where x , x ′ ∈ X , then ( g ∘ f ) ( x ) = g ( f ( x ) ) = g ( f ( x ′ ) ) = ( g ∘ f ) ( x ′ ) . Since g ∘ f is injective, the equality ( g ∘ f ) ( x ) = ( g ∘ f ) ( x ′ ) implies x = x ′ . This shows that f is injective.

It is not true that g must also be injective. To prove this, consider the following counterexample: let f : { 1 , 2 } → { 1 , 2 , 3 } defined by f ( 1 ) = 1 , f ( 2 ) = 2 and g : { 1 , 2 , 3 } → { 1 , 2 } defined by g ( 1 ) = 1 , g ( 2 ) = g ( 3 ) = 2 . Then g ∘ f = 1 { 1 , 2 } is the identity on X = { 1 , 2 } , thus is injective, but g is not injective, since g ( 2 ) = g ( 3 ) . Another counterexample is given by

f { ℝ + → ℝ x ↦ x g { ℝ → ℝ + x ↦ x 2 g ∘ f { ℝ + → ℝ + x ↦ x .

Assume now that g ∘ f is surjective. If z is any element of Z , there exists some x ∈ X such that ( g ∘ f ) ( x ) = z . Define y = f ( x ) . Then y ∈ Y , and g ( y ) = z . This shows that g is surjective.

f must not be surjective: in the two preceding examples g ∘ f is surjective, but f is not surjective. □

User profile picture
2024-06-13 18:18
Comments