Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.
Graph showing supply and demand curves from microeconomics
How much should you charge your customers for cupcakes?

Supply and demand for Aunt Florrie's cupcakes

Let’s say you have a cafe in a small town, and you decide to sell some of your Aunt Florrie’s cupcakes. But you face an important decision: how to set a price? If you price them too high, you won’t sell a lot, but if you price them too low, you won’t make much profit.

In this step, we will

  • learn about supply and demand curves, or lines

  • find the sweet spot when it comes to pricing Aunt Florrie’s cupcakes.

A touch of microeconomics

Microeconomics is the study of the economic decisions of individuals and companies, and in particular their behaviours in markets where goods and services are sold. In microeconomics, we are particularly interested in the relation between the quantity of a good (for example cupcakes) and its price .

Let’s say you experiment with different pricing structures: you quickly find out that the higher your price for cupcakes, the fewer cupcakes customers buy. Perhaps, after more experimentation, you find that Demand is linearly related to the Price, as shown by these figures.

Price () Quantity ()
$4.50 8
$4.00 12
$3.50 16
$3.00 20
$2.50 24
$2.00 28

Q1 (E): What is the slope of the line passing through these points, with as the horizontal axis and as the vertical axis?

Demand curve

We can graphically represent this data with a graph of a Demand Curve, which in this case is a line. In real life, this curve is not going to be exactly a line, but economists, like the rest of us, prefer to make simplifying assumptions so that things are easier to understand. One advantage in dealing with lines is that they have simple linear equations. In our case the Demand curve has equation:

Demand curve

Q2 (E): How high can you jack up the price of cupcakes before there are no sales?

Supply curve

Somewhat more subtle is that the supplier of the good also is influenced by its Price, but in the opposite direction of the consumer. Aunt Florrie is not that keen on making more than a dozen or perhaps two cupcakes a week, but if she gets a better price for them, her motivation for making more increases. The following values describe Florrie’s Supply Curve (in this case a line) which describes how much she is willing to make at a given price level.

Price () Quantity ()
$4.50 38
$4.00 32
$3.50 26
$3.00 20
$2.50 14
$2.00 8

This Supply line has equation

pic with both Demand and Supply curves on it, as well as the Equilibrium point

Q3 (E): If you offer Aunt Florrie one dollar, will she make you a cupcake?

An equilibrium point

Economists are very interested in equilibrium points; in this case where the Demand Curve and the Supply Curve meet. From the tables, we can see this is when and . If the price gets any higher than that, although we will have more cupcakes available, we won’t have enough demand for people to buy them. If the price is lower, there will be more demand, but not enough cupcakes, since Aunt Florrie will rather spend her time bowling with her friends.

So the point is an equilibrium point—the sweet spot for this particular economic story. We could also find this point by solving the two equations for the lines:

What do you think are the pros and cons of this kind of analysis? Share your answers in the discussion.


A1. Using the points and the slope is

A2. You will sell exactly one cupcake when . Any price bigger than this will result in no sales.

A3. When on the supply line, , so that . This is telling us that Aunt Florrie is unwilling to make any cupcakes at this price. In fact the minimum price for which she will even begin to consider making cupcakes is the -intercept of the Supply line, which is .

Share this article:

This article is from the free online course:

Maths for Humans: Linear and Quadratic Relations

UNSW Sydney

Get a taste of this course

Find out what this course is like by previewing some of the course steps before you join:

  • A pair of Witchetty Grubs
    Australian bush tucker

    Adventurer Bear Grylls has claimed that, "Pound for pound, insects contain more protein than beef". Let's investigate!

  • The Cartesian plane and the beauty of graph paper
    The Cartesian plane and the beauty of graph paper

    The Cartesian plane, modelled by a sheet of graph paper, is fundamental for much of modern mathematics. Norman Wildberger explains the basics.

  • Quadratics from Apollonius to Bezier
    Quadratics from Apollonius to Bezier

    An introduction to this week's activities on quadratic relations and functions.

  • Painting of Galileo
    Galileo's ball

    What happens to an object, like a ball, when it falls, or better yet, if you toss it in the air? Galileo was the first to understand the answer.

Contact FutureLearn for Support