Determinant of nXn matrix
Matthew Harrington
I know this was already asked before here:Q: The determinant of a matrix $A \in \mathbb{R}^{n \times n}$?
But I still did not manage to solve this with the method he suggested. I tried adding all the columns to the first one (c2+c1, c3+c1.... c n + c1) And then I subtracted the rows from the first one (r2-r1...r3-r1...r n -r1) But after I developed according to the first column I got stuck.
Can anyone guide me or give me an example that shows how to calculate the determinant (step by step)?
Thanks in advance.
$\endgroup$ 21 Answer
$\begingroup$Do as written there: add columns $\;2,3,...,n\;$ to column $\;1\;$ and then substract rows $\;2,3,...,n\;$ from first one:
$$\begin{pmatrix}2&1&1&\ldots&1\\ 1&2&1&\ldots&1\\ \ldots&\ldots&\ldots&\ldots&\ldots\\ 1&1&1&\ldots&2\end{pmatrix}\longrightarrow \begin{pmatrix}n+1&1&\ldots&1&1\\ n+1&2&1&\ldots&1\\ \ldots&\ldots&\ldots&\ldots&\ldots\\ n+1&1&1&\ldots&2\end{pmatrix}\longrightarrow$$
$$\begin{pmatrix}n+1&1&\ldots&1&1\\ 0&1&0&\ldots&0\\ \ldots&\ldots&\ldots&\ldots&\ldots\\ 0&0&0&\ldots&1\end{pmatrix}$$
But now you have an upper triangular matrix whose determinant's calculation is trivial.
$\endgroup$ 3