What is Lagrange multipliers: Definition and 179 Discussions

In mathematical optimization, the method of Lagrange multipliers is a strategy for finding the local maxima and minima of a function subject to equality constraints (i.e., subject to the condition that one or more equations have to be satisfied exactly by the chosen values of the variables). It is named after the mathematician Joseph-Louis Lagrange. The basic idea is to convert a constrained problem into a form such that the derivative test of an unconstrained problem can still be applied. The relationship between the gradient of the function and gradients of the constraints rather naturally leads to a reformulation of the original problem, known as the Lagrangian function.The method can be summarized as follows: in order to find the maximum or minimum of a function



f
(
x
)


{\displaystyle f(x)}
subjected to the equality constraint



g
(
x
)
=
0


{\displaystyle g(x)=0}
, form the Lagrangian function






L


(
x
,
λ
)
=
f
(
x
)

λ
g
(
x
)


{\displaystyle {\mathcal {L}}(x,\lambda )=f(x)-\lambda g(x)}
and find the stationary points of





L




{\displaystyle {\mathcal {L}}}
considered as a function of



x


{\displaystyle x}
and the Lagrange multiplier



λ


{\displaystyle \lambda }
. The solution corresponding to the original constrained optimization is always a saddle point of the Lagrangian function, which can be identified among the stationary points from the definiteness of the bordered Hessian matrix.The great advantage of this method is that it allows the optimization to be solved without explicit parameterization in terms of the constraints. As a result, the method of Lagrange multipliers is widely used to solve challenging constrained optimization problems. Further, 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


{\displaystyle h(\mathbf {x} )\leq c}
.

View More On Wikipedia.org
  1. E

    How Do Lagrange Multipliers Help Calculate Distance from a Point to a Plane?

    URGENT - Lagrange Multipliers Homework Statement :confused: Using the method of lagrange multipliers prove the formula for the distance from a point (a,b,c) to a plane Ax + By + Cz = DThe Attempt at a Solution Using the equation of the form; H(x,y,z,L) = (x-a)^2 + (y -b)^2 +(z-c)^2 + L(Ax...
  2. K

    How Do You Solve Lagrange Multipliers with Complex Constraints?

    1. Use the method of Lagrange multipliers to nd the minimum value of the function: f(x,y,z) = xy + 2xz + 2yz subject to the constraint xyz = 32. I understand the method how Lagranges Multipliers is donw done but seem to have got stuck solving the Simultaneous Equations involving the...
  3. H

    More fun with lagrange multipliers

    Homework Statement Find the point closest to the origin on the line of intersection of the planes y + 2z = 12 and x + y = 6Homework Equations \nuf = \lambda\nug1 +\mu\nug2 f = x2+y2+z2 g1: y + 2z = 12 g2: x + y = 6 There are supposed to be gradients on all of those, whether or not LaTeX...
  4. H

    Recursive Lagrange multipliers

    Hey all, this is my first post, so I apologize in advance if data are missing/format is strange/etc. I'm working with lagrange multipliers, and I can get to the answer about half the time. The problem is, I'm not really sure how to deal with things when the multiplier equation becomes...
  5. S

    Finding Minimum with Lagrange Multipliers

    Homework Statement Find the minimum of f(x,y) = x^2 + y^2 subject to the constraint g(x,y) = xy-3 = 0 Homework Equations delF = lambda * delG The Attempt at a Solution Okay, after lecture, reviewing the chapter and looking at some online information, this is what I have so far...
  6. C

    Solve Highest/Lowest Points on Curve of Intersection with Lagrange Multipliers

    Hi There I would like help on a question about Lagrange multipliers. Question: Consider the intersection of two surfaces: an elliptic paraboloid z=x^2 + 2*x + 4*y^2 and a right circular cylinder x^2 + y^2 = 1. Use Lagrange multipliers to find the highest and lowest points on the curve of the...
  7. D

    Lagrange Multipliers: A theoretical question and an example

    Hello physicsforums community. I have recently learned about Lagrange multipliers and have been given three problems to solve. Could you guys please go over my work and see if I have the gist of it? One question, a theoretical one, I have no idea how to begin. Any advice regarding this would be...
  8. U

    Lagrange multipliers: Variables cancelling out?

    Find the maximum and minimum of f(x,y)=y2-x2 with the constraint x2/4 +y2=2. My calculus professor gave us this on his exam and there were no problems like this in the book and I would just like to know how it's done because it's bothering me ha. After doing the partial derivatives I got...
  9. T

    Lagrange Multipliers Find 3 positive numbers?

    Homework Statement Find 3 positive numbers x, y and z for which: their sum is 24 and which maximizes the product: P = x2y3z. Find the maximum product. The Attempt at a Solution Ok, I know how to set up the equations. x + y + z = 24 Delta(F) <2xy3z, 2x2y2z, x2y3> fx = 2xy3z...
  10. S

    Finding Minimum Values with Lagrange Multipliers

    Homework Statement Minimise = x2 + y2 subject to C(x,y) = 4x2 + 3y2 = 12. Homework Equations The Attempt at a Solution I let h(x,y) = x2 + y2 + \lambda(4x2 + 3y2 - 12). I got hx = 2x + 8\lambdax = 0, hy = 2y + 6\lambday = 0, but here I get 2 values of \lambda, \lambda = -1/4 &...
  11. D

    Lagrange Multipliers: Advantages & Necessity?

    I do not have one specific question that needs answering. Rather, it is about Lagrange multipliers in general. So for certain minimization/maximization questions (ie find the shortest distance from some point to some plane) it seems that one could solve the question using lagrange multipliers...
  12. T

    Lagrange Multipliers Question?

    Lagrange Multipliers Question? Homework Statement Find the minimum and maximum values of the function subject to the given constraint. f (x,y,z) = x^2 - y - z, x^2 - y^2 +z = 0 The Attempt at a Solution Okay this is what I did: Gradient f = <2x,-1,-1> Gradient g =...
  13. jegues

    Maximizing Functions with Multiple Constraints

    Homework Statement See figure Homework Equations N/A The Attempt at a Solution Alright we'll this is my first shot at a question like this, so in all honesty I don't know what concepts this question is testing. It mentions finding absolute max/min of a function inside a...
  14. K

    Constrained Optimization via Lagrange Multipliers

    Hi, I'm trying to do a constrained optimization problem. I shall omit the details as I don't think they're important to my issue. Let f:\mathbb R^n \to \mathbb R and c:\mathbb R^n \to \mathbb R^+\cup\{0\} be differentiable functions, where \mathbb R^+ = \left\{ x \in \mathbb R : x> 0...
  15. F

    Solving Lagrange Multipliers: Max/Min f(x,y)

    Homework Statement Using Lagrange multipliers, find the maximum and minimum values of f(x,y)=x^3y with the constraint 3x^4+y^4=1.Homework Equations The Attempt at a Solution Here is my complete solution. I just wanted to make sure there are no errors and I did it correctly. Thanks for any...
  16. S

    Understanding Lagrange Multipliers and Constraint Equations

    I have been reading about Lagrange Multipliers, my book along with wiki and other resources I have read use an intuitive argument on why the max/min contour lines end up tangent to the constraint equation. I don't really understand it, especially considering the obvious flaw as shown by the...
  17. Q

    Lagrange Multipliers with ellipse

    Homework Statement Find the points on the ellipse x2 + 2y2 = 1 where f(x,y) = xy has its extreme values. Homework Equations The Attempt at a Solution f(x,y,z) = x2 + y2 + z2 -- constraint g(x,y,z) = x2 + 2y2 -1 = 0 gradient of f = \lambda * gradient of g 2xi + 2yj + 2zk =...
  18. G

    Maximum and minimum distance (lagrange multipliers)

    Homework Statement A point lies on the plane x-y+z=0 and on the ellipsoid x^2 +\frac{y^2}{4} + \frac{z^2}{4} = 1 Find the minimum and maximum distances from the origin of this point. The Attempt at a Solution The two contraints g = x-y+z =h= x^2 +\frac{y^2}{4} +...
  19. K

    Solve Lagrange Multipliers for x,y,z in Min Distance Problem

    Homework Statement find the points on the surface x^2-z^2 = 1 which are in minimum distance from (0,0) i should find the points using d = x^2+y^2+z^2 first of all gradf = λ gradg where f = d and g = x^2-z^2 so we have (2x,2y,2z) = λ (2x,0,2z) now 2x = λ2x 2y = 0 => y = 0 2z = λ2z so...
  20. N

    Very Frustrating (or Easy) Lagrange Multipliers Problem

    Homework Statement Find the extrema of the given function subject to the given constraint: f(x,y)=x2-2xy+2y2, subject to x2+y2=1Homework Equations Lagrange Multipliers The Attempt at a Solution First, I defined the constraint to be g(x,y)=0, that is, g(x,y)=x2+y2-1 I then set up the usual...
  21. Saladsamurai

    Derivation of Lagrange Multipliers Method

    Hey folks. :smile: I have some more or less qualitative questions regarding optimization problems via Lagrange multipliers. I am following the http://en.wikipedia.org/wiki/Lagrange_multipliers" on this one and I am just a little confused by their wording. In the first section titled...
  22. N

    Lagrange Multipliers: Find Max of 8x2 + 4yz - 16z + 600

    Homework Statement Assume that the surface temperature distribution of an ellipsoid shaped object given by 4x2 + y2 + 4z2 = 16 is T(x,y,z) = 8x2 + 4yz - 16z + 600.Homework Equations The Attempt at a Solution I'm assuming we just have to find the maximum value of this function using the lagrange...
  23. G

    Lagrange Multipliers: Understand Why \nabla f = \lambda \nabla g

    Homework Statement Why is \nabla f = \lambda \nabla g where f is the function you want to find the extrema of and g is the contraint? Also how would you identify the above in the following Determine the least real number M such that the inequality |ab(a^2-b^2) +...
  24. A

    Extreme values (Lagrange multipliers)

    determine, if any, the maximum and minimum values of the scalar field f (x, y) = xy subject to the constraint 4x^2{}+9y^2{}=36 The attempt at a solution using Lagrange multipliers, we solve the equations \nablaf=\lambda\nablag ,which can be written as f_{x}=\lambdag_{x}...
  25. W

    LaGrange multipliers with natural base

    Homework Statement f(x,y,z)=exy and x5+y5=64 Find Max and MinHomework Equations ∇F = <yexy, xexy> λ∇G = <5x4λ, 5y4λ> The Attempt at a Solution yexy = 5x4λ xexy = 5y4λ x5+y5=64 No idea where to go from here...
  26. D

    Numerically Solving ODE with Lagrange Multipliers

    Hi, I'm trying to implement some equations from a paper. It comes down to a system of 2 coupled ODEs. In one of the ODEs, there are 3 Lagrange multipliers. The paper says that the three multipliers can be determined by three integral constraints (integrals of some functions of the...
  27. A

    Use lagrange multipliers to find the shortest distance

    Homework Statement Use lagrange multipliers to find the shortest distance between a point on the elliptic paraboloid z=x^2 +y^2 Homework Equations The Attempt at a Solution http://img716.imageshack.us/img716/7272/cci1902201000000.jpg I'm not that good with using the equation...
  28. P

    Lagrange multipliers and partial derivatives

    Homework Statement Find the point on 2x + 3y + z - 11 = 0 for which 4x^2 +y^2 +z^2 is a minimum Homework Equations The Attempt at a Solution Using lagrange multipliers I find: F = 4x^2 + y^2 + z^2 + l(2x + 3y + z) Finding the partial derivatives I get the three equations...
  29. A

    Lagrange multipliers with two constraints

    Homework Statement By using the Lagrange multipliers find the extrema of the following function: f(x,y)=x+y subject to the constraints: x2+y2+z2=1 y+z=12. The attempt at a solution Using lambda = 1/(2x) I got x=y-z and y=1-z plugging that into the first constraint, I got: 6y^2-6y+1=0 which...
  30. P

    Lagrange Multipliers - Implicitly defined curve

    Homework Statement Use Lagrange Multipliers to find the points closest to the origin on the curve defined implicitly by x2-xy+y2-z2 = 1 x2+y2=1 2. The attempt at a solution I know how to do this for regular curves, but I don't know where to start with implicitly defined ones. Any...
  31. M

    Lagrange Multipliers - unknown values

    Homework Statement Using Lagrange Multipliers, we are to find the maximum and minimum values of f(x,y) subject to the given constraint Homework Equations f(x,y,z) = x^2 - 2y + 2z^2, constraint: x^2 + y^2 + z^2 = 1 The Attempt at a Solution grad f = lambda*grad g (2x, -2, 4z) =...
  32. A

    Max/Min of a function using Lagrange Multipliers

    Homework Statement Find the absolute maximum and minimum values for f(x,y) = sin x + cos y on the rectangle R defined by 0<=x<=2pi and 0<=y<=2pi using the method of Lagrange Multipliers. The Attempt at a Solution I don't know where to start in getting the constraint into something I...
  33. J

    Lagrange multipliers and variation of functions

    Let F and f be functions of the same n variables where F describes a mechanical system and f defines a constraint. When considering the variation of these functions why does eliminating the nth term (for example using the Lagrange multiplier method) result in a free variation problem where it...
  34. W

    Solving LaGrange Multipliers for Closest Points to Origin on xy+yz+zx=3

    Homework Statement Consider the problem of finding the points on the surface xy+yz+zx=3 that are closest to the origin. 1) Use the identity (x+y+z)^2=x^2+y^2+z^2+2(xy+yz+zx) to prove that x+y+z is not equal to 0 for any point on the given surface. 2) Use the method of Lagrange...
  35. B

    Lagrange Multipliers to find the Maximum and Minimum values

    Homework Statement Use Lagrange Multipliers to find the Maximum and Minimum values of f(x,y) = x2-y. Subject to the restraint g(x,y) = x2+y2=25 Homework Equations gradient f(x,y)= gradient g(x,y) The Attempt at a Solution I have found the gradients of f and g to be f(x,y) =...
  36. T

    Optimization using Lagrange multipliers

    1. Homework Statement [/b] f\left(x,y\right) = x^2 +y^2 g\left(x,y\right) = x^4+y^4 = 2 Find the maximum and minimum using Lagrange multiplier Homework Equations The Attempt at a Solution grad f = 2xi +2yj grad g= 4x^3i + 4y^3j grad f= λ grad g 2x=4x^3λ and 2y=...
  37. D

    Optimizing Area for a Sport Center with a Rectangular Region and Semicircle Ends

    help me out on this proble i am confuse a sport center is to be constructed.it consists of a rectangular region with a semicircle ach end .if the perimater of the room is to be a 500 meter running truck find the dimetion that will make the area as large as possible. i can find if the...
  38. L

    Classical mechanics - Lagrange multipliers

    Homework Statement A disk moves on an inclined plane, with the constraint that it's velocity is always at the same direction as it's plane (similar to an ice skate, maybe). In other words: If \hat{n} is a vector normal to the disk's plane, we have at all times: \hat{n} \cdot \vec{v} = 0. Also...
  39. E

    Lagrange multipliers in the calculus of variations

    I'm looking for a derivation of the method of Lagrange multipliers as used in the calculus of variations for extremizing a functional subject to constraints. More specifically, I'm trying to understand the relationship between the "method of Lagrange multipliers" from standard calculus and the...
  40. T

    How Do You Solve Lagrange Multipliers for Circle Boundary Optimization Problems?

    Homework Statement Find the maximum and minimum values of f = (x-1)^2 + (y-1)^2 on the boundary of the circle g = x^2 + y^2 = 45. Homework Equations f=(x-1)^2 + (y-1)^2 g=x^2+y^2=45 gradf(x,y)=lambda*gradg(x,y) The Attempt at a Solution gradf(x,y)=<2x-2,2y-4>...
  41. H

    Lagrange Multipliers, calc max volume of box

    Homework Statement Point P(x,y,z) lies on the part of the ellipsoid 2x^2 + 10y^2 + 5z^2 = 80 that is in the first octant of space. It is also a vertex of a rectangular parallelpiped each of whose sides are parallel to a coordinate plane. Use Method of LaGrange Multipliers to determine the...
  42. M

    Solve Lagrange Multipliers: Find Max/Min f(x,y)

    Homework Statement Use lagrange multipliers to find the maximum and minimum values of f subject to the given constraint, if such values exist. f(x,y) = x+3y, x2+y2≤2 Homework Equations grad f = λ grad g The Attempt at a Solution to find critical points in the interior region...
  43. K

    Lagrange multipliers rotating masses connected by spring

    Homework Statement A particle of mass, m1, is constrained to move in a circle with radius a at z=0 and another particle of mass, m2, moves in a circle of radius b at z=c. For this we wish to write up the Lagrangian introucing the constraints by lagrange multipliers and solve the following...
  44. N

    Problem understading lagrange multipliers

    I'm trying to follow the idea behind Lagrange multipliers as given in the following wikipedia link. http://en.wikipedia.org/wiki/Lagrange_multipliers I follow the article right up until the point where it goes: 'To incorporate these conditions into one equation, we introduce an...
  45. T

    Finding Points Closest and Furthermost from Origin using LaGrange Multipliers

    Homework Statement Using the method of lagrange multipliers, find the points on the curve 3x² - 4xy + 6y² = 140 which are closest and furthermost from the ORIGIN and the corresponding distances between them The Attempt at a Solution I have done roughly half the question but appear to be...
  46. S

    Find Min/Max of f(x,y)=xy with Constraint 4x^2+9y^2=32

    find min/max: f(x,y)=xy with constraint being 4x^2+9y^2=32 [gradient]f=[lambda]gradient g The Attempt at a Solution I thought I understood the Lagrange problems, but I can't seem to get the minimum right on the last few problems. I get x=+/-2 and then plug back into find y, then I use my...
  47. E

    Proof of the method of lagrange multipliers

    I have used this method quite a lot but I have never completely understood the proof. The only book I have that provides a proof is Shifrin's "Multivariable Mathematics" which I find kind of confusing. Stewart's "proof" is more or less just geometric intuition. Does anyone know of a book that...
  48. A

    Lagrange Multipliers - 2 questions

    Hello: Problem1: The temp of the circular plate D= {(x1,x2) | x1^{2} + x2^{2} \leq 1} is given by T=2x^{2} -3y^{2} - 2x. Find hottest and coldest points of the plate. Problem 2 Show that for all (x1,x2,x3) \in R^{3} with x1>0, x2>0, x3>0 and x1x2x3 = 1, we have x1+x2+x3 \geq3...
  49. R

    Optimizing Multivariable Functions with Lagrange Multipliers

    We're suppose to minimize f(x,y,z)=x^2+y^2+z^2 subject to 2x+y+2z=9. I only ever remember learning how to do f(x,y) would it be the same equation? Thus, f(x,y,\lambda) = f(x,y) + \lambda g(x,y)? Meaning f(x,y,z,\lambda) = x^2+y^2+z^2 + \lambda (2x+y+2z-9) and then continue solving for each...
  50. K

    Lagrange Multipliers Global vs Local

    http://www.geocities.com/asdfasdf23135/advcal29.JPG I am wondering whether the above statement is true. "A necessary condition for the constrained optimization problem to have a GLOBAL min or max is that..." Should the word local replace global? I am confused about the method of...
Back
Top