Course map and matrix algebra
Before a computer can solve a network of equations, balance a chemical reaction, or rotate a 3D model, it packs the numbers into a matrix and leans on a handful of algebraic rules. This article opens the "Matrices, systems, and numerical linear algebra" chapter of MA10002 (Mathematics-II) by building that toolkit: addition, scalar multiplication, matrix multiplication, transpose, determinant, adjoint, and inverse, together with the special matrix families — symmetric, skew-symmetric, orthogonal, Hermitian, skew-Hermitian, unitary — and the bilinear form . Here matrices are treated purely computationally, as arrays you manipulate by rule, not yet as abstract linear transformations (that viewpoint arrives later, in "Vector spaces, transformations, and eigenvalue problems"). Everything that follows in this chapter — rank, row reduction, solving systems, numerical linear algebra — leans on the identities built here, so fluency now pays off repeatedly downstream.
A matrix is manipulated by a fixed algebra — sum, product, transpose, determinant, and inverse — and every one of these operations obeys precise, sometimes counter-intuitive, order-of-operations rules that the rest of linear algebra depends on.
The core idea
Size and entrywise operations. A matrix of size is a rectangular array of scalars (real or complex) with rows and columns. Addition and scalar multiplication act entrywise: and , and they require to be the same size.
Matrix multiplication is not entrywise. For of size and of size , the product has size , with each entry a dot product of a row of with a column of :
where: runs along row of , runs down column of , and the inner dimension must match. Crucially, matrix multiplication is not commutative: in general, and often only one of the two products is even defined.
Transpose and determinant. The transpose swaps rows and columns, . For a square matrix, the determinant is a scalar; for ,
For an matrix, cofactor expansion along row gives , where is the minor formed by deleting row and column ; expanding along any row or column gives the same value, which is a useful hand-check.
Adjoint and inverse. The adjoint (adjugate) is the transpose of the cofactor matrix. When ,
where: is built entirely from signed minors of , and scales the result. A matrix with has no inverse and is called singular.
Special families. Over : is symmetric if , skew-symmetric if , orthogonal if . Over , replace transpose by conjugate transpose : Hermitian if , skew-Hermitian if , unitary if . Real symmetric/skew-symmetric/orthogonal matrices are the real-entry special cases of Hermitian/skew-Hermitian/unitary.
Bilinear and quadratic forms. A bilinear form is , linear in and in separately. Setting gives the quadratic form ; for symmetric it expands cleanly as .
Standing identities. Two reversal rules recur throughout the chapter: transpose of a product reverses order, , and so does inverse of a product, (both invertible, same order). Determinants are multiplicative, , which immediately gives . It is worth pausing on why the reversal happens, since it is the single most-forgotten sign or order slip in this chapter. Entrywise, , so the two sides agree term by term; the same bookkeeping, run through the definition of an inverse, forces rather than . A closely related pair of matrices, the identity (ones on the diagonal, zeros elsewhere) and the zero matrix , act the way and do for numbers: for any square of matching size, and . Unlike ordinary numbers, though, does not force or — two nonzero matrices can multiply to give the zero matrix, another reminder that matrix algebra only mimics ordinary arithmetic up to a point, and every identity above needs to be verified from the definitions rather than assumed by analogy with scalars.
The goal is to show, starting only from the definition of the cofactor matrix and the cofactor-expansion formula for the determinant, exactly why dividing the adjoint by the determinant produces a genuine two-sided inverse, so that the formula is not a rule to memorize blindly but a direct consequence of how determinants are built from minors — and why it fails precisely when .
Step 1. Define the cofactor , where is the minor obtained by deleting row and column of . The adjoint is the transpose of the cofactor matrix, .
Step 2. Look at the product entry by entry. The diagonal entry , which is exactly the cofactor expansion of along row . So every diagonal entry equals .
Step 3. Look at an off-diagonal entry, for : this equals , which is the cofactor expansion (along row ) of the determinant of a matrix where row has been replaced by a duplicate of row . A determinant with two equal rows is zero, so every off-diagonal entry vanishes.
Step 4. Combine Steps 2 and 3: , where is the identity matrix. Dividing both sides by the scalar , valid only when , gives , so by definition of inverse. The same argument applied to shows it also equals , so this is a genuine two-sided inverse, and the whole construction collapses to nothing useful the moment , which is exactly why a singular matrix cannot be inverted.
Worked example
Let , . Find , , , and verify .
Step 1. Compute the product using :
Step 2. Compute , nonzero, so is invertible.
Step 3. For a matrix the adjoint is , so
Check:
Competitive stretch
Step 4. Verify the reversal identity numerically. , so . Then . Independently, , and for the adjoint is , so . The two computations agree, confirming .
Common traps
- Assuming : matrix multiplication is generally non-commutative, and even when both products exist they can differ.
- Forgetting the adjoint uses the transpose of the cofactor matrix, not the cofactor matrix itself — a very common / slip.
- Confusing "symmetric" (real, ) with "Hermitian" (complex, ); for a real matrix the two coincide, but a complex matrix must be checked with the conjugate.
- Getting the order wrong in reversal identities: writing instead of , or instead of .
- Trying to invert a singular matrix (), or dividing by without first checking it is nonzero.
Ask the tutor: if you want another determinant or a Hermitian-vs-unitary classification worked through step by step, ask the AI tutor to walk through it with you.
Why does matrix multiplication not commute, when ordinary number multiplication does
Because combines rows of with columns of : the definition treats the two matrices asymmetrically, pairing row of the first factor with column of the second. Swapping the order pairs different rows with different columns and generally gives a different result, or is not even defined if the inner dimensions no longer match. Only special pairs of matrices (such as a matrix and its own powers, or a matrix and the identity) happen to commute.
Is the adjoint the same thing as the inverse
No. The adjoint is built purely from signed minors of and exists for every square matrix, invertible or not. The inverse only exists when , and it equals the adjoint scaled by . If , the adjoint can still be computed but does not exist, since dividing by zero is undefined.
How do I quickly tell if a matrix is symmetric, skew-symmetric, or neither
Write down by swapping rows and columns, then compare it entrywise with . If every entry matches, and the matrix is symmetric. If every entry is the exact negative (and all diagonal entries are zero, since a diagonal entry must equal its own negative), and it is skew-symmetric. If neither pattern holds throughout, the matrix is neither; most matrices you write down at random fall into this last case.