4.4.15 · D5Multivariable Calculus
Question bank — Lagrange multipliers — one and two constraints
Vocabulary reminder before we start (every symbol is earned here so you never meet an undefined one):
- — the thing we optimize (the "height"). Its gradient is the arrow pointing in the direction increases fastest. See Gradient and directional derivative.
- , — the constraints: surfaces (or the curve where they cross) you are forced to stay on. , are arrows sticking straight out of those surfaces — the normals. See Tangent planes and normal vectors.
- (lambda), (mu) — the multipliers: numbers that say how much of each normal arrow you mix to reproduce .
- — a tangent direction: a direction you're actually allowed to walk while staying feasible.
Everything below is the parent method poked from every angle.
True or false — justify
The unit circle example: max of is
True. At , ; the sign-flipped multiplier gives and the minimum , so both cases are covered.
At a constrained maximum, must be the zero vector
False. On a constraint is usually nonzero — it just has to point straight off the surface (parallel to ) so no allowed direction increases .
alone fully locates the optimal point
False. That equation only fixes the direction match; you still need to pin where on the surface you are — it's equations for a reason.
If at a solution, the constraint is doing nothing there
True. makes , an ordinary unconstrained critical point that happens to sit on the surface; relaxing the constraint wouldn't change .
A large positive means the constraint is "cheap" to relax
False. Large means each unit of relaxation buys a big improvement in , so the constraint is expensive / binding hard — that's the shadow price reading.
For two constraints in , must equal either or
False. It must be a combination : lies in the whole plane those two normals span, not on one of them.
Lagrange's method automatically finds global maxima
False. It finds candidate stationary points; you must compare their -values (and check singular points / boundaries) to decide which is the global max or min.
is always perpendicular to the surface
True (where ). Differentiating gives for every tangent , so kills all tangents — it's normal. See Level sets and contours.
The multiplier value can legitimately be negative
True. Its sign tells you which way relaxing the constraint pushes ; a min problem or a differently-oriented flips the sign, as in for on the circle.
Spot the error
"To minimize on , I set and solved."
Wrong tool: finds unconstrained critical points and ignores the fence. You need plus the constraint .
"I wrote and got ; done."
Incomplete: you never used , so the point isn't located. Dropping the constraint equation is the classic under-determination error.
"On the intersection of two surfaces I used only ."
You forgot the second surface. The feasible set is a curve, so must be balanced by both normals: .
" and point the same way, so always."
Not so. Parallel includes antiparallel; allows when the two arrows point opposite ways.
"The tangency of level curves means and have equal values there."
No. Tangency means their level curves touch (parallel normals), not that . It's a geometric alignment of directions, not of function values. See Level sets and contours.
"Since Lagrange gave one point, that's the answer."
The method can yield several stationary points (min, max, saddle on the curve); one root of the algebra is rarely the whole story. Always enumerate and compare.
"At a singular point where , the equation still pins things down."
It collapses to regardless of , so the method gives no information; such points must be checked separately — Lagrange can silently miss them.
"Two constraints in give 3 equations."
Miscount. It's 3 gradient equations + 2 constraint equations = 5 equations in the 5 unknowns .
Why questions
Why must be normal to the constraint surface at an extremum?
If it had any tangential component, you could walk along the surface in that direction and still change — so it wouldn't be an extremum. Only a purely normal can't be improved.
Why does live in the plane spanned by for two constraints?
The one allowed tangent is perpendicular to both normals; forces to have no -part, i.e. to lie in the plane those two normals define.
Why is called a "shadow price"?
Because where the constraint level is : it's the marginal improvement in the optimum per unit of loosening the constraint — literally its economic price. See Dual problem and shadow prices.
Why do we differentiate along curves inside the surface?
Because on the constraint we can only move along such curves; a constrained extremum is an ordinary extremum of restricted to every feasible path, giving .
Why does the chain rule turn into ?
The chain rule says the rate of change of along is the dot product of the gradient with the velocity ; setting it to zero is exactly the extremum condition. See Gradient and directional derivative.
Why doesn't the sign or magnitude of affect where the optimum is?
only balances the lengths of the two gradient arrows; the location is fixed by requiring parallel directions plus satisfying .
Why does Lagrange generalize to KKT conditions for inequalities?
An inequality is either slack (multiplier , constraint idle) or tight (behaves like an equality with a sign-restricted multiplier); KKT bundles both cases into the same gradient-balance idea.
Edge cases
What if at a candidate point?
The surface has no well-defined normal there (a singular point); becomes for any , so you must inspect that point by hand — Lagrange can miss extrema there.
What if and are parallel (dependent) at a point?
They no longer span a plane, so the intersection isn't a clean curve; the two-constraint setup degenerates and aren't uniquely determined — a constraint-qualification failure.
What if the constraint set is a closed region with a boundary, not just ?
Lagrange only searches the smooth surface ; extrema can sit on a boundary edge not described by , so those edges need a separate check.
What happens to the method as the constraint is removed (no )?
You're back to — the unconstrained case, which is exactly the limit where the constraint exerts no pull.
Can a constrained problem have no Lagrange solution yet still have a max?
Yes — if the max occurs at a singular point or an unincluded boundary, the gradient-balance equations have no root there, so it's missed unless separately examined.
Why does the paraboloid-plus-plane problem give two roots for ?
The intersection curve dips down then rises, so has both a minimum and a maximum on it — two stationary points, matching the two roots of .
What if but the point still lies on ?
Then holds with : it's an unconstrained critical point that happens to be feasible, a perfectly valid (constraint-inactive) Lagrange solution.
What if is constant on the whole constraint surface?
Every feasible point is trivially an extremum; is either zero or already normal everywhere, so is unconstrained/undetermined — the problem is degenerate.
Recall Fast self-check
has a tangential component at a feasible point — extremum or not? ::: Not an extremum: you can still raise by stepping along that tangential component. Two parallel gradients but — valid Lagrange point? ::: No: parallel gradients are necessary but you must also be on the surface, .
Connections
- Lagrange multipliers — one and two constraints — the parent method these traps probe.
- Gradient and directional derivative — why a tangential means "not yet optimal".
- Tangent planes and normal vectors — the normals these traps hinge on.
- Unconstrained optimization — critical points — the limit.
- KKT conditions — the inequality generalization several "why" items point to.
- Level sets and contours — tangency of level curves at the optimum.
- Dual problem and shadow prices — the economic reading of .