Chapter 06 · overview · 1 min read
Calculus
Calculus is the maths of change. It answers "how fast is this quantity changing right now?" (differentiation) and "how much has it accumulated?" (integration). For AI, the first question is the important one: training a model means nudging its numbers in the direction that reduces its error, and calculus tells you which direction that is.
Topics in this section:
- Rate of Change: average and instantaneous change.
- Limits: what a value approaches.
- Continuity: functions with no jumps or holes.
- Derivatives: the slope of a curve at a point.
- Derivative Rules: shortcuts for common functions.
- Chain Rule: derivatives of chained functions.
- Derivatives of Exp, Log and Sigmoid: the functions AI uses most.
- Higher Derivatives and Curvature: the rate of change of the slope.
- Partial Derivatives: change in one direction at a time.
- Gradients: the direction of steepest climb.
- Jacobian: derivatives of functions with many outputs.
- Hessian: curvature in many dimensions.
- Integrals: accumulation and area.
- Taylor Approximation: simple functions that mimic complicated ones.
- Automatic Differentiation: how software computes derivatives exactly.