Consumer theory models a shopper's purchasing decisions as an optimisation problem: choosing the specific combination of available goods that maximises their own overall satisfaction, called utility, subject to a fixed budget they can't exceed. This isn't meant as a literal claim that shoppers consciously run mental calculus while standing in a shop aisle; it's a formal model of the underlying logic economists use to derive demand curves and predict how a consumer's spending pattern actually shifts when prices or income change.
Utility maximisation formalises trading off one good's satisfaction against another's
A consumer facing a fixed budget has to choose how to divide their spending across different available goods, and consumer theory represents each possible combination of goods as delivering some level of overall satisfaction, or utility, to that consumer. Utility maximisation is simply the assumption that a rational consumer chooses the affordable combination delivering the highest total utility available to them, which formally captures the everyday trade-off between spending more on one good and having correspondingly less budget left over for others.
This optimisation framework is what lets economists actually derive a demand curve
By solving this utility-maximisation problem repeatedly at different possible prices for a given good, holding the budget and the prices of other goods fixed, economists can trace out exactly how a rational consumer's chosen quantity of that good changes as its price changes, which is precisely how a demand curve gets derived from consumer theory's underlying logic rather than simply assumed as a starting fact. This same framework also predicts how a consumer's purchasing pattern shifts when their income itself changes, since a change in the budget constraint reopens the same underlying optimisation problem with a genuinely different available budget to work with.
What we're still unsure about
That utility maximisation subject to a budget constraint provides a mathematically coherent framework for deriving demand curves is well established, foundational microeconomic theory taught consistently for well over a century. What's more genuinely an ongoing empirical and theoretical question is exactly how accurately real human decision-making actually matches this rational, utility-maximising model, since behavioural economics research has documented real, systematic ways actual consumer choices depart from what pure utility maximisation would predict, and economists continue to actively debate how much weight to give the traditional rational-choice model versus behavioural alternatives when trying to predict real consumer behaviour, rather than one framework being universally agreed as the more accurate description.
This sits inside Consumer Theory & Utility Maximisation, one of eight topics in Microeconomics, one of five domains in Economics, one of seventeen subjects the app can quiz you on.