# Consumer and producer surplus #### Everything You Need in One Place

Homework problems? Exam preparation? Trying to grasp a concept or just brushing up the basics? Our extensive help & practice library have got you covered. #### Learn and Practice With Ease

Our proven video lessons ease you through problems quickly, and you get tonnes of friendly practice on questions that trip students up on tests and finals. #### Instant and Unlimited Help

Our personalized learning platform enables you to instantly find the exact walkthrough to your specific type of question. Activate unlimited help now! ##### Intros
###### Lessons
1. Consumer and Producer Surplus Overview:
2. Review of Consumer and Producer Surplus
3. Evaluating Surplus with Integrals
##### Examples
###### Lessons
1. Calculating Producer and Consumer Surplus

The demand curve for cakes is given by $D(q) = 36 - 2q^{2}$ and the supply curve is given by $S(q) = 8q + 12$.

i)Find the producer surplus

ii)Find the consumer surplus

1. The demand curve for cakes is given by $D(q) = \frac{12}{q + 2}$ and the supply curve is given by $S(q) = q + 3$.

i)Find the producer surplus

ii)Find the consumer surplus

###### Topic Notes

Let $S(q)$ and $D(q)$ be supply and demand curves in terms of $q$, where $q$ is the quantity.

Then we calculate the producer and consumer surplus by using the following formulas:

$PS$ (producer surplus) = $\int_{0}^{\overline q} [\overline p - S(q)] dq$

$CS$ (consumer surplus) = $\int_{0}^{\overline q} [D(q) - \overline p] dq$

Where $\overline p$ and $\overline q$ are equilibrium prices and quantity.