Mathematics for Machine Learning

Learn / Mathematics for Machine Learning

02 - Linear Algebra

Advanced mastery of Chapter 2, covering every named section and exercise-style synthesis across book pages 17-69.

Learning path

0%

0 of 4 sections marked complete · about 42 minutes

Learning objectives

What you will be able to explain

  • Linear equations and solution sets
  • Matrix multiplication by entries
  • Matrix operations
  • Gaussian elimination
  • Vector-space axioms
  • Linear independence

Section 01

Linear equations and solution sets to Matrix operations

01

Linear equations and solution sets

Row reduction reveals pivots, consistency, and free variables.

Guided checkpoint

Match system property to outcome.

Source: Secs. 2.1 and 2.3, pp. 19-34

02

Matrix multiplication by entries

Each entry is a row-column inner product.

Guided checkpoint

Let A=[[1,2],[3,4]]A=[[1,2],[3,4]] and B=[[2,0],[1,5]]B=[[2,0],[-1,5]]. Compute selected entries of ABAB.

Source: Sec. 2.2, pp. 22-27

03

Matrix operations

Order matters and invertibility requires full rank.

Guided checkpoint

Assume compatible dimensions.

Source: Sec. 2.2, pp. 22-27

Section 02

Gaussian elimination to Linear independence

01

Gaussian elimination

The augmented entry becomes 122(5)=212-2(5)=2.

Guided checkpoint

After replacing row 2 of [[1,25],[2,512]][[1,2|5],[2,5|12]] by row2 minus twice row1, what is the new final entry?

Source: Sec. 2.3, pp. 27-35

02

Vector-space axioms

Homogeneous constraints preserve zero, addition, and scaling; affine solution sets need not.

Guided checkpoint

Judge each candidate.

Source: Sec. 2.4, pp. 35-40

03

Linear independence

A basis is both independent and spanning; redundant spanning sets are not bases.

Guided checkpoint

For vectors v1,...,vkv_1,...,v_k.

Source: Secs. 2.5-2.6, pp. 40-48

Section 03

Basis, dimension, and rank to Change of basis

01

Basis, dimension, and rank

Rank-nullity connects domain dimension, image, and kernel.

Guided checkpoint

Match term to meaning.

Source: Sec. 2.6, pp. 44-48

02

Linear mappings and matrices

Matrices represent linear mappings once bases are chosen.

Guided checkpoint

Match concept.

Source: Sec. 2.7, pp. 48-61

03

Change of basis

A basis matrix maps basis coordinates into ambient coordinates.

Guided checkpoint

If coordinate vectors satisfy x=B[x]Bx=B[x]_B, what do columns of BB contain?

Source: Sec. 2.7, pp. 48-61

Section 04

Affine spaces to Exercise-style rank-nullity

01

Affine spaces

Translation separates location from direction.

Guided checkpoint

Check each statement.

Source: Sec. 2.8, pp. 61-63

02

Further-reading bridge

The chapter points onward from exact algebra to computational linear algebra.

Guided checkpoint

Which next topic most directly deepens systems, rank, and numerical solution behavior?

Source: Sec. 2.9, p. 63

03

Exercise-style rank-nullity

Rank-nullity gives 5=2+nullity5=2+nullity.

Guided checkpoint

A linear map R5R3R^5 \to R^3 has rank 2. What is its nullity?

Source: Chapter 2 exercises, pp. 64-69

Knowledge check

Turn understanding into recall.

The quiz now follows the same concepts in scored form. You can return to this lesson from the quiz whenever a gap appears.