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. ■
3.2 Transpose
The transpose of A∈Mm×n(F)Denoted ATIs the n×m matrix With (AT)ij=Aji.
Properties of transpose:
(A+B)T=AT+BT
(αA)T=αAT
(AB)T=BTAT
(AT)T=A
3.3 Inverse Matrices
A square matrix A∈Mn×n(F) is invertible if there exists a matrix A−1∈Mn×n(F) such that
AA−1=A−1A=In
Theorem 3.1. The following are equivalent for A∈Mn×n(F):
A is invertible.
det(A)=0.
The columns of A are linearly independent.
The rows of A are linearly independent.
rank(A)=n.
The equation Ax=b has a unique solution for every b.
The only solution to Ax=0 is x=0.
3.4 Determinants
The determinant is a function det:Mn×n(F)→F defined recursively by Laplace expansion along the first row:
det(A)=∑j=1n(−1)1+ja1jM1j
Where M1j is the (1,j)-minor (the determinant of the (n−1)×(n−1) matrix obtained by Deleting row 1 and column j).
The (i,j)-cofactor is Cij=(−1)i+jMijSo det(A)=∑j=1naijCij for any fixed row i.
3.5 Properties of Determinants
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. ■
3.6 Adjugate and Inverse Formula
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. ■
3.7 Worked Examples
Problem. Compute det(A) where
A=105216340
Solution
Expanding along the first column:
det(A)=1⋅det(1640)−0+5⋅det(2134)
=1⋅(0−24)+5⋅(8−3)=−24+25=1
■
Problem. Compute det(A) by row reduction where
A=2461123135811351
Solution
Apply row operations and track their effect on the determinant:
:::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)
Problem. Compute det(A) where
A=1111123413610141020
Solution
This matrix has Pascal-like entries. We use row operations:
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. ■
3.9 Common Pitfalls
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.