Skip to main content
Back to Courses Library
Courses/Phase 1/Cambridge / MML Authors
Primary: Phase 1Used in Phases 1, 2Free TextbookIntermediateFree Learning Material
Mathematics for Machine Learning textbook authors

Mathematics for Machine Learning

Mathematical foundations of machine learning, including linear algebra, vector calculus, probability, and optimization.

Authored by Marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong (published by Cambridge University Press with a permanently free official PDF), Part I of this textbook bridges university math directly to machine learning—covering matrix decompositions, vector calculus (Jacobians and backpropagation gradients), probability distributions, and continuous optimization.

Resource Tracking

Course status is tracked independently from roadmap topic checkboxes so you can mark external courses without altering your topic mastery percentage.

Suggested Learning Position

Phase 1 Comprehensive Written Textbook Reference (Modules 1.1–1.4)

Language:English
Access & Link Verification

Complete official PDF textbook and companion Jupyter notebooks are freely downloadable from the authors' website.

Status: Verified (2026-11-09)

What You Will Learn from This Resource

  • Connect linear algebra decompositions (SVD, PCA) directly to dimensionality reduction.
  • Compute gradients of matrix-vector expressions using Jacobian and chain-rule identities.
  • Understand gradient descent with momentum and probabilistic regression from first principles.

Recommended Prerequisites

Review these foundations before starting so you get the most out of this material:

  • High-school math and Phase 0 Python/NumPy basics.

Topics & Keywords

TextbookLinear AlgebraVector CalculusOptimizationProbability
Curriculum Integration

How This Resource Fits Into Your AI & LLM Roadmap

Open Interactive Roadmap

Phase-Specific Study Recommendations (1)

Phase 1 · Resource 1.7Practice & Reference

Mathematics for Machine Learning

In Phase 1: Mathematics for AI

Use Chapters 2–7 as your primary written textbook reference across all four modules of Phase 1 (Linear Algebra, Vector Calculus, Probability, and Optimization).

Continue Exploring
Browse Full Library
Phase 1Recommended StartFull Course
MIT OpenCourseWare
IntermediateFree Learning Material

Linear Algebra (18.06SC)

A university-level linear algebra course covering vector spaces, matrices, linear systems, eigenvalues, and related topics.

MIT OCWGilbert StrangLinear AlgebraSVDEigenvalues
Your Status:
Phase 1Full Course
MIT OpenCourseWare
IntermediateFree Learning Material

Multivariable Calculus

University course on vectors, matrices, partial derivatives, gradient vectors, directional derivatives, and multivariable optimization.

MIT OCWMultivariable CalculusPartial DerivativesGradientsJacobians
Your Status:
Phase 1Full Course
MIT OpenCourseWare
IntermediateFree Learning Material

Introduction to Probability and Statistics

Rigorous introduction to discrete and continuous probability distributions, conditional probability, Bayes' theorem, expectation, variance, and maximum likelihood estimation.

MIT OCWProbabilityStatisticsBayes TheoremMaximum Likelihood
Your Status: