Lagrange Multipliers
- A method for finding maxima or minima of a function when one or more constraints must be satisfied.
- Combine the objective function and constraint(s) using a Lagrange multiplier (λ), then solve the resulting equations for the optimal variables.
Definition
Section titled “Definition”Lagrange multipliers are a mathematical tool used to find the maximum or minimum value of a function subject to constraints.
Explanation
Section titled “Explanation”Lagrange multipliers work by incorporating constraint equations into the optimization of an objective function. The typical procedure is:
- Define the objective function to be maximized or minimized.
- Write the constraint equation(s) that the variables must satisfy.
- Combine the objective and constraint(s) into a single equation using a Lagrange multiplier (λ).
- Solve the resulting equations to obtain the optimal values of the variables.
The method therefore finds an optimal solution by combining multiple equations and constraints into one system to be solved.
Examples
Section titled “Examples”Rectangular field with fixed perimeter
Section titled “Rectangular field with fixed perimeter”Objective function (area): Constraint (fixed fencing of 100 feet): Combine objective and constraint with a Lagrange multiplier: Solving this equation gives the optimal dimensions: Area:
Shortest distance between two fixed points
Section titled “Shortest distance between two fixed points”Objective function (distance between two points): Constraint (points fixed at ((2,3)) and ((5,7))): Combine objective and constraint with Lagrange multipliers: Solving yields the shortest distance:
Related terms
Section titled “Related terms”- Constraint
- Objective function
- Lagrange multiplier (λ)