
Lecture 1 Part 1: Introduction and Motivation
MIT instructors Alan Edelman and Steven G. Johnson open 18.S096, Matrix Calculus for Machine Learning and Beyond, by laying out why ordinary single and multivariable calculus falls short once derivatives involve matrices and vectors rather than scalars. They motivate the course by pointing to machine learning, where gradients of functions with thousands or millions of parameters have to be computed efficiently, and argue that treating derivatives as linear operators, rather than grids of partial derivatives, is the right way to generalize calculus to these settings. The lecture previews the course's approach of building intuition through concrete examples before formal generalization, and sketches how topics like the chain rule and Jacobians will be reframed in this linear-operator language. It is an introductory session, setting up motivation and notation rather than working through full derivations.