let $u_1, \cdots , u_5$ be linearly independent vectors in $\mathbb{R}_m$. Consider the matrix $A = \sum_{i=1}^{5} u_i u_i^T$.
What is the rank of $A$?
Since $A$ is $m\times m$ matrix and there is no column or row that is linearly dependent on another column or row then the rank of $A$ is $m$.
Is it correct? Please advise
Let $A=\sum_k \alpha_k u_k u_k^T$, with $\alpha_k \neq 0$.
Then $Ax = 0$ iff $\sum_k \alpha_k \langle u_k, x \rangle u_k =0$ iff $\alpha_k \langle u_k, x \rangle = 0$ for all $k$ iff $\langle u_k, x \rangle = 0$ for all $k$ iff $x \in \operatorname{sp} \{ u_1,...,u_5\}^\bot$.
Hence $\ker A = \operatorname{sp} \{ u_1,...,u_5\}^\bot$, $\dim \ker A = m-5$ and so $\dim {\cal R} A = 5$.