@@ -135,7 +135,7 @@ curve minus $p q$:
135135$$
136136 S_c(q) :=
137137 \int_0^{q} (d_0 - d_1 x) dx - p q
138- $$
138+ $$ (eq:cstm_spls)
139139
140140The next figure illustrates
141141
@@ -172,14 +172,14 @@ plt.show()
172172Consumer surplus provides a measure of total consumer welfare at quantity $q$.
173173
174174The idea is that the inverse demand curve $d_0 - d_1 q$ shows a consumer's willingness to
175- pay for an additional increment of the good at a given quantity $q$.
175+ pay for an additional increment of the good at a given quantity $q$.
176176
177177The difference between willingness to pay and the actual price is consumer surplus.
178178
179179The value $S_c(q)$ is the "sum" (i.e., integral) of these surpluses when the total
180180quantity purchased is $q$ and the purchase price is $p$.
181181
182- Evaluating the integral in the definition of consumer surplus gives
182+ Evaluating the integral in the definition of consumer surplus {eq}`eq:cstm_spls` gives
183183
184184$$
185185 S_c(q)
@@ -200,7 +200,7 @@ We define **producer surplus** as $p q$ minus the area under an inverse supply c
200200$$
201201 S_p(q)
202202 := p q - \int_0^q (s_0 + s_1 x) dx
203- $$
203+ $$ (eq:pdcr_spls)
204204
205205The next figure illustrates
206206
@@ -243,7 +243,7 @@ The difference between willingness to sell and the actual price is producer surp
243243
244244The value $S_p(q)$ is the integral of these surpluses.
245245
246- Evaluating the integral in the definition of consumer surplus gives
246+ Evaluating the integral in the definition of producer surplus {eq}`eq:pdcr_spls` gives
247247
248248$$
249249 S_p(q) = pq - s_0 q - \frac{1}{2} s_1 q^2
0 commit comments