Why are the gradients of the objective and constraint functions parallel at the extremum points in the Lagrange multiplier method?
At the extremum points, the level curves of the objective function are tangent to the constraint curve. Because gradient vectors are always perpendicular to their respective level curves, the gradients of the objective and constraint functions must be parallel at these points of tangency. This geometric alignment is the core principle that leads to the Lagrange multiplier equation .
Conditions
- The functions and are differentiable.
- The extremum occurs at a point where the constraint curve is smooth (non-zero gradient for ).
- The level curves of are tangent to the constraint curve .
Reasoning, step by step
- Identify the objective function and its level curves.
- Identify the constraint function and its curve.
- Observe that at the extremum, a level curve of touches the constraint curve tangentially.
- Recall that the gradient of a function is perpendicular to its level curves.
- Conclude that since both gradients are perpendicular to the same tangent line, they must be parallel to each other.
- Express this parallel relationship mathematically as .
Example
The video uses (level curves are circles) and (constraint is an ellipse). At the points where the circles are tangent to the ellipse, the blue arrows () and yellow arrows () point in the same or opposite directions, illustrating parallelism.
Common misconceptions
- Believing that the gradients must be equal in magnitude, rather than just parallel.
- Thinking that the gradients are parallel everywhere on the constraint curve, not just at the extremum points.
Watch the explanation
BilibiliConstrained extrema
0:23 – 0:49Watch this moment ↗
Connected concepts
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.