2

I just learned some basics principles in Lagrangian mechanics and theres this equation

$$\frac{d}{dt}\left(\frac{dL}{d(\frac{dx}{dt})}\right)=\frac{dl}{dx}$$ where $l$ is kinetic energy-potential energy and therefore is a function of $x$ and $t$.

What I don't get is how you solve and simplify the $\frac{d}{d(\frac{dx}{dt})}$ part because it has a derivative at the bottom instead of a variable. When doing some expamples for the lagrangian equation I came across some examples that said that $\frac{d{x}}{d(\frac{dx}{dt})}=0$. Shouldn't that equal to $0$ only if $x$ is independant of$\frac{dx}{dt}$? I feel like I'm missing something significant here... so any help would be much appreciated. Thanks in advance

emacs drives me nuts
  • 10,390
  • 2
  • 12
  • 31
  • 5
    Unfortunately, you're taking the notation too seriously (not your fault though). The question of 'independence' of the position and velocity has been asked several times, e.g. see here. The point is $L$ is a function of several variables; you must calculate the partal derivatives first, and only afterwards evaluate along the curve $t\mapsto (x(t),\dot{x}(t))$. – peek-a-boo Jun 21 '22 at 05:16
  • @peek-a-boo thanx a lot but one more question- why do these equations take in x(t} and derivative of x(t) as two seperate variables when one could be found using the other?...doesn't that just make the problem more complex? – alienare 4422 Jun 21 '22 at 05:58
  • 1
    You're right, given $x(t)$, you can calculate $\dot{x}(t)$. What in my previous comment gave you the impression that I meant anything otherwise? These are NOT independent quantities. – peek-a-boo Jun 21 '22 at 06:29

1 Answers1

4

The Lagrangian is just a function of two variables (or more depending on how general you want to be). For example, $L:\Bbb{R}^2\to\Bbb{R}$, defined as say $L(\xi,\eta)=\frac{m}{2}\eta^2-\frac{k}{2}\xi^2$, where $m,k>0$ are given constants. Then, we have $\frac{\partial L}{\partial \xi}\bigg|_{(\xi,\eta)}=-k\xi$ and $\frac{\partial L}{\partial \eta}\bigg|_{(\xi,\eta)}=m\eta$. Hopefully this is all clear so far. A-priori, the function $L$ is just that: a function. It has a domain, it has a target space, and it has a rule.

In physics, the significance of $L$ is that if you choose it appropriately, then it encodes the dynamics (equations of motion) of the system, via the Euler-Lagrange equations. So, the goal is to find a curve $x:\Bbb{R}\to\Bbb{R}$ (the target space might be $\Bbb{R}^n$ if you consider more complex situations) such that for all $t\in \Bbb{R}$, we have \begin{align} \frac{d}{dt}\left(\frac{\partial L}{\partial \eta}\bigg|_{(x(t),\dot{x}(t))}\right)&=\frac{\partial L}{\partial \xi}\bigg|_{(x(t),\dot{x}(t))}.\tag{$*$} \end{align} In our specific case, by the previous computations, this simplifies to \begin{align} \frac{d}{dt}\bigg(m\dot{x}(t)\bigg)&=-kx(t), \end{align} or equivalently, $m\ddot{x}(t)=-kx(t)$ for all $t\in\Bbb{R}$. So, we are given $L:\Bbb{R}^2\to\Bbb{R}$, and our goal is to find a curve $x:\Bbb{R}\to\Bbb{R}$ which satisfies the ELE $(*)$. In this specific example, this is the equation of motion for a point particle of mass $m$ under the influence of an ideal spring (i.e obeying Hooke's law) with spring constant $k$. Once again: given $L$, we create a differential equation, and we try to find $x:\Bbb{R}\to\Bbb{R}$ which solve the ODE (given appropriate boundary conditions of course).


In usual physics treatments, you'll see this written as $L(x,\dot{x})=\frac{m}{2}\dot{x}^2-\frac{k}{2}x^2$, and the ELE written as \begin{align} \frac{d}{dt}\left(\frac{\partial L}{\partial\dot{x}}\right)&=\frac{\partial L}{\partial x}, \end{align} where they say to treat $x$ and $\dot{x}$ as independent, and then obtain $m\ddot{x}=-kx$ as the ODE. Well, this is just them being sloppy with notation and lazy to explain things fully. This becomes infinitely clearer if you just think of $L$ as a function of two variables $(\xi,\eta)$ (or call the inputs whatever you like; e.g $(u,v)$ or $(\alpha,\beta)$ or $(a,b)$... math doesn't care about your favorite letters). It is only AFTER you calculate the partial derivatives that you plug in $x(t),\dot{x}(t)$. This is how we get the ODE (as in the first half of the answer).

peek-a-boo
  • 55,725
  • 2
  • 45
  • 89