Let $\mathrm{A}$ be an $n \times n$ matrix.
(a) Show that if the entries of some row of $\mathbf{A}$ are proportional to those in another row, then $|\mathbf{A}|=0$.
(b) Show that if the entries in every row of $\mathbf{A}$ add up to zero, then $|\mathbf{A}|=0$. (Hint: Consider the system $\mathbf{A X}=\mathbf{0}$, and note that the $n \times 1$ vector $\mathbf{X}$ having every entry equal to 1 is a nontrivial solution.)