1. Home
  2. Explore
  3. Economics
  4. Deriving Demand Curves

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Deriving Demand Curves

How Consumer Demand Is Determined

Deriving a demand curve from utility maximization

A demand curve describes the quantity of a good a consumer chooses at each possible price, holding other relevant factors—such as income, preferences, and the prices of other goods—constant. It can be derived by finding the consumer’s best affordable bundle at several different prices.

Consider a consumer choosing between cookies, denoted by ccc, and slices of pizza, denoted by sss. Preferences are represented by the utility function

U(s,c)=sc.U(s,c)=\sqrt{sc}.U(s,c)=sc​.

The consumer’s budget constraint is

y=pss+pcc,y=p_s s+p_c c,y=ps​s+pc​c,

where yyy is income, psp_sps​ is the price of a slice of pizza, and pcp_cpc​ is the price of a cookie.

The initial values are income of 24,apizzapriceof24, a pizza price of24,apizzapriceof4, and a cookie price of $2. The consumer chooses the affordable bundle that reaches the highest possible indifference curve.

The tangency condition

At an interior optimum, the marginal rate of substitution (MRS)—the rate at which the consumer is willing to trade one good for another—equals the marginal rate of transformation (MRT), which is determined by the market price ratio.

With slices on the vertical axis and cookies on the horizontal axis, the indifference-curve slope is

MRS=−MUcMUs=−sc,MRS=-\frac{MU_c}{MU_s}=-\frac{s}{c},MRS=−MUs​MUc​​=−cs​,

where MUcMU_cMUc​ and MUsMU_sMUs​ are the marginal utilities of cookies and pizza. The budget-line slope is

MRT=−pcps.MRT=-\frac{p_c}{p_s}.MRT=−ps​pc​​.

At the optimum, the two slopes are equal:

−sc=−pcps,-\frac{s}{c}=-\frac{p_c}{p_s},−cs​=−ps​pc​​,

so

sc=pcps.\frac{s}{c}=\frac{p_c}{p_s}.cs​=ps​pc​​.

This condition means that the consumer adjusts the bundle until the marginal value of each good, relative to the other, matches the relative prices in the market.

Finding the optimal bundle

When pc=2p_c=2pc​=2, ps=4p_s=4ps​=4, and y=24y=24y=24, the tangency condition gives

sc=24=12,\frac{s}{c}=\frac{2}{4}=\frac{1}{2},cs​=42​=21​,

so s=c/2s=c/2s=c/2. Combining this with the budget constraint,

24=4s+2c,24=4s+2c,24=4s+2c,

gives the optimal bundle

  • Cookies: c∗=6c^*=6c∗=6

  • Pizza slices: s∗=3s^*=3s∗=3

Thus, the consumer’s initial choice is six cookies and three slices of pizza.

How a change in cookie price generates points on the demand curve

To derive the cookie demand curve, the consumer’s optimal bundle is found again at different cookie prices, keeping income and the pizza price unchanged.

  • Cookie price rises to $3: The tangency condition becomes s/c=3/4s/c=3/4s/c=3/4. With the budget constraint 24=4s+3c24=4s+3c24=4s+3c, the optimal bundle is c∗=4c^*=4c∗=4 cookies and s∗=3s^*=3s∗=3 slices.

  • Cookie price falls to $4/3: The tangency condition becomes s/c=1/3s/c=1/3s/c=1/3. With the budget constraint 24=4s+(4/3)c24=4s+(4/3)c24=4s+(4/3)c, the optimal bundle is c∗=9c^*=9c∗=9 cookies and s∗=3s^*=3s∗=3 slices.

Each price–quantity pair is a point on the cookie demand curve. Plotting cookie price on the vertical axis and the quantity of cookies chosen on the horizontal axis produces the demand curve. In this example, a higher cookie price leads the consumer to choose fewer cookies, while a lower price leads the consumer to choose more.

A demand curve is derived by solving the consumer’s optimization problem at a series of prices and recording the quantity chosen at each price.

Why pizza consumption stays constant in this example

Changing the cookie price does not change the quantity of pizza chosen in this particular example: the consumer chooses three slices at each cookie price. This is not a general rule. It results from the specific utility function.

For this utility function, optimal consumption can be written as

c∗=y2pc,s∗=y2ps.c^*=\frac{y}{2p_c}, \qquad s^*=\frac{y}{2p_s}.c∗=2pc​y​,s∗=2ps​y​.

Cookie consumption depends on income and the cookie price, while pizza consumption depends on income and the pizza price. Therefore, changing the price of cookies leaves pizza consumption unchanged, and changing the price of pizza leaves cookie consumption unchanged.

This utility function gives the consumer an equal share of expenditure on each good. Other preferences can make a change in one good’s price affect the chosen quantities of both goods.


Price elasticity of demand

A demand curve shows how quantity changes with price. Price elasticity of demand measures the percentage responsiveness of quantity demanded to a percentage change in price:

ε=% change in quantity demanded% change in price.\varepsilon = \frac{\%\text{ change in quantity demanded}} {\%\text{ change in price}}.ε=% change in price% change in quantity demanded​.

For small changes, the elasticity is

ε=dQdPPQ,\varepsilon = \frac{dQ}{dP}\frac{P}{Q},ε=dPdQ​QP​,

where QQQ is quantity and PPP is price. The derivative dQ/dPdQ/dPdQ/dP is the slope of the demand relationship; multiplying by P/QP/QP/Q converts that slope into a percentage response. Demand elasticity is usually negative because price and quantity demanded typically move in opposite directions.

Perfectly inelastic demand

Perfectly inelastic demand has elasticity ε=0\varepsilon=0ε=0: quantity demanded does not respond to price changes. Its demand curve is vertical.

No real good is perfectly inelastic in every circumstance, but some goods may have very inelastic demand over a relevant range. Insulin is a common example because people who need it have few or no practical substitutes. Gasoline and water can also be necessities, but their demand is not perfectly inelastic: consumers may change travel habits, use alternative transport, or choose other beverages.

Perfectly elastic demand

Perfectly elastic demand has elasticity ε=−∞\varepsilon=-\inftyε=−∞. In the limiting case, an infinitesimal price increase causes consumers to stop buying from one seller, while a price decrease can attract an extremely large quantity. The demand curve is horizontal.

This is a theoretical extreme rather than a typical real-world case. Demand is more elastic when consumers can readily switch to close substitutes. For example, if similar products from competing brands are available, a substantial price difference may lead many consumers to switch brands.

Substitutability and elasticity

The availability of substitutes is a central influence on price elasticity:

  • Goods with few or no substitutes tend to have less elastic demand.

  • Goods with many close substitutes tend to have more elastic demand.

  • The more easily consumers can switch away from a good after a price increase, the more responsive demand is likely to be.

Real goods generally lie between the perfectly inelastic and perfectly elastic extremes. Their elasticity depends on the ease and desirability of substitution, among other factors.

A linear demand curve does not have constant elasticity at every point. Elasticity depends on both the curve’s slope and the price–quantity combination being considered. A linear curve can therefore be used as a local approximation, even though its elasticity changes along the curve.


Income changes and Engel curves

A consumer’s choices can change even when prices remain constant if income changes. An increase in income shifts the budget constraint outward in parallel; a decrease shifts it inward. Because the price ratio and preferences are unchanged, the tangency condition remains the same, but the chosen bundle changes.

For the cookies-and-pizza example, with prices fixed at 2percookieand2 per cookie and2percookieand4 per slice:

  • At income $24, the consumer chooses six cookies and three slices.

  • At income $32, the consumer chooses eight cookies and four slices.

  • At income $16, the consumer chooses four cookies and two slices.

The relationship between income and the quantity demanded of a good is called an Engel curve. A separate Engel curve can be drawn for each good.

Income elasticity of demand

The income elasticity of demand, denoted by γ\gammaγ, measures the percentage change in quantity demanded in response to a percentage change in income:

γ=% change in quantity demanded% change in income.\gamma = \frac{\%\text{ change in quantity demanded}} {\%\text{ change in income}}.γ=% change in income% change in quantity demanded​.

For small changes,

γ=dQdYYQ,\gamma = \frac{dQ}{dY}\frac{Y}{Q},γ=dYdQ​QY​,

where YYY is income. The derivative dQ/dYdQ/dYdQ/dY describes how quantity changes with income; the factor Y/QY/QY/Q expresses that response in percentage terms.

Normal and inferior goods

A good is normal when demand rises as income rises, so γ>0\gamma>0γ>0. Most goods are normal over at least some income ranges.

A good is inferior when demand falls as income rises, so γ<0\gamma<0γ<0. Consumers may buy less of an inferior good as they become able to afford alternatives. Low-cost packaged ramen is sometimes used as an example: a person may eat it frequently when income is very limited and choose more varied or costly meals as income rises. Inferior means that demand falls with income; it does not mean that the good is necessarily poor in quality.

Necessities and luxuries

Normal goods can be divided further according to their income elasticity:

  • A necessity has 0<γ<10<\gamma<10<γ<1. Demand rises with income, but less than proportionally. As a result, the good tends to take up a smaller share of the consumer’s budget as income grows. Housing is an example: higher-income households may have better housing, yet spend a smaller fraction of income on it.

  • A luxury has γ>1\gamma>1γ>1. Demand rises more than proportionally with income, so the good tends to take up a larger budget share as income grows. Restaurant meals can be an example.

  • If γ=1\gamma=1γ=1, demand rises in the same proportion as income, so the budget share remains constant.

These categories describe how demand responds to income. They are distinct from price elasticity, which describes how demand responds to price. A good called a luxury because it has a high income elasticity is not automatically highly price-elastic.


Decomposing the effect of a price change

A price change affects a consumer’s choices through two simultaneous channels:

  1. The substitution effect: the consumer responds to the change in relative prices.

  2. The income effect: the price change alters the consumer’s real purchasing power, or the amount that the consumer can afford.

Separating these effects explains the mechanisms behind a change in demand and is especially important when studying goods whose demand falls as income rises.

The substitution effect

The substitution effect measures how the consumer changes the quantity chosen because relative prices have changed, holding utility constant. It is found using an imaginary budget line that:

  • Has the new price ratio, so it is parallel to the budget line after the price change.

  • Is tangent to the original indifference curve, keeping the consumer at the original utility level.

If the price of a good rises, that good becomes more expensive relative to other goods. The substitution effect therefore reduces demand for that good. If its price falls, the substitution effect increases demand for it.

For a change in a good’s own price, the substitution effect always moves quantity in the direction opposite to the price change.

The income effect

The income effect is the change in demand caused by the change in real purchasing power. A consumer’s money income need not change for real income to change:

  • When a good’s price rises, the same income buys less than before. The consumer is effectively poorer.

  • When a good’s price falls, the same income buys more than before. The consumer is effectively richer.

The direction of the income effect depends on whether the good is normal or inferior:

  • For a normal good, lower real income reduces demand, while higher real income increases demand.

  • For an inferior good, lower real income increases demand, while higher real income reduces demand.

The income effect therefore has no single direction for all goods.

Example: cookies as a normal good

When the cookie price rises from 2to2 to2to3, the consumer’s actual choice changes from six cookies and three pizza slices to four cookies and three slices.

The change can be separated into two steps:

  • Substitution effect: Cookies are now more expensive relative to pizza, so the consumer chooses fewer cookies even if utility is held constant.

  • Income effect: The price increase reduces real purchasing power. Because cookies are normal in this example, the effective loss of income leads the consumer to choose fewer cookies still.

For a normal good whose price rises, the substitution and income effects reinforce each other. Together, they reduce quantity demanded.


Inferior goods and the possibility of a Giffen good

For an inferior good, the income effect works against the substitution effect when its price changes.

Suppose a consumer chooses between steak and potatoes, with income of 25.Initially,steakcosts25. Initially, steak costs25.Initially,steakcosts5 and potatoes cost 1,andtheconsumerchoosesapproximately1, and the consumer chooses approximately1,andtheconsumerchoosesapproximately3.5steaksandsteaks andsteaksand7.5potatoes.Ifthepriceofpotatoesrisestopotatoes. If the price of potatoes rises topotatoes.Ifthepriceofpotatoesrisesto3:

  • The substitution effect reduces potato consumption because potatoes have become more expensive relative to steak.

  • The price increase also makes the consumer effectively poorer.

  • Since potatoes are assumed to be inferior, this fall in real income increases potato consumption. The income effect therefore offsets part of the substitution effect.

In this illustration, the substitution effect reduces potato consumption from about 7.57.57.5 to 444 units, while the income effect raises it from 444 to 555 units. The final quantity is lower than the initial quantity, but the income effect makes the decrease smaller.

Giffen goods

A Giffen good is an inferior good for which the income effect is strong enough to outweigh the substitution effect. In that unusual case, an increase in the good’s price causes its quantity demanded to rise, producing an upward-sloping demand relationship over the relevant range.

For most inferior goods, the income effect does not outweigh the substitution effect, so the good’s demand still falls when its price rises. Giffen behavior is a theoretical possibility and is considered rare in practice.

A historical claim that potato consumption per person increased during a potato shortage in Ireland has been used as a proposed example. However, a rise in average consumption does not by itself establish that each person bought more potatoes because the price rose. If people who could afford other foods left, the remaining population could contain a greater share of potato consumers. This change in the population being measured can raise average consumption without showing a Giffen response by individuals.

Giffen goods and Veblen goods are different

A Veblen good is associated with a different proposed mechanism: some consumers may value a good partly because its high price signals status or exclusivity. A Giffen good’s unusual demand response comes from the interaction of substitution and income effects for an inferior good. A status-related response is not the same mechanism and is not part of the standard Giffen explanation.


How the effects combine

For a good’s own price, the substitution effect always moves quantity demanded opposite to the price change. The income effect depends on whether the good is normal or inferior.

Normal good

  • If price rises, the substitution effect reduces demand and the income effect also reduces demand.

  • If price falls, the substitution effect increases demand and the income effect also increases demand.

  • The two effects reinforce each other, so demand slopes downward.

Inferior good

  • If price rises, the substitution effect reduces demand, while the income effect increases demand.

  • If price falls, the substitution effect increases demand, while the income effect reduces demand.

  • The net effect is usually a decrease in quantity demanded when price rises, but its size is uncertain because the effects oppose each other.

  • If the income effect outweighs the substitution effect, the good is a Giffen good and quantity demanded rises when price rises.

These distinctions clarify why an observed price–quantity change is the combined result of both relative-price incentives and changes in real purchasing power. They also provide a framework for analyzing choices in situations where the income effect can meaningfully alter a consumer’s response to prices.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent