Sub topic 6
Choosing output where MR = MC
This chapter assumes you can read cost and revenue curves and know the difference between a total, an average and a marginal value. It also assumes you know that a perfectly competitive firm is a price taker, so its demand curve is horizontal at the market price, and that marginal revenue (MR) equals price (P) for such a firm. Here we use those facts to find the output that maximizes profit.
The question the firm answers
A firm in a competitive market cannot choose its price. The market sets it. The only decision left is quantity: how many units to produce this period, given the plant it already has.
Profit is total revenue minus total cost:
π(q) = TR(q) − TC(q)
The firm wants the q that makes π as large as possible. There are two ways to find it: add up one unit at a time, or use calculus. Both lead to the same rule.
The marginal logic
Think of output as a sequence of units. Producing one more unit changes profit by what it adds to revenue minus what it adds to cost:
- Marginal revenue (MR) is the extra revenue from one more unit. For a price taker, MR = P.
- Marginal cost (MC) is the extra cost of one more unit.
The decision rule follows directly.
- If MR > MC, the next unit adds more revenue than cost, so profit rises. Produce it.
- If MR < MC, the next unit costs more than it brings in, so profit falls. Do not produce it.
- If MR = MC, the firm is indifferent about the marginal unit and has no reason to move.
Marginal cost in the short run rises with output because of diminishing marginal returns to the variable input. So early units usually have MC below P, and later units have MC above P. The firm expands until the two meet.
The calculus derivation
Differentiate profit with respect to q and set the result to zero:
dπ/dq = dTR/dq − dTC/dq = MR − MC = 0
So MR = MC at the optimum. Because MR = P for a price taker, the condition becomes P = MC.
Setting the first derivative to zero finds a stationary point, which could be a minimum rather than a maximum. The second-order condition rules that out:
d²π/dq² = −dMC/dq < 0, which requires dMC/dq > 0
Marginal cost must be rising at the chosen output. This is the reason the profit-maximizing point is on the upward-sloping part of the MC curve.
A worked example
Use the cost function TC(q) = 50 + 10q + q². Fixed cost is 50. Marginal cost is MC(q) = 10 + 2q. The market price is 30.
Set P = MC:
30 = 10 + 2q, so q* = 10
Revenue is 30 × 10 = 300. Total cost is 50 + 100 + 100 = 250. Profit is 50.
The calculus answer treats output as continuous. With whole units, the cost of the q-th unit is TC(q) − TC(q−1) = 9 + 2q. The table compares that unit cost with the price of 30.
| Unit | Cost of this unit | Price | Change in profit | Produce? |
|---|---|---|---|---|
| 8 | 25 | 30 | +5 | Yes |
| 9 | 27 | 30 | +3 | Yes |
| 10 | 29 | 30 | +1 | Yes |
| 11 | 31 | 30 | −1 | No |
| 12 | 33 | 30 | −3 | No |
The firm stops after unit 10. Profit at 9 units is 270 − 221 = 49. Profit at 11 units is 330 − 281 = 49. Profit at 10 units is 50, which is the peak.
The code below confirms the result by searching over output rather than solving the equation.
# TC(q) = FIXED + A*q + B*q**2, so MC(q) = A + 2*B*q
FIXED, A, B = 50.0, 10.0, 1.0
def total_cost(q):
return FIXED + A * q + B * q**2
def marginal_cost(q):
return A + 2 * B * q
def profit(price, q):
return price * q - total_cost(q)
price = 30.0
# Try every output from 0.0 to 30.0 in steps of 0.1 and keep the most profitable.
candidates = [q / 10 for q in range(0, 301)]
best_q = max(candidates, key=lambda q: profit(price, q))
print(best_q, profit(price, best_q), marginal_cost(best_q))
# 10.0 50.0 30.0The search finds q = 10, and at that output marginal cost equals the price of 30. The search needs no calculus, so it also works for cost functions that are hard to solve by hand.
Reading the rule on a diagram
On a standard cost diagram the price is a horizontal line. To find the optimum:
- Draw the horizontal price line (which is also MR).
- Find where it crosses the MC curve from above on the rising section.
- Drop down to the quantity axis. That is q*.
- To read profit, go up from q to the ATC curve. The gap between price and ATC at q is profit per unit, and multiplying by q* gives total profit.
The profit rectangle has height P − ATC(q) and width q. If ATC is above the price at q*, the same rectangle represents a loss.
Common errors and edge cases
Maximizing something other than profit
Three mistakes come up often.
- Maximizing revenue. For a price taker, revenue rises with every unit, so it is never maximized at a finite output. Cost is what limits output.
- Maximizing profit per unit. The gap P − ATC is largest where ATC is lowest (assuming the price is above it), which is usually at a smaller output than the profit-maximizing one. Extra units whose MC is below P still add to total profit, even though they pull per-unit profit down.
- Comparing P with ATC instead of MC. Average cost tells you whether the firm earns a profit. Marginal cost tells you how much to produce.
Two intersections
When MC is U-shaped, the price line can cross it twice. The first crossing is on the falling section, where the second-order condition fails. Producing slightly more there raises profit, so it is a profit minimum along that margin. Only the crossing on the rising section is a maximum.
Fixed cost does not affect the choice
Fixed cost does not appear in MC. If FIXED rose from 50 to 80, the optimal output at a price of 30 would still be 10. Only the profit level changes, falling from 50 to 20. Fixed cost is sunk in the short run, so it cannot change which marginal unit is worth producing.
MR = MC is necessary, not sufficient
The rule tells you the best positive output. It does not tell you whether producing any output beats producing none. The firm must also compare the result with shutting down, which depends on whether the price covers average variable cost. The next chapters develop that test. Until then, treat q* as the best output conditional on operating.
Price changes move the optimum
Because q solves P = MC, a higher price moves the firm up its MC curve to a larger output. With this cost function, q = (P − 10)/2. At P = 40, q* = 15. This link between price and quantity is the starting point for the firm's supply curve.
Summary of the rule
- A price taker maximizes profit by choosing q where MR = MC, which is P = MC.
- The point must be on the rising part of the MC curve.
- Fixed cost changes the size of profit but not the optimal output.
- Profit at q is (P − ATC) × q, and it can be negative.
- A separate shutdown check decides whether q* or zero is better.
Exercise
The firm has TC(q) = 50 + 10q + q², so MC = 10 + 2q. The market price is 22. Find the profit-maximizing output and the resulting profit or loss. Is it better than producing nothing, if producing nothing means paying the fixed cost of 50?
Show answer
Set P = MC: 22 = 10 + 2q, so q* = 6. Revenue is 22 × 6 = 132. Total cost is 50 + 60 + 36 = 146. Profit is 132 − 146 = −14, a loss of 14. Producing nothing would cost the full fixed cost of 50, so a loss of 14 is better. The firm should produce 6 units.
Exercise
A student says: "My firm earns the highest profit per unit at the output where ATC is lowest, so it should produce there." Using the cost function above at a price of 30, explain why this is wrong and give the output the firm should choose instead.
Show answer
Minimum ATC occurs at q = √50 ≈ 7.07, where ATC ≈ 24.14. Profit per unit there is about 30 − 24.14 = 5.86, so total profit is about 41.4. Units beyond 7.07 still have MC below the price of 30 until q = 10, so each adds to total profit. At q = 10, profit per unit is only 5 but total profit is 50, which is higher. The firm should maximize total profit, so it chooses q = 10 where P = MC.