A complete course from functions and limits to vector calculus. Learn how to use derivatives, integrals, differential equations and series, and see why the methods work.
You remember school algebra: fractions, powers, equations, the graph of a straight line. You have not studied calculus, or you studied it long ago and want to understand it properly this time. You may be a student, or you may work in computing, engineering or science and meet derivatives, integrals and gradients in your work. The series assumes nothing else. If your algebra is rusty, the Optional algebra refresher of Mathematical Foundations is a good place to start.
Start with Module 1 and work through the five parts in order. New ideas start with a picture or an example before the precise definitions. The text gives proofs for many theorems, with some of the harder arguments in optional “Going deeper” boxes. Every module has a quiz and exercises at three levels, with worked solutions. Most modules have an interactive demonstration.
What you need. Have paper, a pencil and a scientific calculator set to radians. The “Checked” mark shows where worked calculations were verified with SymPy. Python is optional. The “Compute it” boxes show how to explore the maths with code, and the outputs come from running that code.
Use the formula sheet for formulas and their conditions, the glossary for terms and notation, and Common mistakes for counterexamples and fixes. The Python code ZIP contains the modules’ computing examples and separate scripts for exercises that use Python.
On this site, Mathematical Foundations for Computer Science and AI applies calculus with linear algebra, probability and optimisation, and AI: From Machine Learning to Large Language Models shows gradients at work in machine learning. For more practice, try the free OpenStax Calculus textbooks or MIT OpenCourseWare’s Single Variable Calculus and Multivariable Calculus courses.