Definition and Properties of the Deteminant ------------------------------------------- In the following the column notation of matrices is being used: .. Matrices shall be given in the column notation: .. math:: M_n(K)\ni\boldsymbol{A}\ =\ [a_{ij}]_{n\times n}\ =\ \left[\,\boldsymbol{A}_1\,|\;\boldsymbol{A}_2\,|\, \dots\,|\,\boldsymbol{A}_n\,\right]\,,\quad \text{where}\quad \boldsymbol{A}_j\ =\ \left[\begin{array}{c} a_{1j} \\ a_{2j} \\ \dots \\ a_{nj} \end{array}\right]\,,\quad j=1,2,\ldots,n. We shall accept an axiomatic definition, which establishes in advance the basic properties of determinants. .. admonition:: Definition. :math:`\\` The determinant of size :math:`\ n\ ` is a function :math:`\ \det : M_n(K)\to K\ ` :math:`\\` satisfying the following Axioms (:math:`j\;-` any column number, :math:`\ \lambda\in K`) : :math:`\\` 1. :math:`\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \boldsymbol{A}_j+\boldsymbol{A}'_j\,|\,\dots\,|\, \boldsymbol{A}_n\,]\ \ = \\ \ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}_j\,|\, \dots\,|\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}'_j\,|\, \dots\,|\,\boldsymbol{A}_n\,]\,; \\` 2. :math:`\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \lambda\,\boldsymbol{A}_j\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ \ =\ \ \lambda\,\cdot\,\det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \boldsymbol{A}_j\,|\,\dots\,|\,\boldsymbol{A}_n\,]\,;\\` 3. :math:`\ \boldsymbol{A}_j\ =\ \boldsymbol{A}_{j+1} \quad\Rightarrow\quad \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}_j\,|\, \boldsymbol{A}_{j+1}\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ =\ 0\,;\\` 4. :math:`\ \det\ \boldsymbol{I}_n\ =\ 1\,,\qquad \boldsymbol{I}_n\ -\ \text{identity matrix.}` :math:`\ ` The determinant of a matrix :math:`\,\boldsymbol{A}\,` is denoted as .. math:: \det\boldsymbol{A}\ =\ \det\ [a_{ij}]_{n\times n}\ =\ \det \left[\begin{array}{cccc} a_{11} & a_{12} & \dots & a_{1n} \\ a_{21} & a_{22} & \dots & a_{2n} \\ \dots & \dots & \dots & \dots \\ a_{n1} & a_{n2} & \dots & a_{nn} \end{array} \right]\ \ =\ \ \left|\begin{array}{cccc} a_{11} & a_{12} & \dots & a_{1n} \\ a_{21} & a_{22} & \dots & a_{2n} \\ \dots & \dots & \dots & \dots \\ a_{n1} & a_{n2} & \dots & a_{nn} \end{array} \right|\,. :math:`\\` **Notes and Comments.** * Determinant is a function that ascribes numbers to square matrices. Axioms :math:`\,` 1. :math:`\,` and :math:`\ ` 2. :math:`\,` assert that this function is linear with respect to each column of matrix :math:`\,\boldsymbol{A}\ ` *taken apart*. :math:`\,` However, :math:`\,\det\boldsymbol{A}\ ` *is not* :math:`\,` linear with respect to matrix :math:`\,\boldsymbol{A}\ ` itself: .. math:: \det\ (\boldsymbol{A} + \boldsymbol{B})\ \ne\ \det\ \boldsymbol{A} + \det\ \boldsymbol{B}\,,\quad \det\ (\lambda\,\boldsymbol{A})\ \ne\ \lambda\cdot\boldsymbol{A}\,, \quad\boldsymbol{A},\boldsymbol{B}\in M_n(K). Namely, the Axiom :math:`\,` 2. :math:`\,` implies that :math:`\ \ \det\ (\lambda\,\boldsymbol{A})\ =\ \lambda^n\cdot\boldsymbol{A},\quad n=1,2,\ldots` Axiom :math:`\,` 3. :math:`\,` means that if any two :math:`\,` *adjacent* :math:`\,` columns of matrix :math:`\,\boldsymbol{A}\ ` are identical, :math:`\,` then the determinant of that matrix vanishes. Axiom :math:`\,` 4. :math:`\,` postulates that the determinant of an identity matrix equals unity. * Determinant is definite only for square matrices: there does not exist a determinant of any rectangular non-square matrix. * Determinant of a matrix is something else than the matrix itself. This is expressed by the notation (square brackets or parentheses for matrices, vertical bars for determinants). Postponing the question of existence of the function :math:`\,\det,\ ` we shall derive its further properties. :math:`\\` .. admonition:: Property :math:`\,` I. :math:`\,` If any column of matrix :math:`\,\boldsymbol{A}\ ` contains zeros only, :math:`\,` then :math:`\ \det{\boldsymbol{A}}=0.` **Proof.** :math:`\,` Let :math:`\ \ d\,:\,=\,\det{\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \boldsymbol{A}_j\,|\,\dots\,|\,\boldsymbol{A}_n\,]}\,,\quad j\in\{1,2,\ldots,n\}\,.\ \ \\` If :math:`\ \boldsymbol{A}_j=\boldsymbol{0},\ \,` then :math:`\ \boldsymbol{A}_j=0\cdot\boldsymbol{A}_j\,.\ ` From Axiom 2. we get :math:`\ \,d = 0\cdot d = 0\,.\quad\bullet` :math:`\\` .. admonition:: Property :math:`\,` IIa. :math:`\,` A transposition of two :math:`\,` *adjacent* :math:`\,` columns changes the sign of the determinant. **Proof.** :math:`\,` In virtue of Axioms :math:`\,` 1. :math:`\,` and :math:`\,` 3. :math:`\,` we may write .. math:: \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}' + \boldsymbol{A}''\,|\,\boldsymbol{A}' + \boldsymbol{A}''\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ \ = =\ \ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}'\,|\, \boldsymbol{A}'\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}'\,|\, \boldsymbol{A}''\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ \ + \ \ +\ \ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}''\,|\, \boldsymbol{A}'\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}''\,|\, \boldsymbol{A}''\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ \ = =\ \ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}'\,|\, \boldsymbol{A}''\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}''\,|\, \boldsymbol{A}'\,|\,\dots\,|\,\boldsymbol{A}_n\,]\ \ =\ \ 0\,. .. math:: \text{Therefore}\quad\det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \boldsymbol{A}''\,|\,\boldsymbol{A}'\,|\,\dots\,|\,\boldsymbol{A}_n\,] \ \ =\ \ -\ \det\ [\,\boldsymbol{A}_1\,|\,\dots\,|\,\boldsymbol{A}'\,|\, \boldsymbol{A}''\,|\,\dots\,|\,\boldsymbol{A}_n\,]\,.\quad\bullet .. :math:`\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}' + \boldsymbol{A}'',\,\boldsymbol{A}' + \boldsymbol{A}'',\,\dots,\,\boldsymbol{A}_n\,]\ \ =` :math:`\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}',\, \boldsymbol{A}',\,\dots,\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}',\, \boldsymbol{A}'',\,\dots,\,\boldsymbol{A}_n\,]\ \ +` :math:`\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}'',\, \boldsymbol{A}',\,\dots,\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}'',\, \boldsymbol{A}'',\,\dots,\,\boldsymbol{A}_n\,]\ \ =` :math:`\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}',\, \boldsymbol{A}'',\,\dots,\,\boldsymbol{A}_n\,]\ +\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}'',\, \boldsymbol{A}',\,\dots,\,\boldsymbol{A}_n\,]\ \ =\ \ 0\,.` Stąd :math:`\quad\det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}'',\, \boldsymbol{A}',\,\dots,\,\boldsymbol{A}_n\,]\ \ =\ \ -\ \det\ [\,\boldsymbol{A}_1,\,\dots,\,\boldsymbol{A}',\, \boldsymbol{A}'',\,\dots,\,\boldsymbol{A}_n\,]\,.` .. admonition:: Property :math:`\,` IIb. :math:`\,` A transposition of :math:`\,` *any* :math:`\,` two columns changes the sign of the determinant. **Proof.** :math:`\,` A transposition of any two columns is composed of an odd number of transpositions of adjacent columns. :math:`\quad\bullet` :math:`\;` .. admonition:: Property :math:`\,` IIc. :math:`\\` For any permutation :math:`\,\sigma\in S_n:` .. math:: \det\ [\, \boldsymbol{A}_{\sigma(1)}\,|\;\boldsymbol{A}_{\sigma(2)}\,|\,\dots\,|\, \boldsymbol{A}_{\sigma(n)}\,] \ \ =\ \ \text{sgn}\,\sigma\,\cdot\, \det\ [\,\boldsymbol{A}_1\,|\;\boldsymbol{A}_2\,|\, \dots\,|\,\boldsymbol{A}_n\,]\,, **Proof.** :math:`\\` Reordering of columns into the layout corresponding to permutation :math:`\,\sigma\ ` can be achieved by an even (when :math:`\,\text{sgn}\,\sigma=+1`) or odd (when :math:`\,\text{sgn}\,\sigma=-1`) number of transpositions, each of which changes sign of the determinant. As a result, the sign of the determinant remains unchanged or turns into the opposite, respectively. :math:`\quad\bullet` **Practical conclusion.** :math:`\\` Reordering of columns of a matrix yields at most change of sign of its determinant. :math:`\;` .. admonition:: Property :math:`\,` IIIa. :math:`\,` When :math:`\,` *any* :math:`\,` two columns of a matrix are identical, :math:`\,` then its determinant vanishes. **Proof.** :math:`\\` Let :math:`\ d\,:\,=\,\det{\ [\,\boldsymbol{A}_1\,|\,\dots\,|\, \boldsymbol{A}_j\,|\,\dots\,|\,\boldsymbol{A}_k\,|\, \dots\,|\,\boldsymbol{A}_n\,]}\,,\quad j