Tutorials › VEE Economics › Integrated Market-Surplus Problem Workshop

VEE Economics · Surplus and Economic Efficiency · Tutorial 424 of 998

Integrated Market-Surplus Problem Workshop

Combine equilibrium equations and surplus areas to evaluate how shifts, price controls, and per-unit wedges change market outcomes.

Intermediate 12 min read

What You'll Learn

  • Solve linear demand and supply equations for equilibrium price and quantity.
  • Recalculate equilibrium and surplus after a demand shift.
  • Distinguish the price buyers pay from the price sellers receive under a per-unit wedge.
  • Calculate consumer surplus, producer surplus, government revenue, and total surplus.
  • Find traded quantity under a binding price ceiling and calculate its deadweight loss.
  • Check whether a surplus change is a transfer or a loss of total surplus.

Putting Market-Surplus Calculations Together

A market-surplus problem often requires more than finding an equilibrium or one triangle. A demand shift changes the equilibrium; a price control can create a shortage or surplus; and a per-unit wedge can make the price buyers pay differ from the price sellers receive. A reliable solution keeps these steps separate, then checks how the resulting surplus components fit together.

This workshop uses inverse linear demand and supply curves. Quantity is \(Q\), and prices are measured in dollars per unit. Consumer surplus (CS) is buyers’ willingness to pay above what they pay; producer surplus (PS) is what sellers receive above their marginal costs. Total surplus (TS) is CS plus PS, with any government revenue or other relevant receipts included when present.

Model and assumptions: Write inverse demand as \(P_D(Q)=a-bQ\) and inverse supply as \(P_S(Q)=c+dQ\), where \(b,d>0\). Demand gives buyers’ willingness to pay for each unit; supply gives sellers’ marginal cost. Unless a problem specifies otherwise, assume competitive trading, no external effects, and that the units traded are assigned to buyers with the highest willingness to pay and sellers with the lowest costs. Under a binding price ceiling with a shortage, this last assumption is needed to calculate aggregate consumer surplus; random rationing may produce a different allocation and different surplus distribution.

At the unregulated equilibrium, quantity supplied equals quantity demanded, so \(P_D(Q^*)=P_S(Q^*)\). For linear curves, surplus can be calculated as triangle areas or as areas between curves. When the price is controlled or buyers and sellers face different prices, use the appropriate price for each group; do not use one market price for both by default.

A Repeatable Solution Method

1
Find the benchmark equilibrium.
Set inverse demand equal to inverse supply and solve for \(Q^*\) and \(P^*\). Calculate benchmark surplus if the question asks for a before-and-after comparison.
2
Apply the change to the correct equation.
For a curve shift, use the new curve. For a per-unit wedge, distinguish the buyer price from the seller price. For a price control, calculate both quantities at the controlled price.
3
Determine the quantity actually traded.
With a binding ceiling, the short side is supply; with a binding floor, the short side is demand. With a tax wedge, solve the two price conditions together.
4
Recalculate surplus and reconcile it.
Use willingness to pay and buyer price for CS, seller price and marginal cost for PS, and include government revenue where applicable. Compare total surplus with the benchmark to find the resource loss.

Equilibrium and Surplus Before and After a Shift

For linear curves, solving the equilibrium equation gives

$$ Q^*=\frac{a-c}{b+d}, \qquad P^*=\frac{ad+bc}{b+d}. $$

When the equilibrium quantity is positive, the linear-surplus triangle formulas are \(CS=\tfrac12 Q^*(a-P^*)\) and \(PS=\tfrac12 Q^*(P^*-c)\). They use the demand intercept \(a\) and supply intercept \(c\), respectively. These formulas describe the areas under the relevant curves; if a curve changes, recalculate using the new intercept.

Worked Example: A Demand Shift and the Surplus Comparison

A market initially has inverse demand \(P_D=100-Q\) and inverse supply \(P_S=20+Q\). Demand then shifts outward to \(P_D=120-Q\), while supply is unchanged. Find equilibrium and CS, PS, and TS in both situations, then compare them.

Method: solve each equilibrium independently, then calculate the two triangle areas. Initially, set demand equal to supply:

$$ 100-Q=20+Q,\qquad 80=2Q,\qquad Q^*=40. $$

Substitute \(Q=40\) into either curve: \(P^*=100-40=60\), also \(20+40=60\). The initial consumer surplus is \(\tfrac12(40)(100-60)=800\) dollars. Producer surplus is \(\tfrac12(40)(60-20)=800\) dollars. Thus initial total surplus is \(800+800=1{,}600\) dollars.

After the shift, solve \(120-Q=20+Q\), giving \(100=2Q\) and \(Q^*=50\). The new equilibrium price is \(120-50=70\), also \(20+50=70\). New CS is \(\tfrac12(50)(120-70)=1{,}250\) dollars. New PS is \(\tfrac12(50)(70-20)=1{,}250\) dollars, so new TS is \(2{,}500\) dollars.

CS rises by \(1{,}250-800=450\) dollars and PS rises by \(450\) dollars; TS rises by \(2{,}500-1{,}600=900\) dollars. The check is \(450+450=900\). The comparison uses the stipulated old and new demand curves; it does not by itself identify the cause of the shift or imply that a change in demand is a policy transfer.

Per-Unit Wedges: Separate Buyer and Seller Prices

A per-unit tax or similar wedge makes the amount paid by buyers exceed the amount received by sellers. Denote the wedge by \(t>0\), so \(P_b=P_s+t\). Under the linear model, market clearing requires demand at the buyer price to equal supply at the seller price. Tax revenue is \(tQ_t\), where \(Q_t\) is the quantity traded. In this model, total surplus after the tax is CS plus PS plus tax revenue; the tax payment itself is a transfer to government, not a resource cost.

Worked Example: Tax Wedge, Revenue, and Deadweight Loss

Let demand be \(P_D=100-Q\), supply be \(P_S=20+Q\), and suppose a hypothetical per-unit tax of \(20\) dollars is collected from sellers. Find the buyer and seller prices, the post-tax surplus components, and deadweight loss relative to the untaxed equilibrium.

Method: first find the benchmark; then solve demand at the buyer price against supply at the seller price. The untaxed equilibrium is \(100-Q=20+Q\), so \(Q^*=40\) and \(P^*=60\). Benchmark CS is \(\tfrac12(40)(100-60)=800\); benchmark PS is \(\tfrac12(40)(60-20)=800\). Benchmark TS is \(1{,}600\) dollars.

With the tax, buyers pay \(20\) dollars more than sellers receive. Solve:

$$ 100-Q=(20+Q)+20,\qquad 60=2Q,\qquad Q_t=30. $$

At \(Q=30\), buyers pay \(P_b=100-30=70\) dollars, while sellers receive \(P_s=20+30=50\) dollars. The difference is \(70-50=20\), as required. Post-tax CS is \(\tfrac12(30)(100-70)=450\) dollars, and PS is \(\tfrac12(30)(50-20)=450\) dollars. Tax revenue is \(20(30)=600\) dollars. Therefore post-tax TS is \(450+450+600=1{,}500\) dollars, and deadweight loss is \(1{,}600-1{,}500=100\) dollars.

The check is that the loss equals the area of the trades no longer made: \(\tfrac12(20)(40-30)=100\) dollars. The common mistake avoided here is using the buyer price to calculate PS. Sellers receive \(50\), not \(70\).

Why the Linear Deadweight-Loss Formula Works

For the linear curves \(P_D=a-bQ\) and \(P_S=c+dQ\), the vertical gap between willingness to pay and marginal cost at quantity \(Q\) is \(P_D(Q)-P_S(Q)\). At the efficient benchmark quantity \(Q^*\), that gap is zero because the curves intersect. A tax reduces trade from \(Q^*\) to \(Q_t\). At \(Q_t\), the tax condition implies \(P_D(Q_t)-P_S(Q_t)=t\). Between \(Q_t\) and \(Q^*\), the gap therefore declines linearly from \(t\) to zero.

Deadweight loss is the surplus from the units between \(Q_t\) and \(Q^*\) that are not traded. Their value is the area between demand and supply over that interval. Since the gap is linear, the area is a triangle:

$$ DWL=\frac12 t(Q^*-Q_t). $$

This result assumes the tax leaves a positive traded quantity and the stated linear curves apply across the relevant interval. It is not a substitute for identifying the actual quantity: if the tax is so large that trade falls to zero, the triangle must instead be drawn over the actual range of foregone trades.

Binding Price Ceiling: Trade, Surplus, and Lost Trades

A price ceiling is binding when it is below the competitive equilibrium price. At the ceiling, quantity demanded exceeds quantity supplied. With no other source of supply, actual trade cannot exceed the quantity supplied, so \(Q_T=Q_S\). To compute aggregate CS and PS, use the ceiling price and the stipulated allocation assumption: the traded units go to the highest-value buyers and are supplied by the lowest-cost sellers.

Worked Example: A Ceiling with a Shortage

Suppose demand is \(P_D=90-Q\), supply is \(P_S=10+Q\), and a binding ceiling is set at \(35\) dollars per unit. Calculate the competitive benchmark, quantities at the ceiling, post-ceiling CS and PS, TS, and deadweight loss. Assume efficient rationing among buyers and sellers.

Method: compare supply and demand at the ceiling, then calculate surplus over the units actually traded. The benchmark satisfies \(90-Q=10+Q\), so \(Q^*=40\) and \(P^*=50\). Benchmark CS is \(\tfrac12(40)(90-50)=800\) dollars; benchmark PS is \(\tfrac12(40)(50-10)=800\) dollars; benchmark TS is \(1{,}600\) dollars.

At the ceiling, quantity demanded is \(90-35=55\), while quantity supplied is \(35-10=25\). There is a shortage of \(55-25=30\) units, but only \(25\) units are supplied and traded.

For those \(25\) units, the buyer surplus per marginal unit falls from \(90-35=55\) dollars at \(Q=0\) to \(90-25-35=30\) dollars at \(Q=25\). Thus CS is the trapezoid area \(\tfrac12(55+30)(25)=1{,}062.50\) dollars. The seller surplus per marginal unit falls from \(35-10=25\) dollars to \(35-(10+25)=0\); PS is \(\tfrac12(25+0)(25)=312.50\) dollars. Post-ceiling TS is \(1{,}062.50+312.50=1{,}375\) dollars.

The lost trades are from quantity \(25\) to \(40\). At \(Q=25\), willingness to pay is \(65\) and marginal cost is \(35\), a gap of \(30\) dollars; at \(Q=40\), the gap is zero. Therefore DWL is \(\tfrac12(15)(30)=225\) dollars. The check is \(1{,}600-1{,}375=225\).

Common Trap: Treating Every Surplus Area as a Triangle

In the ceiling example, a tempting but wrong calculation is \(CS=\tfrac12(25)(90-35)=687.50\). That treats the entire CS region as a triangle with zero surplus at \(Q=25\). But the last traded buyer still has willingness to pay \(65\), above the ceiling price \(35\), so surplus at that endpoint is \(30\) dollars per unit. The correct area is a trapezoid: \(\tfrac12(55+30)(25)=1{,}062.50\) dollars.

A triangle formula is appropriate only when one endpoint of the relevant surplus region has zero height. Before using it, identify the horizontal quantity interval and the surplus height at both endpoints. For a shortage, also distinguish quantity demanded from quantity actually traded; using \(55\) rather than \(25\) would count units that sellers do not supply.

Key takeaway: A market-surplus comparison is complete only when the price and quantity used for each component match the scenario. Calculate transfers separately from resource losses, and verify that the change in total surplus agrees with the deadweight-loss area when the underlying curves are unchanged.

Check Your Understanding

Work each problem through the equilibrium, the relevant quantities, and the surplus comparison. Dollar amounts are exact to the cent where needed.

  1. Demand is \(P_D=84-2Q\) and supply is \(P_S=12+Q\). Find equilibrium quantity, price, CS, PS, and TS. (Answer: \(Q^*=24,\ P^*=36,\ CS=\$576,\ PS=\$288,\ TS=\$864\).)
  2. Demand is \(P_D=96-Q\) and supply is \(P_S=16+Q\). A per-unit tax of \(12\) dollars is introduced. Find the untaxed equilibrium, the post-tax quantity and buyer and seller prices, tax revenue, post-tax total surplus, and DWL. (Answer: untaxed \(Q^*=40,\ P^*=\$56\); taxed \(Q_t=34,\ P_b=\$62,\ P_s=\$50\); revenue \(\$408\); post-tax TS \(\$1{,}564\); DWL \(\$36\).)
  3. Demand is \(P_D=70-Q\), supply is \(P_S=10+Q\), and a binding ceiling is \(25\) dollars. Assuming efficient rationing, find the traded quantity, shortage, CS, PS, TS, and DWL. (Answer: traded quantity \(15\), shortage \(30\), CS \(\$562.50\), PS \(\$112.50\), TS \(\$675\), DWL \(\$225\).)
  4. Demand is \(P_D=80-Q\) and supply is \(P_S=20+Q\). A binding price floor of \(60\) dollars is imposed. Assuming the quantity actually traded is the short side and the traded units are the lowest-cost supply matched to the highest-value demand, find the benchmark equilibrium, quantity demanded and supplied at the floor, traded quantity, CS, PS, TS, and DWL. (Answer: benchmark \(Q^*=30,\ P^*=\$50\); at the floor \(Q_D=20,\ Q_S=40\), so \(20\) units trade; CS \(\$200\), PS \(\$600\), TS \(\$800\), DWL \(\$100\).)
Clinical Biostats