Lagrangian equations with other kinds of constraints

Click For Summary
SUMMARY

This discussion focuses on the application of Lagrangian mechanics to constraints expressed as functions versus those that are not. The Lagrangian is defined as L = T - V + λF, where F(x) = 0 represents the constraint. The user explores the challenge of incorporating constraints like reaching a specific point (Xp, Yp) or passing through a gate defined by YL and YH into the Lagrangian framework. The conversation highlights the limitations of using Lagrange multipliers for non-holonomic constraints and suggests that these may be better treated as boundary conditions rather than traditional constraints.

PREREQUISITES
  • Understanding of Lagrangian mechanics and the formulation L = T - V + λF.
  • Familiarity with constraints in physics, particularly holonomic and non-holonomic constraints.
  • Knowledge of variational mechanics and its applications in dynamics.
  • Basic grasp of projectile motion and Newtonian mechanics.
NEXT STEPS
  • Research the differences between holonomic and non-holonomic constraints in Lagrangian dynamics.
  • Study the implications of boundary conditions in variational mechanics.
  • Explore numerical methods for constrained optimization as discussed in "Constrained Optimization and Lagrange Multiplier Methods" by Dimitri P. Bertsekas.
  • Investigate alternative formulations of Lagrangian mechanics that accommodate non-holonomic constraints.
USEFUL FOR

This discussion is beneficial for physicists, engineers, and students studying dynamics, particularly those interested in advanced applications of Lagrangian mechanics and constraint handling in motion analysis.

DEvens
Homework Helper
Education Advisor
Gold Member
Messages
1,227
Reaction score
487
Homework Statement
How can we express a Lagrangian for a system with a constraint that is not expressed as F(x) = 0?
Relevant Equations
N/A
When a constraint is expressed as F(x)=0, I am quite comfortable in putting such constraints into the Lagrangian. Just add the function with an undetermined multiplier, then treat the multiplier as an additional coordinate, and proceed as before.

##L = T - V + \lambda F ##

For example, you can do motion on a surface by taking the F to be a function that defines the surface. A sphere, for example, could have this.

## F(x,y) = x^2 + y^2 - R^2 = 0 ##

This is a very usual thing for studying Lagrangian dynamics, and most people study some such problem when they study Lagrangians. Not bothered about that.

I have been trying to figure out how to do something along these lines for constraints that are not expressed as some function. For example, suppose I am considering a simple ballistics problem, launching a projectile and calculating its path under gravity. The Lagrangian is just the following.

##L = \frac{1}{2} m V_x^2 + \frac{1}{2} m V_y^2 - g y ##

And the Lagrange equations are just the usual Newtonian things. ##V_x## is constant, and ##\frac{d V_y}{dt} = -g##.

Now suppose the constraint that I have is that the particle should reach a particular location. Say (Xp,Yp) as the spot the particle should pass through. I am having a very hard time expressing this in a way I could add to the Lagrangian with a multiplier. Or suppose that the constraint is that, at distance Xp, the particle must pass through a gate extending from YL to YH. This also is resisting my attempts to express it as a function that could be added to the Lagrangian with a multiplier.

I can certainly solve the equations in terms of general initial values, then solve for the required initial values to get the required end point. Or the required range of end-point values. But that is not what I am trying to do. I am trying to set things up so that there is a modified Lagrangian which has Lagrange equations that include a constraint. And the resultant set of equations have as their solution that the particle goes where it is supposed to.

I have a book: "Constrained Optimization and Lagrange Multiplier Methods" by Dimitri P. Bertsekas. It's good for numerically solving constrained systems, including inequality type problems But it does not set things up the way I would hope. Rather it casts things in a way they can be solved numerically.

Any tiny clues appreciated. Is this even possible?
 
Physics news on Phys.org
Hmmm.. I think you are talking of involvement of non-holonomic constraint in Lagrange formulation. Not all non-holonomic constraint can be incoroporated in Lagrangian(cf. Goldstein).
 
  • Like
Likes   Reactions: DEvens
I'm just guessing but I don't think you can use Lagrangian multipliers. Thinking about their physical interpretation: they kind of represent the work done by the constraints to keep the object "on the right path". Here you don't have constraints you are just asking for a particular condition more like a boundary condition (i.e. the object has to be at point x,y).

DEvens said:
the particle must pass through a gate extending from YL to YH.
Maybe you can "break" the problem in two part:
1) get to the gate
2) get through the gate
But it is not what you are looking for

Again, I know very little about variational mechanics so I'm just speculating. I just wanted to share my thoughts :)
 

Similar threads

Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
9K