Optimal control theory is a branch of control theory that deals with finding a control for a dynamical system over a period of time such that an objective function is optimized.
Optimal tax theory or the theory of optimal taxation is the study of designing and implementing a tax that maximises a social welfare function subject to economic constraints.