Sub topic 2
Deriving best-response functions
This chapter assumes you can differentiate a polynomial, solve a first-order condition, know that a monopolist sets marginal revenue equal to marginal cost, and solve two linear equations in two unknowns.
Deriving best-response functions
In the Cournot model, firms choose quantities at the same time. Market price depends on total output. Let inverse demand be P = a - bQ, where Q = q1 + q2, and let each firm have constant marginal cost c.
Firm 1's profit is π1 = (a - b(q1 + q2) - c) q1. Differentiating with respect to q1 and setting the result to zero gives the first-order condition:
a - c - 2b·q1 - b·q2 = 0
Solving for q1 gives firm 1's best-response function:
q1 = (a - c - b·q2) / (2b)
A one-unit increase in the rival's output lowers firm 1's best response by half a unit.
> Common error: dropping the factor of 2 from the q1² term. Differentiating -b·q1² gives -2b·q1, not -b·q1.
The Cournot-Nash equilibrium with two firms
A Nash equilibrium is a pair of quantities where each firm's output is a best response to the other's. With identical firms, set q1 = q2 = q. The condition becomes a - c - 3bq = 0, so q = (a - c)/(3b). Price is P = a - 2bq.
For a = 100, b = 1, c = 10, each firm produces 30, the price is 40, and each firm earns a profit of 900. The code below iterates the best responses until they settle at this point.
# Inverse demand: P = a - b*Q, constant marginal cost c
a, b, c = 100.0, 1.0, 10.0
def best_response(q_other):
return max(0.0, (a - c - b * q_other) / (2 * b))
q1, q2 = 0.0, 0.0
for _ in range(50):
q1 = best_response(q2)
q2 = best_response(q1)
Q = q1 + q2
P = a - b * Q
print(round(q1, 4), round(q2, 4), round(P, 4), round((P - c) * q1, 4))
# 30.0 30.0 40.0 900.0Adding firms: from duopoly toward competition
With n symmetric firms, total output is Q = nq, and the first-order condition gives q = (a - c) / (b(n + 1)). As n grows, total output approaches (a - c)/b and price approaches marginal cost. With n = 1, the formula returns the monopoly outcome.
| Firms (n) | Output per firm (q) | Price (P) | Profit per firm |
|---|---|---|---|
| 1 | 45.00 | 55.00 | 2025.00 |
| 2 | 30.00 | 40.00 | 900.00 |
| 3 | 22.50 | 32.50 | 506.25 |
| 5 | 15.00 | 25.00 | 225.00 |
| 10 | 8.18 | 18.18 | 66.94 |
Markups, demand elasticity, and the HHI in Cournot markets
The Lerner index measures the markup as L = (P - c) / P. Each firm's first-order condition implies Li = si / ε, where s_i is the firm's market share and ε is the absolute price elasticity of demand. Weighting by shares and summing gives L = H / ε, where H is the Herfindahl-Hirschman Index (HHI) on a 0 to 1 scale, computed as the sum of squared shares.
> Common error: plugging the HHI in on the 0 to 10,000 scale. The formula needs the 0 to 1 scale.
Check the duopoly: s = 0.5 and ε = 40/60 ≈ 0.67, so L = 0.5 / 0.67 = 0.75, which equals (40 - 10)/40.
Exercise
With a = 100, b = 1, c = 10, and n = 4 symmetric Cournot firms, what are the equilibrium price and total output?
Show answer
q = (100 - 10)/(1 × 5) = 18 per firm, so Q = 72 and P = 100 - 72 = 28.