Problem understading lagrange multipliers

Click For Summary

Discussion Overview

The discussion revolves around understanding the concept of Lagrange multipliers, particularly the formulation and justification of the auxiliary function used in the method. Participants explore different perspectives on how to approach the problem of constrained optimization, specifically in the context of minimizing a function subject to constraints.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant expresses confusion about the justification for the auxiliary function introduced in the Lagrange multipliers method, noting a lack of explanation in the referenced Wikipedia article.
  • Another participant provides a simplified explanation of the method, outlining how to incorporate the constraint into the function to be minimized using a Lagrange multiplier.
  • A different perspective is introduced, explaining the geometric interpretation of finding local maxima or minima under constraints, emphasizing the relationship between the gradients of the function and the constraint.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the best way to understand or explain the concept of Lagrange multipliers. Multiple viewpoints and methods are presented, indicating ongoing exploration and discussion.

Contextual Notes

Some assumptions about the understanding of gradients and optimization techniques may not be explicitly stated, and the discussion reflects varying levels of familiarity with the topic.

Narcol2000
Messages
25
Reaction score
0
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 auxiliary function:'
*<insert formula seemingly plucked from random here>*

There doesn't seem to be any explanation or reason why this formula was chosen, and the 'justification' section just repeats what the constraints are, but still doesn't say where the formula comes from...

any ideas?
 
Physics news on Phys.org
The true way is given in many books.
The quick and dirty way:

Thing to minimize: f(x,y)
Constraint equation: g(x,y)=A

We know we need to get the constraint equation into the thing to minimize, so we rearrange it to 0=A-g(x,y). We can always add zero to anything, so the thing to minimize becomes:

Thing to minimize taking constraint into account: f(x,y)+lamda(A-g(x,y))

where lamda is the Lagrange multiplier which you use to enforce the constraint after minimization.
 
Last edited:
Thanks atyy, makes sense.
:)
 
Here's another way of thinking about it. Suppose you wanted to find a local maximum for f(x,y,z). One way to do that is to pick some starting point, find [itexs]\nabla f[/itex] at that point and "follow" that vector a short distance. Because \nabla f points in the direction of fastest increase, that should take you closer to the maximum point (a short distance) because you don't want to overshoot). You can keep doing that as long as \nabla f is not the 0 vector. That shows that a maximum (or minimum) must occur where \nabla f= 0.

Now suppose you are constrained to stay on the surface g(x,y,z)= constant. Now you can't "follow" the vector- it might point off the surface. But you can look at the projection of \nabla f in the surface and get closer to the maximum value by going that way. You can do that until the projection of \nabla f in the surface is 0- which is the same as saying that \nabla f is perpendicular to the surface. Of course, \nabla g is also perpendicular to the surface g(x,y,z)= constant. That means that a maximum (or minimum) will occur where \nabla f and \nabla g are parallel. And that is the same as saying one is a multiple of the other: \nabla f= \lambda\nabla g.
 

Similar threads

Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
12K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K