Determinant of m by m Matrix

160 Views Asked by At

How would you find the determinant of an $m \times m$ matrix which has $m$ as every diagonal entry and $-1$ as every non diagonal entry?

2

There are 2 best solutions below

1
On

Let $A$ be the $m\times m$ matrix with $0$ on the diagonal and $-1$ elsewhere. The determinant you want can be found by evaluating $$\det(A-\lambda I)$$ and then substituting $\lambda=-m$. Now it is easy to see that if $\lambda=1$ then $A-\lambda I$ has a row echelon form with $m-1$ zero rows. Therefore $1$ is an eigenvalue of $A$ with geometric multiplicity $m-1$ and hence algebraic multiplicity at least $m-1$. The last eigenvalue $\mu$ is found from the trace, $$(m-1)(1)+\mu={\rm trace}(A)=0$$ and so $\mu=-(m-1)$. So $A$ has characteristic polynomial $$\det(A-\lambda I)=(-1)^m(\lambda-1)^{m-1}(\lambda+m-1)\ ,$$ and the determinant of your matrix is $$\det(A+mI)=(-1)^m(-m-1)^{m-1}(-m+m-1)=(m+1)^{m-1}\ .$$

0
On

Your matrix is can be written as a rank $1$ perturbation to identity $$(m+1)I_m - \begin{bmatrix}1\\ 1\\ \vdots\\ 1\end{bmatrix}\begin{bmatrix}1& 1& \vdots& 1\end{bmatrix}$$ Now make use of Sylvester determinant theorem: $$\det(I+UV^T) = \det(I+V^TU)$$to obtain what you want after appropriate scaling.