Salta al contenuto
Note per Studenti Determinants Report

Determinants

In questa pagina 5

1. Determinants of 2×22 \times 2-matrices

Definition. For A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} the determinant is

det⁡A:=ad−bc.\det A := ad - bc.

Examples.

1.1 Geometric meaning

Recall that the absolute value of a real number is ∣r∣=r|r| = r if r≥0r \ge 0 and ∣r∣=−r|r| = -r if r<0r < 0.

Lemma (area). Let A=(v v′)=(xx′yy′)A = (v\ v') = \begin{pmatrix} x & x' \\ y & y' \end{pmatrix}, with columns v=(x,y)v = (x, y) and v′=(x′,y′)v' = (x', y'). Then ∣det⁡A∣\lvert \det A \rvert is the area of the parallelogram spanned by vv and v′v'.

Proof (geometric, for positive entries, with vv and v′v' placed so that the angle from vv to v′v' is counterclockwise). Enclose the parallelogram in the rectangle with sides x+x′x + x' and y+y′y + y' (area (x+x′)(y+y′)(x + x')(y + y')). Around the parallelogram, this rectangle contains:

  • two triangles with long side vv (resp. parallel to it), each of area xy2\tfrac{xy}{2}, together xyxy;
  • two triangles with long side v′v' (resp. parallel to it), together x′y′x'y';
  • two rectangles (in the bottom right and top left corners) of sides x′x' and yy, together 2x′y2x'y.

Therefore the area of the parallelogram is

(x+x′)(y+y′)−xy−x′y′−2x′y=xy+xy′+x′y+x′y′−xy−x′y′−2x′y=xy′−x′y=det⁡A.□(x + x')(y + y') - xy - x'y' - 2x'y = xy + xy' + x'y + x'y' - xy - x'y' - 2x'y = xy' - x'y = \det A. \qquad \square

Lemma (sign). Let A=(x1x2y1y2)A = \begin{pmatrix} x_1 & x_2 \\ y_1 & y_2 \end{pmatrix} and let A′=(x2x1y2y1)A' = \begin{pmatrix} x_2 & x_1 \\ y_2 & y_1 \end{pmatrix}, A′′=(y1y2x1x2)A'' = \begin{pmatrix} y_1 & y_2 \\ x_1 & x_2 \end{pmatrix} be obtained by swapping the two columns, resp. the two rows. Then det⁡A′′=det⁡A′=−det⁡A.\det A'' = \det A' = -\det A. So swapping two rows or two columns changes the sign of the determinant.

Proof. Directly from the definition: det⁡A′=x2y1−y2x1=−(x1y2−x2y1)=−det⁡A\det A' = x_2 y_1 - y_2 x_1 = -(x_1 y_2 - x_2 y_1) = -\det A, and similarly for A′′A''. □\square

So the determinant (not only its absolute value) records the area of the parallelogram spanned by the columns and the orientation (whether the angle from the first to the second vector runs counterclockwise or clockwise).

2. Determinants of larger matrices

There are several equivalent definitions for larger matrices; the following is satisfactory both conceptually and practically.

Theorem (characterization of the determinant). There is a unique function det⁡:Matn×n→R\det : \mathrm{Mat}_{n \times n} \to \mathbb{R} with the following properties (for A∈Matn×nA \in \mathrm{Mat}_{n \times n}):

  1. det⁡(idn)=1\det(\mathrm{id}_n) = 1.
  2. If A′A' results from AA by interchanging two rows, then det⁡(A′)=−det⁡(A)\det(A') = -\det(A).
  3. Writing a matrix as a column of its rows v1,…,vn∈Rnv_1, \dots, v_n \in \mathbb{R}^n, for every w∈Rnw \in \mathbb{R}^n and r∈Rr \in \mathbb{R}: det⁡(v1⋮rvi+w⋮vn)=rdet⁡(v1⋮vi⋮vn)+det⁡(v1⋮w⋮vn)\det \begin{pmatrix} v_1 \\ \vdots \\ r v_i + w \\ \vdots \\ v_n \end{pmatrix} = r \det \begin{pmatrix} v_1 \\ \vdots \\ v_i \\ \vdots \\ v_n \end{pmatrix} + \det \begin{pmatrix} v_1 \\ \vdots \\ w \\ \vdots \\ v_n \end{pmatrix} (linearity in each row, the other rows being fixed).

2.1 Consequences of the properties

Scaling and zero rows. Taking w=0w = 0 in (3): multiplying one row by rr (here r=0r = 0 is allowed, unlike for elementary operations) multiplies the determinant by rr. In particular

A has a zero row  ⟹  det⁡A=0.(1)A \text{ has a zero row} \implies \det A = 0. \tag{1}

Equal rows. If two rows of AA are equal then det⁡A=0\det A = 0. Indeed, interchanging these rows gives a matrix A′A' equal to AA, so det⁡A=det⁡A′\det A = \det A'; but by (2) also det⁡A′=−det⁡A\det A' = -\det A. Hence det⁡A=−det⁡A\det A = -\det A, which is only possible for det⁡A=0\det A = 0.

Adding a multiple of a row to another does not change the determinant. For i≠ji \neq j and r∈Rr \in \mathbb{R}, by property (3) and the previous remark,

det⁡(v1⋮vi+rvj⋮vj⋮vn)=det⁡(v1⋮vi⋮vj⋮vn)+rdet⁡(v1⋮vj⋮vj⋮vn)=det⁡(v1⋮vi⋮vj⋮vn),\det \begin{pmatrix} v_1 \\ \vdots \\ v_i + r v_j \\ \vdots \\ v_j \\ \vdots \\ v_n \end{pmatrix} = \det \begin{pmatrix} v_1 \\ \vdots \\ v_i \\ \vdots \\ v_j \\ \vdots \\ v_n \end{pmatrix} + r \det \begin{pmatrix} v_1 \\ \vdots \\ v_j \\ \vdots \\ v_j \\ \vdots \\ v_n \end{pmatrix} = \det \begin{pmatrix} v_1 \\ \vdots \\ v_i \\ \vdots \\ v_j \\ \vdots \\ v_n \end{pmatrix},

since the last matrix has vjv_j in two rows (the middle one has vjv_j in the ii-th row), so its determinant is 00.

Summary of the effect of row operations on det⁡\det:

Row operation Effect on the determinant
swap two rows multiplied by −1-1
multiply a row by r≠0r \neq 0 multiplied by rr
add a multiple of one row to another unchanged

2.2 Computing a determinant by row reduction

Taking the theorem for granted, we compute det⁡A\det A for

A=(2181−3−5024)A = \begin{pmatrix} 2 & 1 & 8 \\ 1 & -3 & -5 \\ 0 & 2 & 4 \end{pmatrix}

by stepwise applying the rules and keeping track of how the determinant changes.

(2181−3−5024)⏟A⇝(07181−3−5024)⏟A1⇝(0161−3−5024)⏟A2⇝(0161−3−500−8)⏟A3\underbrace{\begin{pmatrix} 2 & 1 & 8 \\ 1 & -3 & -5 \\ 0 & 2 & 4 \end{pmatrix}}_{A} \rightsquigarrow \underbrace{\begin{pmatrix} 0 & 7 & 18 \\ 1 & -3 & -5 \\ 0 & 2 & 4 \end{pmatrix}}_{A_1} \rightsquigarrow \underbrace{\begin{pmatrix} 0 & 1 & 6 \\ 1 & -3 & -5 \\ 0 & 2 & 4 \end{pmatrix}}_{A_2} \rightsquigarrow \underbrace{\begin{pmatrix} 0 & 1 & 6 \\ 1 & -3 & -5 \\ 0 & 0 & -8 \end{pmatrix}}_{A_3}

⇝(0161−3−5001)⏟A4⇝(0101−30001)⏟A5⇝(010100001)⏟A6⇝(100010001)⏟A7=id3\rightsquigarrow \underbrace{\begin{pmatrix} 0 & 1 & 6 \\ 1 & -3 & -5 \\ 0 & 0 & 1 \end{pmatrix}}_{A_4} \rightsquigarrow \underbrace{\begin{pmatrix} 0 & 1 & 0 \\ 1 & -3 & 0 \\ 0 & 0 & 1 \end{pmatrix}}_{A_5} \rightsquigarrow \underbrace{\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}}_{A_6} \rightsquigarrow \underbrace{\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}}_{A_7 = \mathrm{id}_3}

  • A→A1A \to A_1: row 1 minus 2×2 \times row 2; A1→A2A_1 \to A_2: row 1 minus 3×3 \times row 3; A2→A3A_2 \to A_3: row 3 minus 2×2 \times row 1. These are additions of multiples of a row to another, so det⁡A=det⁡A1=det⁡A2=det⁡A3\det A = \det A_1 = \det A_2 = \det A_3.
  • A3→A4A_3 \to A_4: multiply the last row by −18-\tfrac18, so det⁡A4=−18det⁡A3\det A_4 = -\tfrac18 \det A_3.
  • A4→A5A_4 \to A_5 (row 1 minus 6×6 \times row 3, row 2 plus 5×5 \times row 3) and A5→A6A_5 \to A_6 (row 2 plus 3×3 \times row 1) are additions again: det⁡A4=det⁡A5=det⁡A6\det A_4 = \det A_5 = \det A_6.
  • A6→A7A_6 \to A_7: swapping the first two rows, so 1=det⁡A7=−det⁡A61 = \det A_7 = -\det A_6.

Altogether

det⁡A=det⁡A3=−8det⁡A4=−8det⁡A6=8det⁡A7=8.\det A = \det A_3 = -8 \det A_4 = -8 \det A_6 = 8 \det A_7 = 8.

(Check with Sarrus' rule below: 2⋅(−3)⋅4+1⋅(−5)⋅0+8⋅1⋅2−8⋅(−3)⋅0−1⋅1⋅4−2⋅(−5)⋅2=−24+0+16−0−4+20=82 \cdot (-3) \cdot 4 + 1 \cdot (-5) \cdot 0 + 8 \cdot 1 \cdot 2 - 8 \cdot (-3) \cdot 0 - 1 \cdot 1 \cdot 4 - 2 \cdot (-5) \cdot 2 = -24 + 0 + 16 - 0 - 4 + 20 = 8.)

Idea of the proof of the theorem. One proceeds for a general square matrix as above: use Gaussian elimination to bring AA into reduced row echelon form A⇝A′A \rightsquigarrow A'. The properties of the theorem determine det⁡A\det A in terms of det⁡A′\det A'. If A′A' has a zero row then det⁡A′=0\det A' = 0; if it has no zero row then A′=idA' = \mathrm{id} and det⁡A′=1\det A' = 1. (The source only sketches the proof.)

2.3 Small matrices

  • 1×11 \times 1: for A=(a)A = (a), det⁡A=a\det A = a.
  • 2×22 \times 2: the determinant ad−bcad - bc satisfies the three properties: det⁡id2=1⋅1−0⋅0=1\det \mathrm{id}_2 = 1 \cdot 1 - 0 \cdot 0 = 1; a row swap changes the sign (previous lemma); and for the linearity in the second row, det⁡(abc+red+rf)=a(d+rf)−b(c+re)=(ad−bc)+r(af−be)=det⁡(abcd)+rdet⁡(abef)\det \begin{pmatrix} a & b \\ c + re & d + rf \end{pmatrix} = a(d + rf) - b(c + re) = (ad - bc) + r(af - be) = \det \begin{pmatrix} a & b \\ c & d \end{pmatrix} + r \det \begin{pmatrix} a & b \\ e & f \end{pmatrix} (the first row is analogous). So by uniqueness the general definition agrees with ad−bcad - bc.
  • 3×33 \times 3: Sarrus' rule.

det⁡(abcdefghi)=aei+bfg+cdh−ceg−bdi−afh.\det \begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix} = aei + bfg + cdh - ceg - bdi - afh.

(One checks by direct computation that this function satisfies the three properties.) To remember it, repeat the first two columns to the right of the matrix; the products along the three top-left to bottom-right diagonals get a plus sign, the products along the three top-right to bottom-left diagonals a minus sign:

 a  b  c  a  b        +  : aei, bfg, cdh   (down to the right)
 d  e  f  d  e        -  : ceg, afh, bdi   (down to the left)
 g  h  i  g  h

Warning. Sarrus' rule does not apply to larger matrices. For a 4×44 \times 4-matrix, det⁡A\det A is a sum of 2424 expressions, each a product of 4 entries of AA; use row reduction or cofactor expansion instead.

Example. det⁡(123456789)=1⋅5⋅9+2⋅6⋅7+3⋅4⋅8−3⋅5⋅7−2⋅4⋅9−1⋅6⋅8=45+84+96−105−72−48=0\det \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix} = 1 \cdot 5 \cdot 9 + 2 \cdot 6 \cdot 7 + 3 \cdot 4 \cdot 8 - 3 \cdot 5 \cdot 7 - 2 \cdot 4 \cdot 9 - 1 \cdot 6 \cdot 8 = 45 + 84 + 96 - 105 - 72 - 48 = 0.

3. Invertibility and determinants

Definition (cofactors and adjugate). Let A∈Matn×nA \in \mathrm{Mat}_{n \times n}. For 1≤i,j≤n1 \le i, j \le n let AijA_{ij} be the matrix obtained from AA by deleting the ii-th row and the jj-th column. The number

cij:=(−1)i+jdet⁡Aijc_{ij} := (-1)^{i + j} \det A_{ij}

is the (i,j)(i, j)-cofactor of AA. The adjugate of AA is the n×nn \times n-matrix

adj⁡(A):=(cij(A))T=(cji(A)).\operatorname{adj}(A) := (c_{ij}(A))^T = (c_{ji}(A)).

Theorem (invertibility criterion). An n×nn \times n-matrix AA is invertible if and only if det⁡A≠0\det A \neq 0. In this case the inverse is given by the adjugate formula

A−1=1det⁡A adj⁡(A).A^{-1} = \frac{1}{\det A}\, \operatorname{adj}(A).

Proof of the criterion. Bring AA by Gaussian elimination into a reduced row echelon matrix A′A'. In this process no row is multiplied by zero, so det⁡A=0\det A = 0 if and only if det⁡A′=0\det A' = 0 (by the table above, each operation multiplies the determinant by a non-zero number). Also A′=UAA' = UA with UU invertible (a product of elementary matrices), so A′A' is invertible if and only if AA is. Hence

A invertible  ⟺  A′ invertible  ⟺  ?det⁡A′≠0  ⟺  det⁡A≠0,A \text{ invertible} \iff A' \text{ invertible} \overset{?}{\iff} \det A' \neq 0 \iff \det A \neq 0,

and it remains to show the middle equivalence. Being in reduced row echelon form, either A′=idA' = \mathrm{id} or A′A' has a zero row. In the first case A′A' is invertible and det⁡A′=1≠0\det A' = 1 \neq 0. In the second case A′A' is not invertible (its rows are linearly dependent, see the criteria in Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →) and det⁡A′=0\det A' = 0 by (1). The proof of the adjugate formula is skipped in the source. □\square

Example (2×22 \times 2). For A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} the adjugate is (d−b−ca)\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}, so if ad−bc≠0ad - bc \neq 0

A−1=1ad−bc(d−b−ca).A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}.

For instance A=(1091110)A = \begin{pmatrix} 10 & 9 \\ 11 & 10 \end{pmatrix} has det⁡A=10⋅10−9⋅11=1\det A = 10 \cdot 10 - 9 \cdot 11 = 1 and A−1=(10−9−1110)A^{-1} = \begin{pmatrix} 10 & -9 \\ -11 & 10 \end{pmatrix}.

Remark. The adjugate formula is of theoretical significance only: for larger matrices computing the inverse by Gaussian elimination on (A∣id)(A \mid \mathrm{id}) is much cheaper.

4. Further properties of determinants

Proposition (product formula). For A,B∈Matn×nA, B \in \mathrm{Mat}_{n \times n},

det⁡(AB)=det⁡A⋅det⁡B.\det(AB) = \det A \cdot \det B.

In particular det⁡(AB)=det⁡(BA)\det(AB) = \det(BA), even though AB≠BAAB \neq BA in general.

Proof (outline, as in the source). For an elementary matrix AA one checks the formula by direct computation. This gives the formula when AA is invertible, since then AA is a product of elementary matrices. If AA is not invertible, one shows that ABAB is not invertible either (for any BB), so both det⁡A=0\det A = 0 and det⁡(AB)=0\det(AB) = 0 and the formula holds. □\square

Remark. The determinant is multiplicative but not additive: in general det⁡(A+B)≠det⁡A+det⁡B\det(A + B) \neq \det A + \det B. For example det⁡(2002)=4≠1+1=det⁡id+det⁡id\det \begin{pmatrix} 2 & 0 \\ 0 & 2 \end{pmatrix} = 4 \neq 1 + 1 = \det \mathrm{id} + \det \mathrm{id}.

Proposition (triangular matrices). If AA is upper triangular (all entries below the main diagonal are 00) or lower triangular (all entries above the main diagonal are 00), then

det⁡A=a11a22⋯ann,\det A = a_{11} a_{22} \cdots a_{nn},

the product of the diagonal entries.

Proof. If one diagonal entry is 00, the columns of AA are linearly dependent, so AA is not invertible and det⁡A=0\det A = 0 (matching the product, which is 00). If all aii≠0a_{ii} \neq 0, divide the ii-th row by aiia_{ii} (this divides the determinant by aiia_{ii}), so that all diagonal entries are 11. Then adding suitable multiples of rows to the rows above (resp. below for a lower triangular matrix), which does not change the determinant, gives A⇝idA \rightsquigarrow \mathrm{id}, so the determinant of the normalized matrix is 11 and det⁡A=a11⋯ann\det A = a_{11} \cdots a_{nn}. □\square

Example. A lower triangular 3×33 \times 3 matrix with diagonal entries 3,4,53, 4, 5 has determinant 3⋅4⋅5=603 \cdot 4 \cdot 5 = 60, whatever the entries below the diagonal.

Proposition (transpose). det⁡A=det⁡(AT)\det A = \det(A^T).

Proof. For matrices of size at most 3×33 \times 3 this can be seen directly from the formulae in the section on small matrices. In general: if AA is not invertible, ATA^T is not invertible either (see Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →), so both sides are 00. If AA is invertible, it is a product of elementary matrices, A=U1⋯UnA = U_1 \cdots U_n, and AT=UnT⋯U1TA^T = U_n^T \cdots U_1^T. By the product formula we may assume AA is an elementary matrix, and then we check by inspection:

  • for a row swap matrix Ei,j(1)E^{(1)}_{i,j} (identity with rows ii and jj exchanged) we have AT=AA^T = A;
  • for a scaling matrix Ei,r(2)E^{(2)}_{i,r} (diagonal) we have AT=AA^T = A;
  • Ei,j,r(3)E^{(3)}_{i,j,r} is a triangular matrix (lower or upper, depending on i>ji > j or i<ji < j) and its transpose a triangular matrix of the other kind; both have determinant 11 by the triangular proposition. □\square

Remark. Since det⁡A=det⁡AT\det A = \det A^T, the word "row" can be replaced by "column" in all the statements above. For instance det⁡A=0\det A = 0 if AA has two identical columns, or a zero column; swapping two columns changes the sign.

Proposition (cofactor expansion, Laplace). Let A=(aij)∈Matn×nA = (a_{ij}) \in \mathrm{Mat}_{n \times n} with cofactors cijc_{ij}. Then for every ii (expansion along the ii-th row)

det⁡A=ai1ci1+⋯+aincin,\det A = a_{i1} c_{i1} + \dots + a_{in} c_{in},

and for every jj (expansion along the jj-th column)

det⁡A=a1jc1j+⋯+anjcnj.\det A = a_{1j} c_{1j} + \dots + a_{nj} c_{nj}.

(The source gives no proof.)

Example. Let A=(237−406150)A = \begin{pmatrix} 2 & 3 & 7 \\ -4 & 0 & 6 \\ 1 & 5 & 0 \end{pmatrix}. Expand along the second row (a21=−4a_{21} = -4, a22=0a_{22} = 0, a23=6a_{23} = 6):

det⁡A=a21c21+a22c22+a23c23=(−4)(−1)2+1det⁡(3750)+0⋅(−1)2+2det⁡(2710)+6 (−1)2+3det⁡(2315).\det A = a_{21} c_{21} + a_{22} c_{22} + a_{23} c_{23} = (-4)(-1)^{2+1} \det \begin{pmatrix} 3 & 7 \\ 5 & 0 \end{pmatrix} + 0 \cdot (-1)^{2+2} \det \begin{pmatrix} 2 & 7 \\ 1 & 0 \end{pmatrix} + 6\,(-1)^{2+3} \det \begin{pmatrix} 2 & 3 \\ 1 & 5 \end{pmatrix}.

With det⁡(3750)=−35\det \begin{pmatrix} 3 & 7 \\ 5 & 0 \end{pmatrix} = -35 and det⁡(2315)=7\det \begin{pmatrix} 2 & 3 \\ 1 & 5 \end{pmatrix} = 7:

det⁡A=(−4)(−1)(−35)+0+6(−1)(7)=−140−42=−182.\det A = (-4)(-1)(-35) + 0 + 6(-1)(7) = -140 - 42 = -182.

The choice of the row is arbitrary and the result is the same for any other row or column; the zero entry a22a_{22} simplifies the computation (choose the row or column with the most zeros). Check with Sarrus' rule: 0+3⋅6⋅1+7⋅(−4)⋅5−7⋅0⋅1−3⋅(−4)⋅0−2⋅6⋅5=18−140−60=−1820 + 3 \cdot 6 \cdot 1 + 7 \cdot (-4) \cdot 5 - 7 \cdot 0 \cdot 1 - 3 \cdot (-4) \cdot 0 - 2 \cdot 6 \cdot 5 = 18 - 140 - 60 = -182.

5. Worked exercises

Squares equal to the identity. If AA is a square matrix with A2=idA^2 = \mathrm{id}, then det⁡A=±1\det A = \pm 1. Indeed by the product formula det⁡(A2)=(det⁡A)2\det(A^2) = (\det A)^2, while det⁡(A2)=det⁡(id)=1\det(A^2) = \det(\mathrm{id}) = 1. So (det⁡A)2=1(\det A)^2 = 1 and, since det⁡A∈R\det A \in \mathbb{R}, det⁡A=1\det A = 1 or det⁡A=−1\det A = -1.

Rotation matrices. For A=(cos⁡r−sin⁡rsin⁡rcos⁡r)A = \begin{pmatrix} \cos r & -\sin r \\ \sin r & \cos r \end{pmatrix}: det⁡A=cos⁡rcos⁡r−(−sin⁡r)(sin⁡r)=cos⁡2r+sin⁡2r=1\det A = \cos r \cos r - (-\sin r)(\sin r) = \cos^2 r + \sin^2 r = 1. So every rotation matrix has determinant 11, and in particular is invertible (area and orientation are preserved).

Zero row and equal rows. A matrix with a zero row, or with two equal rows, has determinant 00, hence is not invertible (its rows are linearly dependent).

Versione ripasso

2×22 \times 2. det⁡(abcd)=ad−bc\det \begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc. For columns v,v′v, v': ∣det⁡(v v′)∣\lvert \det(v\ v') \rvert = area of the parallelogram spanned by v,v′v, v'; the sign records orientation. Swapping two rows or columns changes the sign.

Characterization (unique function). (1) det⁡idn=1\det \mathrm{id}_n = 1; (2) swapping two rows gives −det⁡-\det; (3) linear in each row: det⁡(…,rvi+w,… )=rdet⁡(…,vi,… )+det⁡(…,w,… )\det(\dots, r v_i + w, \dots) = r \det(\dots, v_i, \dots) + \det(\dots, w, \dots).

Consequences. Zero row ⇒det⁡=0\Rightarrow \det = 0; two equal rows ⇒det⁡=0\Rightarrow \det = 0 (since det⁡A=−det⁡A\det A = -\det A); scaling a row by rr multiplies det⁡\det by rr; adding a multiple of a row to another leaves det⁡\det unchanged; swap gives a sign. Method: reduce to echelon form and track the factors (example: det⁡(2181−3−5024)=8\det \begin{pmatrix} 2 & 1 & 8 \\ 1 & -3 & -5 \\ 0 & 2 & 4 \end{pmatrix} = 8).

Small sizes. 1×11 \times 1: det⁡(a)=a\det(a) = a. Sarrus (3×33 \times 3 only): aei+bfg+cdh−ceg−bdi−afhaei + bfg + cdh - ceg - bdi - afh. For 4×44 \times 4 and larger use row reduction or cofactor expansion.

Invertibility. AA invertible   ⟺  det⁡A≠0\iff \det A \neq 0. Then A−1=1det⁡Aadj⁡(A)A^{-1} = \frac{1}{\det A} \operatorname{adj}(A), with adj⁡(A)=(cij)T\operatorname{adj}(A) = (c_{ij})^T and cofactors cij=(−1)i+jdet⁡Aijc_{ij} = (-1)^{i+j} \det A_{ij} (AijA_{ij}: delete row ii and column jj). In the 2×22 \times 2 case A−1=1ad−bc(d−b−ca)A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}. Reason: row reduction never multiplies a row by 00, and the reduced form is either id\mathrm{id} (det⁡=1\det = 1) or has a zero row (det⁡=0\det = 0). See Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis → for the other criteria (independent rows or columns, rank nn).

Further properties.

  • Product formula: det⁡(AB)=det⁡Adet⁡B\det(AB) = \det A \det B, so det⁡(AB)=det⁡(BA)\det(AB) = \det(BA) although AB≠BAAB \neq BA. Not additive: det⁡(A+B)≠det⁡A+det⁡B\det(A + B) \neq \det A + \det B in general.
  • Triangular (upper or lower) matrices: det⁡\det = product of the diagonal entries.
  • det⁡A=det⁡AT\det A = \det A^T, so everything holds for columns too.
  • Cofactor expansion along any row ii or column jj: det⁡A=∑jaijcij=∑iaijcij\det A = \sum_j a_{ij} c_{ij} = \sum_i a_{ij} c_{ij}; choose the row or column with the most zeros. Example: det⁡(237−406150)=−182\det \begin{pmatrix} 2 & 3 & 7 \\ -4 & 0 & 6 \\ 1 & 5 & 0 \end{pmatrix} = -182.
  • A2=id⇒det⁡A=±1A^2 = \mathrm{id} \Rightarrow \det A = \pm 1; every rotation matrix has det⁡=1\det = 1.

Typical mistakes. Applying Sarrus' rule to 4×44 \times 4 matrices; forgetting the factor when a row is scaled (and forgetting the sign after a swap); forgetting the checkerboard signs (−1)i+j(-1)^{i+j} in cofactors; assuming det⁡(A+B)=det⁡A+det⁡B\det(A + B) = \det A + \det B; using the adjugate without transposing the cofactor matrix.

See also Linear MapsA linear map between vector spaces preserves sums and scalar multiples; its kernel and image are subspaces whose dimensions add up to the dimension of the domain (rank-nullity), and a linear map is determined by its values on a basis.Linear Maps →.

Teoria collegata