Profit Maximization and Imperfect Competition