← Back to College Math

Matrices & Determinants

College Math · Linear AlgebraPreview

1. Introduction

A matrix is a rectangular array of numbers arranged in rows and columns, and it is arguably the single most useful object in applied mathematics. Matrices encode systems of linear equations, represent linear transformations of space (rotations, scalings, shears, projections), store and manipulate data, drive computer graphics and machine learning, and model networks, Markov chains, and dynamical systems. The determinant is a single number distilled from a square matrix that captures whether the matrix is invertible and how it scales area or volume.

The power of matrices comes from a small algebra: we can add them, scale them, multiply them, transpose them, and — when possible — invert them. Each operation has a precise definition and clean properties, but also a few famous traps (matrix multiplication is not commutative; the inverse exists only sometimes). The determinant ties everything together: a square matrix is invertible exactly when its determinant is nonzero, and the determinant of a product is the product of determinants.

This article develops the theory rigorously: matrix operations and their algebraic laws, the geometric meaning of matrices as linear maps, determinants via cofactor expansion and row operations, the inverse via the adjugate and via Gaussian elimination, elementary row operations, and applications to solving linear systems (including Cramer's rule). The goal is both computational fluency and conceptual understanding of what these objects mean.

Matrices are the computational backbone of linear algebra: every system of linear equations, every linear transformation, and every change of coordinates reduces to matrix operations. The determinant is the bridge between algebra (invertibility) and geometry (volume scaling), and understanding both viewpoints is essential for the deeper theory of eigenvalues, vector spaces, and the spectral theorem.

2. Core Concepts

2.1 Matrices and Basic Operations

An m×nm\times n matrix AA has mm rows and nn columns, with entry aija_{ij} in row ii, column jj. Addition and scalar multiplication act entrywise (requiring matching dimensions for addition): (A+B)ij=aij+bij(A+B)_{ij}=a_{ij}+b_{ij} and (cA)ij=caij(cA)_{ij}=c\,a_{ij}. The transpose ATA^{T} swaps rows and columns: (AT)ij=aji(A^{T})_{ij}=a_{ji}.

2.2 Matrix Multiplication

The product ABAB is defined only when the number of columns of AA equals the number of rows of BB: if AA is m×nm\times n and BB is n×pn\times p, then ABAB is m×pm\times p with (AB)ij=k=1naikbkj.(AB)_{ij} = \sum_{k=1}^{n} a_{ik}\,b_{kj}. Multiplication is associative (AB)C=A(BC)(AB)C=A(BC) and distributive A(B+C)=AB+ACA(B+C)=AB+AC, but not commutative: in general ABBAAB\ne BA. The identity matrix InI_n satisfies AI=IA=AAI=IA=A.

Viewing AA as a linear map xAx\mathbf{x}\mapsto A\mathbf{x}, the product ABAB means "apply BB, then AA" — another reason order matters.

2.3 The Determinant: Definition

For a 2×22\times2 matrix: det[abcd]=adbc.\det\begin{bmatrix} a & b \\ c & d\end{bmatrix} = ad - bc. For larger matrices, cofactor (Laplace) expansion along any row ii: det(A)=j=1n(1)i+jaijMij,\det(A) = \sum_{j=1}^{n} (-1)^{i+j}\,a_{ij}\,M_{ij}, where MijM_{ij} is the minor (determinant of the submatrix with row ii, column jj deleted) and Cij=(1)i+jMijC_{ij}=(-1)^{i+j}M_{ij} is the cofactor.

2.4 Geometric Meaning of the Determinant

The determinant measures how a linear transformation scales signed area (2D) or volume (3D). If AA maps the unit square to a parallelogram, that parallelogram's area is det(A)|\det(A)|; the sign records whether orientation is preserved (++) or flipped (-). A determinant of zero means the transformation collapses space to a lower dimension — the columns are linearly dependent — which is precisely why det(A)=0\det(A)=0 signals non-invertibility.

2.5 Key Determinant Properties

  • det(I)=1\det(I)=1.
  • det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B) (multiplicativity).
  • det(AT)=det(A)\det(A^{T})=\det(A).
  • det(A1)=1/det(A)\det(A^{-1})=1/\det(A) when AA is invertible.
  • det(cA)=cndet(A)\det(cA)=c^{n}\det(A) for an n×nn\times n matrix.
  • Swapping two rows multiplies the determinant by 1-1; adding a multiple of one row to another leaves it unchanged; scaling a row by cc multiplies the determinant by cc.
  • A triangular matrix's determinant is the product of its diagonal entries.

Proof sketch of det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B). The determinant is the unique function on n×nn\times n matrices that is multilinear in columns, alternating (swapping columns negates it), and normalized to det(I)=1\det(I)=1. Multilinearity and alternation force det\det to be the signed volume scaling factor. Since ABAB as a column map is composition, the volume scales by det(A)det(B)\det(A)\det(B).

2.6 Elementary Row Operations and Row Echelon Form

The three elementary row operations are: swap two rows, multiply a row by a nonzero scalar, add a multiple of one row to another. Each corresponds to left-multiplication by an elementary matrix. Row reduction to echelon form (and reduced row echelon form, RREF) is the backbone of solving systems and computing rank. The determinant tracks how each operation affects its value.

2.7 The Inverse Matrix

The inverse A1A^{-1} satisfies AA1=A1A=IAA^{-1}=A^{-1}A=I. It exists iff det(A)0\det(A)\ne 0. For 2×22\times2: A1=1adbc[dbca].A^{-1} = \frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a\end{bmatrix}. In general, A1=1det(A)adj(A)A^{-1}=\frac{1}{\det(A)}\operatorname{adj}(A), where adj(A)\operatorname{adj}(A) is the transpose of the cofactor matrix. Properties: (A1)1=A(A^{-1})^{-1}=A, (AB)1=B1A1(AB)^{-1}=B^{-1}A^{-1}, (AT)1=(A1)T(A^{T})^{-1}=(A^{-1})^{T}.

2.8 Solving Linear Systems

Ax=bA\mathbf{x}=\mathbf{b} with nonsingular AA has unique solution x=A1b\mathbf{x}=A^{-1}\mathbf{b}. Cramer's rule: xi=det(Ai)det(A),x_i = \frac{\det(A_i)}{\det(A)}, where AiA_i is AA with column ii replaced by b\mathbf{b}. For larger systems, Gaussian elimination is far more efficient.

Continue reading with Premium

Upgrade to read the full article and unlock all Premium features.

Free

  • Unlimited practice — all difficulties
  • 3 hints / day
  • Community solutions
  • 2 timed mocks / month

Premium

  • Full article + all 57+ theory guides
  • Unlimited hints on practice problems
  • Unlimited timed mock exams & PDF worksheets
Log in