Tutorials › VEE Economics › Market Clearing, Feasibility, and Resource Allocation

VEE Economics · Competitive Welfare and Efficiency · Tutorial 431 of 998

Market Clearing, Feasibility, and Resource Allocation

Understand how market-clearing prices make buyers’ and sellers’ plans compatible, and how to check the resulting allocation for physical feasibility.

Intermediate 11 min read

What You'll Learn

  • Define market clearing in a single-good competitive market
  • Aggregate individual demand and supply schedules correctly
  • Solve for a clearing price and quantity from market schedules
  • Check whether proposed trades and allocations are physically feasible
  • Interpret shortages and surpluses at prices away from market clearing
  • Distinguish market clearing from a judgment about fairness or desirability

Why Market Clearing Matters

A consumer may plan to buy a certain quantity at a price, while a firm plans to produce and sell another quantity at that same price. Those plans can be carried out together only if the total quantity consumers want to buy is compatible with the quantity firms plan to supply. Market clearing is the accounting condition that makes those plans jointly feasible.

This tutorial focuses on a competitive market for one homogeneous good. The price is common to buyers and sellers, and each takes that price as given. Consumers make their purchase plans and firms make their production plans at the posted price; market clearing asks whether the plans can all be fulfilled at once. It is a feasibility condition, not by itself a judgment about whether the resulting allocation is fair or desirable.

Definition: In a single-good market, market demand at price \(p\), written \(Q_D(p)\), is the total quantity all consumers plan to buy at that price. Market supply, written \(Q_S(p)\), is the total quantity all firms plan to sell. The market clears at \(p^*\) if \(Q_D(p^*)=Q_S(p^*)\). The common quantity \(Q^*=Q_D(p^*)=Q_S(p^*)\) is the market-clearing quantity.

For a market with consumers \(1,\ldots,n\) and firms \(1,\ldots,m\), aggregate schedules are formed by adding quantities at the same price:

$$ Q_D(p)=\sum_{i=1}^{n}q_i^D(p), \qquad Q_S(p)=\sum_{j=1}^{m}q_j^S(p). $$

This is horizontal aggregation: at a given price, add the quantities each person or firm chooses. Do not add prices across agents, and do not average individual quantities unless the question specifically asks for an average.

Plans, Transactions, and Feasibility

A market-clearing condition links separate decisions. At a competitive equilibrium, consumers choose their preferred affordable purchases at the price and firms choose their profit-maximizing production at the price; the quantities then satisfy the market-clearing condition. The earlier material on consumer optimization at competitive prices and competitive profit maximization explains the decision rules behind those plans. Here the emphasis is whether the plans can be implemented together.

Suppose consumers collectively plan to buy 20 units and firms collectively plan to sell 20 units. Those plans can be matched: the 20 units produced can be assigned to the consumers who plan to purchase them. If consumers instead plan to buy 24 units while firms plan to sell 20, not every desired purchase can be fulfilled from current supply. If firms plan to sell 24 while consumers plan to buy 20, not all planned sales can be made to those consumers. The difference is called excess demand or excess supply.

Definition: At price \(p\), excess demand is \(Q_D(p)-Q_S(p)\). A positive value means planned purchases exceed planned sales. Excess supply is \(Q_S(p)-Q_D(p)\); a positive value means planned sales exceed planned purchases. If neither is positive, the two quantities are equal and the market clears.

The difference can be summarized by a net excess-supply function \(E(p)=Q_S(p)-Q_D(p)\). A clearing price is a price at which this difference is zero. This provides both a calculation method and a useful sign check: \(E(p)<0\) indicates excess demand, while \(E(p)>0\) indicates excess supply.

Why the Clearing Equation Is the Feasibility Test

The equality of aggregate demand and supply follows from the physical accounting of the good. In a simple market with no opening inventory, imports, exports, or unsold output carried forward, every unit sold must be a unit supplied. If all planned purchases are fulfilled, the quantity purchased equals the quantity supplied. Conversely, when the total quantities are equal, the aggregate plans can be matched, provided the good is transferable among buyers and sellers as assumed in this simple market model.

$$ \text{quantity consumers plan to receive} = \text{quantity firms plan to provide} \quad\Longleftrightarrow\quad Q_D(p)=Q_S(p). $$

For linear schedules, solving the clearing equation is direct. If \(Q_D(p)=a-bp\) and \(Q_S(p)=c+dp\), where \(b>0\) and \(d>0\), then setting demand equal to supply gives:

$$ a-bp=c+dp \quad\Longrightarrow\quad p^*=\frac{a-c}{b+d}. $$

This price is relevant only if it lies in the range where the schedules and the model make sense, including any nonnegativity or capacity restrictions. If the computed price is outside that range, or if the schedules change at a capacity limit, check the constraints rather than applying the linear formula mechanically.

1
Aggregate the plans.
Add all consumers’ quantities to obtain \(Q_D(p)\), and all firms’ quantities to obtain \(Q_S(p)\), at the same price.
2
Impose market clearing.
Set \(Q_D(p)=Q_S(p)\) and solve for the candidate price.
3
Check the quantity and conditions.
Substitute the price into both schedules. Verify that the resulting quantities agree and satisfy any nonnegativity, capacity, or inventory assumptions.

Worked Examples

Worked Example: Aggregating Two Buyers and Two Firms

In a hypothetical market, two consumers have demand schedules \(q_1^D(p)=18-2p\) and \(q_2^D(p)=12-p\). Two firms have supply schedules \(q_1^S(p)=2p-2\) and \(q_2^S(p)=p+1\). Find the clearing price and quantity, and check each individual plan.

Method. First add quantities across consumers and firms at a common price. Then equate aggregate demand and supply. The common mistake to avoid is solving for a price before aggregating all agents’ plans.

Aggregate demand: \(Q_D(p)=(18-2p)+(12-p)=30-3p\).

Aggregate supply: \(Q_S(p)=(2p-2)+(p+1)=3p-1\).

Set the two totals equal: \(30-3p=3p-1\), so \(31=6p\), and \(p^*=31/6\), or approximately \(5.1667\).

Substitute into aggregate demand: \(Q_D(31/6)=30-3(31/6)=30-31/2=29/2=14.5\). Aggregate supply gives \(Q_S(31/6)=3(31/6)-1=31/2-1=29/2=14.5\).

Check the individual plans. Consumer 1 wants \(18-2(31/6)=18-31/3=23/3\), and consumer 2 wants \(12-31/6=41/6\). Their sum is \(46/6+41/6=87/6=14.5\). Firm 1 supplies \(2(31/6)-2=25/3\), and firm 2 supplies \(31/6+1=37/6\). Their sum is \(50/6+37/6=87/6=14.5\). Thus both the aggregate equality and the individual aggregation check.

Worked Example: Matching Discrete Buyer and Seller Plans

Three consumers each want either zero or one unit of a good. Their maximum willingness to pay per unit is, respectively, 14 dollars, 11 dollars, and 7 dollars. Three firms can each supply one unit, with per-unit costs of 3 dollars, 5 dollars, and 12 dollars. At a price of 8 dollars, determine aggregate demand and supply and describe a feasible set of trades.

Method. For each consumer, compare willingness to pay with the price; for each firm, compare the price with its unit cost. The common mistake is to count a buyer with willingness to pay below the price or a firm whose cost exceeds the price.

At 8 dollars, the first consumer buys one unit because \(14>8\), and the second buys one because \(11>8\). The third buys zero because \(7<8\). Therefore \(Q_D(8)=1+1+0=2\) units.

The first firm supplies one unit because \(8>3\), and the second supplies one because \(8>5\). The third supplies zero because \(8<12\). Therefore \(Q_S(8)=1+1+0=2\) units.

The market clears at this price, and the two units supplied can be assigned to the first and second consumers. The buyers’ desired total and firms’ planned total are both two, so the stated trades are feasible. This calculation checks compatibility of plans; it does not require every potential buyer or seller to participate.

Worked Example: Diagnosing a Shortage and Finding the Clearing Price

A hypothetical market has demand \(Q_D(p)=42-2p\) and supply \(Q_S(p)=6+p\), with quantities measured in units. Assume the schedules apply over the relevant price range and that there is no inventory available from an earlier period. Find the clearing price and quantity, then determine the imbalance at a posted price of 10 dollars.

Method. Solve the equality for the clearing outcome, then compare the two plans separately at the posted price. The common mistake to avoid is reporting the smaller quantity as if it were both planned demand and planned supply.

For market clearing, set \(42-2p=6+p\). Subtract 6 from both sides and add \(2p\) to both sides: \(36=3p\), so \(p^*=12\) dollars.

At that price, demand is \(42-2(12)=42-24=18\) units, and supply is \(6+12=18\) units. The clearing quantity is 18.

At the posted price of 10 dollars, demand is \(42-2(10)=22\) units and supply is \(6+10=16\) units. Excess demand is \(22-16=6\) units. Without inventory or another source of the good, only 16 units can be supplied, so the 22 units of desired purchases cannot all be fulfilled. The calculations check: \(Q_D-Q_S=6>0\), confirming a shortage.

What Changes Away from the Clearing Price?

At a price below a clearing price in a usual downward-sloping demand and upward-sloping supply model, quantity demanded exceeds quantity supplied. That is a shortage in the sense of incompatible plans: buyers collectively want more than firms plan to sell. At a price above the clearing price, quantity supplied exceeds quantity demanded, leaving planned sales unmatched by planned purchases. These directional statements rely on the usual slope assumptions; the definitions of excess demand and supply remain valid even when schedules are not of those forms.

A shortage or surplus does not tell us exactly which individual trades take place. If a shortage results in rationing, some consumers may obtain the good and others may not. If sellers cannot sell all their output, some units may remain unsold. The quantity actually traded under such a constraint is not necessarily equal to every agent’s unconstrained plan. A market-clearing calculation identifies a price at which the stated aggregate plans are compatible; it should not be mistaken for a description of a rationing rule.

The basic equality also depends on what is counted as supply. If sellers can release existing inventories, those units may be part of the quantity offered. If unsold production is carried into the next period, output produced need not equal current sales. In such cases, write down the relevant accounting explicitly rather than forcing current production alone to equal purchases. In the simple no-inventory model used for the calculations here, current planned supply and current planned purchases are the quantities compared.

Common Exam Traps

  • Adding prices instead of quantities. Market demand is the sum of individual quantities at one price; it is not the sum of individual prices.
  • Using the wrong sign for an imbalance. If \(Q_D>Q_S\), there is excess demand, not excess supply. Compute the difference explicitly to avoid a sign error.
  • Assuming a posted price clears the market. Calculate both schedules at that price. A price is not a clearing price merely because it is given in the question.
  • Confusing planned quantities with completed trades. When plans do not match, the model does not imply that all planned purchases and sales can be fulfilled.
  • Ignoring feasibility restrictions. A solution to the algebra may violate a capacity, nonnegativity, or stated inventory condition. Check the calculated outcome against all assumptions.
Key takeaway: Market clearing is the equality of total planned purchases and total planned sales at a common price. Aggregate individual quantities first, solve \(Q_D(p)=Q_S(p)\), and verify that the resulting plans can be implemented under the market’s stated resource and inventory conditions.

Check Your Understanding

For each problem, aggregate or compare the relevant plans before deciding whether the market clears.

  1. A market has demand \(Q_D(p)=36-2p\) and supply \(Q_S(p)=6+p\). Find the clearing price and quantity. (Answer: \(p^*=10\), \(Q^*=16\).)
  2. Two consumers have demands \(q_1^D(p)=15-p\) and \(q_2^D(p)=9-0.5p\). Two firms have supplies \(q_1^S(p)=2p-4\) and \(q_2^S(p)=p+2\). Find the clearing price and quantity. (Answer: \(p^*=52/9\approx5.7778\), \(Q^*=46/3\approx15.3333\).)
  3. Three buyers each want at most one unit and have willingness to pay of 13, 9, and 5 dollars. Three firms each can supply one unit at costs of 2, 7, and 11 dollars. At a price of 8 dollars, find total demand and supply and state whether the plans can be matched. (Answer: \(Q_D=2\), \(Q_S=2\); the market clears and the two units can be matched.)
  4. A market has demand \(Q_D(p)=60-3p\) and supply \(Q_S(p)=12+2p\). Find the clearing outcome, then calculate excess demand or supply at \(p=8\). (Answer: \(p^*=9.6\), \(Q^*=31.2\); at \(p=8\), \(Q_D=36\), \(Q_S=28\), so excess demand is 8 units.)
  5. At a given price, consumers plan to buy 27 units, firms plan to supply 22 units, and sellers also offer 5 units from opening inventory. Under the stated assumption that all offered inventory is available for sale, calculate total supply and determine whether the market clears. (Answer: total supply is \(22+5=27\) units; the market clears.)
Clinical Biostats