Equations and Profit Maximization