a − b P = c + d P

The consumer surplus can be represented mathematically as:

One of the most important concepts in microeconomics is the analysis of demand and supply. The demand curve shows the relationship between the price of a good and the quantity demanded, while the supply curve shows the relationship between the price and the quantity supplied.