Please read the following:

Chapter 8.1: Production Choices and Costs: The Short Run (eText)