| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Frank B. Personal Trainer LaGrange LaGrange Illinois IL personaltrainernetwork.co... | IHRSA - Market Multipliers healthclubs.com | MBody Strength: The Flex Multiplier Principle, High Intensity Training... mbodystrength.com | Digital Imaging: A Work Multiplier - Schick Technologies schicktech.com |
In mathematical optimization, the method of Lagrange multipliers (named after Joseph Louis Lagrange) provides a strategy for finding the maximum/minimum of a function subject to constraints. For example (see Figure 1 on the right), consider the optimization problem
We introduce a new variable (λ) called a Lagrange multiplier, and study the Lagrange function defined by (λ may be either added or subtracted). If (x,y) is a maximum for the original constrained problem, then there exists a λ such that (x,y,λ) is a stationary point for the Lagrange function (stationary points are those points where the partial derivatives of Λ are zero). However, not all stationary points yield a solution of the original problem. Thus, the method of Lagrange multipliers yields a necessary condition for optimality in constrained problems.[1]
[edit] IntroductionConsider the two-dimensional problem introduced above:
We can visualize contours of f given by for various values of d, and the contour of g given by g(x,y) = c. Suppose we walk along the contour line with g = c. In general the contour lines of f and g may be distinct, so traversing the contour line for g = c could intersect with or cross the contour lines of f. This is equivalent to saying that while moving along the contour line for g = c the value of f can vary. Only when the contour line for g = c meets contour lines of f tangentially, we do not increase or decrease the value of f — that is, when the contour lines touch but do not cross. The contour lines of f and g touch when the tangent vectors of the contour lines are parallel. Since the gradient of a function is perpendicular to the contour lines, this is the same as saying that the gradients of f and g are parallel. Thus we want points (x,y) where g(x,y) = c and
where and are the respective gradients. The constant λ is required because although the two gradient vectors are parallel, the magnitudes of the gradient vectors are generally not equal. To incorporate these conditions into one equation, we introduce an auxiliary function and solve This is the method of Lagrange multipliers. Note that Be aware that the solutions are the critical points of the Lagrangian Λ; they are not necessarily extrema of Λ. In fact, the function Λ is unbounded: given a point (x,y) that does not lie on the constraint, letting [edit] A more general formulation: The weak Lagrangian principleDenote the objective function by ƒ(x) and let the constraints be given by gk(x). The domain of ƒ should be an open set containing all points satisfying the constraints. Furthermore, ƒ and the gk must have continuous first partial derivatives and the gradients of the gk must not be zero on the domain.[2] Now, define the Lagrangian, Λ, as
Observe that both the optimization criteria and constraints gk(x) are compactly encoded as stationary points of the Lagrangian:
and Collectively, the stationary points of the Lagrangian, give a number of unique equations totaling the length of x plus the length of λ. The method of Lagrange multipliers is generalized by the Karush–Kuhn–Tucker conditions, which can also take into account inequality constraints of the form h(x) ≤ c. [edit] Interpretation of the Lagrange multipliersOften the Lagrange multipliers have an interpretation as some quantity of interest. To see why this might be the case, observe that: So, λk is the rate of change of the quantity being optimized as a function of the constraint variable. As examples, in Lagrangian mechanics the equations of motion are derived by finding stationary points of the action, the time integral of the difference between kinetic and potential energy. Thus, the force on a particle due to a scalar potential, [edit] Examples[edit] Very simple exampleSuppose you wish to maximize f(x,y) = x + y subject to the constraint x2 + y2 = 1. The constraint is the unit circle, and the level sets of f are diagonal lines (with slope -1), so one can see graphically that the maximum occurs at Formally, set g(x,y) − c = x2 + y2 − 1, and
Set the derivative dΛ = 0, which yields the system of equations: As always, the Combining the first two equations yields x = y (explicitly, Substituting into (iii) yields 2x2 = 1, so thus the maximum is [edit] Simple exampleSuppose you want to find the maximum values for with the condition that the x and y coordinates lie on the circle around the origin with radius √3, that is, As there is just a single condition, we will use only one multiplier, say λ. The constraint g(x, y)-c is identically zero on the circle of radius √3. So any multiple of g(x, y) may be added to f(x, y) leaving f(x, y) unchanged in the region of interest (above the circle where our original constraint is satisfied). Let The critical values of Λ occur when its gradient is zero. The partial derivatives are Equation (iii) is just the original constraint. Equation (i) implies x = 0 or λ = −y. In the first case, if x = 0 then we must have Then x2 = 2y2. Substituting into equation (iii) and solving for y gives this value of y: Thus there are six critical points: Evaluating the objective at these points, we find Therefore, the objective function attains a global maximum (with respect to the constraints) at [edit] Example: entropySuppose we wish to find the finite probability distribution (Without loss of generality, say on the points Of course, the sum of these probabilities equals 1, so our constraint is g(p) = 1 with We can use Lagrange multipliers to find the point of maximum entropy (depending on the probabilities). For all k from 1 to n, we require that which gives Carrying out the differentiation of these n equations, we get This shows that all pi are equal (because they depend on λ only). By using the constraint ∑k pk = 1, we find Hence, the uniform distribution is the distribution with the greatest entropy, among distributions on n points. [edit] EconomicsConstrained optimization plays a central role in economics. For example, the choice problem for a consumer is represented as one of maximizing a utility function subject to a budget constraint. The Lagrange multiplier has an economic interpretation as the shadow price associated with the constraint, in this example the marginal utility of income. [edit] The strong Lagrangian principle: Lagrange dualityGiven a convex optimization problem in standard form with the domain The vectors λ and ν are called the dual variables or Lagrange multiplier vectors associated with the problem. The Lagrange dual function The dual function g is concave, even when the initial problem is not convex. The dual function yields lower bounds on the optimal value p * of the initial problem; for any [edit] See also
[edit] References
[edit] External linksExposition
For additional text and interactive applets
|
| ↑ top of page ↑ | about thumbshots |