What surplus means
Before you start: you need definite integrals and integration in business.
Suppose you were ready to pay ₹900 for a pair of shoes and the shop charged ₹600. You walk away ₹300 happier. Add that up over every buyer and you get the consumer surplus. In the same way, a seller who would have accepted ₹400 but got ₹600 gains ₹200; added over all sellers this is the producer surplus.
Demand \(p = D(q)\), supply \(p = S(q)\).
\[CS = \int_0^{q_0} D(q)\,dq - p_0 q_0\]
\[PS = p_0 q_0 - \int_0^{q_0} S(q)\,dq\]
Market equilibrium
\(D(q_0) = S(q_0) = p_0\): the quantity where demand and supply meet.
Why the integral? The demand curve shows what the buyer of each successive unit was willing to pay. The area under it from 0 to \(q_0\) is the total amount buyers would have paid. They actually paid \(p_0 q_0\), the rectangle. The difference is the area between the demand curve and the horizontal line \(p = p_0\).
Producer surplus is the mirror image: the area between the price line and the supply curve, which lies below it.
Method
- Find the equilibrium. Solve \(D(q) = S(q)\) for \(q_0 > 0\), then \(p_0 = D(q_0)\). If the market price is given, just find \(q_0\) from the demand (or supply) function.
- Consumer surplus: integrate demand from 0 to \(q_0\) and subtract \(p_0 q_0\).
- Producer surplus: subtract the integral of supply from 0 to \(q_0\) from \(p_0 q_0\).
- Check: both answers must be positive. For straight lines, each surplus is a triangle with area \(\tfrac{1}{2} \times\) base \(\times\) height.
Total surplus \(CS + PS = \displaystyle\int_0^{q_0} \big(D(q) - S(q)\big)\,dq\) is the area between the two curves, the total gain to buyers and sellers from trade.
Solved examples
Example 1: Consumer surplus, linear demand
EasyDemand is \(p = 50 - 0.5q\) and the market price is ₹30. Find the consumer surplus.
- \(30 = 50 - 0.5q\) gives \(q_0 = 40\).
- \(\displaystyle\int_0^{40} (50 - 0.5q)\,dq = 2000 - 400 = 1600\).
- \(CS = 1600 - 30 \times 40 = 400\). Triangle check: \(\tfrac{1}{2} \times 40 \times 20 = 400\). ✓
AnswerConsumer surplus is ₹400.
Example 2: Both surpluses at equilibrium
EasyDemand \(p = 50 - 0.5q\), supply \(p = 10 + 0.5q\). Find the equilibrium and both surpluses.
- \(50 - 0.5q = 10 + 0.5q\) gives \(q_0 = 40\) and \(p_0 = 30\).
- \(CS = 400\), as in Example 1.
- \(PS = 1200 - \displaystyle\int_0^{40} (10 + 0.5q)\,dq\) \(= 1200 - (400 + 400)\) \(= 400\).
AnswerEquilibrium 40 units at ₹30; CS = PS = ₹400, total surplus ₹800.
Example 3: Non-linear demand
MediumDemand is \(p = 400 - q^2\) and the market price is ₹300. Find the consumer surplus.
- \(400 - q^2 = 300\) gives \(q_0 = 10\).
- \(\displaystyle\int_0^{10} (400 - q^2)\,dq = 4000 - \dfrac{1000}{3}\).
- \(CS = 4000 - \dfrac{1000}{3} - 3000 = \dfrac{2000}{3}\).
Answer\(CS = \dfrac{2000}{3} \approx 666.67\), that is about ₹666.67.
Example 4: Non-linear supply
MediumDemand \(p = 140 - 2q\), supply \(p = 20 + q^2\). Find the equilibrium and both surpluses.
- \(140 - 2q = 20 + q^2\) gives \(q^2 + 2q - 120 = 0\), so \((q + 12)(q - 10) = 0\) and \(q_0 = 10\), \(p_0 = 120\).
- \(CS = \displaystyle\int_0^{10} (140 - 2q)\,dq - 1200 = 1300 - 1200\) \(= 100\).
- \(PS = 1200 - \displaystyle\int_0^{10} (20 + q^2)\,dq\) \(= 1200 - 200 - \dfrac{1000}{3}\) \(= \dfrac{2000}{3}\).
Answer10 units at ₹120; CS = ₹100 and PS = \(\tfrac{2000}{3} \approx\) ₹666.67.
Example 5: A realistic market
Exam levelMonthly demand for a kitchen appliance is \(p = 3600 - q^2\) and supply is \(p = 600 + 10q\). Find the equilibrium and both surpluses.
- \(3600 - q^2 = 600 + 10q\) gives \(q^2 + 10q - 3000 = 0\), so \((q + 60)(q - 50) = 0\), \(q_0 = 50\) and \(p_0 = 1100\).
- \(\displaystyle\int_0^{50} (3600 - q^2)\,dq = 180000 - \dfrac{125000}{3}\), and \(p_0 q_0 = 55000\).
- \(CS = 125000 - \dfrac{125000}{3} = \dfrac{250000}{3}\).
- \(PS = 55000 - \displaystyle\int_0^{50} (600 + 10q)\,dq\) \(= 55000 - (30000 + 12500)\) \(= 12500\).
Answer50 units at ₹1,100; CS \(= \tfrac{250000}{3} \approx\) ₹83,333.33 and PS = ₹12,500.
Example 6: A price cut
Exam levelWith demand \(p = 50 - 0.5q\), the price falls from ₹30 to ₹20. By how much does consumer surplus rise?
- At ₹20, \(q_0 = 60\) and \(CS = \tfrac{1}{2} \times 60 \times 30 = 900\).
- At ₹30 it was 400 (Example 1).
AnswerConsumer surplus rises by ₹500, from ₹400 to ₹900.
Example 7: Demand that rises steeply near zero
Exam levelDemand is \(p = \dfrac{120}{\sqrt q}\) and the market price is ₹20. Find the consumer surplus.
- \(\dfrac{120}{\sqrt q} = 20\) gives \(\sqrt q = 6\), so \(q_0 = 36\).
- \(\displaystyle\int_0^{36} 120q^{-1/2}\,dq = \Big[240\sqrt q\Big]_0^{36}\) \(= 1440\). The integrand is unbounded at 0, but this improper integral converges.
- \(CS = 1440 - 20 \times 36 = 720\).
AnswerConsumer surplus is ₹720.
Draw a rough sketch, even in the exam. Put the price line across, shade between it and the demand curve for CS and between it and the supply curve for PS. If either answer comes out negative, you have subtracted the wrong way round.
Common mistakes
1. Integrating up to the price instead of the quantity
The limits are quantities. For \(p = 50 - 0.5q\) at ₹30, integrate from 0 to \(q_0 = 40\), not from 0 to 30.
2. Forgetting to subtract \(p_0 q_0\)
\(\displaystyle\int_0^{40} (50 - 0.5q)\,dq = 1600\) is what buyers would pay in total, not the surplus. Subtract what they did pay, \(1200\), to get \(CS = 400\).
3. Keeping the negative root
In Example 5, \(q^2 + 10q - 3000 = 0\) has roots 50 and \(-60\). Quantity cannot be negative, so \(q_0 = 50\).
Practice questions
Try each one on paper before you open the answer.
Q1Demand \(p = 80 - 2q\), market price ₹40. Find the consumer surplus.
\(q_0 = 20\); \(CS = \tfrac{1}{2} \times 20 \times 40 = 400\), so ₹400.
Q2Demand \(p = 60 - q\), supply \(p = 12 + 2q\). Find the equilibrium, CS and PS.
\(48 = 3q\), so \(q_0 = 16\), \(p_0 = 44\).
\(CS = \tfrac{1}{2} \times 16 \times 16 = 128\) and \(PS = \tfrac{1}{2} \times 16 \times 32 = 256\).
Q3Demand \(p = 100 - q^2\), market price ₹75. Find the consumer surplus.
\(q_0 = 5\). \(CS = \left(500 - \dfrac{125}{3}\right) - 375 = \dfrac{250}{3} \approx 83.33\).
Q4Supply \(p = 10 + q^2\), market price ₹46. Find the producer surplus.
\(q_0 = 6\). \(PS = 276 - (60 + 72) = 144\), so ₹144.
Q5For the demand in Q1, how much does consumer surplus rise if the price falls from ₹40 to ₹30?
At ₹30, \(q_0 = 25\) and \(CS = \tfrac{1}{2} \times 25 \times 50 = 625\). Rise \(= 625 - 400 = 225\), so ₹225.
Q6Demand \(p = 25 - q^2\), supply \(p = 2q + 1\). Find the equilibrium, CS and PS.
\(q^2 + 2q - 24 = 0\), so \(q_0 = 4\), \(p_0 = 9\).
\(CS = \left(100 - \dfrac{64}{3}\right) - 36 = \dfrac{128}{3}\) and \(PS = 36 - (16 + 4) = 16\).
Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.
Frequently asked questions
What is the formula for consumer surplus?
\(CS = \displaystyle\int_0^{q_0} D(q)\,dq - p_0 q_0\), where \(D(q)\) is the demand function and \((q_0, p_0)\) is the market quantity and price.
What is producer surplus?
The extra that sellers receive over the lowest price at which they would have supplied: \(PS = p_0 q_0 - \displaystyle\int_0^{q_0} S(q)\,dq\).
How do you find market equilibrium?
Set the demand price equal to the supply price and solve for \(q\). Keep the positive root, then substitute into either function for the price.
What happens to consumer surplus when price falls?
It rises. Buyers who were already buying pay less, and new buyers enter the market. In Example 6 a ₹10 price cut raised CS from ₹400 to ₹900.