Matrix determinant using Laplace method I have the following matrix of order four for which I have calculated the determinant using Laplace's method.
$$
\begin{bmatrix}
 2 & 1 &  3 &  1 \\
 4 & 3 &  1 &  4 \\
-1 & 5 & -2 &  1 \\
 1 & 3 & -2 & -1 \\
\end{bmatrix}
$$
Finding the determinant gives me $-726$. Now if I check the result at Wolfram Alpha, it says the result is $-180$ (Because there are no zeros in the matrix, expand with respect to row one) so it uses only the first row to calculate the determinant of the matrix.
My question is: Why it uses only the first row to find the determinant?
 A: $$det(A)=\sum^{n}_{i=1}(-1)^{i+j}a_{i,j}M_{i,j}=\sum^{n}_{j=1}(-1)^{i+j}a_{i,j}M_{i,j}$$
where $a_{i,j}$ are entries in $A$ and $M_{i,j}$ are the minors.
So when someone says expand about the first row, it just means fixing $i=1$ in the second equality. The whole point of picking a row with a zero is to make the terms in the sum vanish. But since in this case there is no such rows, any old row would work, so just pick the first row for example.

Use only one row! Do not repeat for all the rows and sum which is what I think you are trying to say.

I hope that answers your question. Let me know if you have further queries and I'll update the answer.
A: The Laplace development can be performed with respect to any row or column. Let's see when developing with respect to the first row:
\begin{align}
\det\begin{bmatrix}
 2 & 1 &  3 &  1 \\
 4 & 3 &  1 &  4 \\
-1 & 5 & -2 &  1 \\
 1 & 3 & -2 & -1
\end{bmatrix}={}&
(-1)^{1+1}\cdot 2 \cdot
\det\begin{bmatrix}
3 &  1 &  4 \\
5 & -2 &  1 \\
3 & -2 & -1 
\end{bmatrix}+{}\\
&(-1)^{1+2}\cdot 1 \cdot
\det\begin{bmatrix}
 4 &  1 &  4 \\
-1 & -2 &  1 \\
 1 & -2 & -1
\end{bmatrix}+{}\\
&(-1)^{1+3}\cdot 3\cdot
\det\begin{bmatrix}
 4 & 3 &  4 \\
-1 & 5 &  1 \\
 1 & 3 & -1
\end{bmatrix}+{}\\
&(-1)^{1+4}\cdot1\cdot
\det\begin{bmatrix}
 4 & 3 &  1 \\
-1 & 5 & -2 \\
 1 & 3 & -2
\end{bmatrix}
\end{align}
Now you can go on by computing the determinants of the four $3\times3$ matrices with the same (or another) method. The final result is indeed $-180$.
When one row or column has many zeroes it's convenient to use that one, but any row or column can be used.
