A market clears when buyers and sellers face the same price and wish to trade the same quantity. Before any algebra, the idea is simple: at a high price sellers offer more than buyers want; at a low price buyers want more than sellers offer; somewhere in between, plans are consistent. This note makes that point exact for the linear case used throughout the course, and then measures how much the market accomplishes.
Inverse demand and inverse supply are
with , , . The intercept is the most any buyer is willing to pay; is the lowest price at which any seller is willing to produce.
Setting the two prices equal,
Since , we have : there are mutually beneficial trades, and the market finds them. (When the curves meet on the price axis and — the degenerate case shown as in Tool 2.)
A buyer who would have paid for the -th unit, but pays only , gains the difference. Adding these gains over all units traded,
the area of the triangle between the demand curve and the price line.
Symmetrically, the seller of the -th unit would have accepted but receives :
Notice that drops out: total surplus depends only on the gap between the curves and the quantity traded. The price decides how the pie is divided; the quantity decides how large the pie is.
Try it yourself. Open Tool 2, set , , , , and verify: , , , , .