
Calculus of Variations and Gradients of Functionals
MIT instructors Alan Edelman and Steven G. Johnson continue their matrix calculus course (18.S096, IAP 2023) with a lecture on calculus of variations. A functional F[u] takes a function u(x) and returns a number, often via integration, and since functions form normed vector spaces just like finite-dimensional vectors, the same derivative machinery applies to them. The lecture works through how to define and compute derivatives of functionals with respect to the functions they act on, building toward gradients of functionals that extend ordinary multivariable calculus into infinite-dimensional spaces. This material underlies optimization problems in physics and machine learning where the unknown being optimized is itself a function rather than a finite set of parameters. The forty-three minute session is part of a January 2023 MIT OpenCourseWare offering aimed at students who already know linear algebra and basic calculus and want the generalized toolkit used in modern computational methods.