Here's the problem:
Let $A,B\in Mat_{n}(\mathbb R)$. Use $ \begin{pmatrix} A & A \\ A & A+B \\ \end{pmatrix} $ to show that $$\text{rank}(A+B)\le \text{rank}(A)+\text{rank}(B)$$
By performing elementary operations, I've got that $\text{rank}\begin{pmatrix} A & A \\ A & A+B \\ \end{pmatrix}=\text{rank}\begin{pmatrix} A & O \\ O & B \\ \end{pmatrix}=\text{rank}(A)+\text{rank}(B)$. My intuitive approach is say that since $\begin{pmatrix} A & A \\ A & A+B \\ \end{pmatrix}$ contains $\begin{pmatrix}A+B \\ \end{pmatrix}$, $$\text{rank}(A)+\text{rank}(B)=\text{rank}\begin{pmatrix} A & A \\ A & A+B \\ \end{pmatrix}\geq \text{rank}\begin{pmatrix}A+B \\ \end{pmatrix}=\text{rank}(A+B)$$ but I can't prove this claim well. Could someone give me some hints? Thanks in advance!
Your intuitive approach is correct. There are a few approaches that we could apply to get your inequality; here's one approach. In general, it holds that $\operatorname{rank}(PQ) \leq \min\{\operatorname{rank}(P),\operatorname{rank}(Q)\}$. Thus, if we take $$ P = \pmatrix{A & A\\A&A+B}, \quad Q = \pmatrix{0 & I} $$ (where $I$ denotes the identity matrix), then we have $$ \operatorname{rank}(P)\geq \operatorname{rank}(QP) \geq \operatorname{rank}(QPQ^T) = \operatorname{rank}(A + B). $$