• Praktische Grundlagen der Informatik
  • Algorithmen und Datenstrukturen
  • Foundations for Robotic and AI
  • Übersicht Data Science:
  • Data Science / Machine Learning
  • Projekt: Deep Teaching
  • Alte Veranstaltungen:
  • Grundlagen der Informatik (NF)
  • Octave/Matlab Tutorial
  • Game Physik
  • Home
  • Lehre
  • Publikationen
  • Kontakt/Impressum

Determinant of a Square-Matrix¶

Definition and Intuition¶

The determinant of a square matrix $\mathbf{A}$, denoted as $\det(\mathbf{A})$ or $|\mathbf{A}|$, is a scalar value that represents the volume scaling factor of the linear transformation described by the matrix.

Imagine a unit square in 2D (with an area of $1$) or a unit cube in 3D (with a volume of $1$). When you apply a matrix transformation $\mathbf{A}$, that square is knocked into a new shape (a parallelogram).

The determinant is the area (or volume) of that new shape.

  • If $\det(\mathbf{A}) = 3$, the transformation triples the area of any shape.
  • If $\det(\mathbf{A}) = 0.5$, the transformation shrinks the area by half.

A determinant measures how a transformation changes the volume within the same dimensional space.

The Meaning of Zero ($\det(\mathbf{A}) = 0$)¶

If the determinant is exactly zero, it means the transformation has collapsed the space into a lower dimension.

  • In 2D, a determinant of zero means the entire plane was squashed onto a single line or a single point.
  • Because the information is "flattened," it is impossible to reverse the process. This is why matrices with a determinant of zero are non-invertible (singular).

Negative Determinants and Orientation¶

A determinant can be negative (e.g., $\det(\mathbf{A}) = -2$). The absolute value still tells you the scaling factor (the area doubled), but the negative sign indicates that the space has been flipped or mirrored.

Intuition: In 2D, a negative determinant is like flipping a piece of paper over. In 3D, it is the difference between a "right-handed" and a "left-handed" coordinate system.

Relation to Span and Column Space¶

The determinant provides a definitive test for the "health" of the span of a matrix's columns:

  1. Full Span ($\det(\mathbf{A}) \neq 0$):
    If the determinant is non-zero, the columns of $\mathbf{A}$ are linearly independent. They span the entire space $\mathbb{R}^n$. The transformation is "information-preserving," meaning you can reverse it (the matrix is invertible).
  2. Collapsed Span ($\det(\mathbf{A}) = 0$):
    If the determinant is zero, at least one column is redundant (linearly dependent). The columns do not span $\mathbb{R}^n$; instead, they span a lower-dimensional subspace (a point, line, or plane).
    • The Transformation Meaning: The matrix has "squashed" space. For example, in 3D, a determinant of zero means the transformation flattened all of space onto a 2D plane or a 1D line. Because information was lost in this flattening, the transformation cannot be undone.

Summary of Algebraic Properties¶

For a square matrix $\mathbf{A}$, the determinant $\det(\mathbf{A})$ or $|\mathbf{A}|$ satisfies:

  • Identity: $\det(\mathbf{I}) = 1$ (The identity matrix changes nothing).
  • Multiplication: $\det(\mathbf{AB}) = \det(\mathbf{A})\det(\mathbf{B})$.
  • Inverse: $\det(\mathbf{A}^{-1}) = \frac{1}{\det(\mathbf{A})}$.

Summary Table: The Determinant as a Diagnostic Tool¶

Determinant Geometric Meaning Column Span Invertibility
$\det(\mathbf{A}) \neq 0$ Space is stretched or shrunk Full ($n$ dimensions) Invertible
$\det(\mathbf{A}) = 0$ Space is flattened/collapsed Reduced ($< n$ dimensions) Singular (Non-invertible)
$\det(\mathbf{A}) < 0$ Space is flipped or mirrored Full ($n$ dimensions) Invertible
Kontakt/Impressum