MODULE 02
Calculus and Optimisation
Single- and multi-variable calculus, convexity, Lagrange multipliers and KKT — the machinery behind every training loop.
17 lessons~7h reading
- 0120 min
Functions, Limits and Continuity
BeginnerComing soonLimits from both sides, the epsilon–delta definition, continuity and the classification of discontinuities.
- 0222 min
Differentiability and Rules of Differentiation
BeginnerComing soonThe derivative as a limit, differentiability vs continuity, and the product, quotient and chain rules.
Assumes: Functions, Limits and Continuity
- 0318 min
Rolle's and the Mean Value Theorems
IntermediateComing soonThe theorems that license almost every later bound, with the geometric picture and standard applications.
Assumes: Differentiability and Rules of Differentiation
- 0426 min
Taylor and Maclaurin Series
IntermediateComing soonPolynomial approximation, the remainder term, and why second-order Taylor expansion underpins Newton's method.
Assumes: Rolle's and the Mean Value Theorems
- 0522 min
Maxima and Minima of One Variable
BeginnerComing soonCritical points, first and second derivative tests, and distinguishing local from global extrema.
Assumes: Differentiability and Rules of Differentiation
- 0624 min
Optimisation in One Variable
IntermediateComing soonClosed-form optimisation, boundary cases, and numerical line search methods including golden section.
Assumes: Maxima and Minima of One Variable
- 0724 min
Partial Derivatives and the Gradient
IntermediateComing soonPartials, directional derivatives, the gradient as the direction of steepest ascent, and level sets.
Assumes: Differentiability and Rules of Differentiation
- 0826 min
The Jacobian and the Hessian
AdvancedComing soonFirst- and second-order derivative matrices for vector-valued functions, and what Hessian definiteness tells you.
Assumes: Partial Derivatives and the Gradient · Quadratic Forms and Definiteness
- 0924 min
The Multivariable Chain Rule
AdvancedComing soonComposing vector functions, the chain rule in matrix form, and its direct role in backpropagation.
Assumes: The Jacobian and the Hessian
- 1028 min
Matrix Calculus for Machine Learning
AdvancedComing soonDerivatives with respect to vectors and matrices, layout conventions, and a reference table of standard identities.
Assumes: The Multivariable Chain Rule
- 1126 min
Convex Sets and Convex Functions
IntermediateComing soonConvexity tests, Jensen's inequality, and why convex problems have no bad local minima.
Assumes: The Jacobian and the Hessian
- 1226 min
Lagrange Multipliers
AdvancedComing soonEquality-constrained optimisation, the geometric meaning of multipliers, and shadow prices.
Assumes: Convex Sets and Convex Functions
- 1328 min
KKT Conditions
AdvancedComing soonInequality constraints, complementary slackness, and the conditions that define the SVM dual.
Assumes: Lagrange Multipliers
- 1428 min
Gradient Descent
IntermediateComing soonThe update rule, step-size selection, convergence on convex objectives, and failure modes.
Assumes: Partial Derivatives and the Gradient
- 1526 min
Newton and Quasi-Newton Methods
AdvancedComing soonSecond-order optimisation, Newton's method, and why BFGS and L-BFGS approximate the Hessian instead.
Assumes: Gradient Descent · Taylor and Maclaurin Series
- 1630 min
Constrained Convex Optimisation
AdvancedComing soonStandard form problems, Lagrangian duality, weak and strong duality, and the duality gap.
Assumes: KKT Conditions
- 1726 min
Numerical Differentiation and Autodiff
AdvancedComing soonFinite differences and their error, forward vs reverse mode automatic differentiation, and gradient checking.
Assumes: The Multivariable Chain Rule