Tutorials › VEE Economics › Finding Equilibrium and Surplus from Equations

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

Finding Equilibrium and Surplus from Equations

Solve for the intersection of linear demand and supply, and use that equilibrium to calculate and check market surplus.

Intermediate 9 min read

What You'll Learn

  • Find equilibrium price and quantity by setting quantity demanded equal to quantity supplied.
  • Convert direct demand and supply equations into inverse form when needed.
  • Identify the relevant price intercepts and interpret them correctly.
  • Calculate consumer, producer, and total surplus at equilibrium.
  • Check that equilibrium values satisfy both equations and that surplus areas are consistent.

From Market Equations to Equilibrium

A linear demand equation and a linear supply equation describe quantities buyers wish to purchase and sellers wish to provide at different prices. Their intersection identifies the price and quantity at which the market clears. Once that equilibrium is known, the equations can also show how much buyer and seller surplus is generated in the market.

The key is to keep the variables and intercepts straight. A demand equation written as quantity depending on price does not display the price buyers would pay for each quantity directly. For surplus calculations, it is often useful to rearrange both equations so that price is expressed as a function of quantity.

Definition: A market equilibrium is a price \(P^*\) and quantity \(Q^*\) at which quantity demanded equals quantity supplied. In a linear model with demand \(Q_D=A-BP\) and supply \(Q_S=C+DP\), where \(B>0\) and \(D>0\), an interior equilibrium solves \(Q_D=Q_S\). Consumer surplus is the area between the demand curve and the equilibrium price over the units traded. Producer surplus is the area between the equilibrium price and the supply curve over those units. Total surplus is their sum.

These surplus interpretations treat the demand curve as buyers’ marginal willingness to pay and the supply curve as sellers’ marginal cost. The calculations below assume the stated linear curves apply over the quantities considered, the market trades the equilibrium quantity at a single price, and there are no unaccounted external costs or benefits. The results are not a complete welfare measure if those assumptions fail.

Solving for the Intersection

For direct equations, quantity is written as a function of price. Set demand equal to supply and solve for price; then substitute the result into either equation to find quantity. With \(Q_D=A-BP\) and \(Q_S=C+DP\), the price solution is:

$$ A-BP=C+DP \quad\Longrightarrow\quad P^*=\frac{A-C}{B+D}. $$

The denominator is the sum of the positive slope magnitudes in the direct equations. After solving for price, use \(Q^*=A-BP^*\) or \(Q^*=C+DP^*\). Both should give the same quantity. The algebraic solution represents an interior market equilibrium only when the resulting price and quantity lie in the relevant domain of the model.

For surplus, inverse equations are often more convenient. Write demand as \(P_D=\alpha-\beta Q\) and supply as \(P_S=\gamma+\delta Q\), with \(\beta>0\) and \(\delta>0\). Here, \(\alpha\) is the demand price intercept, and \(\gamma\) is the supply price intercept: each is the curve’s price when quantity is zero.

$$ \alpha-\beta Q^*=\gamma+\delta Q^* \quad\Longrightarrow\quad Q^*=\frac{\alpha-\gamma}{\beta+\delta}, \qquad P^*=\alpha-\beta Q^*. $$

The intercepts in inverse form are price values, not quantity values. In direct form, setting \(P=0\) instead gives a quantity intercept. Confusing these two types of intercept is a frequent source of incorrect surplus calculations.

Why the Surplus Formulas Work

For linear inverse curves, consumer surplus and producer surplus are triangular areas. To see why the consumer formula holds, subtract the payment at the equilibrium price from the area under the demand curve from zero to \(Q^*\). The demand curve is \(P_D=\alpha-\beta Q\), so:

$$ \int_0^{Q^*}(\alpha-\beta Q)\,dQ-P^*Q^* =(\alpha-P^*)Q^*-\frac{\beta(Q^*)^2}{2}. $$

At equilibrium, \(P^*=\alpha-\beta Q^*\), so \(\alpha-P^*=\beta Q^*\). Substitution gives \(\frac{1}{2}\beta(Q^*)^2\), which is one-half the base \(Q^*\) times the vertical height \(\alpha-P^*\). The same area is obtained as the area of a triangle with that base and height.

For producer surplus, subtract the area under the supply curve from the revenue at the equilibrium price. Since \(P_S=\gamma+\delta Q\), this is:

$$ P^*Q^*-\int_0^{Q^*}(\gamma+\delta Q)\,dQ =(P^*-\gamma)Q^*-\frac{\delta(Q^*)^2}{2}. $$

At equilibrium, \(P^*-\gamma=\delta Q^*\), leaving \(\frac{1}{2}\delta(Q^*)^2\), again a triangle. Therefore:

$$ CS=\frac{1}{2}Q^*(\alpha-P^*), \qquad PS=\frac{1}{2}Q^*(P^*-\gamma), \qquad TS=CS+PS. $$

Here \(CS\) is consumer surplus, \(PS\) is producer surplus, and \(TS\) is total surplus. If the supply price intercept \(\gamma\) is negative, the same algebra gives the area between the price line and the supply curve; the intercept should not be replaced with zero without a model-specific reason.

Worked Examples

Worked Example: Equilibrium from Direct Equations

A hypothetical market has demand \(Q_D=120-2P\) and supply \(Q_S=20+3P\). Price is measured in dollars per unit and quantity in units. Find equilibrium and all three surplus measures.

Method. Equate the two quantities to find the market-clearing price:

$$ 120-2P=20+3P \quad\Longrightarrow\quad 100=5P \quad\Longrightarrow\quad P^*=\$20. $$

Substitute \(P^*=\$20\) into demand: \(Q^*=120-2(20)=120-40=80\) units. Check supply: \(Q_S=20+3(20)=20+60=80\) units. The equations agree.

Rearrange demand to inverse form: \(2P=120-Q\), so \(P_D=60-\frac{1}{2}Q\). Rearrange supply: \(3P=Q-20\), so \(P_S=\frac{1}{3}Q-\frac{20}{3}\). Thus the demand price intercept is \(\alpha=\$60\), and the supply price intercept is \(\gamma=-\$20/3\).

Consumer surplus is \(\frac{1}{2}(80)(60-20)=40(40)=\$1{,}600\). Producer surplus is \(\frac{1}{2}(80)(20-(-20/3))=40(80/3)=\$1{,}066.67\), rounded to the nearest cent. Total surplus is \(\$1{,}600+\$1{,}066.67=\$2{,}666.67\).

Check and trap avoided. Both equations give 80 units at \(\$20\), and both surplus areas are positive. The direct demand quantity intercept is 120, not the demand price intercept of \(\$60\); using 120 as the height of the consumer-surplus triangle would mix quantity and price units.

Worked Example: Equilibrium Given in Inverse Form

A hypothetical equipment market is described by inverse demand \(P_D=60-\frac{1}{3}Q\) and inverse supply \(P_S=10+\frac{1}{2}Q\). Find the equilibrium and surplus values. Prices are dollars per item and quantities are items.

Method. Equate the prices buyers are willing to pay and sellers require:

$$ 60-\frac{1}{3}Q=10+\frac{1}{2}Q \quad\Longrightarrow\quad 50=\frac{5}{6}Q \quad\Longrightarrow\quad Q^*=60. $$

Substitute into either inverse equation: \(P^*=60-\frac{1}{3}(60)=60-20=\$40\). The supply equation confirms this: \(10+\frac{1}{2}(60)=10+30=\$40\).

The demand intercept is \(\alpha=\$60\), so consumer surplus is \(\frac{1}{2}(60)(60-40)=30(20)=\$600\). The supply intercept is \(\gamma=\$10\), so producer surplus is \(\frac{1}{2}(60)(40-10)=30(30)=\$900\). Total surplus is \(\$600+\$900=\$1{,}500\).

Check and trap avoided. The equilibrium price lies between the two price intercepts, and the two surplus areas add to \(\$1{,}500\). Do not use the slope coefficients, \(1/3\) and \(1/2\), as surplus heights: the heights are the price differences \(\$60-\$40\) and \(\$40-\$10\).

Worked Example: Checking Direct and Inverse Equations

A hypothetical market has direct demand \(Q_D=150-2P\) and direct supply \(Q_S=30+2P\). Find the equilibrium and surplus values, showing how the intercepts are obtained from the equations.

Method. Set the quantities equal: \(150-2P=30+2P\), so \(120=4P\), and \(P^*=\$30\). Demand gives \(Q^*=150-2(30)=150-60=90\) units. Supply gives \(Q_S=30+2(30)=30+60=90\) units, confirming the intersection.

Rearranging direct demand gives \(2P=150-Q\), or \(P_D=75-\frac{1}{2}Q\). Rearranging supply gives \(2P=Q-30\), or \(P_S=\frac{1}{2}Q-15\). The relevant price intercepts are therefore \(\alpha=\$75\) and \(\gamma=-\$15\).

Consumer surplus is \(\frac{1}{2}(90)(75-30)=45(45)=\$2{,}025\). Producer surplus is \(\frac{1}{2}(90)(30-(-15))=45(45)=\$2{,}025\). Total surplus is \(\$2{,}025+\$2{,}025=\$4{,}050\).

Check and trap avoided. The two surplus values are equal because their triangle heights are both \(\$45\), not because demand and supply have equal slopes. The negative supply price intercept is part of the equation; replacing it with zero would incorrectly reduce producer surplus.

A Reliable Calculation Sequence

A disciplined sequence prevents most errors when equations are given in different forms or the surplus calculation requires several steps.

1
Identify the equation form.
Determine whether each equation gives quantity as a function of price or price as a function of quantity. Keep price and quantity units visible.
2
Solve the intersection.
Set demanded quantity equal to supplied quantity, or set inverse demand price equal to inverse supply price. Solve for one variable, then substitute to find the other.
3
Check the equilibrium.
Substitute \(P^*\) into both direct equations, or \(Q^*\) into both inverse equations. The equations must produce the same traded quantity or price.
4
Find price intercepts and areas.
Use inverse form to identify \(\alpha\) and \(\gamma\). Calculate each triangle using its equilibrium quantity as the base and the appropriate price difference as its height.
5
Add and interpret.
Compute \(TS=CS+PS\), check the arithmetic, and state the units. Surplus has units of dollars when price is dollars per unit and quantity is units.

Common Exam Traps

  • Setting price equal to quantity. Equilibrium requires \(Q_D=Q_S\), or equal inverse prices at the same quantity. It does not require \(P=Q\).
  • Using a direct-equation quantity intercept as a price intercept. For \(Q_D=A-BP\), setting \(P=0\) gives the quantity \(A\). To find the price intercept, rearrange to inverse form and set \(Q=0\).
  • Using the wrong triangle height. Consumer surplus uses \(\alpha-P^*\); producer surplus uses \(P^*-\gamma\). Neither height is the slope coefficient.
  • Failing to check the intersection. A sign error can produce a plausible-looking price but an inconsistent quantity. Substitution into both original equations catches it.
  • Adding surplus without checking units. A price difference in dollars per unit multiplied by a quantity in units gives dollars. Mixing prices and quantities as if they had the same units is not valid.

For a market with linear demand and supply, solving the intersection is only the first step: the inverse curves reveal the price intercepts needed to calculate the gains to buyers and sellers. The calculation sequence and checks here are aligned with the SOA VEE Economics (Validation by Educational Experience) syllabus.

Check Your Understanding

For each problem, find the equilibrium first, then use the curve intercepts to calculate surplus. Prices are in dollars per unit and quantities are units unless stated otherwise.

  1. A market has \(Q_D=96-2P\) and \(Q_S=12+P\). Find \(P^*\), \(Q^*\), \(CS\), \(PS\), and \(TS\). (Answer: \(P^*=\$28\), \(Q^*=40\), \(CS=\$400\), \(PS=\$800\), \(TS=\$1{,}200\).)
  2. Demand and supply are \(Q_D=200-4P\) and \(Q_S=20+2P\). Find equilibrium and all three surplus measures. (Answer: \(P^*=\$30\), \(Q^*=80\), \(CS=\$800\), \(PS=\$1{,}600\), \(TS=\$2{,}400\).)
  3. Inverse demand is \(P_D=84-1.5Q\), and inverse supply is \(P_S=12+0.75Q\). Find equilibrium and all three surplus measures. (Answer: \(Q^*=32\), \(P^*=\$36\), \(CS=\$768\), \(PS=\$384\), \(TS=\$1{,}152\).)
  4. A market has inverse demand \(P_D=120-2Q\) and inverse supply \(P_S=24+Q\). Find the intersection, identify both price intercepts, and calculate surplus. (Answer: \(Q^*=32\), \(P^*=\$56\), demand intercept \(=\$120\), supply intercept \(=\$24\), \(CS=\$1{,}024\), \(PS=\$512\), \(TS=\$1{,}536\).)
  5. Demand is \(Q_D=420-6P\) and supply is \(Q_S=60+3P\). Solve for equilibrium, rearrange to inverse form, and calculate the surplus totals. (Answer: \(P^*=\$40\), \(Q^*=180\), inverse demand \(P_D=70-Q/6\), inverse supply \(P_S=Q/3-20\), \(CS=\$2{,}700\), \(PS=\$5{,}400\), \(TS=\$8{,}100\).)
Clinical Biostats