Let and be smooth functions with continuous first partial derivatives on an open region of . To find the maximum and minimum values of an objective function subject to a constraint equation (assuming on the constraint set):
Find all values of , and that simultaneously satisfy the Lagrange Multiplier Vector System:
along with the scalar constraint:For functions of three variables subject to , the system equates three spatial components:
The scalar parameter (lambda) is the Lagrange Multiplier.
Concept Explanation
Geometric Intuition: Tangency of Level Curves
Consider the level curves of the objective function overlaid onto the fixed constraint curve .
- As you travel along the path , you cut across different level curves of , increasing or decreasing the value of .
- If the constraint path crosses a level curve of transversely (at a non-zero angle), you can continue moving along the path in one direction to increase , or reverse direction to decrease .
- Therefore, an extreme value along the constraint path can occur only when the constraint curve is tangent to a level curve of .
^ y
| Level curve f(x, y) = c_3 (higher)
| .-----------------.
| / \
| / Level curve \
| / f(x, y) = c_2 \
| | .------------. |
| | / P \ |
| \ | * | /
Constraint | \ \ /|\ / /
g(x, y) = k | \ '---' | '----' /
------------>|-------'-------|---------'---------> x
| |
| grad f | grad g
| (Parallel Vectors!)
Orthogonality of Gradients
Recall from The Gradient Vector that:
- The gradient is orthogonal to the level curves of .
- The gradient is orthogonal to the constraint curve .
Because the two curves are mutually tangent at the optimal point , their normal lines must coincide. This implies their gradient vectors point along the exact same line, meaning is a scalar multiple of :
Physical and Economic Interpretation of (Shadow Price / Sensitivity)
The Lagrange multiplier is not merely an auxiliary algebraic tool; it possesses profound physical and economic significance. Let denote the optimal value of the objective function as a function of the constraint parameter . It can be proven that:
- Rate of Relaxation: quantifies the instantaneous rate of change in the optimal objective value per unit increase (relaxation) in the constraint threshold .
- In economics and systems engineering, is called the shadow price or marginal value: the maximum price a system designer should pay to relax a budget, volume, or stress limit by one unit.
Step-by-Step Problem-Solving Sequence
- Identify the Functions: Formally define the objective function to optimize and the constraint equation .
- Compute Gradients: Compute and .
- Formulate the Scalar Component Equations:
- Eliminate : Express in terms of coordinates or solve for one variable in terms of others.
- Critical Warning: Never divide by a variable without proving it cannot be zero.
- Substitute into the Constraint: Plug the variable relations into to solve for candidate coordinates.
- Evaluate Candidates: Compute at all candidate points to determine the absolute maximum and minimum.
Engineering Applications
- Aerospace Trajectory Optimization: Spacecraft thruster firings minimize a quadratic fuel burn metric subject to an orbital insertion velocity plane . The multiplier gives the fuel mass sensitivity per unit increase in required mission .
- Civil & Hydraulic Engineering: Open stormwater channel design minimizes wetted cross-section perimeter (reducing friction and concrete lining costs) subject to a required hydraulic flow area .
- Robotics & Manufacturing: Sizing rectangular packaging enclosures minimizes raw sheet metal surface area subject to a mandatory payload volume constraint .
Example Problems
Example 1: Distance from Origin to a Plane in 3D
Find the point on the plane that is closest to the origin, and determine the minimum distance.
Solution
Define functions:
- Objective:
- Constraint:
Compute gradients:
Set up component system :
Substitute into constraint:
Determine optimal point and minimum distance:
-
Candidate point: .
Check constraint: (verified).
The minimum distance is:
Example 2: Non-Linear Circular Constraint
Find the maximum and minimum values of subject to the circular constraint .
Solution
Compute gradients:
Component equations:
Eliminate : Multiply equation (1) by and equation (2) by :
Substitute into constraint :
- If , candidates are and .
- If , candidates are and .
Evaluate objective :
Conclusion:
- Maximum value: , occurring at and .
- Minimum value: , occurring at and .
Connections & References
- Prerequisites:
- The Gradient Vector — Calculating and understanding orthogonality to level curves.
- Level Curves and Contour Maps — Geometric foundation of tangency.
- Extrema on Closed and Bounded Regions — Context for boundary optimization.
- Direct Successors:
- Multiple Integrals — Setting up integration limits over optimized regions.
- Course Sessions: