• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Bachelor
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Linear Methods of AI

Definition of Determinant

Basic Concepts of Determinant

Determinant is a very important mathematical tool in linear algebra. Think of determinant as a "strength" measure of a matrix, it tells us how much change a space undergoes when transformed by that matrix.

Every square matrix has one unique determinant value. This value can be positive, negative, or zero, and each tells us different information about the matrix.

Determinant is a special function that takes a square matrix and produces one real number:

det⁡:Rn×n→R:A↦det⁡A\det : \mathbb{R}^{n \times n} \to \mathbb{R} : A \mapsto \det Adet:Rn×n→R:A↦detA

This function is unique because it has three characteristic properties that no other function has.

Three Determining Properties of Determinant

Linear Property on Each Row

Determinant is linear on each row of the matrix. This means, if we change one row, the determinant will change linearly.

When we add two vectors in one row:

det⁡(a1⋮ai+ai′⋮an)=det⁡(a1⋮ai⋮an)\det \begin{pmatrix} a_1 \\ \vdots \\ a_i + a_i' \\ \vdots \\ a_n \end{pmatrix} = \det \begin{pmatrix} a_1 \\ \vdots \\ a_i \\ \vdots \\ a_n \end{pmatrix}det​a1​⋮ai​+ai′​⋮an​​​=det​a1​⋮ai​⋮an​​​
+det⁡(a1⋮ai′⋮an)+ \det \begin{pmatrix} a_1 \\ \vdots \\ a_i' \\ \vdots \\ a_n \end{pmatrix}+det​a1​⋮ai′​⋮an​​​

When we multiply one row by a scalar:

det⁡(a1⋮λ⋅ai⋮an)\det \begin{pmatrix} a_1 \\ \vdots \\ \lambda \cdot a_i \\ \vdots \\ a_n \end{pmatrix}det​a1​⋮λ⋅ai​⋮an​​​
=λ⋅det⁡(a1⋮ai⋮an)= \lambda \cdot \det \begin{pmatrix} a_1 \\ \vdots \\ a_i \\ \vdots \\ a_n \end{pmatrix}=λ⋅det​a1​⋮ai​⋮an​​​

Antisymmetric Property

Determinant is antisymmetric, if there are two identical rows, the determinant immediately becomes zero:

det⁡(⋮a⋮a⋮)=0\det \begin{pmatrix} \vdots \\ a \\ \vdots \\ a \\ \vdots \end{pmatrix} = 0det​⋮a⋮a⋮​​=0

This makes sense because if two rows are the same, the matrix cannot have full rank.

Normalization Property

Determinant is normalized so that the determinant of the identity matrix is always 1:

det⁡I=1\det I = 1detI=1

Where III is an identity matrix of any size.

Matrix Operations and Determinant

If we multiply the entire matrix by a scalar λ\lambdaλ, the determinant will be affected by the power of n:

det⁡(λA)=λn⋅det⁡A\det(\lambda A) = \lambda^n \cdot \det Adet(λA)=λn⋅detA

This is because each row is multiplied by λ\lambdaλ, and there are nnn total rows.

When we swap two rows of a matrix, the determinant changes sign:

det⁡B=−det⁡A\det B = -\det AdetB=−detA

Interestingly, when we add a multiple of one row to another row, the determinant doesn't change:

det⁡(⋮aj⋮ai+λaj⋮)\det \begin{pmatrix} \vdots \\ a_j \\ \vdots \\ a_i + \lambda a_j \\ \vdots \end{pmatrix}det​⋮aj​⋮ai​+λaj​⋮​​
=det⁡(⋮aj⋮ai⋮)= \det \begin{pmatrix} \vdots \\ a_j \\ \vdots \\ a_i \\ \vdots \end{pmatrix}=det​⋮aj​⋮ai​⋮​​

Multiplying a row by scalar λ≠0\lambda \neq 0λ=0 changes the determinant to det⁡A′=λ⋅det⁡A\det A' = \lambda \cdot \det AdetA′=λ⋅detA. Swapping rows changes the sign to det⁡A′=−det⁡A\det A' = -\det AdetA′=−detA. Adding multiples of other rows doesn't change the determinant at all.

Relationship with Matrix Invertibility

Determinant is key to understanding whether a matrix can be inverted. For a square matrix A, the following conditions are equivalent:

  1. Matrix A is invertible
  2. There exists an inverse matrix A−1A^{-1}A−1 that satisfies AA−1=IAA^{-1} = IAA−1=I
  3. Full rank matrix: rank(A)=n\text{rank}(A) = nrank(A)=n
  4. Trivial kernel: ker⁡(A)={0}\ker(A) = \{0\}ker(A)={0}
  5. Columns are linearly independent
  6. Rows are linearly independent
  7. Determinant is not zero: det⁡A≠0\det A \neq 0detA=0

If the determinant is zero, the matrix "flattens" space to a lower dimension, so the transformation cannot be inverted.

If the rows of a matrix are linearly dependent, the determinant must be zero. This happens because of the antisymmetric property of determinant, linear dependence creates a situation where we can make identical rows through linear operations.

Multiplication Properties and Similar Matrices

One of the most useful properties of determinant is how it interacts with matrix multiplication:

det⁡(AB)=det⁡A⋅det⁡B\det(AB) = \det A \cdot \det Bdet(AB)=detA⋅detB

If matrix AAA is invertible, the determinant of its inverse is:

det⁡(A−1)=1det⁡A\det(A^{-1}) = \frac{1}{\det A}det(A−1)=detA1​

Two matrices AAA and BBB are called similar if there exists an invertible matrix SSS such that:

B=S−1ASB = S^{-1}ASB=S−1AS

Similar matrices have the same determinant. The proof is simple:

det⁡B=det⁡(S−1AS)\det B = \det(S^{-1}AS)detB=det(S−1AS)
=det⁡(S−1)⋅det⁡A⋅det⁡S= \det(S^{-1}) \cdot \det A \cdot \det S=det(S−1)⋅detA⋅detS
=1det⁡S⋅det⁡A⋅det⁡S=det⁡A= \frac{1}{\det S} \cdot \det A \cdot \det S = \det A=detS1​⋅detA⋅detS=detA

When performing Gaussian elimination with ppp row swaps, the determinant of the resulting matrix RRR is:

det⁡R=(−1)p⋅det⁡A\det R = (-1)^p \cdot \det AdetR=(−1)p⋅detA

This provides a practical method for calculating determinants.

Common Mistakes About Determinant

It's important to remember that determinant is not additive:

det⁡(A+B)≠det⁡A+det⁡B\det(A + B) \neq \det A + \det Bdet(A+B)=detA+detB

As a simple example:

det⁡((1001)+(1001))\det\left(\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} + \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\right)det((10​01​)+(10​01​))
=det⁡(2002)=4= \det\begin{pmatrix} 2 & 0 \\ 0 & 2 \end{pmatrix} = 4=det(20​02​)=4

But:

det⁡(1001)+det⁡(1001)\det\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} + \det\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}det(10​01​)+det(10​01​)
=1+1=2= 1 + 1 = 2=1+1=2

Clearly 4≠24 \neq 24=2, so determinant is not additive on matrix addition.

Previous

Next

Determinant Calculation

  • Definition of DeterminantUnderstand determinants with 3 key properties: linearity, antisymmetry, and normalization. Learn matrix invertibility and calculation methods for AI.
On this page
  • Basic Concepts of Determinant
  • Three Determining Properties of Determinant
    • Linear Property on Each Row
    • Antisymmetric Property
    • Normalization Property
  • Matrix Operations and Determinant
  • Relationship with Matrix Invertibility
  • Multiplication Properties and Similar Matrices
  • Common Mistakes About Determinant
  • Comments
  • Report
  • Source code