
Nonlinear Root Finding, Optimization, and Adjoint Gradient Methods
Alan Edelman and Steven G. Johnson continue MIT's 18.S096 Matrix Calculus for Machine Learning and Beyond with a lecture on finding roots and minima of nonlinear functions. They cover Newton's method for root finding, gradient descent for optimization, and then turn to adjoint methods, the reverse-mode differentiation technique underlying backpropagation, showing how it lets large-scale engineering problems compute gradients efficiently without differentiating with respect to every parameter separately. The lecture builds on earlier matrix calculus foundations from the course and connects classical numerical analysis to the machine learning training algorithms built on top of it. Delivered as a chalk-and-whiteboard style university lecture, part of MIT OpenCourseWare's January 2023 Independent Activities Period offering, it assumes familiarity with linear algebra and basic calculus and is aimed at students who want to understand the mechanics behind gradient-based optimization rather than just use it as a black box.