Short run

Long run

Profit maximization