Perfect Substitutes, Perfect Complements and Cobb-Douglas Utility
Compare three classic utility functions, see their indifference curves, and solve each one for demand with checked numerical examples.
Key takeaways
- Perfect substitutes give straight indifference curves and usually lead you to buy only the good with more utility per dollar.
- Perfect complements give right-angled curves, so you buy in a fixed ratio whatever the relative price.
- Cobb-Douglas preferences lead to spending a constant share of income on each good.
- These forms are simplifications, and each imposes patterns on demand that real goods may not follow.
Three utility functions do much of the work in introductory consumer theory. Perfect substitutes describe goods you will trade at a fixed rate. Perfect complements describe goods you use in a fixed proportion. Cobb-Douglas preferences sit between them, allowing swaps at a rate that changes as your mix changes.
A utility function assigns higher numbers to preferred bundles. Each of these three has a recognizable shape and a short rule for demand, which makes them good for building intuition and for checking harder work.
The three forms side by side
Let x and y be quantities, and let a and b be positive constants.
Perfect substitutes: U = a·x + b·y
Perfect complements: U = min(x/a, y/b)
Cobb-Douglas: U = x^c · y^(1−c), with 0 < c < 1 In the second line, "min" means the smaller of the two values. The constants a and b there are the quantities used in one "set". In the third line, x^c means x raised to the power c.
Perfect substitutes
Two goods are perfect substitutes when you are willing to swap them at one fixed rate no matter how much of each you have. Think of two identical bags of flour with different labels, if you truly do not care which you get.
With U = a·x + b·y, the marginal rate of substitution (the y you would give up for one more x) is always a / b. The rule for demand compares utility per dollar.
- If a / px > b / py, spend everything on x.
- If a / px < b / py, spend everything on y.
- If they are equal, any bundle on the budget line is equally good.
Here px and py are prices. Say M = $120, px = $4 and py = $3, with U = x + y. Utility per dollar is 1/4 for x and 1/3 for y, so you buy 40 units of y.
Now let U = 2x + y, so each x counts double. Utility per dollar becomes 2/4 = 0.50 for x against about 0.33 for y. You buy 30 units of x, reaching U = 60, compared with 40 from buying only y.
Demand is therefore jumpy. A small price change near the tipping point can move all spending from one good to the other. At equal utility per dollar, the quantity is not pinned down at all.
Perfect complements
Goods are perfect complements when extra units of one add nothing without matching units of the other. A left shoe and a right shoe are the textbook pair.
With U = min(x/a, y/b), the indifference curves are L shapes whose corners lie on the ray y = (b/a)·x. The sensible plan buys at a corner, since anything beyond the ratio is wasted money.
One set = a units of x and b units of y
Cost of one set = a·px + b·py
Number of sets = M / (a·px + b·py)
x = a × sets, y = b × sets Suppose a hypothetical drink needs 1 measure of concentrate (x) and 2 measures of sparkling water (y), so U = min(x, y/2). Let px = $4, py = $1 and M = $120. One set costs 4 + 2 = $6, so you buy 20 sets: x = 20 and y = 40. Spending is $80 + $40 = $120.
If the price of concentrate falls to $2, a set costs $4 and you buy 30 sets. Both quantities rise, including water, whose price did not change. There is no substitution toward the cheaper good. In the language of income and substitution effects, the whole response is an income effect.
Cobb-Douglas preferences
The name comes from Charles Cobb and Paul Douglas, who used this functional form in the 1920s to study production. In consumer theory, x raised to c times y raised to 1 − c gives smooth curves that bow inward and never touch the axes at positive utility.
Because utility is zero if either good is zero, you always buy some of both. The marginal rate of substitution is
MRS = [c / (1 − c)] · (y / x) Setting this equal to px / py and using the budget gives a very tidy result.
x = c · M / px
y = (1 − c) · M / py You spend the share c of income on x and the share 1 − c on y, whatever the prices. Take c = 0.25, M = $120, px = $3 and py = $5. Then x = 0.25 × 120 / 3 = 10 and y = 0.75 × 120 / 5 = 18. Spending is $30 + $90 = $120.
The general method behind this is in finding the best bundle with tangency.
Three demand curves from one budget
Fix income at $120 and the price of y at $3, and compare the demand for x as its price changes. Use U = x + y for substitutes, U = min(x, y) for complements and c = 0.5 for Cobb-Douglas.
| Price of x | Substitutes | Complements | Cobb-Douglas |
|---|---|---|---|
| $2 | 60 | 24 | 30 |
| $4 | 0 | about 17.1 | 15 |
| $6 | 0 | about 13.3 | 10 |
The formulas behind the columns are x = 120 / px or zero, x = 120 / (px + 3) and x = 60 / px. At a price of exactly $3 the substitutes buyer is indifferent among any amounts of x from 0 to 40, so that demand curve has a flat segment there.
The complements curve falls gently, because x is only part of the cost of each set. The Cobb-Douglas curve keeps spending on x fixed at $60. Plot all three with price on the vertical axis and the difference in willingness to switch is visible at a glance.
What each form implies for elasticities
An elasticity is the percentage change in quantity for a one percent change in something else. The forms lock in particular values.
| Response of x to | Cobb-Douglas | Perfect complements | Perfect substitutes (only x bought) |
|---|---|---|---|
| Own price | Always −1 | Between −1 and 0 | −1, until a jump at the tipping point |
| Income | 1 | 1 | 1 |
| Price of y | 0 | Negative | 0, until a jump at the tipping point |
For complements, the own-price elasticity equals minus the share of the budget spent on x. In the drink example that share starts at two thirds. These patterns connect to income and cross-price elasticity.
How much income offsets a price rise?
The three forms give sharply different answers to the same question. Take M = $120, px = $4 and py = $2, then let px double to $8. How much extra income restores the old level of satisfaction?
Substitutes, U = x + y. At the old prices you already buy only y, which is cheaper per unit of utility. The price rise for x does not touch you, so the answer is $0.
Complements, U = min(x, y). A set of one x and one y first costs $6, so you buy 20 sets. Afterward a set costs $10. Keeping 20 sets needs $200, so the answer is $80, exactly the added cost of the old bundle.
Cobb-Douglas with c = 0.5. At first x = 15 and y = 30, so U = √(15 × 30) ≈ 21.21. At the new prices the cheapest way to reach that level costs about $169.71, so the answer is about $49.71.
Old bundle at new prices: 8·15 + 2·30 = 180
Cheapest bundle, same U: x ≈ 10.61, y ≈ 42.43
Cost of that bundle: 8·10.61 + 2·42.43 ≈ 169.7 Repeating the old Cobb-Douglas basket would take $60 extra. The shortfall from that figure, a little over $10, is what substitution saves. The more readily goods replace one another, the less a price rise hurts a buyer who can switch.
Why the Cobb-Douglas shortcuts are strong
Constant shares are convenient but restrictive. Every good is normal, demand never depends on other prices, and the share of income spent on food stays the same as people grow richer. Household data generally show the food share falling with income, the regularity known as Engel's law.
Researchers often use more flexible systems for that reason. One step up is the constant elasticity of substitution (CES) family, which has a parameter controlling how readily goods replace each other. Perfect substitutes, perfect complements and Cobb-Douglas all appear as special or limiting cases of it.
Relabeling does not change demand
Utility numbers only rank bundles. Taking logarithms of the Cobb-Douglas function gives c·ln x + (1 − c)·ln y, which orders bundles the same way and produces the same demands. Doubling U for substitutes or complements changes nothing either.
This freedom is useful. The logarithmic version is often easier to differentiate. It also warns against reading meaning into the size of a utility number.
How to recognize which fits
Ask what happens at the margin.
- Would you happily replace all of one good with the other at a fixed rate? That points to substitutes.
- Is one useless without its partner in a set amount? That points to complements.
- Do you want some of each, while becoming less eager to give up whichever is scarce? A Cobb-Douglas or another smooth form is a candidate.
Few real pairs are perfect in either direction. Two cola brands are close substitutes for some buyers and not at all for others. A printer and its ink come near to complements, but the pages printed per cartridge can still vary with how carefully you print. The extremes mark the ends of a range, and most goods live somewhere along it.