Physics Help Forum Lagrangian?
 User Name Remember Me? Password

 Advanced Mechanics Advanced Mechanics Physics Help Forum

 Feb 18th 2019, 12:09 AM #1 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 550 Lagrangian? This is just a made up problem of a fake trajectory to help me understanding the Lagrangian I am trying to compute the action of this graph if m = 1 then I assume that the Lagrangian is the integral of T-V = 1 - 0.5t^2 for 0 <= t < 1 and T = 1.5 - (.5 - 0.5t^2) for 1 < t <= 2. This is assuming that T is the slope of the line squared and that V is mx and I'm basically absorbing g into the units for x as V is traditonally = mgh. Does this look like I am approaching this in the right way? I am probably getting myself confused here as I am really not sure how to integrate this. __________________ Burn those raisin muffins. Burn 'em all I say.
Feb 19th 2019, 02:36 PM   #2
Physics Team

Join Date: Apr 2009
Location: Boston's North Shore
Posts: 1,576
 Originally Posted by kiwiheretic I am trying to compute the action of this graph if m = 1 then I assume that the Lagrangian is the integral of T-V ...
No. The Lagrangian, L, is T - V, not the integral of it. Where did you get the notion it was the integral of T - V?

 Feb 19th 2019, 03:12 PM #3 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 550 I probably used a wrong word. I meant the action. In Taylors book chapter 7 equation 7.8 $\large S = \int_{t_1}^{t^2} \mathcal{L} dt$ I really just made up a simple example to see if I could calculate the action to see if I was understanding it correctly. The basic idea is that I compute T-V for all points $t_1 < t < t_2$ (or at least a sampling of them). If x = f(t) and $v = \dot{x}$ then given that $T = \frac{1}{2} m v^2$ then this should just be the slope of the line on the x-t graph at that point squared. V is of course the potential defined at every point x. However I am noticing some peculiarities, namely that x=0 is a solution and therefore it's going to be interesting finding a stationary functional that's not that. I'm currently working on a Jupyter notebook to see. __________________ Burn those raisin muffins. Burn 'em all I say. Last edited by kiwiheretic; Feb 19th 2019 at 03:13 PM. Reason: forgot V
 Feb 19th 2019, 07:10 PM #4 Senior Member   Join Date: Nov 2013 Location: New Zealand Posts: 550 Ok, here is my full working using Jupyter Notebook https://gist.github.com/kiwiheretic/...035afd80800c96 __________________ Burn those raisin muffins. Burn 'em all I say.

 Tags lagrangian

 Thread Tools Display Modes Linear Mode

 Similar Physics Forum Discussions Thread Thread Starter Forum Replies Last Post kiwiheretic Advanced Mechanics 1 Feb 5th 2019 10:34 PM kiwiheretic Advanced Mechanics 9 Aug 9th 2017 06:43 AM kiwiheretic General Physics 4 Aug 2nd 2017 04:58 PM durrrr Advanced Mechanics 0 Apr 16th 2015 05:12 PM Black Advanced Mechanics 0 Oct 18th 2012 08:41 AM