Sub topic 3
Building a supply schedule
This chapter assumes you can read a two-axis graph, do basic algebra with a linear equation, and use these terms: price, quantity, cost, and profit. It also assumes you have met the idea of quantity supplied, the amount sellers are willing and able to offer at a given price. You will build a supply schedule from a rule, check it, read it, and avoid the usual mistakes. The next chapters name the pattern in the schedule (the law of supply) and draw it as a curve.
What a supply schedule is
A supply schedule is a table that lists, for each of several prices, the quantity supplied at that price. It has two columns, price and quantity supplied. Each row answers one question: if the price were this, how much would sellers offer?
Three details decide whether a schedule means anything.
- Time period. Quantity supplied is a flow. "12 loaves" is incomplete. "12 loaves per day" is a quantity. State the period once and keep it fixed.
- Units. Say what the price is paid per unit and what the quantity counts (loaves, tonnes, barrels).
- Everything else is held constant. Input prices, technology, the number of sellers, expectations, and taxes or subsidies stay fixed for the whole table. The schedule isolates the effect of price alone. If any of those factors changes, you need a new schedule. You do not edit a row of the old one.
The schedule describes hypothetical choices at different prices. Only one price actually prevails in a market at a given time. The other rows describe what sellers would do at prices that are not occurring.
Two ways to get the numbers
You can fill in the quantity column in two ways.
- From data or stated plans. You ask a seller, or use records, to learn how much would be offered at each price. A bakery might say it would bake 0 loaves at $1, 50 at $2, 120 at $3, 180 at $4, and 220 at $5.
- From a function. You assume a rule that turns price into quantity, then compute each row. This is what we do below.
The function approach is common in economics courses and in models because it is compact. One rule generates as many rows as you need, and you can change the rule to see how the table changes.
A linear supply function
The simplest rule is a straight line:
Qs = a + bP
Here Qs is quantity supplied, P is price, a is the intercept, and b is the slope. The slope b is the number of extra units sellers offer for each $1 increase in price. In this chapter, a = -20 and b = 4:
Qs = -20 + 4P
The negative intercept looks odd, since no seller supplies a negative amount. It does not describe a real quantity. It says the line sits to the right of where it would meet the vertical axis, so sellers need a high enough price before they offer anything. Plug in P = 4 and you get -20 + 16 = -4. A negative quantity is impossible, so the schedule must report 0 there. This is the floor at zero, and the code below applies it with max(0, ...).
Computing the schedule
def quantity_supplied(price, intercept=-20, slope=4):
return max(0, intercept + slope * price)
def build_schedule(prices, **params):
return [(p, quantity_supplied(p, **params)) for p in prices]
print(f"{'Price':>6}{'Qs':>6}")
for price, qty in build_schedule(range(4, 11)):
print(f"{price:>6}{qty:>6}")Running it prints:
Price Qs
4 0
5 0
6 4
7 8
8 12
9 16
10 20As a table:
| Price ($ per unit) | Quantity supplied (units per day) |
|---|---|
| 4 | 0 |
| 5 | 0 |
| 6 | 4 |
| 7 | 8 |
| 8 | 12 |
| 9 | 16 |
| 10 | 20 |
The rows at $4 and $5 both show 0, but for different reasons. At $4 the formula gives -4, which the floor raises to 0. At $5 the formula gives exactly 0. The price at which the formula reaches zero is the choke price, found by setting Qs = 0 and solving for P:
P = -a / b = 20 / 4 = 5
At any price at or below $5, sellers in this example offer nothing. Above $5, quantity supplied rises by 4 units for every $1.
The procedure
The steps are the same whether the numbers come from data or a function.
Each step has a reason.
- Fix the period, units, and constants. Without them, two tables cannot be compared.
- Choose a price range and step. Include prices below the choke price, so the table shows where supply starts. A table that begins at $6 hides that sellers offered nothing at $5. Use equal steps, such as $1, so changes between rows are easy to compare.
- Compute each row. Use the same rule for every row.
- Apply the floor. Never let a negative quantity appear.
- Check and read. Do the checks in the next section.
Checking a schedule
Three quick checks catch most errors.
- No negative quantities. If one appears, the floor was skipped.
- Prices in order. List prices from low to high, so the reader sees quantity climb as they move down the table.
- Quantity does not fall as price rises. In this example, quantity stays level at 0 and then rises. A drop in quantity at a higher price is a warning sign.
You can automate the third check:
def never_falls(schedule):
quantities = [q for _, q in schedule]
return all(a <= b for a, b in zip(quantities, quantities[1:]))
schedule = build_schedule(range(4, 11))
print(never_falls(schedule)) # TrueIf a table built from real observations fails this check, do not conclude that the pattern is broken. First ask whether something other than price changed between the observations. A change in input costs, for example, would mean the rows belong to different schedules. The next chapter explains why a rise in quantity with price is the expected pattern.
Reading the schedule
A schedule supports several kinds of reading.
Reading a row. At $8, sellers offer 12 units per day.
Reading a change. Moving from $6 to $8 raises quantity supplied from 4 to 12. That is 8 more units for $2 more, or 4 units per $1. For a straight-line rule, this ratio is the slope b. It is the same between any two rows above the choke price. It differs only where the floor applies. Between $4 and $5 the ratio is 0, and between $5 and $6 it is 4 units per $1.
Reading between rows. For a linear rule, you can compute a price that is not listed, such as $7.50: -20 + 4(7.5) = 10. For a table built from observations, estimating between rows is a guess that the pattern is smooth. If the bakery says it would offer 120 loaves at $3 and 180 at $4, then 150 at $3.50 is a reasonable estimate, but it is not something the bakery told you.
Reading beyond the table. Be careful here. The linear rule would give 40 units at $15, but real sellers face limits, as the next section shows. Do not extend a schedule far past the range it was built for.
Reading the price from the quantity
Sometimes it is useful to ask the question in reverse: what price is needed to get sellers to offer a given quantity? Solve Qs = -20 + 4P for P:
P = 5 + Q / 4
At Q = 4 this gives P = 6, which matches the table row. This is the same relationship written the other way round. It is useful when a graph has price on the vertical axis, which is the usual convention. You will meet it in the chapter on drawing the supply curve. The inverse works only for quantities above zero, because every price at or below $5 maps to the same quantity of 0.
Edge case: capacity
The straight-line rule keeps rising forever, but a seller's output has a physical ceiling: oven space, hours in a day, machines. In the short run, a schedule can level off at capacity. You can model this with a cap:
def quantity_supplied_capped(price, capacity, intercept=-20, slope=4):
return min(capacity, max(0, intercept + slope * price))
for price in range(4, 11):
print(price, quantity_supplied_capped(price, capacity=14))
# 4 0
# 5 0
# 6 4
# 7 8
# 8 12
# 9 14
# 10 14At $9 the rule gives 16, but capacity is 14, so the schedule reports 14. Quantity still never falls as price rises, so the check above still passes. The cap is a reminder that a schedule is only as good as the rule that generates it. Later, in the chapter on elasticity, you will see how capacity limits affect how strongly sellers can respond to a price rise.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| Leaving out the time period | "20 units" cannot be compared with another table | State "per day" or "per month" once and keep it fixed |
| Letting quantity go negative | The formula gives -4 at $4, which is impossible | Apply `max(0, ...)` |
| Treating quantity supplied as quantity sold | Sellers may offer more than buyers purchase | Treat the schedule as offers at each price, not sales |
| Mixing in a changed condition | A new input cost makes later rows come from another schedule | Build a new table when anything other than price changes |
| Extending the table too far | Capacity and other limits make the straight line wrong | Stay near the range the rule was built for |
| Listing prices out of order | Readers cannot see the pattern | Sort prices from low to high |
What happens when something else changes
Suppose a technology improvement lowers costs, so sellers will offer more at every price. In the linear rule this is a larger intercept, say -8 instead of -20:
before = quantity_supplied(6) # 4
after = quantity_supplied(6, intercept=-8) # 16
print(before, after)That change produces a whole new column of numbers:
| Price ($ per unit) | Original schedule | New schedule |
|---|---|---|
| 4 | 0 | 8 |
| 5 | 0 | 12 |
| 6 | 4 | 16 |
| 7 | 8 | 20 |
| 8 | 12 | 24 |
| 9 | 16 | 28 |
| 10 | 20 | 32 |
Both columns are valid schedules. Each assumes a different set of background conditions. Moving down a single column is a response to price. Switching columns is a response to a change in something else. Keeping this distinction clear is the main job of the later chapter on movement versus shift.
Summary of the working model
- A supply schedule pairs each price with the quantity supplied at that price, for a stated time period, with all other conditions held constant.
- A linear rule Qs = a + bP generates a schedule. Apply the floor at zero, and find the choke price with P = -a / b.
- Check for negative quantities, sorted prices, and quantity that does not fall as price rises.
- Read rows, changes, and in-between values with care, and do not stretch the table far beyond its range.
- When anything other than price changes, you have a different schedule.
Exercise
A supplier follows Qs = -12 + 3P, with quantity in units per week and price in dollars. Build the schedule for prices $2 through $8 in $1 steps, applying the floor at zero. What is the choke price?
Show answer
Compute Qs = -12 + 3P and floor negatives at zero. P=2: -6, so 0. P=3: -3, so 0. P=4: 0. P=5: 3. P=6: 6. P=7: 9. P=8: 12. The choke price is -a / b = 12 / 3 = $4, so sellers offer nothing at $4 or below. Above $4, quantity rises by 3 units per week for each $1.
Exercise
A table built from observations shows 10 units at $5, 14 units at $6, and 11 units at $7. The three observations were taken in different months. Does this table violate the pattern a supply schedule should show? What should you check before drawing a conclusion?
Show answer
Quantity falls from 14 to 11 as price rises from $6 to $7, so the table does not show the expected pattern. Do not conclude that supply behaves strangely. Because the observations came from different months, other conditions may have changed, such as input prices, technology, or the number of sellers. The three rows may belong to different schedules. Check what changed, then rebuild the table with conditions held fixed or build one schedule per set of conditions.
Exercise
Using the capped rule min(14, max(0, -20 + 4P)), what quantity is supplied at $12, and why is it not 28?
Show answer
The uncapped formula gives -20 + 4(12) = 28, but the cap limits output to 14 units. The seller cannot produce beyond capacity, so quantity supplied at $12 is 14, the same as at $9 and $10.