General Engineering and Sciences

Dynamic Programming & Optimal Control Practice Exam, Flashcards & Questions

Master foundational to advanced Dynamic Programming & Optimal Control with 390 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

240 Total Questions 60 MCQs 90 Calculations 30 Formulas 60 Flashcards
Free Interactive Preview

Dynamic Programming & Optimal Control Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 240 items is available in the offline app.

Question 1 of 4 Bang-Bang Control and Switching Surfaces

When is the optimal control in a continuous dynamic system strictly 'bang-bang' (taking values only at extreme control boundaries $u(t) \in \{-u_{max}, +u_{max}\}$)?

A When system dynamics and running costs are strictly linear in the bounded control input $u(t)$, creating a linear switching function $\sigma(t)$
B When the control input has infinite allowable magnitude
C When the system is subjected to high-frequency periodic disturbance resonance
D When the state variables follow non-linear logistic saturation curves
Accepted Answer: Option A (When system dynamics and running costs are strictly linear in the bounded control input $u(t)$, creating a linear switching function $\sigma(t)$)

Rationale: If the Hamiltonian is affine in control $u$: $H = H_0(x, \lambda) + \sigma(x, \lambda) u$, where $\sigma(x, \lambda)$ is the switching function, minimizing $H$ over bounded range $[-u_{max}, u_{max}]$ yields $u^*(t) = -u_{max} \text{sgn}(\sigma(t))$. The control abruptly switches ('bang-bang') between extremes whenever $\sigma(t)$ crosses zero.

Question 2 of 4 Calculus of Variations and Euler-Lagrange

In the classical calculus of variations for functional $J[x] = \int_{t_0}^{t_1} L(t, x, \dot{x}) dt$, what necessary condition must an optimal state trajectory $x^*(t)$ satisfy along its interior path?

A The Euler-Lagrange differential equation: $\frac{\partial L}{\partial x} - \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{x}}\right) = 0$
B The second derivative $\ddot{x}$ must identically equal zero everywhere
C The Lagrangian $L$ must be an antisymmetric tensor of third rank
D The state $x(t)$ must follow a periodic Fourier cosine series
Accepted Answer: Option A (The Euler-Lagrange differential equation: $\frac{\partial L}{\partial x} - \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{x}}\right) = 0$)

Rationale: By taking the first variation $\delta J = 0$ with respect to an arbitrary admissible perturbation $\eta(t)$ vanishing at endpoints ($\eta(t_0) = \eta(t_1) = 0$), integration by parts yields $\int_{t_0}^{t_1} \left[ \frac{\partial L}{\partial x} - \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{x}}\right) \right] \eta(t) dt = 0$. By the fundamental lemma of calculus of variations, the integrand must vanish identically.

Question 3 of 4 Hamilton-Jacobi-Bellman (HJB) PDE

What fundamental non-linear partial differential equation provides both the necessary and sufficient condition for global optimality in continuous-time deterministic optimal control?

A The Hamilton-Jacobi-Bellman (HJB) PDE: $-\frac{\partial V}{\partial t} = \min_{u \in U} \left[ L(x, u, t) + \nabla_x V^T f(x, u, t) \right]$
B The Korteweg-de Vries non-linear soliton equation
C The Maxwell-Ampere electromagnetic curl equation
D The Black-Scholes parabolic option pricing equation with zero volatility
Accepted Answer: Option A (The Hamilton-Jacobi-Bellman (HJB) PDE: $-\frac{\partial V}{\partial t} = \min_{u \in U} \left[ L(x, u, t) + \nabla_x V^T f(x, u, t) \right]$)

Rationale: The HJB equation is the continuous-time limit of Bellman's dynamic programming recurrence. If a continuously differentiable function $V(x, t)$ satisfies the HJB PDE with terminal condition $V(x, t_1) = \Phi(x)$, then $V(x, t)$ is the exact minimum cost-to-go value function, and the minimizing control $u^*(x, t)$ is globally optimal in closed-loop state feedback form.

Question 4 of 4 LQR and Matrix Riccati Equation

In the continuous-time Linear Quadratic Regulator (LQR) problem with linear dynamics $\dot{x} = A x + B u$ and quadratic cost $\int (x^T Q x + u^T R u) dt$, what matrix differential equation yields the optimal state-feedback gain $K = R^{-1} B^T P(t)$?

A The continuous-time Differential Riccati Equation: $-\dot{P} = A^T P + P A - P B R^{-1} B^T P + Q$
B The discrete Lyapunov equation: $A^T P A - P + Q = 0$
C The continuous Poisson equation: $\nabla^2 P + Q = 0$
D The Navier-Cauchy stress equilibrium equation
Accepted Answer: Option A (The continuous-time Differential Riccati Equation: $-\dot{P} = A^T P + P A - P B R^{-1} B^T P + Q$)

Rationale: Assuming a quadratic value function $V(x, t) = \frac{1}{2} x^T P(t) x$, the costate is linear: $\lambda = \nabla_x V = P(t) x$. Substituting optimal control $u^* = -R^{-1} B^T \lambda = -R^{-1} B^T P x$ into the Hamilton-Jacobi-Bellman equation and factoring out $x^T [\cdot] x$ yields the Matrix Riccati Differential Equation for $P(t)$.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Bang-Bang Control and Switching Surfaces
Bang-bang control switches between control extremes based on the sign of the {{c1::switching function \sigma(t)}}.
When $\sigma(t)$ passes through zero, the optimal input jumps discontinuously.
Card 2 • Calculus of Variations and Euler-Lagrange
The Euler-Lagrange equation enforces $\frac{\partial L}{\partial x} -{{c1::\frac{d}{dt}(\frac{\partial L}{\partial \dot{x}})}}= 0$ along optimal paths.
Vanishing of the first functional variation yields the Euler-Lagrange equation.

Dynamic Programming & Optimal Control Curriculum Modules & Topics Covered

Modules
Foundations, Principle of Optimality and RecurrencesStochastic Dynamic Programming and Markov Decision ProcessesContinuous Optimal Control and Deterministic Variational Principles
Core Exam Topics
  • Bellman's Principle of Optimality and Backward Induction
  • Backward vs. Forward Dynamic Programming
  • State Space and the Curse of Dimensionality
  • Deterministic State Transition and Stage Costs
  • Shortest Path Problems on DAGs
  • The Stagecoach Problem and Routing Formulations
  • Deterministic Multi-Period Resource Allocation
  • Knapsack Problem Dynamic Programming Recurrences
  • Equipment Replacement and Asset Renewal
  • Discretization of Continuous Variables
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Foundations, Principle of Optimality and Recurrences.
  • Develop core conceptual recall and analytical problem-solving in Stochastic Dynamic Programming and Markov Decision Processes.
  • Develop core conceptual recall and analytical problem-solving in Continuous Optimal Control and Deterministic Variational Principles.

Free Downloadable Dynamic Programming & Optimal Control Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 240 items
Complete Course Pack
ZIP • 240 items
Elements (Complete)
ZIP • 240 items
Elements (Mastery)
ZIP • 240 items
Elements (Standard)
ZIP • 240 items
Active Recall Flashcards
ZIP • 240 items
Formula Codex
ZIP • 240 items
Problem Solving (Mastery)
ZIP • 240 items
Adhesive & Abrasive Wear Mechanics: Archard's Wear Coefficient Equation, Two-Body vs. Three-Body Abrasion (48) Air Pollution Engineering (24) Aircraft Stability, Flight Mechanics & Trim (264) Anaerobic Digestion (24) Applied Superconducting Magnets: NbTi and Nb3Sn Filamentary Wires, Copper Stabilizer Matrix & Magnet Quench Protection (96) Boiling & Condensation Heat Transfer (240)
Full Question Pool: 240 Verified Items

Unlock All 240 Dynamic Programming & Optimal Control Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)