← MATH 162 MathScape 0 MATH162

Consumer and Producer Surplus

3 min read

Jump to a section
Reference: Stewart §8.4

Textbook Reference

Primary source OpenStax Calculus Volume 2, Section 2.7: “Integrals, Exponential Functions, and Logarithms” (see also the economics supplement)
Textbook used in class Stewart, Calculus, Section 8.4: “Applications to Economics and Biology”

Opening Scenario

At the market price of \$5 per pound, some buyers were willing to pay \$8 (they would have bought at that higher price). They paid only \$5, so they gained \$3 per unit -- a benefit they received without paying for it. This accumulated benefit across all buyers is the consumer surplus: the area between the demand curve and the market price.

Similarly, some suppliers would have sold at \$3 per pound. They received \$5, so they gained \$2 per unit. The accumulated gain for sellers is the producer surplus: the area between the market price and the supply curve.

Both surpluses are computed as definite integrals.


Quick Reference

Let $D(q)$ be the demand function (price buyers are willing to pay for $q$ units) and $S(q)$ the supply function (price sellers require to provide $q$ units). The equilibrium point $(Q^*, P^*)$ satisfies $D(Q^*) = S(Q^*) = P^*$.

Consumer surplus: $$CS = \int_0^{Q^*} [D(q) - P^*]\,dq.$$

Producer surplus: $$PS = \int_0^{Q^*} [P^* - S(q)]\,dq.$$

Each surplus is the area between a curve and the equilibrium price line, integrated from $0$ to $Q^*$.


Key Concepts

1. The Demand Curve

The demand function $D(q)$ gives the price at which exactly $q$ units will be sold. It is typically decreasing: as $q$ increases, buyers’ willingness to pay decreases (the most eager buyers are served first).

A buyer who purchases unit $q$ was willing to pay $D(q)$ but paid only $P^*$. The surplus for that unit is $D(q) - P^*$. Integrating from $0$ to $Q^*$ sums the surplus over all units sold: $$CS = \int_0^{Q^*}[D(q)-P^*]\,dq.$$

2. The Supply Curve

The supply function $S(q)$ gives the minimum price sellers will accept to produce $q$ units. It is typically increasing. A seller of unit $q$ received $P^*$ but would have accepted $S(q) \leq P^*$.

Producer surplus for unit $q$ is $P^* - S(q)$. Integrated: $$PS = \int_0^{Q^*}[P^*-S(q)]\,dq.$$

3. Area Interpretation

On a graph with $q$ on the horizontal axis and price on the vertical axis:

Both are areas between a curve and a horizontal line -- exactly the “area between curves” setup.


Worked Example

The demand function is $D(q) = 200 - 4q$ and the supply function is $S(q) = 20 + q$. Find the equilibrium point, the consumer surplus, and the producer surplus.

Step 1 -- Equilibrium. Set $D(q^*) = S(q^*)$: $$200 - 4q^* = 20 + q^* \Rightarrow 180 = 5q^* \Rightarrow q^* = 36, \quad P^* = 20 + 36 = 56.$$

Step 2 -- Consumer surplus. $$CS = \int_0^{36}[(200-4q)-56]\,dq = \int_0^{36}(144-4q)\,dq = \left[144q - 2q^2\right]_0^{36} = 144(36) - 2(1296) = 5184 - 2592 = 2592.$$

Step 3 -- Producer surplus. $$PS = \int_0^{36}[56-(20+q)]\,dq = \int_0^{36}(36-q)\,dq = \left[36q - \frac{q^2}{2}\right]_0^{36} = 1296 - 648 = 648.$$

Boxed answers: Equilibrium $(q^*, P^*) = (36, 56)$; $CS = 2592$; $PS = 648$.


Common Errors Summary

Error Example Correction
Integrating $D(q)$ alone for consumer surplus $CS = \int_0^{Q^*} D(q)\,dq$ Consumer surplus is the area between $D(q)$ and $P^*$: $CS = \int_0^{Q^*}[D(q)-P^*]\,dq$
Reversing the surplus formulas $CS = \int[P^*-D(q)]\,dq$ Consumer surplus is $D(q) - P^*$ (demand above price); producer surplus is $P^* - S(q)$ (price above supply)
Using the wrong equilibrium quantity as the upper limit Integrating to the wrong $Q^*$ Solve $D(q) = S(q)$ for $Q^*$ first; that is the upper limit for both integrals

Common Misconceptions

Common misconception

consumer surplus equals $\int_0^{Q^*} D(q)\,dq$, the total area under the demand curve from $0$ to $Q^*$.

This is the concept-image-conflicts-definition error. The area under the demand curve gives the total willingness-to-pay, not the surplus. Consumer surplus is only the portion above the equilibrium price line: $CS = \int_0^{Q^*}[D(q) - P^*]\,dq$. Subtracting $P^*$ removes the amount consumers actually paid ($P^* \cdot Q^*$) from their total willingness-to-pay. For $D(q) = 200 - 4q$ with $P^* = 56$ and $Q^* = 36$, the full area under $D$ is $\int_0^{36}(200-4q)\,dq = 4608$, whereas consumer surplus is $2592$, a substantially smaller quantity.

Common misconception

consumer surplus and producer surplus add to the total area of the triangle formed by the supply and demand curves.

This is the average-rate-as-arithmetic-mean error applied to the graphical interpretation. Consumer surplus and producer surplus do together fill the region between the two curves and the equilibrium price line, but this region is not generally a triangle unless both curves are linear. For nonlinear supply or demand curves, the surplus regions are curvilinear and must be computed by integration, not by the triangle area formula $\tfrac{1}{2}\cdot\text{base}\cdot\text{height}$.


Leveled Practice

Level 1 -- Identify the Surplus

Problem 1. The demand function is $D(q) = 60 - q^2$ and the equilibrium is $(q^*, P^*) = (5, 35)$. Set up but do not evaluate the consumer surplus integral.

Show answer

$CS = \displaystyle\int_0^5 [(60-q^2) - 35]\,dq = \int_0^5 (25-q^2)\,dq$.


Level 2 -- Full Computation

Problem 2. The demand function is $D(q) = 16 - q^2$ and the supply function is $S(q) = 2q + 1$. Find the equilibrium, consumer surplus, and producer surplus.

Show answer

Equilibrium: $16 - q^2 = 2q + 1 \Rightarrow q^2 + 2q - 15 = 0 \Rightarrow (q+5)(q-3) = 0$.

Take $q^* = 3$ (positive), $P^* = 2(3)+1 = 7$.

Consumer surplus: $CS = \displaystyle\int_0^3[(16-q^2)-7]\,dq = \int_0^3(9-q^2)\,dq = \left[9q-\dfrac{q^3}{3}\right]_0^3 = 27-9 = 18$.

Producer surplus: $PS = \displaystyle\int_0^3[7-(2q+1)]\,dq = \int_0^3(6-2q)\,dq = [6q-q^2]_0^3 = 18-9 = 9$.

Boxed answers: $(q^*, P^*) = (3, 7)$; $CS = 18$; $PS = 9$.


Mastery Checklist


Mental Model

Consumer surplus is the “bonus” buyers receive: they were willing to pay more than they did. Producer surplus is the “bonus” sellers receive: they were willing to accept less than they got. Both bonuses accumulate unit-by-unit from $q = 0$ to $q = Q^*$. The integral sums those per-unit bonuses. Geometrically, each surplus is an area between a curve and a horizontal line -- exactly the area-between-curves formula applied to economics.


Connections

Looking back

Looking ahead


Back to Blood Flow | Next: Probability Density Functions