MGT 152 · Business Mathematics II
Our notes
2 min readWhy constraints
Real choices have limits: a consumer has a budget, a firm must meet an output target at least cost, a project has a fixed amount of materials.
Method 1: substitution
Use the constraint to remove one variable, then optimise as in one variable. Fine for simple constraints.
Method 2: the Lagrange multiplier
To optimise f(x, y) subject to g(x, y) = c:
- Form the Lagrangian L = f(x, y) + λ[c − g(x, y)].
- Set Lₓ = 0, L_y = 0, L_λ = 0 (the last gives back the constraint).
- Solve the three equations together.
Example 1: a consumer's choice
Maximise utility U = xy subject to the budget 2x + 4y = 80 (prices ₦2 and ₦4 thousand, income ₦80 thousand).
L = xy + λ(80 − 2x − 4y).
- Lₓ = y − 2λ = 0 → y = 2λ
- L_y = x − 4λ = 0 → x = 4λ
- L_λ = 80 − 2x − 4y = 0
So x = 2y. Then 2(2y) + 4y = 80, 8y = 80, y = 10, x = 20, λ = 5.
U = 200. Check by substitution: x = 40 − 2y, U = 40y − 2y², dU/dy = 40 − 4y = 0 → y = 10 ✓.
What λ means
λ is the shadow price of the constraint: how much the objective rises when the constraint is relaxed by one unit. Here λ = 5 is the marginal utility of money.
Check: with income 81, x = 20.25, y = 10.125, U ≈ 205.03, a rise of about 5. ✓
Example 2: least-cost production
A firm must make 30 units from two plants, x + y = 30, with cost C = 4x² + 2y².
L = 4x² + 2y² + λ(30 − x − y).
- Lₓ = 8x − λ = 0, L_y = 4y − λ = 0 → 8x = 4y → y = 2x.
- x + 2x = 30 → x = 10, y = 20. C = 400 + 800 = 1,200. λ = 80.
At the optimum the two marginal costs are equal (8x = 80 and 4y = 80): λ = 80 is the marginal cost of one more unit of the target (check: x + y = 31 gives x = 31/3, y = 62/3, C ≈ 1,281.3, a rise of about 81).
The economic rule
For a consumer, the optimum satisfies MUₓ/pₓ = MU_y/p_y: the last naira spent on each good gives the same utility. Here MUₓ = y = 10 and MU_y = x = 20: 10/2 = 20/4 = 5 = λ. ✓
Exams usually ask
- Use the Lagrange method to maximise utility or minimise cost.
- Interpret the Lagrange multiplier.
- Check the answer by substitution.
Common mistake
Writing λ but never interpreting it. Exams often give a mark for saying what λ measures in that problem.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 3, 4.8 Lagrange Multipliers
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 3, 4.8 Lagrange Multipliers, CC BY-NC-SA 4.0 · licence
-
Lagrange multiplier
(opens en.wikipedia.org in a new tab)
Wikipedia, Lagrange multiplier, CC BY-SA 4.0 · licence
-
NOUN MTH 311: Calculus of Several Variables
NOUN course book (PDF, about 5.1 MB: best on Wi-Fi). The same ground as most of this course.
(opens nou.edu.ng in a new tab)
-
OpenStax, Calculus Volume 3 (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Calculus Volume 3 (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
Lagrange multipliers, using tangency to solve constrained optimization
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Constrained Optimisation maximize profit function subject to constraint using Lagrange's multiplier
16 min · ≈ 72 MB · about ₦40
(opens youtube.com in a new tab)
-
Constrained Optimization: Intuition behind the Lagrangian
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
🟡15a - Lagrange's Multipliers: One Constraints - Find the maximum and minimum | Ex 1 - 3
25 min · ≈ 113 MB · about ₦63
(opens youtube.com in a new tab)
-
Lagrange Multipliers
34 min · ≈ 153 MB · about ₦86
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.