# Costate equations

**Costate equations** are related to the state equations used in

control theory. They are stated as a

vector of first order

differential equations with the right-hand side being the vector of

partial derivatives of the negative of the

hamiltonian with respect to the state variables.