Lagrange multipliers are a powerful mathematical technique for finding the extrema (maxima or minima) of a function subject to equality constraints. This method was developed by Italian-French mathematician Joseph-Louis Lagrange.
Principle
The Lagrange multiplier method transforms a constrained optimization problem into an unconstrained one by incorporating the constraints into the objective function with special coefficients (the Lagrange multipliers).
Mathematical Formulation
Equality Constraints Only
Consider the optimization problem:
\begin{align} \min_{\theta} L(\theta)\ \text{subject to } E_j(\theta) = 0, \quad j = 1,2,...,m \end{align}
where and are the equality constraints.
The Lagrangian function is defined as:
where are the Lagrange multipliers.
With Inequality Constraints
For the more general problem with both equality and inequality constraints:
\begin{align} \min_{\theta} L(\theta)\ \text{subject to:}\ E_j(\theta) = 0, \quad j = 1,2,...,m\ I_k(\theta) \geq 0, \quad k = 1,2,...,n \end{align}
The Lagrangian function becomes:
where includes multipliers for both equality and inequality constraints.
Necessary Conditions for Optimality
At the optimal solution, the following conditions must be satisfied:
- (Gradient of Lagrangian with respect to is zero)
- for all (Equality constraints are satisfied)
- for all (Inequality constraints are satisfied)
- for all (Non-negative multipliers for inequality constraints)
- for all (Complementary slackness condition)
These conditions, known as the Karush-Kuhn-Tucker (KKT) conditions, are necessary for a point to be a local optimum of the constrained optimization problem.
Interpretation of Lagrange Multipliers
Lagrange multipliers have important interpretations:
-
Sensitivity Analysis: The multiplier represents the rate of change of the optimal objective value with respect to the -th constraint parameter.
-
Economic Interpretation: In economics, multipliers can represent “shadow prices” — the marginal value of relaxing a constraint.
-
Mechanical Interpretation: In physics, multipliers can represent forces needed to maintain constraints.
Example: Constrained Optimization with Lagrange Multipliers
Problem: Find the maximum of subject to
Step 1: Form the Lagrangian
Step 2: Compute the partial derivatives and set them to zero
Step 3: Solve the system of equations From the first two equations: and Substituting into the third equation: This gives , leading to
Step 4: Verify the solution The maximum value of is
Advantages and Limitations
Advantages
- Transforms constrained problems into unconstrained ones
- Provides a systematic approach for handling constraints
- Yields additional information about sensitivity to constraints
- Applicable to a wide range of problems
Limitations
- Only directly addresses equality constraints (requires modifications for inequalities)
- May encounter numerical difficulties with many constraints
- Requires constraint qualifications to hold (e.g., linear independence of constraint gradients)
- May lead to saddle points rather than extrema