Sub topic 1
What Buyers Want at a Given Price: Quantity Demanded
Prerequisites
This chapter assumes you can do the following:
- Read a linear equation such as
Q = 100 - 2Pand evaluate it for a givenP. - Read a two-axis graph and find the value on one axis that matches a point on the other.
- Accept that resources are scarce, so people must choose among options.
You do not need any earlier economics. This is the first chapter of the tutorial, and it defines the term the rest of the tutorial uses most: quantity demanded.
Why this definition comes first
The law of demand is a statement about a relationship between two things: a price, and a quantity that buyers want at that price. If you are loose about what the quantity means, the law becomes either trivially true or plainly false. This chapter pins the quantity down so the later chapters can use it without ambiguity.
By the end you should be able to:
- Define quantity demanded and name each part of the definition.
- Separate quantity demanded from the quantity actually bought.
- Compute quantity demanded from a simple rule and read it from a table.
- Avoid the common mistakes that confuse quantity demanded with other ideas.
The definition
Quantity demanded is the amount of a good or service that buyers are willing and able to purchase at a particular price, during a particular period of time, with everything else that affects their decisions held fixed.
That sentence has five parts. Each one rules out a mistake.
- Willing and able. A buyer must want the good and be able to pay for it. A person who wants a house but cannot finance one does not add to the quantity demanded. A person who could easily afford a good but has no interest in it does not add either. Economists call wanting backed by purchasing power effective demand.
- A particular price. Quantity demanded is always tied to one price. It is not a single number for a good. Ask "how many?" and the answer is "at what price?"
- A particular period. Demand is a flow, not a stock. It is an amount per day, per week, or per year. "50 coffees" means nothing until you add "per day."
- A particular good. Quantity demanded for "coffee" differs from that for "a 12-ounce cup of drip coffee from this shop." Define the good at the level you are analyzing.
- Everything else fixed. Income, the prices of other goods, tastes, expectations, and the number of buyers are held constant. The next chapter gives this condition a name, ceteris paribus. Here, treat it as the reason a quantity demanded can be tied to price alone.
Quantity demanded is a planned amount
Quantity demanded describes what buyers plan to buy. It does not describe what they did buy. The two can differ.
Suppose buyers would plan to buy 80 units at a price of 10, but the shop stocks only 50. Quantity demanded is 80. The quantity bought is 50. Thirty units of planned demand go unmet.
def quantity_demanded(price, a=100, b=2):
"""Linear demand: Q = a - b * P, never below zero."""
return max(a - b * price, 0)
price = 10
available = 50 # units on the shelf
wanted = quantity_demanded(price) # what buyers plan to buy
bought = min(wanted, available) # what the shelf allows
unmet = wanted - bought
print(f"Price: {price}")
print(f"Quantity demanded: {wanted}")
print(f"Quantity bought: {bought}")
print(f"Unmet demand: {unmet}")
# Output:
# Price: 10
# Quantity demanded: 80
# Quantity bought: 50
# Unmet demand: 30The function quantity_demanded does not look at the shelf. The shelf only limits bought. This separation matters later, when supply and demand meet and you need to tell what buyers want from what the market delivers.
Quantity bought equals quantity demanded only when the market can actually supply what buyers plan to buy at that price.
Reading quantity demanded from a rule
A common way to state demand is a rule that takes a price and returns a quantity. The simplest rule is linear:
Q = a - b * P
Here Q is quantity demanded, P is the price, a is the quantity demanded at a price of zero, and b says how many units of quantity demanded are lost for each one-unit rise in price. The code uses max(..., 0) because a quantity cannot be negative. Once the price is high enough that the formula would go below zero, buyers simply buy none.
Run the rule at several prices and you get a list of price and quantity pairs:
def quantity_demanded(price, a=100, b=2):
"""Linear demand: Q = a - b * P, never below zero."""
return max(a - b * price, 0)
print("Price Quantity")
for p in range(0, 51, 10):
print(f"{p:>5} {quantity_demanded(p):>8}")
# Output:
# Price Quantity
# 0 100
# 10 80
# 20 60
# 30 40
# 40 20
# 50 0Each row answers one question: at this price, how much do buyers want? The row for a price of 20 says buyers want 60 units. It does not say what happens if the price is 30. That is a different row and a different question.
This list is the seed of a demand schedule, which a later chapter builds up in full. For now, notice two features:
- Every quantity is paired with exactly one price.
- As the price column rises, the quantity column falls. That pattern is the law of demand, stated in the next chapters. This chapter only needs you to see that each number is a quantity demanded at one price.
A diagram of what goes into the quantity
Quantity demanded depends on price, and on a set of other factors you hold fixed while you study price.
Reading the diagram from left to right: if only the top input changes, the result changes because of price alone. If any of the other inputs changes, you are no longer reading quantity demanded at a fixed background. You are asking a different question, and a later chapter covers it.
Individual and market quantity demanded
The definition works at two scales.
- Individual quantity demanded is what one buyer plans to buy at a price.
- Market quantity demanded is the total across all buyers in the market at that price.
Both are quantities at a single price. The only difference is who is counted. A later chapter shows how to add individuals to get the market. For now, hold this rule: whenever someone says "quantity demanded," ask whose demand it is, at what price, and over what period.
Quantity demanded is not the same as other things
Several nearby ideas get mixed up with quantity demanded. Keep them apart.
| Idea | What it is | How it differs from quantity demanded |
|---|---|---|
| Quantity bought | What actually changes hands | Can be lower if supply is short. Quantity demanded is a plan. |
| Quantity supplied | What sellers plan to sell at a price | Describes sellers, not buyers. |
| Need | A requirement for survival or function | Not tied to price or ability to pay. |
| Desire | A wish for a good | Counts only when backed by ability to pay. |
| Demand | The whole relationship between price and quantity | Quantity demanded is one point of it. |
The last row deserves emphasis. Demand is the full set of price and quantity pairs. Quantity demanded is one entry in that set, at one price. Mixing these up causes the most serious error in introductory economics, which a later chapter on movements and shifts addresses directly.
Edge cases to keep in mind
- Zero quantity demanded. At a high enough price, buyers may want none. In the linear rule above, the price of 50 gives zero. That is a valid quantity demanded, not an error.
- Free goods. At a price of zero, quantity demanded is still finite in the rule above (100 units). Even free goods have limits, because buyers only want so much of them.
- Non-integer quantities. Many goods come in whole units, but quantity demanded can be fractional when measured as a rate, such as 2.5 liters per week. The definition does not require whole numbers.
- Time period changes the number. The same buyers plan to buy 7 times more per week than per day. When you compare quantities, make sure the periods match.
- Quantity demanded can exceed what exists. Because it is a plan and not a delivery, it can be larger than the available stock. That gap is called a shortage when it persists in a market, and a later part of the tutorial series covers it.
Common errors
- Treating quantity demanded as a fixed property of a good. It depends on the price. A statement without a price is incomplete.
- Using purchase data as if it were demand. Sales records show quantity bought. If shelves were empty, the sales figure understates quantity demanded.
- Leaving out the time period. Saying "buyers demand 200 units" leaves out whether that is per day or per year.
- Counting wants without ability to pay. A long wish list is not quantity demanded.
- Allowing other factors to change silently. If income rose between two observations, the change in quantity may not come from price alone. The condition "everything else fixed" exists to prevent this.
Check your understanding
Exercise
A bakery sells loaves at 4 dollars. At that price, customers plan to buy 120 loaves per day, but the bakery only baked 90. State the quantity demanded, the quantity bought, and the unmet demand. Then say what would be wrong with writing "demand is 90 loaves."
Show answer
Quantity demanded is 120 loaves per day at 4 dollars. Quantity bought is 90 loaves per day, because the bakery supplied only 90. Unmet demand is 30 loaves per day. Writing "demand is 90 loaves" is wrong for two reasons. It uses the quantity bought, which is limited by supply, in place of the planned quantity. It also uses the word "demand," which means the whole relationship between price and quantity, when the single-price figure should be called quantity demanded.
Exercise
Using the rule Q = 100 - 2P (never below zero), find the quantity demanded at prices of 15, 35, and 60.
Show answer
At P = 15, Q = 100 - 30 = 70. At P = 35, Q = 100 - 70 = 30. At P = 60, the formula gives 100 - 120 = -20, which is below zero, so the quantity demanded is 0.
Exercise
A survey reports that a town "demands 5,000 liters of milk." List three pieces of information the statement leaves out that you would need before treating it as a quantity demanded.
Show answer
It does not give the price at which buyers want 5,000 liters, the time period (per day, per week, or per year), or whether it counts only buyers who are willing and able to pay. It also does not say which kind of milk is included, and it does not say that income, other prices, and tastes were held fixed.