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

  1. 01. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 1: Course Overview

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  2. 02. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 2: Optimization Theory

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

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

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  4. 04. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 4: Indirect Methods

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  5. 05. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 5: Computational Methods

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  6. 06. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 6: Direct Methods

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  7. 07. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 7: Dynamic Programming

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  8. 08. AStanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 8: LQR-Style Algorithms

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  9. 09. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 9: Stochastic Dyn. Program

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  10. 10. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 10: Reachibility Analysis

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  11. 11. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 11: Introduction to MPC

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  12. 12. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 12: Feasibility of MPC

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  13. 13. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 13: Intro to Learning

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  14. 14. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 14: Intro to IL and RL

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  15. 15. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 15: Imitation Learning

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  16. 16. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 16: Fundamentals of RL

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  17. 17. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 17: RL Value-Based Methods

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  18. 18. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 18: RL Policy Optimization

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription

  19. 19. Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 19: Model-Based RL

    Complete chapter

    Original recording · Transcript: acquired; local machine transcription