AA203: lecture textbook
Spring 2026 · 19 selected recordings · 19 chapter pages.
All selected chapters have passed the recorded course completion gates.
How to study this book
This independent reading edition follows the nineteen recordings of Stanford AA203, Optimal and Learning-Based Control, Spring 2026. The linked playlist is labeled AA203; that identity determines this book’s title. Each chapter follows its recording’s actual boundary, while added derivations, counterexamples, numerical experiments, and exercises extend the lecture into a self-contained study session. The source map distinguishes recording material from original teaching constructions.
Prerequisites are multivariable calculus, linear algebra, ordinary differential equations, basic probability, and some Python. You should be comfortable differentiating a quadratic form, solving a linear system, interpreting an eigenvalue, and conditioning an expectation. Convex optimization and reinforcement learning are developed where first needed. The opening chapters establish the notation and sign conventions used later.
A route from physical models to learned policies
Chapter 1 builds a bounded cart model and asks what an admissible controller can accomplish. Chapters 2–5 turn that question into necessary and sufficient optimization conditions: finite-dimensional constraints, variations, costates, free final time, and bounded controls. Keep the distinction between a necessary condition, a local solution, and a globally optimal admissible trajectory visible throughout.
Chapters 6–8 move from mathematical conditions to computation: transcription, Bellman recursion, LQR, tracking, and local nonlinear optimization. Reproduce the cart calculations and compare the discrete problem with its continuous limit. Chapters 9–10 add uncertainty and connect discrete Bellman equations to continuous Hamilton–Jacobi equations; the order of expectation, optimization, and adversarial choice now matters as much as the algebra.
Chapters 11–12 connect reachability, constraint satisfaction, recursive feasibility, and stability. A trajectory that looks safe over a finite prediction horizon is not automatically safe forever. Work through the terminal-set shift proof and the Lyapunov decrease argument before treating MPC as a reliable feedback architecture.
Chapters 13–15 ask what changes when a model or policy is learned from data. Identification requires informative excitation; tracking convergence does not imply parameter convergence. Demonstration accuracy does not ensure accuracy on the states a learned controller visits. The corrective-data and generative-policy chapters make those gaps concrete without attributing model-based stability guarantees to a sampled action generator.
Chapters 16–19 develop reinforcement learning from sampled values and temporal differences through value-based learning, policy optimization, and learned dynamics. Follow one question across all four: which expectation or model is being approximated, with what data, and what changes when the policy changes? The final chapter returns to planning with learned models, closing the loop with the numerical and robustness questions introduced earlier.
Use the examples as experiments
Read a derivation once, reproduce its small numerical example, then change a parameter that threatens an assumption. Try shortening a feasible transfer time, removing excitation from an identification experiment, or increasing the action chunk executed before feedback. Each chapter includes six exercises with complete expandable solutions. Attempt the exercise before opening its solution; print expands solutions automatically.
The interactive numerical lab compares minimum-energy motion with an acceleration limit. The accompanying Python lab and executable examples in every chapter provide further independently checkable fixtures. They demonstrate particular mathematical claims; they do not certify a physical robot, establish a universal learning guarantee, or reproduce the performance of a cited research system.
Provenance and reading conventions
Timestamp links beside major section headings return to the relevant part of the original recording. Acquisition used local machine transcription rather than publisher captions. Mathematical notation and apparent transcription errors were checked against the official lecture material; remaining qualifications are recorded in the chapter metadata. Supporting books and original papers appear in the references. Raw audio, transcripts, and slide copies are not bundled with this edition.
Most deterministic control chapters minimize cost; reinforcement learning chapters commonly maximize discounted reward. Each transition states its convention. Continuous time, discrete environment time, and the auxiliary transport time of a generative policy are different variables. Keep the model, objective, constraints, information pattern, and horizon together when comparing two methods.
19 recordings shown
01. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 1: Course Overview
Complete chapter02. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 2: Optimization Theory
Complete chapter03. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 3: Calculus of Variations
Complete chapter04. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 4: Indirect Methods
Complete chapter05. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 5: Computational Methods
Complete chapter06. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 6: Direct Methods
Complete chapter07. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 7: Dynamic Programming
Complete chapter08. AStanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 8: LQR-Style Algorithms
Complete chapter09. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 9: Stochastic Dyn. Program
Complete chapter10. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 10: Reachibility Analysis
Complete chapter11. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 11: Introduction to MPC
Complete chapter12. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 12: Feasibility of MPC
Complete chapter13. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 13: Intro to Learning
Complete chapter14. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 14: Intro to IL and RL
Complete chapter15. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 15: Imitation Learning
Complete chapter16. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 16: Fundamentals of RL
Complete chapter17. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 17: RL Value-Based Methods
Complete chapter18. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 18: RL Policy Optimization
Complete chapter19. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 19: Model-Based RL
Complete chapter