Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Exercises

  1. Augmented performance index

    Consider the optimal control problem

    min  J=120T(x2+u2)dt,\min \; J = \frac{1}{2} \int_0^T \left( x^2+u^2 \right)\,\mathrm{d}t,

    subject to

    x˙=ax+bu,x(0)=x0,x(T)=xf.\dot{x}=ax+bu, \qquad x(0)=x_0, \qquad x(T)=x_f.

    (a) Construct the augmented functional.

    (b) Define the Hamiltonian.

    (c) Identify the state, control, costate, and endpoint multiplier.

  2. Pontryagin necessary conditions

    For

    x˙=x+u,\dot{x}=x+u,

    with

    J=120T(x2+u2)dt,J= \frac12 \int_0^T \left( x^2+u^2 \right)\,\mathrm{d}t,

    derive

    (a) the Hamiltonian,

    (b) the state equation,

    (c) the costate equation,

    (d) the stationarity condition,

    (e) the complete two-point boundary-value problem.

  3. Linear-quadratic finite-horizon problem

    Consider

    x˙=2x+u,x(0)=1,x(T)=0,\dot{x}=-2x+u, \qquad x(0)=1, \qquad x(T)=0,

    with

    J=120Tu2dt.J= \frac12 \int_0^T u^2\,dt.

    Derive all necessary conditions and eliminate the control to obtain coupled state-costate differential equations.

  4. Double integrator

    Consider

    x˙1=x2,x˙2=u,\dot{x}_1=x_2, \qquad \dot{x}_2=u,

    with

    J=120Tu2dt.J= \frac12 \int_0^T u^2\,dt.

    (a) Construct the Hamiltonian.

    (b) Derive the costate equations.

    (c) Derive the optimal control.

    (d) Write the complete boundary-value problem.

  5. Free terminal state

    Consider

    J=0T(12u2+cx)dt,J= \int_0^T \left( \frac12u^2+cx \right)\,dt,

    subject to

    x˙=u,x(0)=0,\dot{x}=u, \qquad x(0)=0,

    where x(T)x(T) is free.

    Derive

    (a) the Hamiltonian,

    (b) all necessary conditions,

    (c) the terminal transversality condition,

    (d) the complete boundary-value problem.

  6. Terminal Mayer cost

    Consider

    J=12(x(T)xd)2+120Tu2dt,J= \frac12 \left( x(T)-x_d \right)^2 + \frac12 \int_0^T u^2\,dt,

    subject to

    x˙=u,x(0)=x0.\dot{x}=u, \qquad x(0)=x_0.

    Derive

    (a) the Hamiltonian,

    (b) the costate equation,

    (c) the stationarity condition,

    (d) the terminal costate condition,

    (e) the complete two-point boundary-value problem.

  7. Bounded control

    Suppose

    u[2,2],u\in[-2,2],

    and

    H=λu+12u2.H= \lambda u + \frac12u^2.

    (a) Determine the unconstrained minimizing control.

    (b) Determine the constrained minimizing control.

    (c) Sketch the optimal control as a function of λ\lambda.

  8. Free final time

    Consider

    J=0tf(1+12u2)dt,J= \int_0^{t_f} \left( 1+\frac12u^2 \right)\,dt,

    subject to

    x˙=u,x(0)=0,x(tf)=xf,\dot{x}=u, \qquad x(0)=0, \qquad x(t_f)=x_f,

    where tft_f is free.

    Derive

    (a) the Hamiltonian,

    (b) all necessary conditions,

    (c) the free-final-time condition,

    (d) the resulting boundary-value problem.

  9. General endpoint constraints

    Let

    ϕ=C0x(t0)+Cfx(tf)+rtfd.\boldsymbol{\phi} = C_0\boldsymbol{x}(t_0) + C_f\boldsymbol{x}(t_f) + \boldsymbol{r}t_f - \boldsymbol{d}.

    (a) Compute

    δϕ.\delta\boldsymbol{\phi}.

    (b) Derive

    δ(νTϕ).\delta \left( -\boldsymbol{\nu}^{\mathsf T} \boldsymbol{\phi} \right).

    (c) Identify the coefficients multiplying

    δx(t0),δx(tf),δtf.\delta\boldsymbol{x}(t_0), \quad \delta\boldsymbol{x}(t_f), \quad \delta t_f.
  10. Complete derivation of Pontryagin’s conditions

    Starting from the augmented functional

    Ja=ΦνTϕ+t0tf(HλTx˙)dt,J_a = \Phi - \boldsymbol{\nu}^{\mathsf T} \boldsymbol{\phi} + \int_{t_0}^{t_f} \left( H - \boldsymbol{\lambda}^{\mathsf T} \dot{\boldsymbol{x}} \right) dt,

    derive the complete first variation.

    Use integration by parts to derive

    (a) the state equations,

    (b) the costate equations,

    (c) the stationarity condition,

    (d) the endpoint conditions,

    (e) the free-final-time transversality condition.