Demand curve & consumer surplus
Controls & Calculations
Inverse Demand:
P = 12.0 − 1.0·Q
Each point on the demand curve is the maximum willingness to pay for that unit.
Rectangle Approximation:
?
Exact CS = ½ × base × height. Approximation = Σ (WTP_group − P) × ΔQ.
Supply curve & producer surplus
Controls & Calculations
Inverse Supply:
P = 0.0 + 0.8·Q
We model a linear supply: P = c + d·Q. Adjust c and d below to explore.
Rectangle Approximation:
?
Exact PS = ∫₀^{Qˢ} (P − MC(Q)) dQ. With linear supply, PS = Qˢ(P − c) − ½ d Qˢ².