An m×n matrix A over F is a rectangular array of mn elements from FArranged in m rows and n columns. The set of all such matrices is denoted Mm×n(F).
Addition. For A,B∈Mm×n(F), (A+B)ij=Aij+Bij.
Scalar multiplication. For α∈F and A∈Mm×n(F)(αA)ij=αAij.
Matrix multiplication. For A∈Mm×n(F) and B∈Mn×p(F) The product AB∈Mm×p(F) is defined by
(AB)ij=∑k=1nAikBkj
Proposition 3.1. Matrix multiplication is associative but not commutative .
Proof. Associativity: (AB)C has (i,j)-entry ∑l(∑kAikBkl)Clj=∑kAik(∑lBklClj)=(A(BC))ij By interchanging the order of summation (both sums are finite). For non-commutativity, A=(0010) and B=(0100) give AB=(1000)=(0001)=BA. ■
Proposition 3.2 (Effect of Row Operations). Let A∈Mn×n(F).
Swapping two rows of A multiplies the determinant by −1.
Multiplying a row of A by α∈F multiplies the determinant by α.
Adding a multiple of one row to another leaves the determinant unchanged.
Proof. (1) This follows from the antisymmetry of the Leibniz formula det(A)=∑σ∈Snsgn(σ)∏i=1nai,σ(i). Swapping two rows Changes the sign of every permutation, hence the sign of the sum.
(2) Multiplying row i by α multiplies every term in the Leibniz expansion by α Hence det is multiplied by α.
(3) Adding α times row j to row i (i=j): by multilinearity in row i
A matrix with two equal rows has determinant 0 (by antisymmetry: swapping them leaves the matrix Unchanged but multiplies det by −1So det=−detHence det=0). Therefore det(newA)=det(A). ■
Theorem 3.3 (Multiplicativity). For A,B∈Mn×n(F)
det(AB)=det(A)det(B)
Proof (via elementary matrices). Every matrix B can be written as a product of elementary matrices Times an upper triangular matrix: B=E1E2⋯EkU. For an elementary matrix E:
If E swaps rows, det(E)=−1 and det(AE)=−det(A)=det(A)det(E).
If E multiplies a row by α, det(E)=α and det(AE)=αdet(A)=det(A)det(E).
If E adds a multiple of one row to another, det(E)=1 and det(AE)=det(A)=det(A)det(E).
Thus det(AE)=det(A)det(E) for every elementary matrix. By induction,
Corollary 3.4.det(AT)=det(A)And for invertible A, det(A−1)=1/det(A).
Proof.AA−1=ISo det(A)det(A−1)=det(I)=1Giving det(A−1)=1/det(A). For the transpose, use the Leibniz formula or observe that row Operations and column operations have the same effects on the determinant. ■
Definition. The adjugate (or adjoint) of A∈Mn×n(F) is
adj(A)=(Cji)i,j=1n
Where Cij is the (i,j)-cofactor of A. That is, adj(A) is the transpose of the Cofactor matrix.
Theorem 3.5. For any A∈Mn×n(F)
A⋅adj(A)=adj(A)⋅A=det(A)⋅In
In particular, if det(A)=0Then A−1=det(A)1adj(A).
Proof. The (i,j)-entry of A⋅adj(A) is ∑k=1naikCjk. When i=jThis is ∑k=1naikCik=det(A) (cofactor expansion along row i). When i=jThis is the cofactor expansion of a matrix obtained from A by replacing row j With row iWhich has two equal rows and hence determinant 0. ■
:::caution Common Pitfall The determinant is only defined for square matrices. There is no meaningful determinant for an m×n matrix with m=n. Do not confuse det(AB)=det(A)det(B) with a Non-existent formula for non-square matrices.
3.8 Worked Example: Determinant via Row Reduction (Efficient Method)
All operations were type 3 (adding a multiple of one row to another), so the determinant is Unchanged. The upper triangular matrix has diagonal entries 1,1,1,1So det(A)=1. ■
Proposition 3.6 (Determinant of a Triangular Matrix). If A is upper or lower triangular, Then det(A)=∏i=1naii.
Proof. By repeated cofactor expansion along the first column (for upper triangular), or induction. At each step, all terms involving off-diagonal entries vanish due to the zero structure, leaving Only the product of diagonal entries. ■
det(A+B)=det(A)+det(B) . For example, with A=B=I2det(A+B)=det(2I2)=4But det(A)+det(B)=2.
The adjugate formula is theoretically important but computationally inefficient. For large matrices, use Gaussian elimination or LU decomposition to compute inverses.
A matrix with det(A)=0 has no inverse. Do not attempt to divide by zero.