Derivation of first integral Euler-Lagrange equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 14K views
martyg314
Messages
5
Reaction score
0
Derivation of "first integral" Euler-Lagrange equation

Homework Statement



This is from Classical Mechanics by John Taylor, Problem 6.20:

Argue that if it happens that f(y,y',x) does not depend on x then:

EQUATION 1
[tex] \frac{df}{dx}=\frac{\delta f}{\delta y}y'+\frac{\delta f}{\delta y'}y''[/tex]

Use the Euler-Lagrange equation to replace [tex]\frac{\delta f}{\delta y}[/tex] on the RHS and show that:

EQUATION 2
[tex] \frac{df}{dx}=\frac{d}{dx}\left ( y'\frac{\partial f}{\partial y'} \right )[/tex]

This gives you the first integral:

EQUATION 3
[tex] f-y'\frac{\partial f}{\partial y'}=constant[/tex]


Homework Equations



E/L equation:

[tex] \frac{\partial f}{\partial y}=\frac{d}{dx}\frac{\partial f}{\partial y'}[/tex]

The Attempt at a Solution



I used the E/L equation to substitute into EQUATION 1 to get:

[tex] \frac{df}{dx}=\frac{d}{dx}\frac{\partial f}{\partial y'}y'+\frac{\partial f}{\partial y'}y''[/tex]

Then I used the chain rule to get:

EQUATION 4
[tex] \frac{df}{dx}=y'\frac{d}{dx}\frac{\partial f}{\partial y'}+\frac{\partial f}{\partial y'}\frac{d}{dx}y'+\frac{\partial f}{\partial y'}y''[/tex]

Which equals

[tex] \frac{df}{dx}=y'\frac{d}{dx}\frac{\partial f}{\partial y'}+\frac{\partial f}{\partial y'}y''+\frac{\partial f}{\partial y'}y''[/tex]


However, based on solutions I've seen the two y'' terms should cancel, leaving EQUATION 2

The solution I saw showed that after the substitution, EQUATION 4 is instead:

[tex] \frac{df}{dx}=y'\frac{d}{dx}\frac{\partial f}{\partial y'}-\frac{\partial f}{\partial y'}\frac{d}{dx}y'+\frac{\partial f}{\partial y'}y''[/tex]


Is there some chain rule identity of some sort I'm missing? I just don't see where the negative comes from to cancel the two terms.

Thanks,

MG
 
Physics news on Phys.org


martyg314 said:
E/L equation:

[tex] \frac{\partial f}{\partial y}=\frac{d}{dx}\frac{\partial f}{\partial y'}[/tex]

The Attempt at a Solution



I used the E/L equation to substitute into EQUATION 1 to get:

[tex] \frac{df}{dx}=\frac{d}{dx}\frac{\partial f}{\partial y'}y'+\frac{\partial f}{\partial y'}y''[/tex]

You should really write this as

[tex] \frac{df}{dx}=\left(\frac{d}{dx}\frac{\partial f}{\partial y'}\right)y'+\frac{\partial f}{\partial y'}y''~~(*)[/tex]

since you're getting confused about where that derivative acts.

Then I used the chain rule to get:

EQUATION 4
[tex] \frac{df}{dx}=y'\frac{d}{dx}\frac{\partial f}{\partial y'}+\frac{\partial f}{\partial y'}\frac{d}{dx}y'+\frac{\partial f}{\partial y'}y''[/tex]
No, What you want to do is add and subtract

[tex]\frac{d}{dx} \left(\frac{\partial f}{\partial y'} y' \right) = \left(\frac{d}{dx} \frac{\partial f}{\partial y'} \right) y' + \frac{\partial f}{\partial y'} y''[/tex]

from the RHS of (*):

[tex] \frac{df}{dx}=\left(\frac{d}{dx}\frac{\partial f}{\partial y'}\right)y'+\frac{\partial f}{\partial y'}y'' + \frac{d}{dx} \left(\frac{\partial f}{\partial y'} y' \right) - \left(\frac{d}{dx} \frac{\partial f}{\partial y'} \right) y' - \frac{\partial f}{\partial y'} y''[/tex]

and simplify.
 
fzero said:
[tex] \frac{df}{dx}=\left(\frac{d}{dx}\frac{\partial f}{\partial y'}\right)y'+\frac{\partial f}{\partial y'}y'' + \frac{d}{dx} \left(\frac{\partial f}{\partial y'} y' \right) - \left(\frac{d}{dx} \frac{\partial f}{\partial y'} \right) y' - \frac{\partial f}{\partial y'} y''[/tex]

and simplify.

Where did
$$
\frac{d}{dx} \left(\frac{\partial f}{\partial y'} y' \right)
$$
this piece come from?
 
Dustinsfl said:
Where did
$$
\frac{d}{dx} \left(\frac{\partial f}{\partial y'} y' \right)
$$
this piece come from?

We're adding 0 to the equation that I called (*), in the form of the identity for the total derivative of ##\partial f/\partial y'##. The last 3 terms in the equation that you quoted cancel amongst themselves.