Save this video free

Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 3: Calculus of Variations

Stanford Online · 1:22:57 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Daniele Gammelli completes the finite-dimensional optimization review with active inequality constraints and the Karush-Kuhn-Tucker (KKT) conditions, then introduces calculus of variations as a route to necessary optimality conditions for continuous-time control. Starting with a fixed-endpoint functional J = ∫g(x, ẋ, t)dt, he uses a first-order Taylor expansion, integration by parts, and the fundamental lemma to derive the Euler-Lagrange equation.

Key takeaways

Chapters

0:00 From Finite-Dimensional Optimization to Inequality Constraints
4:00 Active Constraints and the Feasible-Region Example
7:15 Why Inactive Constraints Can Be Removed Locally
14:00 Adding Inequality Multipliers to the Lagrangian
22:05 KKT Conditions and Their Regularity Assumption
25:39 KKT Example: A Quadratic Objective and One Inequality
33:27 Open-Loop Indirect Methods: Optimize, Then Discretize
39:18 Functionals Extend Optimization to Entire Signals
43:06 Functional Linearity Through Homogeneity and Additivity
46:05 Function Norms Measure Trajectory Closeness
50:17 Local Extrema and Variations of a Functional
55:51 Functional Differentiability and the Variational Condition
1:05:16 Set Up a Fixed-Endpoint Variational Problem
1:07:39 Taylor Expansion Extracts the First Variation
1:13:13 Integration by Parts Removes the Variation Derivative
1:20:17 The Fundamental Lemma Yields the Euler-Lagrange Equation

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:05 Hi, everyone. So first of all, great to see you here. My name is Daniele Gammelli. I'm a postdoc in the Autonomous Systems Lab in the Department of Aeronautics and Astronautics. As you might guess from the accent, I'm also Italian. So if optimal control doesn't work for you, I guess you'll be experts in Italian accents at the very least. So for today, the plan is that-- so over the last week, we started introducing the general formalism for optimal control. Specifically, we introduced the general problem formulation, which is something along the lines of-- we're given a dynamical system x of t, which is in the form of a differential equation. And the overall goal for us was to determine an optimal control

0:59 signal, u star of t, that minimizes some objective, which we defined as having a terminal cost h of x of tf for the final time tf plus our running cost. And then so this we realized that this was in an infinite dimensional. Yes? Can you use a different board? All right. Again, nothing new here. What I was saying here is we defined the optimal control problem as a dynamical system, where we wanted to define an optimal control u star of t.

1:50 And this control then steers the state trajectory x of t in a way that we can optimize an objective function j, which is composed of two terms, a terminal state-- terminal cost h of x of tf evaluated at the final time plus a running cost. Again, I don't want to just-- don't take too much out of this exactly, because we saw this already. And then given that we realized that this is an infinite dimensional optimization problem, we then went into-- opened a parenthesis about finite dimensional optimization,

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Stanford Online.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.