# Leibniz

## 7.3.1 Average and marginal cost functions

The total costs of production for a manufacturing firm such as Beautiful Cars include the rent on the factory, the lease on equipment and machinery, the price of raw materials (including utilities), and the wages of all its employees. The cost function, , describes how the firm’s total costs vary with its output—the number of cars, , that it produces. In this Leibniz we show how the firm’s average and marginal cost functions are related to .

In general, total costs will increase with the quantity of output produced. In what follows, we treat as a continuous variable, a common and useful approximation when dealing with large numbers. It then makes sense to assume that the function is differentiable, and describe the fact that it is an increasing function by the inequality:

The graph of the function is shown in the upper panel of Figure 7.7 of the text, reproduced below as Figure 1. Note that ; even if no cars are produced the firm incurs some costs, , referred to as fixed costs. In the diagram, is an increasing function and it is also convex: the slope of the curve increases as increases. We shall say more about this below.

The average cost (AC) of producing Beautiful Cars is defined as the total cost divided by the number of cars produced. Thus if cars are produced:

In the upper panel of Figure 1, the average cost of producing cars is the slope of the line from the point to the origin. And you can see from the diagram that the slope varies with : the average cost AC is itself a function of . The graph of the function is shown in the lower panel of Figure 1.

The marginal cost (MC) is the rate at which costs increase if increases. Thus if cars are produced:

You can interpret MC, as in the text, as the cost of producing one more car: but remember that this is only an approximation. Geometrically, MC is the slope of the curve shown in the upper panel of Figure 1. As mentioned earlier, this cost function has the property that the slope increases as increases: we are assuming that for Beautiful Cars the cost of producing an additional car is an increasing function of the number of cars already being produced. This means that the marginal cost is an increasing function of . The marginal cost function is shown as an upward-sloping line in the lower panel of Figure 1.

Now think about the shape of the average cost function. Remembering that average cost is the slope of the ray from to the origin, you can see from the upper panel of Figure 1 that the average cost is high when is low; it then decreases gradually until point B where , before increasing again. This is reflected in the lower panel by the U-shaped AC curve, with a minimum value at . The diagram also shows that if , if and if . Another way of putting this is to say that always has the same sign as the slope of the AC curve. We now prove that this is always true, whatever the shape of the cost function.

By the rule for differentiating a quotient:

Now and . Therefore:

Since , it follows that the slope of the AC curve at each value of has the same sign as , which is what we wanted to prove.

Read more: Sections 6.4 and 8.1 of Malcolm Pemberton and Nicholas Rau. 2015. *Mathematics for economists: An introductory textbook*, 4th ed. Manchester: Manchester University Press.