Control theory is the branch of mathematics that deals with controlling the behavior of dynamic systems.