Mathematics for Economics
Online MA · Sem 1
0% complete
0/8 lessons
Lesson 4 of 8Economics
Lagrange Multipliers for Constrained Optimisation
Mathematics for Economics
About the video
Constrained optimization using Lagrange's multiplier
Raj Economics and Commerce classes (RECC)
Study notes
Constrained optimisation finds the maximum or minimum of an objective function f(x, y) subject to a constraint g(x, y) = k. The Lagrange multiplier method gives first-order conditions that locate the candidate point, and the bordered Hessian determinant (second-order condition) tells whether that point is a maximum or a minimum.
Setting up the Lagrangian
- Objective: maximise or minimise f(x, y) subject to g(x, y) = k (e.g. profit subject to hours worked or a budget).
- Rewrite the constraint so one side is zero: k - g(x, y) = 0.
- Form the Lagrangian: L(x, y, λ) = f(x, y) + λ[k - g(x, y)].
- λ (lambda) is the Lagrange multiplier, a new variable.
First-order conditions (FOC)
- Set all partial derivatives to zero: Lx = 0, Ly = 0, Lλ = 0.
- Lλ = 0 simply gives back the constraint k - g(x, y) = 0.
- Useful trick: move λ to one side in Lx and Ly, then divide one equation by the other so λ cancels, giving a relation between x and y.
- Substitute that relation into the constraint to get x and y, then find λ.
- The FOC are necessary but not sufficient: they do not say whether the point is a max or a min.
Second-order condition: bordered Hessian
- Bordered Hessian for two variables and one constraint: |H̄| = | fxx fxy gx ; fyx fyy gy ; gx gy 0 |.
- fxy = fyx (cross partial derivatives are equal).
- If |H̄| < 0: positive definite, so the function is at a MINIMUM.
- If |H̄| > 0: negative definite, so the function is at a MAXIMUM.
- Note the sign reversal: a negative determinant means minimum, a positive one means maximum.
Worked example
- Optimise z = 4x² - 2xy + 6y² subject to x + y = 72.
- L = 4x² - 2xy + 6y² + λ(72 - x - y).
- Lx: 8x - 2y = λ (1); Ly: -2x + 12y = λ (2); Lλ: x + y = 72 (3).
- (1)/(2): 8x - 2y = -2x + 12y, so 10x = 14y and x = 7y/5.
- Into (3): 12y/5 = 72, so y = 30 and x = 42; λ = 8(42) - 2(30) = 276.
- Bordered Hessian | 8 -2 -1 ; -2 12 -1 ; -1 -1 0 | = 8(-1) + 2(-1) - 1(14) = -24 < 0, so this is a minimum.
- Minimum value: z = 4(1764) - 2(1260) + 6(900) = 11936.
Key terms
- Constrained optimisation
- Finding the maximum or minimum of a function subject to a condition linking its variables.
- Lagrangian
- L = f(x, y) + λ[k - g(x, y)], the objective combined with the constraint.
- Lagrange multiplier (λ)
- An extra variable attached to the constraint in the Lagrangian.
- First-order conditions
- Lx = Ly = Lλ = 0; together they locate the stationary point.
- Bordered Hessian
- The second-derivative matrix of f bordered by the constraint's first derivatives; its determinant's sign identifies a max or a min.
Takeaways
- Build L = f + λ(k - g) and set Lx, Ly and Lλ equal to zero.
- Eliminate λ by dividing Lx by Ly, then use the constraint to solve for x and y.
- |H̄| < 0 means minimum and |H̄| > 0 means maximum (two variables, one constraint).
Contribute
Was this lesson helpful?
We read every rating and fix the weakest lessons first.