---
title: "Surplus and Efficiency"
book: "High School Economics"
subject: economics
language: en
chapter: 8
exercises: 15
source: https://one-course.com/books/economics/2/en/chapter/8-surplus-and-efficiency
license: CC-BY-NC-SA-4.0
credit: "One Economics Book, One Course (one-course.com)"
---

# Chapter 8 — Surplus and Efficiency

How much would someone have to pay you to give up search engines for a whole year: no web search on any device, for twelve months? In 2017 a team of researchers asked this of thousands of Americans, offering amounts from one dollar to twenty thousand. Half of them refused $$17\,530$. For email the median answer was $$8414$; for digital maps, $$3648$.

These services are free. Nobody pays for a web search, so the national accounts of the next chapters, which add up what is paid for goods, count almost nothing for them. Yet the people who use them would give up a great deal to keep them. The gap between what a good is worth to its buyer and what the buyer pays is called surplus. This chapter measures it, for buyers and for sellers, and proves the central result about competitive markets: with the assumptions of the model, the equilibrium quantity makes the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) as large as it can be.

![Median amount that American internet users would accept to give up a category of free digital goods for one year, 2017, in dollars, on a times-ten scale.](https://one-course.com/images/onecourse/chapters/economics-2/g10-surplus-and-efficiency/fig-ad981f54ecb4.svg)

*Median amount that American internet users would accept to give up a category of free digital goods for one year, 2017, in dollars, on a times-ten scale. Source: Brynjolfsson, Collis and Eggers (2019), Table 1*

**You already know.**

From the grades 6–9 volume: a *demand curve* gives the quantity buyers want at each price and a *supply curve* the quantity sellers offer. From [Chapter 5](https://one-course.com/books/economics/2/en/chapter/5-supply#ch-g10-supply): the height of a supply curve at a quantity is the cost of the marginal unit. From [Chapter 6](https://one-course.com/books/economics/2/en/chapter/6-market-equilibrium#ch-g10-market-equilibrium): the equilibrium of a competitive market, with price-taking buyers and sellers.

## 8.1 Willingness to pay and consumer surplus

**Definition 8.1 (Willingness to pay).**

A buyer’s *willingness to pay* for a unit of a good is the largest amount of money the buyer would give for it: at that price, buying and not buying are equally good to the buyer.

Eight people in a Brenland town would each buy one ticket for a concert. Their [willingness to pay](#def-g10-surplus-and-efficiency-wtp), in dalens, is 10, 9, 7, 6, 4, 3, 2 and 1. Ranked from highest to lowest, these values form a staircase: at a price of 5 dalens, the first four buy; at 3.5, the first five do. The staircase *is* the demand curve of this small market: its height at the $k$-th ticket is the $k$-th highest [willingness to pay](#def-g10-surplus-and-efficiency-wtp).

**Definition 8.2 (Consumer surplus).**

A buyer’s *consumer surplus* on a unit is its [willingness to pay](#def-g10-surplus-and-efficiency-wtp) minus the price paid. The consumer surplus of a market is the sum over all units bought.

At a price of 5 dalens, the four buyers gain $5 + 4 + 2 + 1 = 12$ dalens: the area of the staircase above the price line, up to the fourth ticket.

![Eight buyers ranked by willingness to pay form a staircase demand curve. At a price of 5 dalens the first four buy, and their consumer surplus is the shaded area, 5 + 4 + 2 + 1 = 12 dalens.](https://one-course.com/images/onecourse/chapters/economics-2/g10-surplus-and-efficiency/fig-46324076f774.svg)

*Eight buyers ranked by [willingness to pay](#def-g10-surplus-and-efficiency-wtp) form a staircase demand curve. At a price of 5 dalens the first four buy, and their [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) is the shaded area, $5 + 4 + 2 + 1 = 12$ dalens.*

With many buyers the steps become too small to see and the staircase becomes a smooth curve. [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) is then the area between the demand curve and the price line. For a straight demand line, it is a triangle.

**Example 8.3 (Consumer surplus under a line).**

For the demand $Q = 120 - 4p$, nobody buys above 30 dalens. At a price of 24, $Q = 24$ units are bought, and the [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) is the triangle with base 24 and height $30 - 24 = 6$: $\tfrac12 \times 24 \times 6 = 72$ dalens.

**How it is measured — Valuing a free good: asking people what they would accept.**

A free good has no price, so no market reveals its value. The study of the opening chart asked people to choose between keeping a good and receiving a sum of money for giving it up for a year. Each person saw one sum, drawn among nine amounts from $$1$ to $$20\,000$; the share of people who take the money at each amount traces a curve, and the median is the amount at which half accept. The study covered 19 digital goods and 6 others for comparison. Most of these choices were hypothetical. To check them, the researchers ran smaller experiments in which the choice was binding: people who chose the money were paid and their use of the good was checked. In one, the median user needed about $$48$ to give up Facebook for one month. Two cautions remain: what people accept to give up a good is usually larger than what they would pay to get it, and an online survey misses people who do not use the internet.

## 8.2 Cost and producer surplus

On the other side, each seller has a lowest price at which it will sell a unit: the cost of producing it, including what the seller’s time and money could earn elsewhere.

**Definition 8.4 (Producer surplus).**

A seller’s *producer surplus* on a unit is the price received minus the cost of that unit. The producer surplus of a market is the sum over all units sold: the area between the price line and the supply curve.

For the supply $Q = 2p - 24$, nothing is offered below 12 dalens. At a price of 24, sellers offer 24 units, and the [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) is the triangle with base 24 and height $24 - 12 = 12$: $\tfrac12 \times 24 \times 12 = 144$ dalens. [Producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) is not profit: the cost of the fixed equipment is not counted in it. It measures what sellers gain from selling, compared with not selling at all, once the equipment is there.

## 8.3 Total surplus and the competitive equilibrium

**Definition 8.5 (Total surplus).**

The *total surplus* of a market is the sum of the consumer and [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus): for each unit traded, the buyer’s [willingness to pay](#def-g10-surplus-and-efficiency-wtp) minus the seller’s cost. The price paid cancels out: it is taken from one side and given to the other.

The demand $Q = 120 - 4p$ and the supply $Q = 2p - 24$ meet at $p^* = 24$ and $Q^* = 24$ (from $120 - 4p = 2p - 24$, $6p = 144$). [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) is $72 + 144 = 216$ dalens: the triangle between the two lines, from the axis to the equilibrium quantity, $\tfrac12 \times 24 \times (30 - 12) = 216$.

**Definition 8.6 (Allocative efficiency).**

An allocation of a good is *allocatively efficient* when no change in who buys, who sells and how much is traded could raise [total surplus](#def-g10-surplus-and-efficiency-total-surplus).

**Proposition 8.7 (The competitive equilibrium maximises total surplus).**

In a market where each buyer wants at most one unit and each seller sells at most one, suppose the units are traded at the equilibrium price of a competitive market, so that every buyer whose [willingness to pay](#def-g10-surplus-and-efficiency-wtp) is above the price buys and every seller whose cost is below the price sells. Then no other choice of the units traded, of who buys them and of who sells them gives a larger [total surplus](#def-g10-surplus-and-efficiency-total-surplus).

**Proof.** Rank the buyers by [willingness to pay](#def-g10-surplus-and-efficiency-wtp), $v_1 \ge v_2 \ge \dots$, and the sellers by cost, $c_1 \le c_2 \le \dots$. If $q$ units are traded, [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is the sum of the buyers’ values minus the sum of the sellers’ costs. For a given $q$ it is largest when the buyers are the $q$ with the highest values and the sellers the $q$ with the lowest costs: replacing a buyer by one who values the good more, or a seller by one with a lower cost, raises it. [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) with $q$ units is then $S(q) = (v_1 - c_1) + \dots + (v_q - c_q)$. Since the $v_k$ fall and the $c_k$ rise with $k$, the terms $v_k - c_k$ fall: they are positive up to some $q^*$ and negative after. $S(q)$ is therefore largest at $q = q^*$, the last unit for which $v_k \ge c_k$. At the equilibrium price $p^*$, the buyers with $v_k \ge p^*$ buy and the sellers with $c_k \le p^*$ sell: these are the $q^*$ buyers with the highest values and the $q^*$ sellers with the lowest costs, since $v_{q^*} \ge p^* \ge c_{q^*}$ and, for the next unit, $v_{q^*+1} < c_{q^*+1}$ leaves no price at which both would trade. ∎

The proof makes no use of what anyone knows about the others: each buyer and seller only compares a value or a cost with the price. The price does the sorting.

![Left: at the equilibrium (24 units at 24 dalens), consumer surplus is 72 and producer surplus 144, a total of 216. Right: if only 12 units are traded, the total surplus is the area between the curves up to 12 units, 162; the grey triangle, 54, is lost.](https://one-course.com/images/onecourse/chapters/economics-2/g10-surplus-and-efficiency/fig-c60fe32cdf4e.svg)

*Left: at the equilibrium (24 units at 24 dalens), [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) is 72 and [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) 144, a total of 216. Right: if only 12 units are traded, the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is the area between the curves up to 12 units, 162; the grey triangle, 54, is lost.*

The figure on the right shows what happens away from equilibrium. If only 12 units are traded, the twelfth buyer still values a unit at $(120 - 12)/4
= 27$ dalens and the twelfth seller’s cost is $(12 + 24)/2 = 18$: there are units between the 12th and the 24th that buyers value more than they cost to produce, and they are not traded. [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) is the trapezoid $\tfrac12 \times (18 + 9) \times 12 = 162$, and $216 - 162 = 54$ dalens of surplus are lost. Trading 36 units loses the same amount: units 25 to 36 cost more to produce than buyers value them. The lost area is called the deadweight loss; [Chapter 9](https://one-course.com/books/economics/2/en/chapter/9-what-prices-do#ch-g10-what-prices-do) defines it.

**Model — Efficiency of the competitive market.**

**Assumes.** Price-taking buyers and sellers who know the good’s quality; nobody outside the market is affected by the trades; buyers’ [willingness to pay](#def-g10-surplus-and-efficiency-wtp) and sellers’ costs measure everything that matters to them about the good.

**Predicts.** The equilibrium quantity is traded by the buyers who value the good most and the sellers who produce it most cheaply, and [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is the largest possible.

**Tested.** Markets run in laboratories, where the experimenter assigns values and costs and so knows the largest possible surplus, settle near the equilibrium price and quantity within a few rounds (Smith 1962), which by [Proposition 8.7](#prop-g10-surplus-and-efficiency-max) is where [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is largest.

**Breaks.** When trades affect people outside the market: the sulphur dioxide from coal power stations harmed people who neither sold nor bought the power (grade 11). When sellers or buyers are few enough to move the price: a market with two or three sellers (grade 11). When buyers cannot see the quality of what they buy: used cars (grade 11).

## 8.4 What the result does not say

The proposition is precise, and it is easy to read more into it than it says.

- **It says nothing about who gets the surplus.** In the example above sellers get 144 and buyers 72. A different split of the same 216 would be just as efficient. Efficiency and the division of the gains are separate questions.
- **It counts only the people in the market.** If a factory’s smoke harms the neighbours, their loss is in no buyer’s value and no seller’s cost. The market can then trade too much, and the proposition does not apply.
- **It measures in money.** [Willingness to pay](#def-g10-surplus-and-efficiency-wtp) depends on what one has. A rich person will pay more for a concert ticket than a poor person who would enjoy it more. [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) adds dalens, not happiness: the equilibrium gives the ticket to whoever will pay most, and that is the person who values it most only in money.
- **It is about one market at a time.** A change in one market moves others, as [Chapter 6](https://one-course.com/books/economics/2/en/chapter/6-market-equilibrium#ch-g10-market-equilibrium) showed, and the surplus of one market does not count those effects.

The opening chart shows the measure’s reach and its limit together. The value that users place on free services is surplus that no account of production records; but it is measured by what people say they would accept, and two people with the same answer need not gain the same thing from the service.

## 8.5 Exercises

**Exercise 8.1 ★.**

Ana is willing to pay 40 dalens for a pair of shoes and buys them for 32. What is her [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus)? What would it be if the price were 45?

**Solution of Exercise 8.1.**

$40 - 32 = 8$ dalens. At 45 dalens she does not buy, and her surplus is 0.

**Exercise 8.2 ★.**

A baker’s cost for a cake is 12 dalens and he sells it for 20. What is his [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus)? Below what price would he not sell?

**Solution of Exercise 8.2.**

$20 - 12 = 8$ dalens. He would not sell below 12 dalens.

**Exercise 8.3 ★.**

Read the opening chart. Which category had the largest median? About how many times larger was it than the median for social media? Which two categories were closest?

**Solution of Exercise 8.3.**

Search engines, $$17\,530$: about $17530/322 \approx 54$ times the median for social media ($$322$). Music ($$168$) and messaging ($$155$) were closest.

**Exercise 8.4 ★.**

The demand for a good is $Q = 60 - 2p$. Compute the [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) at a price of 10 dalens.

**Solution of Exercise 8.4.**

At $p = 10$, $Q = 40$; nobody buys above 30. [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $\tfrac12 \times 40 \times (30 - 10) = 400$ dalens.

**Exercise 8.5 ★.**

The supply of a good is $Q = 3p - 15$, for $p \ge 5$. Compute the [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) at a price of 15 dalens.

**Solution of Exercise 8.5.**

At $p = 15$, $Q = 30$; nothing is offered below 5. [Producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $\tfrac12 \times 30 \times (15 - 5) = 150$ dalens.

**Exercise 8.6 ★★.**

Demand is $Q = 100 - 2p$ and supply $Q = 3p - 60$, for $p \ge 20$. Find the equilibrium and the consumer, producer and [total surplus](#def-g10-surplus-and-efficiency-total-surplus).

**Solution of Exercise 8.6.**

$100 - 2p = 3p - 60$ gives $5p = 160$, $p^* = 32$, $Q^* = 36$. [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $\tfrac12 \times 36 \times (50 - 32) = 324$; [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $\tfrac12
\times 36 \times (32 - 20) = 216$; total 540 (check: $\tfrac12 \times 36 \times (50 - 20) = 540$).

**Exercise 8.7 ★★.**

Demand is $Q = 80 - p$ and supply $Q = p$. Find the equilibrium and the [total surplus](#def-g10-surplus-and-efficiency-total-surplus). Show that buyers and sellers get the same surplus, and explain why.

**Solution of Exercise 8.7.**

$80 - p = p$ gives $p^* = 40$, $Q^* = 40$. [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $\tfrac12 \times 40 \times (80 - 40) = 800$; [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $\tfrac12 \times 40 \times 40 = 800$; total 1600. The two lines are equally steep, so the triangles above and below the price are mirror images of each other.

**Exercise 8.8 ★★.**

In the market of [Exercise 8.6](#exo-g10-surplus-and-efficiency-6), compute the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) if only 18 units are traded (by the buyers who value them most and the sellers with the lowest costs), and the surplus lost.

**Solution of Exercise 8.8.**

At 18 units the demand price is $(100 - 18)/2 = 41$ and the supply price $(18 + 60)/3 = 26$: a gap of 15. The lost triangle is $\tfrac12 \times (36 - 18)
\times 15 = 135$, so [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is $540 - 135 = 405$ dalens.

**Exercise 8.9 ★★.**

In the market $Q^d = 120 - 4p$, $Q^s = 2p - 24$ of the text, a new technique lowers every seller’s cost by 3 dalens, and supply becomes $Q = 2p - 18$. Find the new equilibrium and the new consumer and [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus). Who gains?

**Solution of Exercise 8.9.**

$120 - 4p = 2p - 18$ gives $6p = 138$, $p^* = 23$, $Q^* = 28$. [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $\tfrac12 \times 28 \times (30 - 23) = 98$ (was 72); sellers now offer from 9 dalens, so [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $\tfrac12 \times 28 \times (23 - 9) = 196$ (was 144). Both sides gain: buyers 26 and sellers 52 dalens.

**Exercise 8.10 ★★.**

In the concert example, a ninth buyer arrives with a [willingness to pay](#def-g10-surplus-and-efficiency-wtp) of 8 dalens. Draw the new staircase. At a price of 5, who buys, and what is the [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus)?

**Solution of Exercise 8.10.**

The staircase has the steps 10, 9, 8, 7, 6, 4, 3, 2, 1. At 5 dalens the five buyers with values 10, 9, 8, 7 and 6 buy, and the [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) is $5 + 4 + 3
+ 2 + 1 = 15$ dalens.

**Exercise 8.11 ★★.**

In the market of the text, demand shifts to $Q = 126 - 4p$. Find the new equilibrium and compute the consumer and [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus). Which side gained more?

**Solution of Exercise 8.11.**

$126 - 4p = 2p - 24$ gives $6p = 150$, $p^* = 25$, $Q^* = 26$. Nobody buys above 31.5: [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $\tfrac12 \times 26 \times 6.5 = 84.5$ (was 72); [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $\tfrac12 \times 26 \times (25 - 12) = 169$ (was 144). Sellers gained more: 25 against 12.5.

**Exercise 8.12 ★★★.**

Describe evidence that would show that a real market fails to trade units that buyers value more than they cost to produce. What would you need to know, and how could you learn it?

**Solution of Exercise 8.12.**

One would need to show that some buyers who do not buy value the good above what some sellers who do not sell would need to produce it: for example a persistent queue or waiting list at a price fixed below equilibrium, or firms that would produce at the going price but are kept out. [Willingness to pay](#def-g10-surplus-and-efficiency-wtp) can be learned from what people pay elsewhere or in a black market; costs from what similar firms charge where they are allowed to sell. A controlled experiment, as in a laboratory market, measures both directly.

**Exercise 8.13 ★★★.**

For the demand $Q = a - bp$ and the supply $Q = c + dp$ (with $c < 0 < a$, $b, d > 0$), let $Q < Q^*$ be a quantity traded by the buyers with the highest values and the sellers with the lowest costs. Using only the areas of triangles, show that the lost surplus is $\tfrac12 (Q^* - Q)\,g$, where $g$ is the gap between the demand price and the supply price at $Q$, and deduce that [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is largest at $Q^*$.

**Solution of Exercise 8.13.**

[Total surplus](#def-g10-surplus-and-efficiency-total-surplus) with $Q^*$ units is the triangle between the two lines from 0 to $Q^*$. With $Q$ units it is the part of that triangle to the left of the vertical line at $Q$. The rest is a triangle with a vertical side of length $g$ (from the supply price to the demand price at $Q$) and its third corner at the equilibrium point, a horizontal distance $Q^* - Q$ away: its area is $\tfrac12 (Q^* - Q)\,g$, positive whenever $Q < Q^*$. For $Q > Q^*$ the extra units have a demand price below the supply price, and the same reasoning subtracts a triangle of area $\tfrac12 (Q - Q^*)\,g$. Either way [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is smaller than at $Q^*$.

**Exercise 8.14 ★★★.**

Give an example in which moving a unit of a good from one person to another lowers [total surplus](#def-g10-surplus-and-efficiency-total-surplus) but, plausibly, makes the two people together better off. What does this say about using [total surplus](#def-g10-surplus-and-efficiency-total-surplus) to judge a market?

**Solution of Exercise 8.14.**

A rich person would pay 100 dalens for a concert ticket and a poor student 40, although the student would enjoy it more. Moving the ticket from the rich person to the student lowers [total surplus](#def-g10-surplus-and-efficiency-total-surplus) by 60 dalens, yet the two together may well be better off. [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) adds money values, which depend on income; it is a precise measure of what people would pay, not of how much they gain in well-being, and judging a market by it gives more weight to people with more money.

**Exercise 8.15 ★★★.**

A farm sells eggs in a competitive market, and its smell costs each of its 50 neighbours 2 dalens per hundred eggs produced. Explain why the market equilibrium no longer maximises the surplus of everyone concerned. Would the right quantity of eggs be larger or smaller?

**Solution of Exercise 8.15.**

Each hundred eggs costs the neighbours $50 \times 2 = 100$ dalens, a cost in no seller’s supply curve. The market trades every hundred eggs whose value to buyers exceeds the farm’s own cost, including some whose value is below the farm’s cost plus the neighbours’ 100 dalens: those units lower the surplus of everyone concerned. The quantity that maximises it is smaller.

## 8.6 Problem: The Saturday Market

**Problem 8.1.**

Weekend problem — ten buyers, eight sellers and a cap on stalls

Every Saturday, in a square of a Brenland town, eight farmers can each sell one basket of vegetables and ten shoppers can each buy one. The shoppers’ [willingness to pay](#def-g10-surplus-and-efficiency-wtp) and the farmers’ costs, in dalens, are:

| shoppers | 30 | 28 | 25 | 22 | 20 | 18 | 15 | 12 | 10 | 8 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| farmers | 6 | 8 | 11 | 13 | 16 | 19 | 23 | 26 |  |  |

**Part I — The market without rules.**

1. Draw the staircase demand and staircase supply on one graph.
2. How many baskets are wanted at a price of 21 dalens, and how many offered? At 17?
3. Find the range of prices at which the number of baskets wanted equals the number offered. How many baskets are traded?
4. Which shoppers buy and which farmers sell?
5. Compute the largest possible [total surplus](#def-g10-surplus-and-efficiency-total-surplus) , and check that the market reaches it.

**Part II — Splitting the surplus.**

6. At a price of 18.5 dalens, compute the [consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) and the [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) .
7. At a price of 18 and at a price of 19, compute the two surpluses again. Does the total change?
8. The sixth shopper (18) and the sixth farmer (19) do not trade. Why would a trade between them lower [total surplus](#def-g10-surplus-and-efficiency-total-surplus) ?
9. The shopper who values a basket at 30 pays the same price as the one who values it at 20. Who gains more surplus? Is the market less efficient because of this?

**Part III — A cap on stalls.**

10. The town limits the square to 3 stalls, given to the three farmers with the lowest costs. How many baskets are traded now?
11. Between which prices does the market now settle? (Find the prices at which exactly three shoppers want a basket.)
12. Compute the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) with the cap.
13. How much surplus is lost, in dalens and as a share of the largest possible surplus?
14. Which farmers and which shoppers lose? Can any group gain from the cap?

**Part IV — Who gets the stalls.**

15. Suppose instead that the 3 stalls go by lottery, to the farmers with costs 11, 19 and 26. Between which prices does the market settle now, how many baskets are traded, and what is the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) ?
16. How much is lost now, in dalens and as a share of the largest possible surplus?
17. Why is the loss larger than in question 13?
18. With the lottery, the farmer with a cost of 6 has no stall but the farmer with a cost of 26 has one, which he does not use. Explain why both would agree to hand the stall over for a payment.
19. After that trade the stalls are held by the farmers with costs 6, 11 and 19. How many baskets are traded, what is the [total surplus](#def-g10-surplus-and-efficiency-total-surplus) , and how much of the lottery’s loss has the trade recovered?
20. State the result of the problem: the surplus lost to the stall cap, in dalens and as a share of the maximum.

**Solution of Problem 8.1.**

**1.** Demand: steps at 30, 28, 25, 22, 20, 18, 15, 12, 10, 8. Supply: steps at 6, 8, 11, 13, 16, 19, 23, 26.

**2.** At 21: 4 wanted (30, 28, 25, 22), 6 offered (6 to 19). At 17: 6 wanted (down to 18), 5 offered (6 to 16).

**3.** Between 18 and 19 dalens: 5 baskets are wanted (30 to 20) and 5 offered (6 to 16). 5 baskets are traded.

**4.** The shoppers with values 30, 28, 25, 22 and 20; the farmers with costs 6, 8, 11, 13 and 16.

**5.** Pairing the highest values with the lowest costs: $24 + 20 + 14 + 9 + 4 = 71$; the sixth pair would give $18 - 19 = -1$. The largest [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is $125 - 54 = 71$ dalens, and the market’s five trades reach it.

**6.** [Consumer surplus](#def-g10-surplus-and-efficiency-consumer-surplus) $125 - 5 \times 18.5 = 32.5$; [producer surplus](#def-g10-surplus-and-efficiency-producer-surplus) $5 \times 18.5 - 54 = 38.5$; total 71.

**7.** At 18: $125 - 90 = 35$ and $90 - 54 = 36$. At 19: $125 - 95 = 30$ and $95 - 54 = 41$. The total stays 71: the price only moves surplus from one side to the other.

**8.** The basket is worth 18 to the shopper and costs 19 to produce: trading it would add $18 - 19 = -1$ dalen.

**9.** The first shopper gains $30 - 18.5 = 11.5$, the fifth $20 - 18.5 = 1.5$. No: efficiency is about which units are traded and by whom, and the price paid moves surplus without changing the total.

**10.** 3 baskets, sold by the farmers with costs 6, 8 and 11.

**11.** Exactly three shoppers want a basket at prices above 22 and up to 25: the market settles between 22 and 25 dalens.

**12.** $(30 + 28 + 25) - (6 + 8 + 11) = 83 - 25 = 58$ dalens.

**13.** $71 - 58 = 13$ dalens, that is $13/71 \approx 18.3\,\%$ of the largest possible surplus.

**14.** The farmers with costs 13 and 16 lose their sales, and the shoppers with values 22 and 20 lose their baskets. The three remaining shoppers pay more (22 to 25 instead of 18 to 19). The three farmers with stalls gain: at a price of 23.5, for example, their surplus is $3 \times 23.5 - 25 = 45.5$ against $3
\times 18.5 - 25 = 30.5$ without the cap.

**15.** The farmer with a cost of 26 sells only above 26, where only two shoppers buy. Two baskets are wanted at prices above 25 (up to 28) and two offered at prices from 19 up to 26: the market settles between 25 and 26, with 2 baskets. [Total surplus](#def-g10-surplus-and-efficiency-total-surplus) $(30 + 28) - (11 + 19) = 28$ dalens.

**16.** $71 - 28 = 43$ dalens, $43/71 \approx 60.6\,\%$.

**17.** The stalls are held by dearer farmers: fewer baskets are worth trading, and those that are traded cost more to grow.

**18.** The farmer with a cost of 26 earns nothing from his stall, since he sells nothing at a price below 26. The farmer with a cost of 6 would earn about $25
- 6 = 19$ from it. Any payment between 0 and her gain leaves both better off.

**19.** With costs 6, 11 and 19, three baskets are traded (to the shoppers with values 30, 28 and 25), and [total surplus](#def-g10-surplus-and-efficiency-total-surplus) is $83 - 36 = 47$ dalens. The loss falls to $71 - 47 = 24$: the trade recovered $47 - 28 = 19$ of the lottery’s 43.

**20.** A cap of three stalls given to the cheapest farmers loses 13 dalens of surplus each Saturday, 18.3 % of the largest possible 71; given by lottery, the same cap loses 43 dalens, 60.6 %.
