Class Philosophy. Join the Discord community. Class is an interactive experience—more than just a plain video.
Deadlines. Problem Set #1 is due on September 12th. Also, read Chapter 1 of Artin (Second Edition).
§ Matrix Definition
Controversially, we say that 0∈N. Uncontroversially, an m×n matrix has m rows and n columns.
Remark. Why two-dimensional arrays, specifically? Because tensors (e.g. m×n×p arrays) are… not tractable. For example, computing the rank of a tensor is NP-hard.
A matrix A∈Rm×n transforms vectors in Rn into vectors in Rm. How?
In other words, matrices encode m different linear functions in n variables.
Remark. To Oh My Darling, Clementine: “Row by column, row by column, row by column, multiply!”
Example. Rotations in R3 are just 2-dimensional rotations about a single axis. But this isn't true in R4; in fact, rotations in Rn are determined by ⌊2n⌋ planes of rotation.
Definition (Matrix Multiplication). Consider A∈Rm×n and B∈Rn×p. The matrix product P=AB∈Rm×p is the unique matrix such that A(Bx)∈Rm always equals Px∈Rm. Explicitly, this means Pi,k=j=1∑nAi,jBj,k.
In particular, matrices are functions, and matrix multiplication is function composition.
Matrix multiplication is associative; the statement f∘g(h(x))=f(g∘h(x)) is trivially true.
Matrix multiplication is not commutative; if f(x)=x+1 and g(x)=2x, then f∘g(1)=g∘f(1).
Just as f(x)=x is the unique identity function, there is also a unique identity matrix in Rn×n:
In:=n columns10⋮001⋮0⋯⋯⋱⋯00⋮1⟹In(x)=x for all x∈Rn.
Thus, given any A∈Rn×n, we say A is invertible if there exists another B∈Rn×n (its inverse) such that AB=BA=In.
Theorem. (Uniqueness of Inverse) Any invertible A∈Rn×n has a unique inverse B.
Proof: Suppose A had two inverses B1 and B2. Then:
AB1=In⟹×B2B2AB1=B2In⟹B2A=InInB1=B2In⟹defn. of InB1=B2
So the two inverses B1 and B2 of A are in fact the same, as desired. ■
Theorem. (Invertibility Condition) Any A∈Rn×n is invertible if and only if detA=0.
Proof:(Vibes) You can't divide by 0, so you can't divide by a matrix A whose determinant is 0. ■
§ Group Theory Definitions
Definition (Group). A group is a set G with binary operation ★:G×G→G (implied g★h=gh) satisfying…
Associativity. For any g,h,k∈G, we have (gh)k=g(hk).
Identity. There exists an identity 1∈G such that 1g=g1=g for all g∈G.
Inverses. For all g∈G, there exists an inverse h∈G such that gh=hg=1.
Note that commutativity is not a requirement for groups.
Example. The set Z together with operation “addition” is a group. The set Q+ together with operation “multiplication” is also a group.
Example. The set ∅ together with operation “whatever” is not a group because it lacks an identity. Meanwhile, the set {1} together with operation “whatever” is a group: the trivial group.
Example. The set Rn×n together with operation “matrix multiplication” is not a group; it lacks inverses! However, the set GLn(R):={A∈Rn×n∣detA=0} together with operation “matrix multiplication” is a group: the general linear group of degree n.
Example. The set Sn:={perms of {1,2,…,n}} together with operation “permutation composition” is a group. For example, elements of S6 may be written as: