Suppose that $A$ is a general $n \times n$ matrix and $B$ is obtained by interchanging the first two rows of $A$. Prove that $\det(B) = -\det(A)$.
By general $n \times n$ matrix, I mean $$\left[\begin{matrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{n1} & a_{n2} & \cdots & a_{nn} \end{matrix} \right]$$ I'm thinking of using the cofactor expansion of the 2nd row of the first matrix, yielding $$ \det(A) = c_{21} a_{21} + c_{22} a_{22} + \cdots+ c_{2n} a_{2n} $$ which will be positive or negative depending on $n$ and the values of $a_{21}, \ldots,a_{2n}$, and using the same on the first row in matrix $B$ to get $c_{11} a_{21}$ etc. and then use the fact that the power of the $c$ subscripts will alter $\det(B)$ to be the opposite sign, but I'm not sure how to express all of this mathematically in a proof directly. Help please?
$A_{ij}$ is $(n-1)\times (n-1)$ matrix which is a minor from $A$ by deleting $i$-th row and $j$-th column
Recall that $$ {\rm det}\ A =\sum_{j=1}^n (-1)^{i+j} a_{ij}{\rm det}\ A_{ij} $$
If $B$ is from $A$ by exchanging first and second rows (For convenience we consider only this), $$ A_{1j}=B_{2j} $$ so that $${\rm det} \ B = \sum_{j=1}^n (-1)^{2+j} a_{1j} {\rm det}\ B_{2j} = \sum_{j=1}^n (-1)^{2+j} a_{1j} {\rm det}\ A_{1j} =- {\rm det}\ A $$