Properties of a Matrix With Unit Row and Column Sums
You are handed a real matrix $M$ in which every row sums to
Answer the following:
- Must $M$ be square?
- Is $M$ necessarily invertible, or necessarily singular?
- Can there exist such an $M$ with $M^2 = 0$?
Hints
- Sum all the entries of $M$ in two different ways to compare the number of rows and columns.
- Look for an obvious eigenvector. What does $M$ do to the all-ones vector $\mathbf{1}$?
- A matrix with $M^2 = 0$ must be nilpotent, so all its eigenvalues are $0$. Is that compatible with the eigenvalue you just found?
Worked Solution
How to Think About It: A matrix whose rows and columns each sum to
Part 1 -- Square: Let $M$ be $m \times n$. Sum every entry two ways. Summing the $m$ row-sums gives $m \cdot 1 = m$. Summing the $n$ column-sums gives $n \cdot 1 = n$. Both equal the grand total of all entries, so $m = n$. The matrix must be square.
Part 2 -- Invertibility is not forced either way: It can be either. The identity $I$ has unit row and column sums and is invertible. The
Part 3 -- Can $M^2 = 0$? No. The all-ones vector $\mathbf{1}$ satisfies $M\mathbf{1} = \mathbf{1}$ because each row sums to
Answer: $M$ must be square; it may be invertible or singular; and $M^2 = 0$ is impossible because
Intuition
The all-ones vector is the workhorse here. Unit row sums mean $M\mathbf{1} = \mathbf{1}$, so