I have written this proof stating that if two rows or columns of a matrix are the same, then the determinant of the matrix is equal to 0. Is it correct?
Let us say we have an n x n matrix A, shown below:
For some $i,n \in \mathbb{N}$.
If we say that $r_{i} = [a_{i1}, a_{i2}, a_{i3} ... a_{in}]$, a row vector, then we can rewrite the matrix A as:
If we then also create the swapped $S_{ij}$ matrix, i.e. swap rows $i$ and $j$ around, we have the matrix:
We know that if we swap two rows of a determinant, in this case rows $i$ and $j$, then the determinant will simply be the negative of the original determinant. We can say that the $\det(A) = -\det(S)$. But, if these two rows are identical, then $\det(S) = \det(A)$, so this means that $\det(A) = -\det(A)$, so A must be equal to $0$.



In essence, yes, your proof is very correct, and thorough.
For further clarification you can see this video https://www.khanacademy.org/math/linear-algebra/matrix-transformations/determinant-depth/v/linear-algebra-duplicate-row-determinant which gives a very thorough breakdown of your proof.