Skip to content
Calculus I / Applications of Integration

Applications to Economics: Consumer and Producer Surplus

The demand function p=D(q)p = D(q) records the maximum price a buyer will pay for the qq-th unit. At the market price P∗=D(Q∗)P^* = D(Q^*), buyers who would have paid more than P∗P^* gain a surplus equal to the gap between their willingness to pay and the actual price. Summing these gaps via a Riemann sum and taking the limit gives consumer surplus =∫0Q∗[D(q)−P∗] dq= \int_0^{Q^*}[D(q) - P^*]\,dq — a single integral of the area-between-curves type from Areas Between Curves. The mirror image, producer surplus, measures the gain to sellers. Together they are the foundation for welfare analysis: optimal policies maximise total surplus, and taxes or price controls create deadweight losses (areas of destroyed surplus) that appear as gaps in the integral.
Learning objectives. By the end of this note you should be able to:
  • compute consumer and producer surplus from demand and supply functions;
  • find equilibrium price and quantity by equating DD and SS;
  • compute deadweight loss from a tax or price floor;
  • interpret the surplus integrals in terms of option payoff analogies.

In this lesson

  1. Consumer surplus
  2. Producer surplus
  3. Deadweight loss
  4. Finance analogy: option payoff as a "surplus"

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or explore the curriculum.