I have the following question for my assignment, I am only asking for direction as I am stuck:
Given a square matrix $A$ of order $n$, where the sum of each column's elements adds to $n$, and row vector $v_n = (1,...,1)$. Prove or disprove: $$\ |A|=\sum_{i=1}^n |A_i|,$$ where $A_i$ is the matrix obtained from $A$ by replacing its $i$th row with the vector $v_n$.
I have tried to use that $|A + B| = |A| + |B|$ if $A$ and $B$ differ exactly by one row, but I am getting stuck. I also thought of using Cramer's rule, but am struggling with how to use that.
Note, every $|A_i|$ can be obtained by adding all the rows to the $i$th row and then dividing that row by $n$. We got $|A_1|+\dots+|A_n|=1/n|A|+\dots+1/n|A|=|A|$.