Sub topic 10
Worked example: P = 100 - Q and MC = 20
This chapter runs the whole monopoly calculation once with concrete numbers. You will find the monopoly and competitive outcomes, measure surplus in each, compute the deadweight loss, and check the result against the Lerner index.
I assume you already know how to read supply and demand graphs, how consumer and producer surplus are defined as areas, what marginal cost means, and how to do basic algebra. The earlier chapters derived why marginal revenue (MR) lies below demand and why a monopolist sets MR = MC. Here you apply those results.
The setup
A single firm sells a product with these features:
- Inverse demand is P = 100 - Q. At a price of 100 nobody buys. Each unit the firm sells lowers the price by 1.
- Marginal cost is constant: MC = 20. There is no fixed cost, so average cost also equals 20.
- The firm must charge one price to every buyer.
In the general linear form P = a - bQ with constant marginal cost c, the numbers are a = 100, b = 1 and c = 20. The condition a > c matters. If a ≤ c, no price covers cost and the market does not exist.
Step 1: the competitive benchmark
Competition drives price down to marginal cost, so set P = MC:
100 - Q = 20, so Q = 80 and P = 20.
At this point consumers value the last unit at exactly what it costs to make. Every trade worth making takes place. Because price equals average cost, producers earn zero profit and zero producer surplus.
Step 2: the monopolist's marginal revenue
Total revenue is TR = P × Q = (100 - Q)Q = 100Q - Q². Marginal revenue is the derivative:
MR = 100 - 2Q
The MR curve starts at the same intercept as demand (100) but falls twice as fast. The reason is that selling one more unit means cutting the price on every unit already sold, not only on the new one.
You can see this with discrete steps around the optimum:
| Quantity | Price | Total revenue | Marginal revenue (from previous unit) |
|---|---|---|---|
| 39 | 61 | 2379 | n/a |
| 40 | 60 | 2400 | 21 |
| 41 | 59 | 2419 | 19 |
The 41st unit sells for 59, but total revenue rises by only 19. The unit brings in 59, and the 40 earlier units each lose 1, which is 59 - 40 = 19.
Step 3: set MR = MC
100 - 2Q = 20, so Q = 40.
Then read the price off the demand curve, not the MR curve:
P = 100 - 40 = 60.
The firm picks the quantity where MR = MC. It then charges the highest price buyers will pay for that quantity. In the table above, the 40th unit adds 21 to revenue and costs 20, so it is worth producing. The 41st adds 19 and costs 20, so it is not.
Step 4: surplus at each outcome
Surplus is measured with areas.
Under competition (Q = 80, P = 20):
- Consumer surplus is the triangle under demand and above the price: 0.5 × (100 - 20) × 80 = 3200.
- Producer surplus is 0, since P = MC.
- Total surplus is 3200.
Under monopoly (Q = 40, P = 60):
- Consumer surplus is 0.5 × (100 - 60) × 40 = 800.
- Producer surplus is the rectangle (60 - 20) × 40 = 1600. This is also the monopolist's profit, since there are no fixed costs.
- Total surplus is 800 + 1600 = 2400.
| Measure | Competition | Monopoly |
|---|---|---|
| Quantity | 80 | 40 |
| Price | 20 | 60 |
| Consumer surplus | 3200 | 800 |
| Producer surplus | 0 | 1600 |
| Total surplus | 3200 | 2400 |
Consumers lose 3200 - 800 = 2400. The firm gains 1600. That 1600 is a transfer from buyers to the seller. It changes who gets the surplus but does not destroy it.
Step 5: the deadweight loss
The part that is not transferred is the loss: 2400 - 1600 = 800, which equals 3200 - 2400. Geometrically, it is the triangle between demand and marginal cost, from Q = 40 to Q = 80:
DWL = 0.5 × (Pmono - MC) × (Qcomp - Q_mono) = 0.5 × 40 × 40 = 800.
The triangle's corner points are (40, 60), (40, 20) and (80, 20). Each unit between 40 and 80 is worth more to some buyer than it costs to make. Those 40 units go unproduced because the monopolist would have to lower the price on all units to sell them.
Run the numbers in code
The function below reproduces every figure above for any linear demand and constant marginal cost.
def monopoly_vs_competition(a, b, c):
"""Inverse demand P = a - b*Q, constant marginal cost c (requires a > c, b > 0)."""
# Competition: P = MC -> a - b*Q = c
q_comp = (a - c) / b
p_comp = c
# Monopoly: MR = a - 2*b*Q = c
q_mono = (a - c) / (2 * b)
p_mono = a - b * q_mono
# Surplus (areas of triangles and rectangles)
cs_comp = 0.5 * (a - p_comp) * q_comp
cs_mono = 0.5 * (a - p_mono) * q_mono
ps_mono = (p_mono - c) * q_mono
dwl = 0.5 * (p_mono - c) * (q_comp - q_mono)
return {
"q_comp": q_comp, "p_comp": p_comp,
"q_mono": q_mono, "p_mono": p_mono,
"cs_comp": cs_comp, "cs_mono": cs_mono,
"ps_mono": ps_mono, "dwl": dwl,
}
result = monopoly_vs_competition(a=100, b=1, c=20)
for name, value in result.items():
print(name, value)
# q_comp 80.0, p_comp 20, q_mono 40.0, p_mono 60.0
# cs_comp 3200.0, cs_mono 800.0, ps_mono 1600.0, dwl 800.0You can also confirm the optimum without calculus. Try every whole-number quantity and keep the most profitable one:
def profit(q, a=100, b=1, c=20):
return (a - b * q - c) * q
best_q = max(range(0, 101), key=profit)
print(best_q, 100 - best_q, profit(best_q))
# 40 60 1600The search lands on Q = 40, P = 60 and a profit of 1600, which matches the MR = MC result.
Check with the Lerner index
The Lerner index is the markup as a share of price, (P - MC) / P. At the optimum it should equal 1 / |elasticity|.
# Lerner index check for the example P = 100 - Q, MC = 20
q_mono, p_mono, mc = 40.0, 60.0, 20.0
slope = -1.0 # dQ/dP for Q = 100 - P
elasticity = slope * p_mono / q_mono # -1.5
lerner_from_prices = (p_mono - mc) / p_mono
lerner_from_elasticity = 1 / abs(elasticity)
print(lerner_from_prices, lerner_from_elasticity) # both about 0.6667Both calculations give 2/3. At P = 60 and Q = 40, demand is elastic (|ε| = 1.5), and the markup is exactly what that elasticity implies. If the two numbers disagreed, you would suspect an arithmetic error.
Closed-form results
For P = a - bQ and constant MC = c, the algebra gives general formulas:
- Q_mono = (a - c) / (2b)
- P_mono = (a + c) / 2, which is the midpoint of the demand intercept and marginal cost
- Profit = (a - c)² / (4b)
- DWL = (a - c)² / (8b)
With the example numbers, 80² / 4 = 1600 for profit and 80² / 8 = 800 for the deadweight loss. Profit is always twice the deadweight loss in this linear case. These formulas depend on both demand being linear and marginal cost being constant. With curved demand or rising marginal cost, the monopolist still sets MR = MC, but the half-the-competitive-quantity result no longer holds.
What changes if you tweak the assumptions
- A price cap at MC (P = 20). The monopolist can then sell every unit at 20, so MR equals 20 up to Q = 80. It produces 80, and the deadweight loss disappears. The firm earns zero profit, which is a problem if it has fixed costs.
- A price cap at 40. Buyers demand 60 units at that price. The cap makes MR flat at 40 up to Q = 60, so the firm produces 60. The deadweight loss shrinks to 0.5 × (40 - 20) × (80 - 60) = 200.
- A cap set too low. Below MC = 20, the firm would lose money on each unit and would stop producing. Regulation needs good information about costs.
- Perfect price discrimination. If the firm charged each buyer their full willingness to pay, it would sell 80 units. Producer surplus would be 3200, consumer surplus 0, and the deadweight loss 0. Efficiency returns, but all the surplus goes to the seller.
- Higher marginal cost. If c rises from 20 to 40, Qmono falls to 30 and Pmono rises to 70. The price rises by only half of the cost increase.
Common errors
- Reading the price from the MR curve. MR = MC gives the quantity only. At Q = 40, MR is 20, but the price is 60. Always go up to the demand curve.
- Using the wrong triangle. The deadweight loss triangle is bounded by demand and MC, between Q = 40 and Q = 80. It is not the area between MR and MC, and it is not the whole consumer surplus lost.
- Counting the profit as a loss. The rectangle of 1600 moves from consumers to the firm. Only the 800 triangle is lost to society.
- Forgetting to halve. MR has the same intercept as demand but twice the slope. Using MR = 100 - Q gives Q = 80, which is the competitive answer.
- Dropping the triangle's factor of 0.5. Both surplus triangles and the DWL triangle need it. The profit rectangle does not.
Exercises
Exercise
Keep MC = 20 but change demand to P = 120 - Q. Find the monopoly quantity and price, the monopolist's profit, and the deadweight loss.
Show answer
MR = 120 - 2Q. Setting MR = 20 gives Q = 50, and P = 120 - 50 = 70. Profit = (70 - 20) × 50 = 2500. The competitive quantity is 100 (from 120 - Q = 20), so DWL = 0.5 × (70 - 20) × (100 - 50) = 1250. These match the formulas: (a - c)² / (4b) = 100² / 4 = 2500 and (a - c)² / (8b) = 1250.
Exercise
In the original example (P = 100 - Q, MC = 20), a regulator sets a price cap of 30. What quantity does the monopolist produce, and what is the new deadweight loss?
Show answer
At P = 30, buyers demand Q = 70. With the cap, MR is 30 up to Q = 70, which is above MC = 20, so the firm produces 70. Beyond 70 the price would have to fall below the cap, and MR drops under 30 and eventually below MC, but the firm already sells all that buyers want at 30. DWL = 0.5 × (30 - 20) × (80 - 70) = 50. The loss falls from 800 to 50.
Exercise
At the monopoly optimum in this example, the elasticity of demand is -1.5. Suppose a different market has |ε| = 4 at the optimum and MC = 20. What price does the Lerner index imply?
Show answer
The Lerner rule gives (P - MC) / P = 1 / |ε| = 0.25. So P - 20 = 0.25P, which gives 0.75P = 20 and P = 26.67. A more elastic market gives a much smaller markup than the 2/3 in the worked example.