I am reviewing functional analysis and getting stuck in this problem. Let $X,Y$ be two Banach spaces and $A,B\in L(X,Y)$. Prove that if $A$ is a compact operator and $R(B)\subset R(A)$ then $B$ is also a compact operator.
Can anyone give me some hints for this question ? Thank you very much.