Optimization methods and their applications in economics
The central question of this chapter: why do almost all of economics' "optima" — the consumer's utility maximisation, the firm's profit maximisation, cost minimisation — end up as a set of derivative conditions? How do you find an extremum subject to constraints? And why can't one hundred yuan today be added straight to one hundred yuan next year?
The arc of this chapter
The skeleton of microeconomics is a single sentence pattern: maximise the objective subject to constraints. The consumer maximises utility subject to the budget constraint, the firm minimises cost subject to the technology constraint and maximises profit subject to the market demand constraint. Mathematically it is the same thing — an extremum under constraints — and the Lagrange multiplier method is its universal solution. Get this chapter and the marginal rate of substitution in utility theory, the marginal rate of technical substitution in production theory and the MR = MC of profit maximisation stop being three rules to memorise and become three appearances of one mathematical fact.
Discounting and present value are the foundation of a different class of optimisation — intertemporal choice — and asset pricing, investment decisions and the cost analysis of government debt all start from it.
Extrema of a function of one variable: where MR = MC comes from
The firm's profit ; the first-order condition for maximisation:
So "marginal revenue equals marginal cost" is not an economic law but a direct translation of "the derivative is zero at a maximum". The second-order condition (marginal cost rising faster than marginal revenue) guarantees that it is a maximum and not a minimum.
The same reasoning explains:
- Monopoly pricing: — the smaller the demand elasticity, the wider the margin; substitute the elasticity formula into the optimality condition and you have it.
- Hiring factors: hire labour until the value of the marginal product of labour equals the wage, .
Elasticity and log differentiation
The definition of elasticity is ; take logs of both sides of the power function and then differentiate:
A power demand function has constant elasticity (of size ) — which is also why and in the Cobb-Douglas form () can be read straight off as output elasticities. Log differentiation turns "the ratio of relative changes" into "the slope of the logs", and it is the computational base of growth accounting (the Solow residual).
The Lagrange multiplier method: the optimum under constraints
The method itself
Objective , constraint . Build the Lagrangian:
The first-order conditions:
The last condition is the constraint itself; the first two give "the marginal conditions the optimum must satisfy".
Application one: the consumer's utility maximisation
After tidying the first-order conditions:
In utility theory, "the indifference curve is tangent to the budget line" is what this condition looks like in a two-dimensional diagram. The tangency point is not a coincidence; it is the structure of the multiplier solution.
Application two: cost minimisation
The first-order conditions give:
"The isocost line is tangent to the isoquant" follows from the same place. Set the solutions of utility maximisation and cost minimisation side by side and the mathematical structure turns out to be completely symmetric (duality).
The economic meaning of the multiplier : shadow price
— relax the constraint by one unit and see how much the objective improves.
- Under a budget constraint: is the marginal utility of income (how much utility one more yuan buys).
- Under a resource constraint: is the shadow price of that resource, even if it has no market price.
Shadow prices are the bridge between the duality theory of linear programming and general equilibrium (Lagrange multipliers = competitive equilibrium prices): in the Walrasian system every constraint (supply equals demand) carries a multiplier, and those multipliers are exactly the market prices. That is the mathematical form of the invisible hand.
Corner solutions and the Kuhn-Tucker conditions
An indifference curve and a budget line need not be tangent: with extreme preferences (say, wanting only ), the optimum falls on an axis and all the money goes into one good. The tangency condition fails there and you need the Kuhn-Tucker conditions for inequality constraints:
What the complementary slackness condition means: when the constraint is not binding (the budget is not exhausted) the multiplier is zero, and only when it is binding does it price anything. The "participation decision" in labour supply and corner consumption are both instances of it.
Present value and discounting: the tool of intertemporal comparison
At an interest rate , one yuan next year is worth today. The present value of a cash flow arriving years out:
- Bond pricing: price = the sum of the present values of the coupons + the present value of the face value. When the market rate rises the discount factor falls and bond prices fall — the whole mathematical content of the inverse relation between rates and bond prices.
- The marginal efficiency of capital (Keynes): the discount rate at which the present value of expected returns just equals the supply price of the capital good is the internal rate of return of the investment project; an investment decision is a comparison between the internal rate of return and the market rate.
- Perpetual annuities and the Gordon model: ; the theoretical price of a share is (), and the in the denominator explains why a small change in the growth rate changes the valuation violently.
The discount rate is not just a technical parameter: which rate to discount public projects at (the argument over the social discount rate) and how to price distant environmental costs (the dispute between the Stern Review and Nordhaus) are core divides in public finance and environmental economics.
Questions and analysis
Why are MR = MC, MRS = the price ratio and MRTS = the factor price ratio "the same condition"?
They are different presentations of the Lagrange first-order condition: when optimising under a constraint, "the ratio of two marginal quantities equals the ratio of two market prices". Economics used three curves (marginal, indifference, isoquant) to tell one mathematical structure, and recognising that structure matters more than memorising three equations.
Why can a Lagrange multiplier serve as a price?
Because it measures scarcity: how much the objective improves per unit of slack in the constraint — which is precisely the definition of a price (what you would pay for one more unit of a resource). General equilibrium theory proves that under a competitive equilibrium there is a set of multipliers exactly equal to the market prices (the direction of the second welfare theorem), which is the rigorous version of "market mechanisms allocate resources".
Why does the choice of discount rate in the present value formula matter so much?
The discount rate converts future money into today's money; the longer the horizon and the higher the rate, the less the future is worth. Choosing 3% versus 7% in the appraisal of public projects can put the present value of climate policy off by an order of magnitude — this is not a mathematical dispute but an ethical one (how to value the welfare of descendants), and mathematics only puts the dispute on the table.
Derivations and worked examples
Example 1: solving consumer choice with the Lagrange method
, , , .
The first-order conditions:
Substituting: , so , hence and . The marginal utility of income is : one more yuan buys roughly 2.5 more units of utility.
Example 2: discounting decides an investment
A machine costs a million; it returns four hundred thousand a year for the next three years. The market rate is 8%.
The present value exceeds the cost, so the project is feasible; if the rate rises to 12% the present value drops to about 961,000 and the same project becomes infeasible — that is where the interest sensitivity of investment comes from (and it is also the micro foundation of the downward slope of the IS curve).
Limits and what follows
First, convexity and uniqueness: the multiplier method gives the first-order conditions, but first-order conditions are only candidates — with a non-concave objective or a non-convex constraint set there may be multiple local optima, and where a gradient method stops depends entirely on the starting point. Global optimisation (convex optimisation, integer programming) and numerical methods (grid search, simulated annealing) are therefore standing tools of empirical and computational work; the literature on multiple equilibria in macroeconomics (coordination failure, bank runs) meanwhile shows that "there is more than one optimum" is itself economic reality rather than a mathematical nuisance. Second, the narrowness of interior solutions: the Kuhn-Tucker conditions handle corner solutions, but real choices happen largely on discrete sets (buy a house or not, have a second child or not), and the continuously differentiable frame is left with only the binary "in or out" models — which is why discrete choice models (logit/probit, an extension of chapter 11's statistics) became the workhorse of microeconometrics. Third, dynamics and uncertainty: everything in this chapter is static optimisation under certainty; the intertemporal stochastic version (the Bellman equation, dynamic programming, stochastic optimal control) swaps for , and it is the foundation of modern macro (DSGE) and finance (option pricing) — chapter 6's differential equations and this chapter's multiplier method meet properly there. Fourth, time inconsistency: an intertemporal optimiser overturns its own plan from yesterday (Kydland-Prescott 1977, Nobel 2004) — the non-exponential form of the discounting structure (hyperbolic discounting) strips "the optimum" of dynamic consistency, and from there comes the whole agenda of policy credibility and commitment devices (central bank independence, constitutional fiscal rules). Fifth, behavioural corrections: real decision makers are not gradient-ascent machines — bounded rationality (Simon's satisficing), anchoring and framing (Kahneman-Tversky) show that "the first-order condition" is a normative model and not a description of behaviour; mechanism design (Hurwicz-Maskin-Myerson, Nobel 2007) and nudging (Thaler, Nobel 2017) then turn "how people actually choose" back into an input parameter for designing institutions. Optimisation methods should therefore not be read as "how people decide" but as "given the objective and the constraints, how well one could do" — and the distance between those two is the source of all realism in economics.
References
- Tongji University, Advanced Mathematics — the standard treatment of limits, differentiation and integration.
- The full list is in the bibliography.
- Wikipedia · Optimization