Solving a Lagrangian using an Ansatz

  • Thread starter bantalon
  • Start date
  • Tags
    Lagrangian
In summary, the conversation discusses an attempt to solve a Lagrangian using an ansatz, but with the constraint of a specific form of solution, the method does not work as expected. It is explained that the ansatz imposes a constraint and adds a term to the Lagrangian, resulting in a different minimum and a constraining force acting on the particle. The speaker asks for thoughts on why this method does not work and when it should work.
  • #1
bantalon
3
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
  • #2
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.
 

1. What is a Lagrangian?

A Lagrangian is a mathematical function used in classical mechanics to describe the motion of a system. It takes into account the kinetic and potential energies of the system and can be used to derive the equations of motion.

2. What is an Ansatz?

An Ansatz is a mathematical technique used to simplify a problem by making an educated guess or assumption about the solution. In the context of solving a Lagrangian, an Ansatz is used to make the problem more manageable by reducing the number of variables.

3. How do you solve a Lagrangian using an Ansatz?

To solve a Lagrangian using an Ansatz, you first choose an appropriate Ansatz that simplifies the problem. Then, you use the Euler-Lagrange equations to derive the equations of motion for the system. Finally, you solve these equations to find the solution to the problem.

4. What are some common types of Ansatz used in solving a Lagrangian?

Some common types of Ansatz used in solving a Lagrangian include separation of variables, power series expansion, and perturbation theory. These techniques are chosen based on the specific problem and can greatly simplify the solution process.

5. Why is it important to use an Ansatz when solving a Lagrangian?

Using an Ansatz can greatly simplify the problem and make it more manageable to solve. This allows for a more efficient solution process and can help to reveal important insights into the behavior of the system. Additionally, an Ansatz can help to reduce the complexity of the solution and make it easier to interpret and apply to real-world scenarios.

Similar threads

Replies
6
Views
313
Replies
19
Views
1K
Replies
5
Views
1K
  • Classical Physics
Replies
1
Views
589
Replies
5
Views
731
Replies
2
Views
797
Replies
27
Views
2K
  • Classical Physics
Replies
1
Views
919
  • Classical Physics
Replies
21
Views
2K
Replies
4
Views
1K
Back
Top