Linear Algebra
The Geometry of Data
Build geometric intuition for vectors, projections, eigenvectors, the SVD, and PCA—the language used to represent and understand data.
Open textbook · Version 1.0
Calculus, Linear Algebra, and Optimization
A clear, integrated introduction for first-year and early sophomore students—connecting the mathematics they learn with the machine learning it powers.
DOI 10.5281/zenodo.21752763A 15-week pathway
Instead of treating linear algebra, calculus, and optimization as separate courses, the book shows how they work together inside modern learning methods.
Linear Algebra
Build geometric intuition for vectors, projections, eigenvectors, the SVD, and PCA—the language used to represent and understand data.
Vector Calculus
Move from derivatives to gradients, Jacobians, Hessians, Taylor models, and backpropagation for functions of many variables.
Optimization
Turn mathematical structure into algorithms through gradient descent, Newton’s method, KKT conditions, regularization, and SVMs.
Built for learning
Each topic moves through a deliberate rhythm: understand the mathematics, see its role in machine learning, and test it with a small computation.
DERIVE
Definitions, geometric explanations, and detailed hand calculations develop the ideas from first principles.
CONNECT
PageRank, PCA, regression, backpropagation, regularization, and SVMs show where each tool is used.
COMPUTE
Short programming exercises translate the calculations into transparent numerical experiments.
Where to begin
The book assumes one semester of calculus and introductory programming, but no prior course in linear algebra, multivariable calculus, or optimization.
Definitions, key ideas, and one worked example per section.
All worked examples, exercises, and exam-practice problems.
Add every ML link and reproduce the numerical work in NumPy.
Permanent scholarly record
Zenodo preserves the citable Version 1.0 record. Corrections and future editions will be released as explicitly numbered versions.
Xiantao Li, Mathematical Pathways to Machine Learning: Calculus, Linear Algebra, and Optimization, Version 1.0, Zenodo, 2026. https://doi.org/10.5281/zenodo.21752763