Time-optimal control of a double integrator
The switching curve is: x₁ = -½ sgn(x₂) x₂²
Bang-bang principle: For time-optimal control, the control only takes extreme values (+1 or -1), never intermediate values.
The trajectory follows parabolas in phase space, switching exactly once when crossing the optimal switching curve.
Click anywhere on the phase plane to start a trajectory from that point. Watch how the optimal controller drives the system to the origin.