Suppose $A=\sum\limits_{i=1}^4 x_ix_i^T$ where
$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.
How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?
I know that $\operatorname{rank}(A)=3$ proceeding the usual way.
We have $\operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?
As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.