MATH 3110 · Linear Algebra

Lecture Notes

Shuhong Gao  ·  Clemson University

These notes are interactive. Click any dotted term to unfold its exact definition or statement right where you are reading — no scrolling back. Click ▸ Proof to expand a proof, and answer the self-check exercises inline: they are graded instantly in your browser, and nothing is recorded. Click ▸ Sections under a lecture to jump straight to one of its sections; inside a lecture, each section heading folds and unfolds.

Start here

  1. Ability, Understanding, and Proof

    What to learn in linear algebra when AI can do the homework: ability versus knowledge, how to learn with AI tools and the Math 3110 Tutor, what it means to understand linear algebra, and how to do proofs. Read this first.

Lectures

  1. Lecture 1: Vectors, Matrices, and Systems of Linear Equations

    Vector arithmetic, the product Ax read by rows and by columns, linear systems, elementary operations, and the matrix equation Ax = b.

    Sections
    1. 1.1 Vectors and their operations
    2. 1.2 Matrices and the product Ax
    3. 1.3 Systems of linear equations and their solutions
    4. 1.4 Equivalent systems and elementary operations
    5. 1.5 The matrix equation Ax = b
  2. Lecture 2: Gaussian Elimination and Solution Sets

    Echelon forms, the elimination algorithm, free variables, the parametric vector form, and the existence–uniqueness theorem.

    Sections
    1. 2.1 Echelon forms and Gaussian elimination
    2. 2.2 Solution sets: parametric form
    3. 2.3 Existence and uniqueness
  3. Lecture 3: Homogeneous Systems, Independence, and Linear Maps

    Homogeneous systems and the structure of solution sets, linear independence, linear maps (rotations, flips), the one-to-one correspondence between matrices and linear maps, and injective, surjective and bijective maps.

    Sections
    1. 3.1 Homogeneous systems and the structure of solution sets
    2. 3.2 Linear independence
    3. 3.3 Linear maps and their matrices
    4. 3.4 Injective, surjective, and bijective maps
  4. Lecture 4: Operations on Linear Maps and Matrices

    Sums and scalar multiples, composition of linear maps and the matrix product, the algebra of products, powers of a square matrix, inverses of square matrices, matrix equations AX = B, and elementary matrices.

    Sections
    1. 4.1 Sums and scalar multiples
    2. 4.2 Composition and the matrix product
    3. 4.3 Inverses and elementary matrices
  5. Lecture 5: The Determinant and Its Properties

    The 2×2 determinant from elimination, mathematical induction and the recursive definition, row properties and cofactor expansion, computing by elimination (A − λI), the product rule, transposes and column operations (Vandermonde), area and volume, Cramer's rule and the adjugate.

    Sections
    1. 5.1 The 2 × 2 determinant, found by elimination
    2. 5.2 The n × n determinant and its row properties
    3. 5.3 Computing determinants by elimination
    4. 5.4 Products, inverses, and transposes
    5. 5.5 Determinants and volume
    6. 5.6 Cramer's rule and the adjugate
  6. Lecture 6: Vector Spaces, Subspaces, Bases, and Dimension

    Vector spaces (ℝn, matrices, polynomials, functions), subspaces and span, the null space, column space and row space of a matrix, linear independence, bases and coordinates, and dimension.

    Sections
    1. 6.1 Vector spaces
    2. 6.2 Subspaces and span
    3. 6.3 The null space, column space, and row space of a matrix
    4. 6.4 Linear independence, bases, and coordinates
    5. 6.5 Dimension
  7. Lecture 7: Rank, Linear Maps, and Change of Basis

    Bases of the null, column and row spaces, rank and the rank theorem, uniqueness of the reduced echelon form, linear maps between vector spaces, kernel and image, the matrix of a linear map relative to bases, change of basis, and similar matrices.

    Sections
    1. 7.1 Bases for the null space, column space, and row space
    2. 7.2 Rank and the rank theorem
    3. 7.3 Linear maps between vector spaces
    4. 7.4 The matrix of a linear map
    5. 7.5 Change of basis and similar matrices
  8. Lecture 8: Eigenvalues, Eigenvectors, and Diagonalization

    Eigenvalues and eigenvectors of matrices and linear maps, independence of eigenvectors for distinct eigenvalues, the characteristic equation, multiplicities, and diagonalization: the criterion, examples and non-examples.

    Sections
    1. 8.1 Eigenvalues and eigenvectors
    2. 8.2 The characteristic equation
    3. 8.3 Diagonalization
  9. Lecture 9: Orthogonal Projection and the Least Squares Method

    Inconsistent systems from noisy data, the inner product and length, orthogonal sets and column orthonormal matrices, the orthogonal complement, the orthogonal projection theorem and distance to a subspace, the Gram–Schmidt process and the QR factorization, and least-squares solutions by Gram–Schmidt, QR and the normal equations.

    Sections
    1. 9.1 When Ax = b has no solution
    2. 9.2 Inner product, length, and orthogonality
    3. 9.3 The orthogonal complement and the projection theorem
    4. 9.4 Distance to a subspace and the projection formula
    5. 9.5 The Gram–Schmidt process and the QR factorization
    6. 9.6 Least-squares solutions
  10. Lecture 10: The Spectral Theorem and the Singular Value Decomposition

    Symmetric matrices and the spectral theorem, quadratic forms, principal axes and definiteness, maximum and minimum of a quadratic form on the unit sphere, the singular value decomposition and what it tells about a matrix, the pseudoinverse and the shortest least-squares solution, and best approximation by matrices of low rank (Eckart–Young), with image compression and principal components.

    Sections
    1. 10.1 Symmetric matrices, the spectral theorem, and quadratic forms
    2. 10.2 The singular value decomposition (SVD)
    3. 10.3 The pseudoinverse and least squares
    4. 10.4 Best approximation by matrices of low rank
  11. Lecture 11: Linear Algebra in Transformer Language Models

    Enrichment reading, not exam material: how a language model turns a prompt into next-token probabilities. Embeddings, queries, keys and values, softmax attention, the residual stream and readout; the rank and SVD of the query–key matrix; rotary position embedding, normalization as orthogonal projection, and grouped-query attention.

    Sections
    1. 11.1 From text to vectors
    2. 11.2 Queries, keys, and values
    3. 11.3 From scores to a contextual update
    4. 11.4 From a head to a language model
    5. 11.5 What the linear algebra tells us about a head
    6. 11.6 Position, normalization, and efficient attention
    7. 11.7 What public descriptions say about major models
    8. 11.8 Practice problems
    9. 11.9 References and further reading

How to use these notes

Each lecture is one week's material. Read the intuition paragraphs first — every section opens with the idea before the formalism. The self-check exercises inside the notes are for practice only; the graded problem set for each week is posted separately on Canvas.