Let $x,y \in K$ and $n \in \mathbb{N}$. Determine the rank of the following $n \times n$ Matrix: $xI_n$ + $y\cdot \sum_{i\neq j}E_{ij}$ in dependence of $x$ and $y$.
$I_n$ is the identity matrix and $E_{ij}$ is the standard matrix. The matrix has $x$ on its diagonal and the rest looks like a triangular matrix with $y$. So we are trying to find the number of linearly independent rows or columns. The standard procedure would be to find the echelon form and count the non-zero rows.
My first idea was to subtract the first row from the others, when I subtract it from a $3\times 3$ matrix I get a rank of $2$, when we take a $4\times 4$ matrix we get a rank of $3$, so maybe the rank of our matrix is $n$?