You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This raises both the equilibrium price and quantity.
@@ -1209,3 +1231,119 @@ c, p = PE.competitive_equilibrium()
1209
1231
print('Competitive equilibrium price:', p)
1210
1232
print('Competitive equilibrium allocation:', c)
1211
1233
```
1234
+
1235
+
### A Monopolist Supplier
1236
+
1237
+
Let us follow the above digression and consider a monopolist supplier in this economy. We add a method to the `production_economy` class we built above to compute the equilibrium price and allocation when there is a monopolist supplier. Since the supplier now has the price-setting power,
1238
+
- we first compute the optimal quantity that solves the monopolist's profit maximization problem.
1239
+
- Then we derive the required price level from the consumer's inverse supply curve.
1240
+
1241
+
Next, we use a graph for the single good case to illustrate the difference between a competitive equilibrium and an equilibrium with a monopolist supplier. Recall that in a competitive equilibrium of the economy, the price-taking supplier equalizes the marginal revenue $p$ with the marginal cost $h + Hq$. This yields the inverse supply curve. In a monopolist economy, the marginal revenue of the firm is a function of the quantity it chooses:
which the monopolist supplier equalizes with the marginal cost.
1246
+
1247
+
Our plot illustrates the fact that the monopolist supplier's equilibrium output is lower than either the competitive equilibrium or the social optimal level. In a single good case, this equilibrium is associated with a higher price of the good.
1248
+
1249
+
```python
1250
+
defplot_monopoly(PE):
1251
+
"""
1252
+
Plot demand curve, marginal production cost and revenue, surpluses and the
1253
+
equilibrium in a monopolist supplier economy with a single good
1254
+
1255
+
Args:
1256
+
PE (class): A initialized production economy class
1257
+
"""
1258
+
# get singleton value
1259
+
J, h, Pi, b, mu =PE.J.item(), PE.h.item(), PE.Pi.item(), PE.b.item(), PE.mu
1260
+
H = J
1261
+
1262
+
# compute competitive equilibrium
1263
+
c, p =PE.competitive_equilibrium()
1264
+
q, pm =PE.equilibrium_with_monopoly()
1265
+
c, p, q, pm = c.item(), p.item(), q.item(), pm.item()
0 commit comments