Matrices (Precalculus)
A matrix is a rectangular array of numbers arranged in rows and columns. Matrices encode linear systems, transformations, and data tables; they can be added, scaled, multiplied, inverted, and reduced. Used everywhere from solving systems of equations to computer graphics, economics, and statistics. Formalized in the 19th century by Cayley, Sylvester, and others.
A matrix is simultaneously three things: (1) a bookkeeping table of numbers, (2) a compact encoding of a linear system , and (3) a machine that transforms vectors by multiplication. Mastering matrices means fluidly switching among these three viewpoints. The operations of row reduction solve systems; the operation of multiplication composes transformations; the inverse undoes them.
Formal Statement
An matrix is a rectangular array of numbers with rows and columns:
Derivation hint: The entry sits in row (counted top to bottom) and column (counted left to right); the pair is the matrix's <strong>order</strong> or <strong>dimension</strong>. Here denotes the entry in row , column . If the matrix is square of order . A matrix is a row vector; an matrix is a column vector.
For two matrices and of the same order , and a scalar :
Derivation hint: Both operations act <strong>entry by entry</strong>; addition requires matching dimensions, scalar multiplication does not.
If is and is (the inner dimensions must match), the product is with entries:
Derivation hint: Entry is the <strong>dot product</strong> of row of with column of ; this is the rule that makes matrix multiplication encode composition of linear transformations.
The identity matrix has s on the main diagonal and s elsewhere. A square matrix is invertible if there exists with:
Derivation hint: acts as the multiplicative ""; the inverse exists exactly when .
For , the determinant is , and when :
Derivation hint: Swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant; verify by computing .
Why It Holds / Derivation
We seek such that .
Step 1. Write the matrix equation:
Derivation hint: Multiply using rule [3] to get four scalar equations.
Step 2. The four resulting equations are , , , . Solving the first column system :
Derivation hint: Eliminate by cross-multiplication; the common denominator emerges naturally.
Step 3. Solving the second column system :
Derivation hint: Same elimination procedure applied to the right-hand column of .
Step 4. Assembling reproduces formula [5]. The procedure divides by , which fails exactly when — proving invertibility requires a nonzero determinant.
∎The English mathematician Arthur Cayley is regarded as the founder of matrix theory as an abstract subject. In his 1858 Memoir on the Theory of Matrices he treated matrices as objects in their own right, defining their addition, multiplication, and inverses, and stating (for and cases) what became the Cayley–Hamilton theorem: every square matrix satisfies its own characteristic equation. A barrister by profession for fourteen years, Cayley published nearly a thousand papers. His collaborator James Joseph Sylvester coined the word "matrix" in 1850, picturing it as the "womb" (Latin matrix) from which determinants are born.
Building Intuition
Think of a matrix three ways at once. As a table: a spreadsheet of numbers — sales by month, pixel brightnesses, coefficients of equations. As a system solver: the array paired with right-hand side is the system . As a transformer: multiplying a vector by a matrix stretches, rotates, shears, or projects it. The reason multiplication isn't commutative becomes obvious here: rotating then reflecting is generally not the same as reflecting then rotating. The determinant measures how much the transformation scales areas; when it's zero, the transformation collapses space onto a line (or point), destroying information, which is exactly why you can't invert it.
Worked Examples
Given: Solve using a matrix inverse.
Step 1. Write as with , .
Step 2. Compute , so exists.
Step 3. By formula [5]:
Step 4. Multiply: .
Check: ✓ and ✓.
Given: , . Compute and .
Step 1. Compute using rule [3], row-by-column:
Step 2. Compute :
Step 3. Compare:
This concretely demonstrates that matrix multiplication is not commutative.
Common Misconceptions
- Dimensions must align. You can only form when the number of columns of equals the number of rows of . A times a is undefined.
- Order matters. in general; never silently swap factors.
- No automatic cancellation. does not imply unless is invertible.
- There is no matrix division. "Dividing by " means multiplying by — and you must choose a side: in general.
- Determinant zero blocks inversion. If , the matrix is singular and has no inverse.
With ordinary numbers, forces or . Matrices break this. Let
Then , the zero matrix, even though neither nor is zero. Such matrices are zero divisors; both are singular (), consistent with the warning above.
Connections
Matrices sit at the crossroads of several precalculus topics. They are the natural tool for Systems of Linear Equations, converting elimination into mechanical Row Reduction (Gaussian Elimination). The Determinant generalizes the formula and governs invertibility and area/volume scaling. Multiplication of matrices is exactly composition of Linear Transformations, linking matrices to Vectors and geometry. The numerical recipe Cramer's Rule expresses solutions via determinants. At a deeper level, matrices launch the entire subject of Linear Algebra, including eigenvalues and vector spaces.
Real-World Applications
Historical Development
Subtleties & Limits
At the precalculus level, three subtleties point toward deeper waters. (1) Numerical stability: computing inverses by the cofactor formula is hopeless for large matrices; real software uses factorizations (LU, QR), and near-singular matrices amplify rounding error — quantified by the condition number. (2) Beyond and : the determinant for an matrix has terms, so naive evaluation is computationally explosive; efficient algorithms are a serious topic. (3) The structure of singular systems: when , a system may have no solution or infinitely many — distinguishing these requires the concept of rank, the gateway to vector spaces and dimension. Open research areas include fast matrix multiplication (the true exponent below is unknown) and the numerical analysis of huge sparse matrices arising in scientific computing.
See Also
Systems of Linear Equations · Determinant · Cramer's Rule · Row Reduction (Gaussian Elimination) · Linear Transformations · Vectors · Eigenvalues and Eigenvectors · Linear Algebra