Showing that the euler lagrange equations are coordinate independent

AI Thread Summary
The discussion focuses on the derivation of the Euler-Lagrange equations' form invariance under coordinate transformations. It begins with the relationship between derivatives of the Lagrangian in Cartesian coordinates and arbitrary coordinates, emphasizing the use of the chain rule and the product rule. A key point raised is the need to include contributions from both position and velocity derivatives when transforming coordinates. The conversation highlights a mistake in neglecting the second term in the derivative of the Lagrangian, which leads to an incomplete expression. Overall, the importance of careful application of calculus in the context of Lagrangian mechanics is underscored.
demonelite123
Messages
216
Reaction score
0
so i know for example that d/dt (∂L/∂x*i) = ∂L/∂xi for cartesian coordinates, where xi is the ith coordinate in Rn and x*i is the derivative of the ith coordinate xi with respect to time. L represents the lagrangian.

so using an arbitrary change of coordinates, qi = qi(x1, x2, ..., xn)

i have that ∂L/∂x_i = ∂L/∂qi * ∂q_i/∂x_i and that ∂L/∂x*i = ∂L/∂q*i * ∂q*i/∂x*i and substituting i get:

d/dt(∂L/∂q*i * ∂q*i/∂x*i) = ∂L/∂qi * ∂qi/∂xi and using the product rule i get:

d/dt(∂L/∂q*i) * ∂q*i/∂x*i+ ∂L/∂q*i * d/dt(∂q*i/∂x*i) = ∂L/∂qi* ∂qi/∂xi

using the fact that ∂q*i/∂x*i = ∂qi/∂xi,

d/dt(∂L/∂q*i) * ∂qi/∂xi + ∂L/∂q*i * d/dt(∂qi/∂xi) = d/dt(∂L/∂q*i) * ∂qi/∂xi + ∂L/∂q*i * (∂q*i/∂xi) = d/dt(∂L/∂q*i) * ∂qi/∂xi+ ∂L/∂xi = ∂L/∂qi * ∂qi/∂xi.

if i didn't have that ∂L/∂xi on the left side then i could just cancel out the ∂qi/∂xi on both sides and i would be done. have i made a mistake somewhere or am i missing something? thanks.
 
Last edited:
Physics news on Phys.org
Why don't you use the nice LaTeX functionality of this forum? It's really hard to read, what you have written. So I don't want to decipher it.

Here is my derivation of the form invariance of the EL equations under coordinate changes (diffeomorphisms). Let x^j(q) denote the transformation with j \in \{1,\ldots,f \}. Further q=(q^k)_{k \in \{1,\ldots, f\}}.

First of all we need an auxilliary equation for the time derivatives. From the chain rule we have

\dot{x}^j=\frac{\partial x^j}{\partial q^k} \dot{q}^k.

Here and in the following I use Einstein's summation convention, according to which one has to sum over any pair of repeated indices. From this equation we see

\frac{\partial \dot{x}^j}{\partial \dot{q}^k}=\frac{\partial x^j}{\partial q^k}. \quad (1)

Now we have

\frac{\partial L}{\partial q^k}=\frac{\partial L}{\partial x^j} \frac{\partial x_j}{\partial q_k} + \frac{\partial L}{\partial \dot{x}^j} \frac{\partial \dot{x}^j}{\partial q^j} \quad (2)

and

\frac{\partial L}{\partial \dot{q}^k}=\frac{\partial L}{\partial \dot{x}^j} \frac{\partial \dot{x}^j}{\partial \dot{q}^k} \stackrel{(1)}{=}\frac{\partial L}{\partial \dot{x}^j} \frac{\partial x^j}{\partial q^k}.

Taking the time derivative of this, we find

\frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial L}{\partial \dot{q}^k} = \frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial L}{\partial \dot{x}^j} \cdot \frac{\partial x^j}{\partial q^k} + \frac{\partial L}{\partial \dot{x}^j} \frac{\mathrm{d}}{\mathrm{d} t} \left (\frac{\partial x^j}{\partial q^k} \right). \quad (3)

Now we obviously have

\frac{\mathrm{d}}{\mathrm{d} t} \left (\frac{\partial x^j}{\partial q^k} \right) = \frac{\partial \dot{x}^k}{\partial q^k}, \quad (4)

and thus, if the EL equation are valid wrt. the coordinates, x^k they are also valid wrt. to the coordinates, q^j, which can be seen by comparing (2) and (3) and making use of (4) and the EL equation wrt. x^k.
 
demonelite123 said:
i have that ∂L/∂x_i = ∂L/∂qi * ∂q_i/∂x_i

This is one of the mistakes. Instead, write:

\frac{\partial L}{\partial x_i}=\sum_j \frac{\partial L}{\partial q_j}\frac{\partial q_j}{\partial x_i}+\sum_j \frac{\partial L}{\partial \dot{q}_j}\frac{\partial \dot{q}_j}{\partial x_i}

You fergot the second piece. Remember:

q_j=q_j(x_1,\dots,x_n)
\dot{q}_j=\sum_k\frac{\partial q_j}{\partial x_k}\dot{x}_k

so

\frac{\partial\dot{q}_j}{\partial x_i}=\frac{\partial^2 q_j}{\partial x_i\partial x_k}\dot{x}_k
 
Last edited:
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top