Building and Reading Supply and Demand Functions

In market modelling, price and quantity are linked by two separate functions. The supply function gives the price producers require in order to supply a given quantity, and it is normally an increasing function P=f(Q)P=f(Q): the more units produced, the higher the price needed to make production worthwhile.


The demand function gives the price consumers are willing to pay for a given quantity, and it is normally a decreasing function P=g(Q)P=g(Q): as quantity rises, willingness to pay falls.

Supply and demand curves for a hypothetical product, plotted as price against quantity.

Supply and demand curves for a hypothetical product, plotted as price against quantity.

Price against quantity for two linear market functions

Price against quantity for two linear market functions

Building the function from two data points

Most first-year problems use a linear model. Given two price-quantity pairs (Q1,P1)(Q_1,P_1) and (Q2,P2)(Q_2,P_2), compute the slope and use point-slope form:


P−P1=P2−P1Q2−Q1 (Q−Q1).P-P_1=\frac{P_2-P_1}{Q_2-Q_1}\,(Q-Q_1).


For a demand function the slope should come out negative; for a supply function it should come out positive. A wrong sign is a signal that the two pairs have been assigned to the wrong curve.

Worked example

Take the supply function P=0.4Q+6P=0.4Q+6, with PP in dollars per unit and QQ in units. To find the price when 15 units are supplied, substitute Q=15Q=15:


P=0.4(15)+6=6+6=12.P=0.4(15)+6=6+6=12.


To go the other way and find the quantity supplied at a price of 18 dollars per unit, solve for QQ instead of substituting:


18=0.4Q+6  ⇒  0.4Q=12  ⇒  Q=120.4=30.18=0.4Q+6 \;\Rightarrow\; 0.4Q=12 \;\Rightarrow\; Q=\frac{12}{0.4}=30.


Notice the order of operations in that second calculation: subtract the intercept first, then divide by the slope. Dividing 18 by 0.4 straight away gives 45, which is not the answer to any question asked here.

Reading a change rather than a level

Questions often ask by how much quantity changes when price changes, rather than for a single value. Rearranging P=mQ+bP=mQ+b gives Q=(P−b)/mQ=(P-b)/m, so a price change ΔP\Delta P produces ΔQ=ΔP/m\Delta Q=\Delta P/m. The intercept cancels out of a difference, which is why only the slope controls the size of the response.


Function

Slope sign

Behaviour

Supply

positive

price increases with quantity

Demand

negative

price decreases with quantity



Which statement correctly describes the general shape of a typical supply function P=f(Q)P=f(Q), where PP is unit price and QQ is quantity produced?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

The demand function for a product is P=25−0.5QP=25-0.5Q, where PP is the price in dollars per unit and QQ is the quantity in units. Find the quantity demanded, in units, when the price is 17 dollars per unit.

Give your answer in units.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

The supply curve in the figure follows P=0.5Q+5P=0.5Q+5, with PP in dollars per unit and QQ in units. If the unit price rises from 9 dollars to 19 dollars, by how many units does the quantity supplied change?

Supply and demand curves for a hypothetical product, plotted as price against quantity.

Supply and demand curves for a hypothetical product, plotted as price against quantity.

Price against quantity for two linear market functions

Price against quantity for two linear market functions

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors