Using Lagrange Multipliers to Maximize a Quantity Under Constraint

Click For Summary

Homework Help Overview

The discussion revolves around the application of Lagrange multipliers in maximizing or minimizing quantities under constraints, particularly in the context of mechanics and variational principles. Participants are exploring how these multipliers are utilized differently than traditionally expected, especially in relation to the Lagrangian function.

Discussion Character

  • Conceptual clarification, Assumption checking, Exploratory

Approaches and Questions Raised

  • Participants are questioning the differences in the application of Lagrange multipliers as presented in their mechanics book compared to standard usage. They discuss the relationship between the gradients of functions and constraints, and how these relate to maximizing or minimizing an integral of the Lagrangian.

Discussion Status

There is an ongoing exploration of how Lagrange multipliers are applied in the context of variational principles. Some participants have provided insights into the transition from the action integral to the Euler-Lagrange equation, while others are seeking clarification on the specific roles of functions and constraints in this framework. The discussion is productive, with participants building on each other's contributions.

Contextual Notes

Participants are grappling with the implications of using Lagrange multipliers in a discrete approximation of a continuous problem, and how this affects the formulation of constraints and the resulting Lagrangian. There is an acknowledgment of the complexity involved in rigorously justifying these approaches.

aaaa202
Messages
1,144
Reaction score
2
Normally lagrange multipliers are used in the following sense.

Suppose we are given a function f(x,y.z..,) and the constraint g(x,y,z,...,) = c
Define a lagrange function:
L = f - λ(g-c)

And find the partial derivatives with respect to all variables and λ. This gives you the extrema since for an extrema ∇f = λ∇g

However, I find that in my mechanics book this is used differently. I have attached a picture of the place where lagrange multipliers are used. I don't see how they in this case are used to maximize a quantity (which should be L) under a constraint like the above. Can anyone show me how they are and which gradients are to be parallel?
 

Attachments

  • lmultipliers.png
    lmultipliers.png
    77.1 KB · Views: 569
Physics news on Phys.org
I'm not sure if I understand; how are they used differently? You have a set of constraints f_\alpha(\mathbf{q},\dot{\mathbf{q}},t) = 0 and then you just write L = L + \sum_\alpha \lambda_\alpha f_\alpha
 
maybe I just don't see it. But my point is that you usually want to make the gradients of f and g=y parallel. How is that done in the example? There are no gradients being taken...
 
Aah sorry, I somehow missed the whole point of your question :) They are not maximizing L. They are minimizing (or maximizing) the integral of L. This is entirely different.

So do you understand how you get from S = \int dt L by varying the action to
\delta S = \int dt \left( \frac{\partial L}{\partial q} - \frac{d}{dt}\frac{\partial L}{\partial \dot{q}} \right) \delta q = 0 \rightarrow \frac{\partial L}{\partial q} - \frac{d}{dt}\frac{\partial L}{\partial \dot{q}} = 0?
 
Yes, I know that the above implies the Euler-lagrange equation.
So they want to make the lagrangian stationary. Normally if the qi's are independent you that leads to n independent lagrange equations. But now they are instead using lagrange multipliers. But how exactly are they used? In analogy to my original example, what is f and what is g and how does the above correspond to the problem of making the gradient of f and g parallel. Maybe it is completely obvious, but I can't quite see it.
 
aaaa202 said:
Yes, I know that the above implies the Euler-lagrange equation.
So they want to make the lagrangian stationary. Normally if the qi's are independent you that leads to n independent lagrange equations. But now they are instead using lagrange multipliers. But how exactly are they used? In analogy to my original example, what is f and what is g and how does the above correspond to the problem of making the gradient of f and g parallel. Maybe it is completely obvious, but I can't quite see it.

Imagine that you approximate the integral by a finite sum of a large number of terms (which we actually do in numerical work), and you replace the continuum of constraints ##f(q,\dot{q},t) = 0## by a large number of constraints ##f(q_i,v_i ,t_i) = 0, \; i=1,2, \ldots, N.## Here, the ##q_i## are you estimate of ##q(t_i)## and the ##v_i## are your estimate of ##\dot{q}(t_i).## (Again, this is often how such problems ARE dealt with using numerical methods---we replace a continuous problem by a disctete problem involving a large number of small time steps.) Now your solution to
\min \int_a^b L(q,\dot{q},t)\, dt, \: \text{ subject to } f(q,\dot{q},t) = 0 \text{ for all } t \in [a,b] would be replaced by that of the problem
\min \sum_{i=1}^N \Delta t_i f(q_i,v_i,t_i),\\<br /> \text{subject to}\\<br /> v_i = (q_i - q_{i-1})/ \Delta_i \;(\text{ or } v_i = (q_{i+1} - q_i)/ \Delta_i), i=1, \ldots N\\<br /> f(q_i,v_i ,t_i) = 0, \; i=1, \ldots, N.<br />
Now, of course, you would have a Lagrange multiplier ##\lambda_i## for each of the f = 0 constraints, so your Lagrangian would contain
\sum_{i=1}^N \lambda_i f(q_i,v_i,t_i).
and this would go over into an integral in the limit of infinite N.

Well, that is the intuition, anyway; rigorous justification is another matter.

RGV
 
Thanks, just the type of argument I was looking for.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
Replies
10
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K