Calculus of Variation - Classical Mechanics

AI Thread Summary
The discussion centers on the confusion surrounding the calculus of variations as presented in Taylor's "Classical Mechanics." Key points include the integration of a function of three variables, where the correct path is denoted by y(x) and the incorrect path by Y(x). The introduction of the variable α is questioned, specifically its role in determining the correct path and how it relates to the Euler-Lagrange equations. Participants share links to alternative resources that clarify these concepts better than Taylor's text, emphasizing the complexity of the derivation process. Overall, the conversation highlights the challenges of understanding the calculus of variations in the context of classical mechanics.
Astrum
Messages
269
Reaction score
5
I'm reading Classical Mechanics (Taylor), and the 6th chapter is a basic introduction to calculus of variations. I'm super confused :confused:

I've tried to go to other sources for an explanation, but they just make it even worse!

So, let me see if I can get some help here.

\int^{x_{2}}_{x_{1}} f(y(x), y'(x), x)dx - the integration of a function of three variables. y(x) is an as yet unknown curve. I understand that although f(y, y', x) is a function of three variables, it is only dependent on one variable, x. (where do these come from, exactly?)

Taylor then defines Y(x) = y(x) + η(x) is the WRONG path, where y(x) is the correct one. η is the variation of Y(x) from y(x). - why do we need to introduce the INCORRECT path?

Next, he introduces α into Y(x) = y(x) + αη(x). If we set α = 0, we will have Y(x) = y(x) - why do we need α?

Our integral now becomes: \int^{x_{2}}_{x_{1}} f(y(x) + αη(x), y'(x) + αη'(x), x)dx - we're assuming that α is equal to 0? I'm not sure I 100% understand this step.

We need to check that \frac{dS}{d\alpha} = 0- is this to check that α is a constant? or used as a way of making sure α = 0?

Take partial derivative: \frac{\partial f ((y(x) + αη(x), y'(x) + αη '(x), x)}{\partial \alpha}= \eta \frac{\partial f}{\partial \alpha}+ \eta ' \frac{\partial f}{\partial y'} - because of the chain rule \frac{dS}{dα}=\int^{x_{2}}_{x_{1}}\frac{\partial f}{\partial α}dx = 0 -

Next he works some voodoo magic by using integration by parts on the integral. I haven't worked this step out myself, but I assume it's straight forward.

So, in the end, we get: \frac{\partial f}{\partial y}-\frac{d}{dx}\frac{\partial f}{\partial y'}= 0

So, I'm pretty lost. I think it would help if I understood the idea of what we're really doing here. This is essential arc length along the shortest curve, but all the additional variables and what not are confusing the hell out of me.

Sorry for the long post, but any help is much appreciated. I'm so desperate, I'm offering a reward of one (1) virtual cookie to the first helpful post.

NB - I put this in the Classical Physics section, because I'm more concerned with how this is used in mechanics right now. Although I'm interested, in what course is Calculus of Variation taught in at a rigorous level?
 
Physics news on Phys.org
What part of Taylor is this exactly? Is it related to a problem? Or is it the derivation of the Euler-Lagrange equations? If it is the latter then I must say it is one of the most convoluted ways of deriving the equations I've ever seen; the standard method of taking a first variation is a lot more intuitive and straightforward.
 
  • Like
Likes 1 person
jedishrfu said:
This writeup on the Brachistochrone problem may help:

http://www.hep.caltech.edu/~fcp/math/variationalCalculus/variationalCalculus.pdf

Thanks, checking it out now.


WannabeNewton said:
What part of Taylor is this exactly? Is it related to a problem? Or is it the derivation of the Euler-Lagrange equations? If it is the latter then I must say it is one of the most convoluted ways of deriving the equations I've ever seen; the standard method of taking a first variation is a lot more intuitive and straightforward.

This is the derivation of the Euler-Lagrange equations. I'm über confused about it.

Starts on page 218

Here's your virtual cookie, by the way
 
Last edited by a moderator:
See here instead: http://www.colorado.edu/engineering/CAS/courses.d/ASEN5022.d/Derivation%20of%20%20E-L%20Equation.pdf
 
  • Like
Likes 1 person
I'm looking into the link first posted. I'm befuddled by line 3 on page 4. But other than that, It it explained it much better than in Taylor's book.

Although I'm still confused by why the function is f(y,y', x). y = this is the curve, of which the constraints are on. y' is the rate of change of this curve, and x is what all of this is dependent on.

\int^{x_{2}}_{x_{1}} f(y(x), y'(x), x)dx this gives us the length of the shortest path? What exactly is f(y,y', x)?
 
WannabeNewton said:
See here instead: http://www.colorado.edu/engineering/CAS/courses.d/ASEN5022.d/Derivation%20of%20%20E-L%20Equation.pdf

That looks like a really good link too.
 
Astrum said:
Thanks, checking it out now.




This is the derivation of the Euler-Lagrange equations. I'm über confused about it.

Starts on page 218

Here's your virtual cookie, by the way

Oh nooo! WannaBeNewton's going to get to the cookie first. Are there seconds?
 
Last edited by a moderator:
jedishrfu said:
That looks like a really good link too.
Apologies if you thought I meant to take a look at my link as opposed to yours. I meant to take a look at my link as opposed to the explanation in Taylor's text, which I found to be atrocious.
 
  • Like
Likes 1 person
  • #10
WannabeNewton said:
Apologies if you thought I meant to take a look at my link as opposed to yours. I meant to take a look at my link as opposed to the explanation in Taylor's text, which I found to be atrocious.

No apology needed. Can we split the cookie? I liked your link too. It was more to the point.
 
  • #11
Astrum said:
What exactly is f(y,y', x)?
It is a ##C^{1}## real valued function of ##y(x)##, ##y'(x)## and ##x##. It can be various things depending on what problem you are working on. For example, it could be the arc-length ##f(y,y',x) = \sqrt{1 + y'^{2}}## of a curve ##y(x)## or, more pertinent to mechanics, the Lagrangian ##L(q(t),\dot{q}(t),t) = \frac{1}{2}m\dot{q}^{2} - U## of a particle of mass ##m## and trajectory ##q(t)## interacting with a potential ##U##.
 
  • Like
Likes 1 person
  • #12
jedishrfu said:
No apology needed. Can we split the cookie? I liked your link too. It was more to the point.
I'd rather you take the whole thing because I'm eating chips ahoy as we speak xDD :-p
 
  • Like
Likes 1 person
  • #13
WannabeNewton said:
I'd rather you take the whole thing because I'm eating chips ahoy as we speak xDD :-p

Okay, thanks. I just finished my peanut butter sandwich (midnight snack).
 
  • #14
Many thanks for those links, they really cleared things up for me!

As for cookies, have some chemistry cookies:
partyperfect_science%2Bparty.jpg


I need to go and work some problems out, if I have any other questions, I'll be sure to post.
 
  • #15
Chemistry cookies? I feel cheated :[
 
  • Like
Likes 1 person
  • #16
WannabeNewton said:
Chemistry cookies? I feel cheated :[

http://www.math.umn.edu/~olver/am_/cvz.pdf this link is what I tried to use originally, was kinda confusing.

Alright alright. Have some Einstein chocolate
5754428326_0631d7f69d_z.jpg


Never happy!

So, what kinda of class is this taught in, anyway? In a rigorous mathy style
 
  • #17
In a class called calculus of variations, believe it or not lol.
 
  • Like
Likes 1 person
Back
Top