Proof (determinant when two rows or columns are linearly dependent)

Suppose columns $r$ and $s$ are linearly dependent, so $$ A_{ir} + \lambda A_{is} = 0\quad\forall i. $$

Then the matrix $B$ defined by $$ B_{ij} = \begin{cases} A_{ij}, &j\neq r, \\ A_{ij} + \lambda A_{is} = 0, &j=r \end{cases} $$ has its $r$-th column all zero, so $\det B = 0$. But at the same time, $B$ is formed by adding a scalar multiple $\lambda$ of column $s$ of $A$ onto column $r$, so $$ \det A = \det B = 0. $$

For linearly dependent rows, use $\det A^T = \det A$.