2. The theory of a cost-minimizing firm 2.1 The cost function for a firm with one variable input 2.2 Allocating output between two plants 2.3 The cost function for a firm with two variable inputs 2.4 Comparative statics for cost-minimizing firm using two inputs 2.5 The cost function and returns to scale 2.6 Long run and short run cost functions