Back to Course

Matrices and Determinants

Foundations: Structure and Operations

Matrices are rectangular arrays of numbers organized into rows and columns. Their order or dimension () determines how they interact with other matrices through addition and scalar multiplication.
Matrix addition is performed element-wise by summing entries at the same index.
=Element in row $i$, column $j$(scalar)
=Corresponding element in matrix $B$(scalar)
Different Orders
Addition is undefined; matrices must be of the same dimension.
Element Indexing: refers to the entry in the row and column.
Dimension Rule: Addition and subtraction require exactly matching dimensions.
Commutativity: Matrix addition is commutative (), but multiplication is NOT.
Additive Identity: The Null Matrix satisfies for any matrix of the same order.
Scalar Scaling: and — scalar multiplication distributes over both matrix and scalar addition.

Matrix Multiplication: The Row-by-Column Rule

Unlike addition, matrix multiplication is not element-wise. It involves the dot product of rows from the first matrix and columns from the second. The inner dimensions must match for the product to be conformable.
The result element is the sum of products of row from and column from .
=Elements of the $i^{th}$ row of matrix $A$(unitless)
=Elements of the $j^{th}$ column of matrix $B$(unitless)
=Number of columns in $A$ (must equal rows in $B$)(integer)
Matrix multiplication is generally non-commutative.
Dimension Matching: To multiply by , the inner values must be equal.
Resulting Order: The product matrix will have dimensions .
Identity Property: Multiplication by the Identity Matrix () leaves the original matrix unchanged.

Determinants and Singularity

The determinant is a scalar value that captures essential properties of a square matrix. It determines if a matrix is invertible; a matrix with a determinant of zero is called singular and has no inverse.
Formula for a 3x3 matrix determinant via expansion by the first row.
=Determinant of matrix $A$(scalar)
=Minor of element $a$(scalar)
The matrix is singular and cannot be inverted.
2×2 Formula: For , the determinant is simply (main diagonal minus secondary diagonal).
Cofactor Sign Pattern: Expansion uses the checkerboard , starting with at position .
Product Rule: The determinant of a product equals the product of the determinants: .
Expansion Choice: You may expand along any row or column — the result is always the same. Choose the row/column with the most zeros to save work.

Properties of Determinants

Several key properties of determinants allow evaluation without full expansion. These shortcuts reduce computation by identifying special structures in the matrix.
Transpose Property: . The determinant is unchanged when rows and columns are swapped.
Row/Column Interchange: Swapping two rows (or columns) reverses the sign of the determinant.
Identical Rows/Columns: If any two rows (or columns) are identical, .
Zero Row/Column: If an entire row or column is zero, .
Scalar Factor: A common factor from any single row can be taken outside: . For the entire matrix: .
Row Addition: Adding a scalar multiple of one row to another does not change the determinant.
Triangular Matrix: The determinant of a triangular (or diagonal) matrix equals the product of its diagonal entries.

Special Types of Matrices

Matrices are classified by the relationships between their entries. A Symmetric Matrix satisfies , while a Skew-Symmetric Matrix satisfies . Similarly, a Hermitian Matrix satisfies for complex entries.
Symmetric: for all entries. All diagonal matrices are symmetric.
Skew-Symmetric: , which forces all diagonal entries to be zero.
Hermitian: Like symmetric, but for complex matrices — .
Skew-Hermitian: ; diagonal entries are either zero or purely imaginary.
Null Matrix: Every entry is zero. Also called the zero matrix .
Scalar Matrix: A diagonal matrix where all diagonal entries are the same scalar . Equivalent to .

The Adjoint and Inverse Matrix

The inverse of a matrix is another matrix such that their product is the Identity Matrix. Finding the inverse requires the Adjoint matrix, which is the transpose of the cofactor matrix.
The inverse is the adjoint matrix scaled by the reciprocal of the determinant.
=Multiplicative Inverse Matrix(matrix)
=Adjoint matrix (Transpose of Cofactors)(matrix)
=Determinant of A (must be non-zero)(scalar)
The matrix is singular and no inverse exists.
Existence: exists if and only if .
Inverse Determinant: , since .
2×2 Adjoint Shortcut: For , the adjoint is — swap diagonals, negate off-diagonals.
Verification: Always check your answer: must equal .