…
…
Financial Literacy and Economics Fundamentals · Lesson 6 / 35 · How prices form
PreviewIn this lesson you will
You can read the explanation without an account. The exercises and quiz at the end of the lesson are for members.
In November at the neighborhood farmers market, a kilo of tomatoes went from $0.50 to $0.75 in one week (course example). Alex wants to buy 10 kg of tomatoes to make sauce for the winter and asks, "Will this price come down, or should I buy now?" The same week, Alex is looking at rents near campus for a place to share with a friend after graduation, and asks the same question about rent: should we search in September or in June?
The price of tomatoes rose 50 percent in one week: (0.75 - 0.50) / 0.50 = 0.5. You calculated percent change in lesson 4 when you checked a real discount; here the same calculation works in the other direction. The bigger question is different: where did this price come from, and which way will it go? In this lesson you will learn to read who stands behind a price, why a price settles at a certain point, and which way it moves when an event happens. At the end you will apply the same reading to Alex's rent question.
All the prices, quantities, and rents in this lesson are fictional. They are not data from a real market or a real city. The goal is not the numbers themselves but the relationship between them.
In this lesson you will:
Every buyer standing at a stall looks at two things at once: the price of tomatoes and their own budget. If the price is low, they buy an extra kilo, maybe even make sauce. When the price rises, some buy less, some switch to another vegetable, and some buy none that week. If we collect the behavior of all buyers in one table, we get what we call demand: the quantity buyers want to buy at each price.
Alex is a small example. At $0.50 per kilo, Alex bought 2 kg a week; at $0.75, it dropped to 1 kg. Alex's taste for tomatoes did not change, and neither did the money in Alex's pocket. Only the price tag changed. Now think about the whole market. Here is the total amount of tomatoes that all the buyers who come to the market in one week want at different prices (course example):
| Price ($/kg) | Quantity buyers want (kg) |
|---|---|
| 0.25 | 1,000 |
| 0.50 | 800 |
| 0.75 | 600 |
| 1.00 | 400 |
Read the table from top to bottom: each time the price rises by $0.25, the quantity wanted falls by 200 kg. This relationship is called demand; a single row of the table is called "the quantity wanted at that price." The difference matters, because soon we will separate two different things: moving from one row to another when the price changes, and the table itself changing.
When the price rises, not everyone gives up the same amount. Someone who has no other option and must buy the product will still buy it, and will only cut back a little. Someone with many options gives up easily. In the five situations below, match what happens to the quantity Alex wants. Be careful: in two situations the price does not change at all, so something else is changing there.
In each situation, what happens to the quantity Alex wants?
For each row, pick its match from the list, then check.
On the other side of the stall are the sellers and the farmers who bring them goods. They also look at the price, but from the opposite direction. When a kilo of tomatoes sells for $0.25, picking, transporting, and stacking them is hardly worth it for a farmer; some take the tomatoes to another city's market, and some sell them to a sauce factory. When the price reaches $1.00, the same farmer picks the last crates in the greenhouse, and farmers from the next village bring goods to this market too. The quantity sellers want to sell at each price is called supply.
Let's put the two columns side by side for the same market (course example):
| Price ($/kg) | Quantity buyers want (kg) | Quantity sellers supply (kg) |
|---|---|---|
| 0.25 | 1,000 | 500 |
| 0.50 | 800 | 800 |
| 0.75 | 600 | 1,100 |
| 1.00 | 400 | 1,400 |
The two columns go in opposite directions: as the price rises, buyers want less and sellers want to sell more. Each time the price rises by $0.25, the quantity supplied rises by 300 kg. Now fix this difference in your mind: when the price goes from $0.50 to $0.75, you only move one row down in this table. The table stays the same. What changes the table itself is not the price but an event outside the price: a bad harvest, more expensive fuel, schools opening, a new fashion. We will see this in section 4. First, test a common confusion.
Tomatoes went from $0.50 to $0.75. What happens to the quantity buyers want in the market?
Look at the $0.50 row of the table: buyers want 800 kg, and sellers bring 800 kg. At this price nobody complains about being left with goods or about not finding any. The price where the quantity wanted equals the quantity supplied is called the equilibrium price. The equilibrium of this market is $0.50 and 800 kg.
What happens if the price is somewhere else? At $0.25 buyers want 1,000 kg, but only 500 kg reaches the stalls. The gap of 500 kg is called a shortage: toward noon the stalls empty out, and late arrivals leave empty-handed. Seeing this, sellers raise the price the next week. At $0.75 the opposite happens: buyers want 600 kg, and sellers bring 1,100 kg. The gap of 500 kg is a surplus: tomatoes are left on the stall in the evening, and sellers start shouting "three kilos for $1.50." If the price is below equilibrium, it is pushed up; if it is above, it is pushed down.
kg · Course example (fictional)
| — | Quantity buyers want | Quantity sellers supply |
|---|---|---|
| $0.25 | 1000 | 500 |
| $0.50 | 800 | 800 |
| $0.75 | 600 | 1100 |
| $1.00 | 400 | 1400 |
The point where the two lines cross is the equilibrium: $0.50 and 800 kg. In the block below, the table is written as a short calculation. You do not need to read the code; just change the price value and look at the output. For each price you will see the quantity wanted and supplied, and the shortage or surplus between them.
Change the price: is there a shortage, a surplus, or balance?
Pick a value; predict the output first, then look.
1price = 0.52wanted = 1200 - 800 * price3supplied = 200 + 1200 * price4print(f"Wanted: {wanted:.0f} kg Supplied: {supplied:.0f} kg")5if wanted > supplied:6 print(f"Shortage: {wanted - supplied:.0f} kg")7elif supplied > wanted:8 print(f"Surplus: {supplied - wanted:.0f} kg")9else:10 print("Balanced")
Wanted: 800 kg Supplied: 800 kg Balanced
Faded lines didn't run with this value. If a seller asks $1.00, 1,400 kg arrive but buyers take only 400 kg; 1,000 kg is left over. A seller who does not want the goods to rot has to lower the price. A seller cannot set the price freely alone: a price that is too high is punished with leftover goods, and a price that is too low is punished with an empty stall. The price is only comfortable at $0.50.
This shows why the idea "the seller sets the price however they like" is incomplete. Of course the seller writes the number on the tag; but if the number is wrong, the seller is either left with the goods or misses the chance among buyers who cannot find any. When a market has hundreds of sellers and thousands of buyers, the tags are pushed toward equilibrium over time.
Not every price forms this way. Some prices are set not by bargaining or in a market, but by the decision of an institution; in many places the city bus fare changes by decision of the local government. In this lesson we look at prices that form in markets.
Now let's put a load on one end of the seesaw. At the beginning of November an unexpected frost came, and some of the tomatoes in the greenhouses were lost. Farmers can now bring 500 kg less than before at every price. This is not moving from one row of the table to another; the whole "quantity sellers supply" column has changed. This is called a shift in supply.
Example 1 (case): A bad harvest
| Price ($/kg) | Quantity buyers want (kg) | Supplied, before the frost (kg) | Supplied, after the frost (kg) |
|---|---|---|---|
| 0.25 | 1,000 | 500 | 0 |
| 0.50 | 800 | 800 | 300 |
| 0.75 | 600 | 1,100 | 600 |
| 1.00 | 400 | 1,400 | 900 |
At the old price of $0.50 buyers still want 800 kg, but now only 300 kg arrive: a shortage of 500 kg. The price rises. At $0.75 the quantity wanted is 600 and the quantity supplied is 600: the new equilibrium is $0.75 and 600 kg. The jump from $0.50 to $0.75 that Alex saw at the market is exactly this. Notice that the price rose, but the tomatoes sold fell from 800 kg to 600 kg.
kg · Course example (fictional)
| — | Quantity buyers want | Supplied, before the frost |
|---|
Demand can shift too. Example 2 (case): Schools open and rents. When schools open in September, the number of students looking for a place near campus rises. At the same rent, more people look for a place than before: the "quantity buyers want" column grows. But the number of homes in the neighborhood does not change within a few weeks; building new apartments takes years. When more people compete for the same homes, rent rises and no vacant homes are left.
You can split the events that shift the table into two groups:
| What shifts supply (seller side) | What shifts demand (buyer side) |
|---|---|
| Harvest (frost, drought, a bumper year) | Income (a raise, a scholarship, a job loss) |
| Input costs (fertilizer, fuel, imported parts) | Population (schools opening, tourist season) |
| Number of producers or sellers | Season and fashion |
| Production method (a new greenhouse, a new machine) | Expectations ("the price will rise more") |
When you read a news item, ask three questions: (1) Does this event affect the buyer first, or the seller? (2) Does that side want more or less at every price? (3) So which way do the price and the quantity sold go? In the block below, try two events separately and together: the frost cutting supply by 500 kg, and school opening raising demand by 300 kg (in the same tomato market, through dining hall purchases). Change the values and look at the two-line result.
Shift supply and demand: what are the new equilibrium price and quantity sold?
Pick a value; predict the output first, then look.
1supply_shift = 02demand_shift = 03price = (1000 + demand_shift - supply_shift) / 20004sold = 1200 + demand_shift - 800 * price5print(f"Equilibrium price: ${price:.2f}")6print(f"Sold: {sold:.0f} kg")
Equilibrium price: $0.50 Sold: 800 kg
Faded lines didn't run with this value. When supply falls by 500 kg, the price rises from $0.50 to $0.75 and the quantity sold falls from 800 to 600 kg: price and quantity move in opposite directions. When demand rises by 300 kg, the price rises to $0.65 and the quantity to 980 kg: both move in the same direction. This difference is the trace that shows which side the event came from. If both events happen together, both push the price up ($0.90); on quantity, one pulls down and the other pulls up, and the result is 780 kg.
Let's collect the four basic cases in one table. Instead of memorizing this table, derive it from the two experiments in section 4: when supply shifts, price and quantity move in opposite directions, and when demand shifts, they move in the same direction.
| Event | Price | Quantity sold | Example |
|---|---|---|---|
| Supply falls | Rises | Falls | Frost, fuel gets more expensive |
| Supply rises | Falls | Rises | A bumper harvest, fertilizer gets cheaper |
| Demand rises | Rises | Rises | Schools opening, before a holiday |
| Demand falls | Falls | Falls | School vacation, a fashion ends |
Example 3 (outside the case): Intercity bus tickets before a holiday and imported headphones. In the days before a holiday, everyone looking for an intercity bus ticket piles onto the same days: demand rises. Companies cannot increase the number of buses and drivers within a few days, so trips are limited in the short run. The price rises, and the number of tickets sold rises too (extra trips fill up). Now think of a pair of headphones imported from abroad: when the foreign currency becomes more expensive, the seller's cost of bringing in the headphones rises, and at the same price the seller no longer wants to sell as many. Supply falls, the price rises, and the number of headphones sold falls. We will calculate how an exchange rate passes into prices with numbers in lesson 32.
Can you build the path from a bad harvest to the price at the market step by step? Put the chain below in the right order.
Put the chain from the bad harvest news to the price at the market in order.
Click the lines in order; to undo one you placed wrong, click it in the list below.
Shuffled lines
Your order
Let's return to Alex's two questions. Nobody can know exactly what a price will be tomorrow; but if you know what changed the price, you can form a reasonable expectation about its direction. The most useful question here is: is the event temporary or lasting?
A bad harvest lasts one season. With the next harvest, the quantity farmers bring returns to its old level, supply shifts back, and the price moves toward equilibrium. On the other hand, if the number of students in a city rises permanently over the years and no new homes are built, that is a lasting increase in demand; rent does not return to its old place on its own. There are also predictable waves: rental demand near campus peaks every September and is lower in June.
After the bad harvest, tomatoes cost $0.75. Alex wants to buy 10 kg for sauce; the next harvest is 3 months away. Which is the most reasonable expectation for the price?
This information does not make the decision alone. If Alex buys now, Alex pays 10 kg × $0.25 = $2.50 extra. If Alex waits, that $2.50 stays in Alex's pocket, but the season for making the sauce may pass, or Alex may not find good tomatoes. The opportunity cost from lesson 3 works here too: both paths have a cost, and reading supply and demand only helps you weigh these costs correctly.
The rent question is bigger, because the amounts are larger and the effect lasts a year. In the scenario below, you make the decision. The rents are course examples: a similar home in the same neighborhood is offered at $600 a month in June and $675 in September.
Alex and a roommate graduate in June, and both will start work in September. A similar home near campus costs $600 a month in June and $675 in September (course example). When should they start looking for a home?
Pick an option and see what happens. There are no points; you can try the other options too.
In this lesson we always looked at the price of one good: tomatoes, rent, tickets, headphones. Each of these rises or falls with the supply and demand events in its own market. While tomatoes get more expensive, phone cases can get cheaper the same week. One good becoming more expensive compared with others is not the same as all prices rising together. All prices rising together in general is called inflation; we measure it not with one tomato but with a basket. We will build this basket in lesson 7.
To close, read five news headlines and match what each one shifts in the market (the headlines are fictional).
What does each news headline shift in the market?
For each row, pick its match from the list, then check.
Let the rents near campus be as follows (course example): at monthly rents of $500, $600, $700, and $800, the number of students looking for a home is 500, 400, 300, 200, and the number of vacant homes is 200, 400, 600, 800. The equilibrium is $600 and 400 homes. New apartments were finished in the neighborhood, and 300 more homes became vacant at every rent: the vacant homes column became 500, 700, 900, 1,100. At $500, 500 are looking and 500 are vacant: the new equilibrium rent is $500, and 500 homes are rented. Supply rose; rent fell and the number of homes rented rose.
OutputRent ($) Looking Vacant, before Vacant, with new apartments
500 500 200 500 (new equilibrium: 500 = 500)
600 400 400 700 (old equilibrium: 400 = 400)
700 300 600 900
800 200 800 1,100Here are the sandwich prices and the daily sandwich counts at the cafe where Alex works (course example). During the term, at $2, $2.50, $3, $3.50 the number of sandwiches wanted is 260, 200, 140, 80, and the number the cafe wants to prepare is 20, 80, 140, 200. The equilibrium is $3 and 140 sandwiches. When school goes on vacation, students leave; the quantity wanted falls by 120 at every price: 140, 80, 20, 0. The new equilibrium is $2.50 and 80 sandwiches. Demand fell; both the price and the quantity sold fell. In this period the cafe lowers the price or prepares fewer sandwiches.
OutputSandwich price ($) Wanted, during term Wanted, on vacation Cafe prepares
2.00 260 140 20
2.50 200 80 80 <- vacation equilibrium
3.00 140 20 140 <- term equilibrium
3.50 80 0 200A phone maker introduced its new model. The number of people who want to buy the old model second-hand fell, because many buyers are now waiting for the new model or for its falling price. The event is on the buyer side: at every price fewer people want the old model, and demand shifts. By the direction table, the second-hand price of the old model falls and the number sold falls. Someone who sees "price dropped" in the listings can tell from this trace that it is a demand event, not a supply event: sales are falling together with the price.
Confusing the price itself with a shift of the table. Saying "tomatoes got more expensive, so farmers brought more, and supply rose" or "the price rose, so demand rose" confuses moving from one row to another with the table itself changing. When the price rises, the quantity supplied rises inside the table and the quantity wanted falls; but supply or demand itself does not shift. What shifts the table is an event outside the price: frost, the price of fertilizer, school opening, fashion. The right reading order starts with the event: first find the event, then say which side it shifted, and only at the end work out the direction of the price and the quantity. If you see a price rise and make up an event backward from it, you will often reach a wrong conclusion.
Next lesson: To measure how much all prices rise together, you will build a basket of five items and calculate an index.
This content is for education only and is not investment advice.
Exercises and quiz are for members
This lesson has 7 coding exercises and a 10-question quiz. Sign up free to solve them, save your progress and move on to the next lesson.
| Supplied, after the frost |
|---|
| $0.25 | 1000 | 500 | 0 |
|---|---|---|---|
| $0.50 | 800 | 800 | 300 |
| $0.75 | 600 | 1100 | 600 |
| $1.00 | 400 | 1400 | 900 |
OutputEvent : A new model came out
Whom : The buyer (fewer people want the old model)
Shift : Demand falls
Price : Falls (-1)
Quantity : Falls (-1)
Trace : Price and quantity move in the same direction -> the event is on the buyer side