The Mathematics of Artificial Intelligence from First Principles

From School Algebra to the Frontier of Machine Learning and Large Language Models

Rajesh Ranjan Mahapatra

Build from logic, number and functions through linear algebra, calculus, probability and optimisation to the mathematical ideas behind machine learning and language models.

This book is being prepared for publication on Kindle. The free online edition and downloads have been withdrawn in the meantime.

© 2026 Rajesh Ranjan Mahapatra. All rights reserved.

Cover of The Mathematics of Artificial Intelligence from First Principles