Pontryagin's maximum principle
Pontryagin's maximum principle gives necessary conditions for an optimal control trajectory. It requires the trajectory and an associated costate to satisfy differential equations while the control maximizes a Hamiltonian.