Skip to content
Handbook navigation

Volume 2

Volume 2 - Mathematics for AI Engineers

Volume 2 teaches the mathematics AI engineers compute with, on real models and real data: GPT-2 small and Llama 3.1 8B for shapes, costs and gradients, and scikit-learn's bundled digits, breast cancer and diabetes datasets for measurements that run offline. Section 1 covers numbers, vectors and matrices, Section 2 the calculus of training, and Section 3 the probability and statistics behind sampling and evaluation. Each chapter works one mechanism through a real case and a failure story, and the closing Review chapter runs a single training step of a 100-parameter attention head from its forward pass to an interval on the evaluation that judges it.

Chapters

19

Lesson Reading

13 hr 50 min

Labs

19

Interview Sets

19

What This Volume Covers

Read the sections in order if you are building from scratch. Experienced readers can jump to a section, but the chapters are sequenced to build vocabulary, mental models, implementation judgment, and architecture readiness.

Section 1

Mathematical Foundations

6 chapters · 4 hr 10 min lesson reading

Section Overview
  1. Chapter 1Numbers, Functions & GraphsLevel: Beginner65 minutesAcademy Pass
  2. Chapter 2Linear Algebra EssentialsLevel: Beginner35 minutesAcademy Pass
  3. Chapter 3VectorsLevel: Beginner35 minutesAcademy Pass
  4. Chapter 4MatricesLevel: Beginner40 minutesAcademy Pass
  5. Chapter 5Matrix MultiplicationLevel: Intermediate35 minutesAcademy Pass
  6. Chapter 6Eigenvalues & EigenvectorsLevel: Intermediate40 minutesAcademy Pass

Section 2

Calculus

6 chapters · 4 hr 20 min lesson reading

Section Overview
  1. Chapter 7Calculus EssentialsLevel: Beginner45 minutesAcademy Pass
  2. Chapter 8DerivativesLevel: Beginner40 minutesAcademy Pass
  3. Chapter 9Partial DerivativesLevel: Intermediate45 minutesAcademy Pass
  4. Chapter 10The GradientLevel: Intermediate45 minutesAcademy Pass
  5. Chapter 11The Chain RuleLevel: Intermediate40 minutesAcademy Pass
  6. Chapter 12Gradient Descent & OptimizationLevel: Intermediate45 minutesAcademy Pass

Section 3

Probability & Statistics

7 chapters · 5 hr 20 min lesson reading

Section Overview
  1. Chapter 13Probability EssentialsLevel: Intermediate50 minutesAcademy Pass
  2. Chapter 14Bayes' TheoremLevel: Intermediate40 minutesAcademy Pass
  3. Chapter 15Random VariablesLevel: Intermediate45 minutesAcademy Pass
  4. Chapter 16DistributionsLevel: Intermediate50 minutesAcademy Pass
  5. Chapter 17StatisticsLevel: Intermediate40 minutesAcademy Pass
  6. Chapter 18Information TheoryLevel: Intermediate45 minutesAcademy Pass
  7. Chapter 19End of Volume Review & Interview QuestionsLevel: Volume review50 minutesAcademy Pass