How to use Lagrange approach to solve elastic collision?

AI Thread Summary
The discussion focuses on using Lagrangian and Hamiltonian mechanics to solve a 1-D elastic collision problem. A participant expresses frustration over obtaining only constant velocity solutions and questions whether they missed a constraint, such as colinearity. Another contributor clarifies that the issue lies in discarding one of the valid mathematical solutions rather than a flaw in the mechanics themselves. They suggest formulating a constraint by sharply increasing potential energy when the separation between colliding objects is less than their combined radii. The conversation emphasizes the importance of correctly identifying and retaining all possible solutions in the analysis.
kof9595995
Messages
676
Reaction score
2
I tried to use Lagrangian and Hamiltonian to solve 1-D elastic collision, but I got nothing but constant velocity motion. Is it because I miss some constraint? Such as the motion is colinear or something?But how to write a constraint like colinear?
Or it's not actually solvable with Hamiltonian or Lagrangian?(I think this is a possibility because when I learned Newtonian mechanics we actually didn't solve this with Newton's 3 laws directly, but with conservation laws.)
 
Physics news on Phys.org
There are two solutions to the elastic collision problem. One is constant velocity motion, and the other is the one you are interested in. Look back at your steps and find out where you accidentally threw away the wrong solution.
 
Well,thanks for the reply, but honestly I can't see how it would help. I didn't find anything about Hamilton's or Lagrange's mechanics in the link.
 
The error has nothing to do with Hamiltonian or Lagrangian mechanics, it is just math. You have an equation which has more than one solution (e.g. x² = 4 has the solutions x = 2 and x = -2). You simply threw away the wrong solution. Go back, find where you threw away a solution and keep the one you threw away.
 
Ok, let me clarify my problem:
I used to think to solve a classical system like this, all you need is Lagrangian and some constraints, then you can solve for all the details of the motion.
But in this problem how should I write a constraint?
 
I would do it by making the potential energy increase very sharply for r<R where r is the separation between the two objects and R is the sum of their radii. This will have the effect of modelling the elastic potential energy in the collision. There may be a more advanced way that has some advantage, but that would be how I would approach it.
 
Ok, I'll try, thanks
 
Back
Top