We often want to perform calculations concerning total utility in a market, or total costs, or some such thing, and to do this, it is helpful to define the functional relationships on a supply and demand diagram with a mathematical equation.

So, an example of a demand curve may be specified as follows (Please note that P stands for "Price," and Q stands for "Quantity") : $P=100-2Q$

This describes a downward sloping line, which intersects the y-axis (which represents price in a supply-demand diagram) at a value of 100, and declines in value by 2 for each extra unit we travel along the x-axis (which represents quantity of goods sold in a supply-demand diagram.)

So, if the Quantity is 20, we would say $Q=20$ , $P=100-2\left(20\right)=100-40=60$ , and so on.

If you look at the market demand curve for pizza, on the previous page, we might want to describe it as P = 9 - 0.5Q, which describes a straight line with a y-intercept of 9 and a slope of -0.5. In that case, for example, market price for pizza when the quantity is 10 will be: $P=9-\left(0.5\times 10\right)=\$4$ .

A Problem for You:

Assume the market demand curve for pizza is $P=9-0.5Q$ . Calculate the consumer surplus if the price of pizza equals $3. Try to use two methods to calculate the consumers surplus:

- Mathematical equation
- Geometry: and calculating the area of the triangle

Then compare your answers. You should have the same answer.

Answer:

We need to calculate the area of the triangle. First, we need to find the coordinates of three corners of the triangle between demand curve and price. Then we have to find the length of the sides.

The coordinate of the three corners are:

Top corner: (0,9)

Bottom left: (0,3)

Bottom right: to find this point we need to plug the price = 3 into the demand equation and find the Q. $3=9-0.5Q$ . And Q will be 12. So, the coordinate of the bottom right corner will be (12,3)

Knowing these three points, we should be able to calculate the area of the triangle as: $\frac{12\times 6}{2}=36$

Geometry:

We need to draw the graph and calculate the area of the triangle ($\frac{12\times 6}{2}=36$ ):

The market demand curve could be a more complicated function. This illustrates what I have mentioned before: real life is a very complicated thing to model, but in economics, we can use simple models to describe and explain human behavior and market outcomes. So assuming a linear demand curve may be a simplification of reality, but it aids our understanding of markets, and if we can perform numerical examples, it makes the illustration of concepts easier for a lot of us.