Maths WorkshopMaths problems with full solutions
Exercise 140Linear algebra › Linear mapsL1Added 3 Nov 2026

Kernel of a composition

#composition#kernel#inclusion

Statement

Let f:E→Ff:E\to F and g:F→Gg:F\to G be linear maps. Show that ker⁡f⊆ker⁡(g∘f)\ker f\subseteq\ker(g\circ f), with equality if and only if ker⁡g∩Im⁡f={0}\ker g\cap\operatorname{Im} f=\{0\} (that is, if and only if the restriction of gg to Im⁡f\operatorname{Im} f is injective). In particular, equality holds if gg is injective.

Hint

Note that ker⁡(g∘f)={x∈E:f(x)∈ker⁡g}\ker(g\circ f)=\{x\in E: f(x)\in\ker g\}.

Show solutionHide solution

Solution

Inclusion. If x∈ker⁡fx\in\ker f, then f(x)=0f(x)=0, so (g∘f)(x)=g(0)=0(g\circ f)(x)=g(0)=0.

Equality if ker⁡g∩Im⁡f={0}\ker g\cap\operatorname{Im} f=\{0\}. Let x∈ker⁡(g∘f)x\in\ker(g\circ f). Then f(x)∈ker⁡gf(x)\in\ker g and f(x)∈Im⁡ff(x)\in\operatorname{Im} f, so f(x)∈ker⁡g∩Im⁡f={0}f(x)\in\ker g\cap\operatorname{Im} f=\{0\}, i.e. x∈ker⁡fx\in\ker f.

Converse. Suppose ker⁡f=ker⁡(g∘f)\ker f=\ker(g\circ f) and let w∈ker⁡g∩Im⁡fw\in\ker g\cap\operatorname{Im} f, say w=f(x)w=f(x). Then g(f(x))=g(w)=0g(f(x))=g(w)=0, so x∈ker⁡(g∘f)=ker⁡fx\in\ker(g\circ f)=\ker f, hence w=f(x)=0w=f(x)=0.

Special case. If gg is injective, ker⁡g={0}\ker g=\{0\}, so ker⁡g∩Im⁡f={0}\ker g\cap\operatorname{Im} f=\{0\}.

Conclusion. ker⁡f⊆ker⁡(g∘f)\ker f\subseteq\ker(g\circ f), with equality exactly when ker⁡g∩Im⁡f={0}\ker g\cap\operatorname{Im} f=\{0\}.