Solve Lagrangian Question: Help Appreciated

  • Thread starter Thread starter Nemesis567
  • Start date Start date
  • Tags Tags
    Lagrangian
Click For Summary
SUMMARY

The discussion focuses on deriving the Lagrangian for a system consisting of a box and a pendulum, which has two degrees of freedom: lateral movement (x) and angular displacement (\theta). The kinetic energy of the box is expressed as Tbox = (1/2)M˙x2, while the pendulum's kinetic energy incorporates both its linear and angular motion, resulting in Tpend = (1/2)m(˙x2 + a2˙θ2 + 2a˙x˙θcosθ). The potential energy combines contributions from springs and gravity, leading to the final Lagrangian: L = (1/2)M˙x2 + (1/2)m(˙x2 + a2˙θ2 + 2a˙x˙θcosθ) - kx2 + mga cosθ.

PREREQUISITES
  • Understanding of classical mechanics principles
  • Familiarity with Lagrangian mechanics
  • Knowledge of kinetic and potential energy formulations
  • Basic proficiency in calculus for differentiation
NEXT STEPS
  • Study Lagrangian mechanics in detail, focusing on systems with multiple degrees of freedom
  • Explore the application of Hooke's law in mechanical systems
  • Learn about the derivation of equations of motion from the Lagrangian
  • Investigate the role of gravitational potential energy in dynamic systems
USEFUL FOR

Students in classical mechanics, educators teaching Lagrangian dynamics, and anyone preparing for exams in physics or engineering disciplines.

Nemesis567
Messages
1
Reaction score
0
I was given this question in preparation for my final exam in my classical mechanics class. The question is to find the of this system, which has me kind of stumped.

Painintheass.jpg


Any and all help will be appreciated.
 
Physics news on Phys.org
First, notice that there are only two degrees of freedom: 1. The box can move side-to-side ([itex]x[/itex]), and 2. the pendulum can swing about ([itex]\theta[/itex]).

So let us first consider the kinetic energy of the system. The kinetic energy of the box can trivially be written as

[tex]T_\text{box}=\frac{1}{2}M\dot{x}^2.[/tex]​

The kinetic energy of the pendulum is not quite so trivial. We must first write its general position in terms of the cartesian coordinates and then differentiate them with respect to time to yield its velocity.

After a little inspection you should be able to convince yourself that the x and y-coordinates of the pendulum at some general time is given by

[tex]X=x+a\sin\theta[/tex]
[tex]Y=a\cos\theta.[/tex]​

A time differentiation yields

[tex]\dot{X}=\dot{x}+a\dot\theta\cos\theta[/tex]
[tex]\dot{Y}=-a\dot\theta\sin\theta.[/tex]​

We can square each component to find the velocity-square of the pendulum:

[tex]\dot{X}^2=\dot{x}^2+a^2\dot\theta^2\cos^2\theta+2a\dot{x}\dot\theta\cos\theta[/tex]
[tex]\dot{Y}^2=a^2\dot\theta^2\sin^2\theta.[/tex]

[tex]v^2=\dot{X}^2+\dot{Y}^2=\dot{x}^2+a^2\dot\theta^2+2a\dot{x}\dot\theta\cos\theta[/tex]​

Therefore, we can write the kinetic energy of the pendulum as

[tex]T_\text{pend}=\frac{1}{2}m\left(\dot{x}^2+a^2\dot\theta^2+2a\dot{x}\dot\theta\cos\theta\right).[/tex]​

Now, let's consider the potential energy of the system. Turn your attention to the springs. If we assume that the spings are streched far beyond their natural lengths, we can ignore it. So we can use Hooke's law to write the potential energies of the two springs:

[tex]U_\text{springs}=\frac{1}{2}kx^2+\frac{1}{2}k(-x)^2=kx^2[/tex]​

Finally, we can write the gravitational potential energy of the system. If we define our reference height to be level with the springs, the gravitational potential energy of the box is 0. However, the gravitational potential energy of the pendulum is

[tex]U_\text{grav}=mg(\text{height})=-mga\cos\theta.[/tex]​

After combining the appropriate energies derived above, we arrive at the Lagrangian of the system:

[tex]L=T-U=\frac{1}{2}M\dot{x}^2+\frac{1}{2}m\left(\dot{x}^2+a^2\dot\theta^2+2a\dot{x}\dot\theta\cos\theta\right)-kx^2+mga\cos\theta[/tex]​
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K