Solving a Lagrangian using an Ansatz

  • Context: Graduate 
  • Thread starter Thread starter bantalon
  • Start date Start date
  • Tags Tags
    Lagrangian
Click For Summary
SUMMARY

This discussion focuses on solving a Lagrangian using an ansatz, specifically the Lagrangian L = (1/2)dot{x}^2 - gx. The Euler-Lagrange equation yields the expected result of x = -(1/2)gt^2. However, when substituting the ansatz x = αt^2 into the Lagrangian, the derived value of α = g/4 contradicts the expected α = -g. The issue arises from imposing a constraint rather than using a general function for α, which alters the problem and leads to a different minimum in the solution.

PREREQUISITES
  • Understanding of Lagrangian mechanics
  • Familiarity with the Euler-Lagrange equation
  • Knowledge of variational principles in physics
  • Concept of Lagrange multipliers
NEXT STEPS
  • Study the application of the Euler-Lagrange equation in various contexts
  • Explore the concept of Lagrange multipliers in constrained optimization
  • Investigate the implications of using different ansatz forms in Lagrangian mechanics
  • Learn about variational methods and their applications in physics
USEFUL FOR

Physicists, graduate students in theoretical mechanics, and anyone interested in advanced topics in Lagrangian dynamics.

bantalon
Messages
3
Reaction score
0
We were working on some Lagrangian and trying to solve it using an ansatz. Due to some problems in the results we got, we started to doubt the correctness of the method in use. Here is a very simple Lagrangian which shows the problem very easily:
[tex]L=\frac{1}{2}\dot{x}^{2}-gx[/tex]
We took [tex]m=1[/tex] for the mere sake of simplicity. Solving this using the Euler-Lagrange equation gives [tex]\ddot{x}=-g[/tex] as expected, and finally (taking initial values to zero):
[tex]x=-\frac{1}{2}gt^2[/tex]
So far so good. Now, let's assume the following ansatz on the form of the solution:
[tex]x=\alpha{t}^{2}[/tex].
Where alpha is a constant. Now the fun begins. We wish to put the ansatz for x into the Lagrangian, vary it by alpha this time, and get the solution:
[tex]\alpha=-g[/tex]
We believe this should work since this ansatz suits the solution we got for x. Putting the ansatz into the Lagrangian we get:
[tex]L=2\alpha^{2}t^{2}-g\alpha{t}^{2}[/tex]
Varying by alpha, we get the equation:
[tex]4\alpha{t}^{2}-gt^2=0[/tex]
And finally:
[tex]\alpha=\frac{g}{4}[/tex]
not quite as expected.
Needless to mention, if we allow alpha to be a general function of [tex]t[/tex] instead of simply a constant, everything works seamlessly.
We would appreciate your thoughts regarding why this method does not work in this case. Can you specify the cases in which it should work?
 
Physics news on Phys.org
Setting x = αt2 is imposing a constraint, not just an ansatz. In other words, you're solving a different problem, which has a different minimum. Effectively you're adding a term λ(x-αt2) to the Lagrangian, where λ is a Lagrange multiplier. There will be a constraining force acting on the particle, forcing it to follow a parabolic path, and among this family of paths, α = -g is no longer the minimum.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K