From Schedules and Graphs to Surplus
Surplus problems may provide equations, but they may instead give a list of buyers’ values and sellers’ costs or a graph with selected coordinates. The calculation still begins with the same question: which units are traded, and what is each traded unit worth to buyers and sellers? A careful reading of the quantity and price data is essential. In particular, a discrete schedule counts individual units, while a graph may represent a continuous range of quantities.
The methods here apply to hypothetical markets. A buyer’s value is the most that buyer would be willing to pay for a unit; a seller’s cost is the least that seller would accept to supply it. For graphs, quantities are measured on the horizontal axis and prices or marginal values on the vertical axis. Unless stated otherwise, assume the plotted curves are linear between the coordinates supplied. If a graph is only approximate, areas calculated from it are approximate as well.
These expressions assume the units are matched in order: the highest-value buyers receive units, and the lowest-cost sellers supply them. The price determines how the surplus from each trade is divided between buyer and seller; it does not change the combined value \(b_j-c_j\) of that trade. A unit’s value and cost must be compared using the same unit of quantity and the same price units.
Worked Example: Finding Trades and Surplus From a Discrete Schedule
A small equipment market has five potential buyers, whose values per unit in descending order are $24, $20, $16, $12, and $8. Five potential sellers have costs per unit in ascending order of $5, $9, $13, $18, and $22. The market trades at a common price of $14. Find the quantity traded and consumer, producer, and total surplus.
Method. Compare the buyer values and seller costs unit by unit. At a price of $14, buyers with values at least $14 are willing to buy, and sellers with costs at most $14 are willing to sell. The first three buyers qualify, as do the first three sellers. The fourth buyer’s value is $12, below the price, and the fourth seller’s cost is $18, above the price. Therefore, the quantity traded is three units.
For the three units, consumer surplus is $$ CS=(24-14)+(20-14)+(16-14)=10+6+2=18. $$
Producer surplus is $$ PS=(14-5)+(14-9)+(14-13)=9+5+1=15. $$
Thus total surplus is \(TS=18+15=33\). Check by adding the value-cost gains on the three trades: $$ (24-5)+(20-9)+(16-13)=19+11+3=33. $$ The next trade would have a buyer value of $12 and a seller cost of $18, producing a gain of \(12-18=-6\). Including it would reduce total surplus. The check confirms both the quantity and the total.
Common mistake avoided: Counting the fourth unit just because a fourth buyer and seller are listed. A unit is not beneficial merely because both parties appear in the schedule; its buyer value must cover its seller cost, and at the stated price both parties must be willing to trade.
Reading Areas From a Graph
For a graph with a continuous inverse demand curve \(P_D(Q)\), the curve gives buyers’ marginal willingness to pay at each quantity. The inverse supply curve \(P_S(Q)\) gives sellers’ marginal cost. At a quantity \(Q\) and a common transaction price \(p\), consumer surplus is the area between demand and the price line from zero to \(Q\); producer surplus is the area between the price line and supply over the same quantity range. In integral notation:
These area formulas assume the plotted curves describe marginal values and costs over the traded range. A useful calculation check follows by adding the two expressions: the price terms cancel, leaving the area between demand and supply. Thus total surplus depends on the value and cost of the traded units, not on how their surplus is divided by price.
When graph data are given as coordinates and adjacent points are connected by straight lines, calculate each area segment as a trapezoid. If a segment has width \(\Delta Q\) and endpoint heights \(h_1\) and \(h_2\), its area is \(\Delta Q(h_1+h_2)/2\). If the required quantity lies between stated coordinates, first use linear interpolation to find the curve’s value at that quantity. Do not extend a curve beyond the supplied range unless the problem gives a rule for doing so.
Worked Example: Calculating Surplus at a Restricted Quantity
A market has inverse demand \(P_D(Q)=30-Q\) and inverse supply \(P_S(Q)=6+Q\), where price is in dollars per unit and quantity is in units. A rule limits trade to \(Q=8\), and the traded price is $14 per unit. Find consumer surplus, producer surplus, total surplus, and the surplus-maximizing quantity. Also find the deadweight loss from the limit.
Method. First calculate each surplus at the stated quantity using the area between its curve and the $14 price line. Then find where demand and supply intersect to identify the quantity that maximizes the gains from trade.
Demand at quantity 8 is \(30-8=22\), while supply is \(6+8=14\). The area under demand from zero to 8 is a trapezoid with endpoint heights 30 and 22: $$ \frac{8(30+22)}{2}=208. $$ The total payment is \(14(8)=112\). Therefore, \(CS=208-112=96\).
The area under supply from zero to 8 has endpoint heights 6 and 14: $$ \frac{8(6+14)}{2}=80. $$ Producer surplus is revenue less this cost area: \(PS=112-80=32\). Hence \(TS=96+32=128\). As a check, the area between demand and supply over the first eight units is the difference between the two curve areas, \(208-80=128\).
At the intersection, \(30-Q=6+Q\), so \(2Q=24\), \(Q=12\), and the price is \(30-12=18\). At this quantity the surplus areas are triangles: \(CS=12(30-18)/2=72\) and \(PS=12(18-6)/2=72\). Maximum total surplus is \(144\). The quantity limit therefore creates deadweight loss of \(144-128=16\).
Common mistake avoided: Treating consumer surplus as the rectangle \((22-14)8=64\), using only demand’s value at the final unit. Demand falls from $30 to $22 over the range, so the relevant area above price is a trapezoid with heights \(30-14=16\) and \(22-14=8\). Its area is \(8(16+8)/2=96\), not 64.
Interpolating and Adding Graph Segments
A graph often supplies only selected coordinates rather than equations. If the problem states that points are connected by straight lines, each segment can be handled by interpolation and a trapezoid calculation. For a restricted allocation, use only the curve portions from zero through the allocated quantity. The values beyond that quantity can matter when identifying possible additional gains from trade, but they do not belong in the surplus of the allocation already made.
Worked Example: Surplus From Piecewise-Linear Graph Data
A plotted market has demand coordinates \((0,22)\), \((4,18)\), \((8,12)\), and \((12,4)\), and supply coordinates \((0,2)\), \((4,6)\), \((8,10)\), and \((12,16)\). Adjacent points on each curve are connected by straight lines. A quantity cap restricts trade to 8 units, which trade at $10 per unit. Calculate surplus at the restricted allocation and the deadweight loss relative to the intersection of the curves.
Method. First sum the trapezoid areas under demand and supply from zero to 8. Subtract the relevant payments or costs to get consumer and producer surplus. Then interpolate the final graph segment to find the curve intersection and the surplus from trades beyond the cap.
The area under demand from 0 to 4 is \(4(22+18)/2=80\). From 4 to 8 it is \(4(18+12)/2=60\). Total area under demand is \(80+60=140\). Payments are \(10(8)=80\), so \(CS=140-80=60\).
The area under supply from 0 to 4 is \(4(2+6)/2=16\), and from 4 to 8 it is \(4(6+10)/2=32\). Total cost area is \(48\), so \(PS=80-48=32\). Thus \(TS=60+32=92\), also equal to the difference \(140-48=92\) between the demand and supply areas.
Between quantities 8 and 12, demand falls from $12 to $4, a slope of \(-2\) dollars per unit. Supply rises from $10 to $16, a slope of \(1.5\) dollars per unit. Let \(x\) be the additional quantity beyond 8 at which the curves meet. Their marginal-value gap is \(2-3.5x\), so \(2-3.5x=0\) and \(x=4/7\). The intersection quantity is \(8+4/7\), or about 8.57 units. The omitted gains form a triangle with base \(4/7\) and height $2, so deadweight loss is \((1/2)(4/7)(2)=4/7\), or $0.57 rounded to the nearest cent. The restricted allocation’s total surplus plus this loss is \(92+4/7=92.57\) to the nearest cent.
The intersection check is consistent: demand there is \(12-2(4/7)=76/7\), and supply is \(10+1.5(4/7)=76/7\). Both equal approximately $10.86 per unit.
Common Errors and Useful Checks
Discrete schedules and graph-based questions reward careful accounting. Before calculating, identify whether the data describe individual units or a continuous curve, and state the quantity actually traded. Use these checks as you work:
- Keep the quantity range consistent. If the allocation is \(Q=8\), calculate its surplus using curve areas only from zero through 8.
- Do not confuse price with value. The demand curve gives willingness to pay, not the amount buyers actually pay; the supply curve gives marginal cost, not necessarily the price sellers receive.
- Check the transfer cancellation. At a common price, adding consumer and producer surplus should cancel payments and leave the gains from trade.
- For discrete units, inspect the next trade. Compare the next buyer’s value with the next seller’s cost. A negative difference means that trade reduces total surplus.
- For graphs, split at each supplied coordinate. Add the trapezoids rather than using a single average height across a section where the curve changes slope.
These checks catch many arithmetic and interpretation errors without changing the underlying method. In particular, a different price may shift surplus between buyers and sellers, but at a fixed allocation and with no other costs or transfers, the total gains from the traded units remain the sum of their values less their costs.
Check Your Understanding
For each problem, identify the traded quantity before calculating surplus. Treat graph segments as linear where stated.
- Four buyers have values $31, $25, $19, and $14; four sellers have costs $7, $12, $18, and $21. If the market price is $18, find the quantity traded, consumer surplus, producer surplus, and total surplus. (Answer: \(Q=3\), \(CS=\$21\), \(PS=\$17\), \(TS=\$38\).)
- A market has \(P_D(Q)=26-Q\) and \(P_S(Q)=2+Q\). A cap sets quantity at 6 and the transaction price is $12. Find consumer surplus, producer surplus, total surplus, and deadweight loss relative to the curve intersection. (Answer: \(CS=\$66\), \(PS=\$42\), \(TS=\$108\), deadweight loss \(=\$36\).)
- A graph has demand coordinates \((0,18)\), \((5,13)\), \((10,5)\) and supply coordinates \((0,3)\), \((5,8)\), \((10,15)\), joined by straight lines. At \(Q=5\), the price is $9. Find consumer, producer, and total surplus using the graph areas. (Answer: \(CS=\$32.50\), \(PS=\$17.50\), \(TS=\$50\).)
- Four buyer values are $40, $32, $27, and $18; four seller costs are $9, $20, $25, and $30. At a price of $26, find the number of trades and all three surplus measures. Check whether the next unit should be traded. (Answer: \(Q=3\), \(CS=\$21\), \(PS=\$24\), \(TS=\$45\); do not trade the fourth unit because its value-cost gain is \(-\$12\).)
- A piecewise-linear graph has demand points \((0,24)\), \((4,16)\), and \((8,8)\), and supply points \((0,4)\), \((4,10)\), and \((8,16)\). A cap restricts trade to \(Q=4\), at a price of $10. Find surplus at the cap, then find the curve intersection and deadweight loss. (Answer: \(CS=\$40\), \(PS=\$12\), \(TS=\$52\); intersection \(Q=40/7\approx5.71\), price \(=\$88/7\approx\$12.57\), deadweight loss \(=\$36/7\approx\$5.14\).)