Skip to main content

Demand function

A demand function is the equation or relationship that shows how much of a good consumers want at different prices, incomes, and related-goods prices in Intermediate Microeconomic Theory. It turns consumer choice into a model you can analyze.

Last updated July 2026

What is demand function?

A demand function in Intermediate Microeconomic Theory is the rule that links quantity demanded to the factors that shape buying decisions, especially price, income, and the prices of related goods. You can write it as Qd = f(P, I, Pr), where quantity demanded depends on the good’s own price, consumer income, and related prices.

The big idea is that demand is not just one number. It changes when the conditions around the consumer change. If the price of the good falls, quantity demanded usually rises. If income changes, or if a substitute becomes more expensive, the whole demand relationship can shift.

That shift part matters a lot in micro. A movement along the demand curve is caused by a change in the good’s own price. A shift in the demand function comes from something else, like tastes, income, expectations, or the price of another good. When you graph the result, the demand curve is just one way to show the demand function for a fixed set of outside conditions.

In this course, you usually use the demand function when you want to predict behavior, compare consumer choices, or separate price changes from other changes. For example, if the price of coffee rises, you expect a lower quantity demanded of coffee. But if the price of tea rises at the same time, coffee demand might rise because the two goods are substitutes.

The demand function also connects to utility theory. Consumers choose the bundle that gives them the best satisfaction given their budget, and the demand function summarizes those choices after the optimization is done. So when you see demand written as a function, think of it as the output of consumer choice under changing conditions, not just a graph line.

Why demand function matters in Intermediate Microeconomic Theory

Demand function is the bridge between consumer theory and market analysis. Once you can describe demand as a function of price and other variables, you can predict how a change in one market condition affects buying decisions, not just for one person but across a whole market.

It also gives you the language for distinguishing between a price change and a demand shift. That distinction shows up constantly in Intermediate Microeconomic Theory, especially when you analyze tax effects, changes in income, or the impact of substitute and complement prices. If you mix up a movement along the curve with a shift of the curve, your explanation of consumer behavior will be off.

The term also sets up later tools like comparative statics and elasticity. Comparative statics asks how an optimal choice changes when a parameter changes, and the demand function is the object you compare before and after the change. Elasticity then measures how sensitive that function is to price or income changes.

When the course moves into income and substitution effects, the demand function is still in the background. You are no longer just asking what quantity changes, but why it changes. That makes demand function a core piece of the logic behind consumer choice, market equilibrium, and policy analysis.

Keep studying Intermediate Microeconomic Theory Unit 1

How demand function connects across the course

Price Elasticity of Demand

Price elasticity tells you how responsive quantity demanded is when price changes. The demand function gives you the relationship itself, while elasticity summarizes the sensitivity of that relationship. In problem sets, you often start with a demand function and then use it to compute elasticity at a point or over a range.

comparative statics

Comparative statics asks how an outcome changes when one variable changes while others are held fixed. Demand functions are one of the main objects you compare before and after a change in income, prices, or tastes. If you can trace the demand function correctly, comparative statics questions become much easier to read.

Uncompensated Demand

Uncompensated demand is demand without adjusting for the consumer’s utility level after a price change. That makes it closely related to the demand function you usually see in consumer theory. It shows the total effect of a price change, which later gets separated into substitution and income effects.

Hicks Decomposition

Hicks Decomposition breaks a price change into substitution and income effects while holding utility constant in the compensated version. The demand function is the starting point, but Hicks decomposition helps explain why demand changes the way it does. It is especially useful when a course wants you to separate the pure price response from the change in real purchasing power.

Is demand function on the Intermediate Microeconomic Theory exam?

A problem set question may give you a demand function and ask you to find how quantity demanded changes when price, income, or a related good’s price changes. You might also be asked to identify whether a scenario causes a movement along the demand curve or a shift in demand.

In graph-based questions, you use the demand function to tell whether the curve moves left or right, then explain why. In theory questions, you may connect the function to utility maximization, comparative statics, or elasticity. A strong answer names the variable that changed, states the direction of the effect, and says whether the whole demand relation shifted or only quantity demanded moved along it.

Demand function vs supply function

A demand function describes buyers, while a supply function describes sellers. Demand depends on consumer price sensitivity, income, and related goods, but supply depends on production costs, technology, and seller expectations. If a question asks how consumers respond to price changes, you want demand. If it asks how firms respond, you want supply.

Key things to remember about demand function

  • A demand function shows how quantity demanded changes with price and other consumer-side variables, not just with price alone.

  • A change in price usually causes a movement along the demand curve, while changes in income, tastes, or related goods shift the demand function.

  • The demand function is one of the main links between consumer optimization and market behavior in Intermediate Microeconomic Theory.

  • You can use it to separate total demand changes from the substitution and income effects that come from a price change.

  • If you can read a demand function, you can usually predict how a market reacts to a new price, income change, or substitute good shock.

Frequently asked questions about demand function

What is demand function in Intermediate Microeconomic Theory?

A demand function is the relationship that shows how much of a good consumers want at different prices, incomes, and related-goods prices. In Intermediate Microeconomic Theory, it comes out of consumer choice and utility maximization, then gets used to predict market behavior. It is not just a graph, it is the underlying rule behind the graph.

Is demand function the same as the demand curve?

Not exactly. The demand function is the mathematical relationship, while the demand curve is the graph of that relationship when other factors are held fixed. If income or tastes change, the demand function shifts and the graph shifts too. A change in the good’s own price usually means movement along the curve, not a new curve.

How does income affect a demand function?

Income changes can shift demand up or down depending on the type of good. For a normal good, higher income usually increases demand. For an inferior good, higher income can reduce demand. That is why income belongs in the demand function, not just price.

How do I use a demand function in a problem set?

First, identify which variable changes, price, income, or a related good’s price. Then substitute the new value into the function or describe whether the demand curve shifts. If the task asks about substitution and income effects, use the demand function as the starting point and then separate the reasons for the change.