Sub topic 7
The Cournot-Nash Equilibrium with Two Firms
This chapter solves the two-firm Cournot model completely. It assumes you have read the chapters on the Cournot setup and on deriving best-response functions. You should be comfortable with linear demand, marginal revenue, first-order conditions, and solving two linear equations in two unknowns.
The setting
Two firms, 1 and 2, sell an identical product. They choose quantities q1 and q2 at the same time, without seeing each other's choice. The market price clears at whatever level sells the total output.
- Inverse demand:
P = a - b*Q, whereQ = q1 + q2. - Each firm has constant marginal cost
cand no fixed cost, so profit isπi = (P - c) * qi. - Assume
a > candb > 0, so that production is worth something.
The running numbers are a = 100, b = 1, c = 10.
Recap: the best-response function
Firm 1 treats q2 as fixed and maximizes
π1 = (a - b*(q1 + q2) - c) * q1.
The first-order condition is
a - c - 2*b*q1 - b*q2 = 0.
Solving for q1 gives the best response:
q1 = (a - c - b*q2) / (2b).
By symmetry, q2 = (a - c - b*q1) / (2b). If the right-hand side is negative, the best response is zero, because a firm cannot produce a negative quantity.
With the running numbers, q1 = 45 - q2/2. Each extra unit the rival produces lowers your best-response output by half a unit. Quantities are strategic substitutes.
Definition of the equilibrium
A Cournot-Nash equilibrium is a pair (q1*, q2*) in which each firm's quantity is a best response to the other's. Neither firm can raise its profit by changing its own quantity alone. Graphically, it is the point where the two best-response lines cross.
Solving the system
There are two ways to solve it. Both give the same answer.
Method 1: substitution
Put the second best response into the first:
q1 = (a - c)/(2b) - (1/2) * (a - c - b*q1)/(2b)
Multiply through and collect the q1 terms:
q1 = (a - c)/(2b) - (a - c)/(4b) + q1/4
(3/4) * q1 = (a - c)/(4b)
q1* = (a - c) / (3b)
By symmetry q2* = (a - c) / (3b).
Method 2: use symmetry directly
The firms have the same costs, so the equilibrium is symmetric: q1 = q2 = q. Put this in the best-response function:
q = (a - c - b*q) / (2b)
2b*q = a - c - b*q
q = (a - c) / (3b)
This shortcut works only because the firms are identical. It is a useful check, but it does not replace the general solution once costs differ.
Price, quantity, and profit
With q* = (a - c)/(3b) for each firm:
- Total output:
Q* = 2(a - c)/(3b) - Price:
P* = a - b*Q* = (a + 2c)/3 - Margin:
P* - c = (a - c)/3 - Profit per firm:
π* = (a - c)^2 / (9b)
With the running numbers:
| Quantity | Formula | Value |
|---|---|---|
| Output per firm | (a - c)/(3b) | 30 |
| Total output | 2(a - c)/(3b) | 60 |
| Price | (a + 2c)/3 | 40 |
| Margin per unit | (a - c)/3 | 30 |
| Profit per firm | (a - c)^2/(9b) | 900 |
| Industry profit | 2(a - c)^2/(9b) | 1800 |
Finding the equilibrium by iteration
You can also find the equilibrium numerically. Start from any output pair and let each firm respond in turn. Because each best response has slope -1/2, each round halves the distance to the equilibrium in absolute terms and flips its sign, so the sequence converges.
# Inverse demand: P = a - b*Q, constant marginal cost c
a, b, c = 100.0, 1.0, 10.0
def best_response(q_other):
# From the first-order condition a - c - 2*b*q_i - b*q_other = 0
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.0The loop is a computational device, not a claim about how firms behave. In the model, firms choose once and simultaneously. The iteration only shows that the fixed point is stable under this kind of adjustment.
Comparing with the benchmarks
Place the Cournot outcome between monopoly and perfect competition, using the same demand and cost.
| Outcome | Total output | Price | Industry profit |
|---|---|---|---|
| Monopoly | (a - c)/(2b) = 45 | (a + c)/2 = 55 | (a - c)^2/(4b) = 2025 |
| Cournot duopoly | 2(a - c)/(3b) = 60 | (a + 2c)/3 = 40 | 2(a - c)^2/(9b) = 1800 |
| Perfect competition | (a - c)/b = 90 | c = 10 | 0 |
Cournot duopoly output is higher than monopoly output, and its price is lower. Industry profit is lower than the monopoly profit of 2025. Each firm would be better off if the pair restricted output to the monopoly level and split it, producing 22.5 each for a profit of 1012.5 each. That is not an equilibrium. At q2 = 22.5, firm 1's best response is 45 - 11.25 = 33.75, so firm 1 gains by producing more. Both firms face the same temptation, and both end up at 30.
The reason is an externality. When a firm raises its output, it collects the revenue on the extra unit but spreads the price drop across all units, including its rival's. It ignores the harm to the rival, so total output ends up above the joint-profit-maximizing level.
Checking that no deviation pays
A good habit is to test the equilibrium directly. Suppose firm 2 produces 30. Firm 1's profit as a function of its own output is
π1(q1) = (100 - q1 - 30 - 10) * q1 = (60 - q1) * q1.
This is maximized at q1 = 30, giving 30 * 30 = 900. Try some alternatives:
| q1 | Price | Profit of firm 1 |
|---|---|---|
| 20 | 50 | 600 |
| 30 | 40 | 900 |
| 40 | 30 | 800 |
Neither a smaller nor a larger quantity helps. The profit function is a downward-opening parabola in q1, so the first-order condition finds the unique maximum.
Edge cases and common errors
Using the monopoly marginal revenue by mistake
A common error is to write firm 1's marginal revenue as a - 2b*q1, which is the monopoly formula. In duopoly, firm 1's marginal revenue is a - b*q2 - 2b*q1. The rival's output shifts the demand curve that firm 1 faces. This is the residual demand, and it is why the best response depends on q2.
Differentiating through the rival's output
Firm 1 takes q2 as a constant when it differentiates. If you differentiate q2 with respect to q1, you are solving a different model, one in which firm 2 reacts to firm 1's choice. That belongs to conjectural-variation models, and the Stackelberg setup covers a related case.
Corner solutions
If the other firm's output is q2 >= (a - c)/b, the price at zero own output is already at or below marginal cost. The formula gives a zero or negative q1, so the best response is 0. The max(0, ...) in the code handles this. With the running numbers, any q2 >= 90 makes firm 1 stay out. This does not arise in the symmetric equilibrium, but it matters when costs differ.
Different costs
Suppose the costs are c1 and c2. The first-order conditions become
a - c1 - 2b*q1 - b*q2 = 0 and a - c2 - 2b*q2 - b*q1 = 0.
Solving gives
q1* = (a - 2*c1 + c2) / (3b) and q2* = (a - 2*c2 + c1) / (3b).
The firm with the lower cost produces more and earns more. If costs differ enough, the formula gives a negative quantity for the high-cost firm. Then that firm produces zero and the other firm is a monopolist.
Reading the equilibrium as a one-shot game
The equilibrium describes simultaneous, one-time choices. It does not say that firms learn their way to it, and it does not say that a repeated game would give the same result. Repeated interaction can support higher prices, which a later chapter covers.
Stability
The best-response slopes are -1/2, with absolute value below 1. This is what makes the iteration converge. In the linear duopoly the equilibrium is stable under sequential adjustment. With three or more firms that adjust in this way, the same simple process can fail to converge, so the stability result does not carry over automatically.
Summary of the results
- Each firm's best response falls by
b/(2b) = 1/2unit for each unit its rival adds. - The equilibrium is
q1* = q2* = (a - c)/(3b). - Price is
(a + 2c)/3, above marginal cost, so each firm earns positive profit. - Output is above the monopoly level and below the competitive level, and the price lies between the two.
- Each firm would gain by jointly restricting output, but neither can commit to doing so.
Exercise
Inverse demand is P = 120 - Q, and both firms have constant marginal cost 30. Find each firm's Cournot output, the market price, and each firm's profit. Then compare the industry profit with the monopoly profit.
Show answer
Here a = 120, b = 1, c = 30. Output per firm is (a - c)/(3b) = 90/3 = 30. Total output is 60, so the price is 120 - 60 = 60. Profit per firm is (60 - 30) 30 = 900. Industry profit is 1800. A monopolist would produce (a - c)/(2b) = 45 at price 75, with profit (75 - 30) 45 = 2025. So the duopoly industry earns 225 less than the monopoly.
Exercise
Firm 1 has marginal cost 10 and firm 2 has marginal cost 40. Demand is P = 100 - Q. Find the Cournot quantities and the price.
Show answer
With a = 100, b = 1, c1 = 10, c2 = 40: q1 = (100 - 20 + 40)/3 = 40 and q2 = (100 - 80 + 10)/3 = 10. Both are positive, so the solution is valid. Total output is 50 and the price is 50. Firm 1 earns (50 - 10) 40 = 1600. Firm 2 earns (50 - 40) 10 = 100.
Exercise
Why is the pair q1 = q2 = 22.5 (the monopoly output split evenly) not a Nash equilibrium when a = 100, b = 1, c = 10?
Show answer
Given q2 = 22.5, firm 1's best response is (100 - 10 - 22.5)/2 = 33.75, not 22.5. Firm 1 can raise its profit by producing more, so it has a profitable deviation. Firm 2 has the same incentive. The pair is therefore not mutually best-responding.