Consider $F: U \to V$ and $g: V \to W$ I have to show that $$rk(g \circ F) \geq rk(F) + rk(g) - \dim(V)$$
Where as usual the rank is the dimension of the image.
Attempts
In general $im(g\circ F) \subseteq im(g)$ whence $rk(g) \geq rk(g\circ F)$. Using the rank theorem:
$$\dim(V) = \dim\ker(g) + \dim(im(g))$$ hence $\dim(V) \geq rk(g)$.
If I consider $im(F) \subseteq V$ then $\dim(im(F)) \leq \dim(V)$ hence $rk(F) \leq \dim(V)$.
So far I got:
- $rk(g) \geq rk(g \circ F)$
- $\dim(V) \geq rk(g)$
- $\dim(V) \geq rk(F)$
- rk(F) \geq rk(g \circ F)$
Now I thought of looking at the kernel: $\ker(F) \subseteq \ker (g\circ F)$ hence $\dim(\ker(F)) \leq \dim \ker (g\circ F)$. Again using the rank theorem
$$\dim(U) = \dim(im(F)) + \dim\ker(F)$$
$$\dim(U) = \dim(im (g\circ F)) + \dim(\ker(g\circ F))$$
so $\dim(im(F)) + \dim(\ker(F)) = \dim(im(g\circ F)) + \dim(\ker (g\circ F))$$
And here I stopped becasue first of all I don't know whether all of this is right/useful, and I got stuck, not knowing how to go on...
Is there other some "simpler" way (that is: more rigorous or indeed simple) to face the problem?
ADD
I read this answer show that $\operatorname{rank}(g\circ f) \leq \operatorname{rank}(f)+\operatorname{rank}(g)-n$
but I don't understand the following:
why is $$\DeclareMathOperator{\rk}{rank}\rk(g\circ f)=\rk\Bigl(g_{\,\bigm\vert_{\,\scriptstyle\Im f}}\Bigr)$$
why $$rk(g\circ f)= \dim(\Im f)-\dim(\ker g\cap\Im f)=rk f-\dim(\ker g\cap\Im f). $$
shouldn't the dimension of the composition be the dimension of $W$ minus the dimension of the kernel?