Is My Calculus of Variations Approach Correct?

Click For Summary

Discussion Overview

The discussion revolves around the application of the Calculus of Variations to derive the minimum path connecting two points, specifically focusing on the integral formulation and the derivation of the Euler-Lagrange equation. Participants explore the mathematical steps involved and clarify notation and dependencies in the context of perturbations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant outlines the process of minimizing the integral for the path length between two points, introducing a perturbation to the curve.
  • Another participant emphasizes the importance of boundary conditions, specifically that the perturbation function must vanish at the endpoints.
  • Concerns are raised regarding a specific notation in a referenced text, questioning the dependence of the function on a parameter used in the derivation.
  • Some participants assert that the notation in the referenced derivation is misleading, suggesting it may be a typo and clarifying the differentiation process involved.
  • There is a discussion about the correct interpretation of partial derivatives in the context of the composite function and the application of the chain rule.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the notation and the interpretation of the differentiation process. There is no consensus on whether the original notation in the referenced text is a mistake or if it is correctly applied.

Contextual Notes

Participants note the potential confusion arising from the notation and the assumptions regarding the dependencies of the variables involved in the differentiation process. The discussion highlights the complexity of the derivation and the importance of clarity in mathematical expressions.

erobz
Gold Member
Messages
4,459
Reaction score
1,846
I would like to use the Calculus of Variations to show the minimum path connecting two points is a straight line, but I wish to do it from scratch without using the pre-packaged general result, because I'm having some trouble following it.

Points are ##(x_1,y_1),(x_2,y_2)##.

And we are to minimize this integral, whre ##y(x)## is the minimum path:

$$ \int_{x_1}^{x_2} ds = \int_{x_1}^{x_2} \sqrt{ 1 + y'(x)^2} dx $$

Then you make a new curve:

$$ Y(x) = y(x) + \beta \eta (x) $$

Differentiate ##Y(x)##:

$$ Y'(x) = y'(x) + \beta \eta '(x) $$

Sub into the integral and expand (dropping the function notation):

$$ I = \int_{x_1}^{x_2} \sqrt{ 1 + Y'(x)^2} dx = \int_{x_1}^{x_2} \sqrt{ 1 + y'^2 + 2 \beta y' \eta '+ \beta^2 \eta ' ^2 } dx $$

This you are supposed to take the derivative w.r.t. ##\beta##

$$ \frac{dI}{d \beta} = \int_{x_1}^{x_2} \frac{d}{d \beta}\left( \sqrt{ 1 + y'^2 + 2 \beta y' \eta '+ \beta^2 \eta ' ^2 } \right) dx $$

Am I doing this correctly to this point?
 
  • Like
Likes   Reactions: vanhees71
Physics news on Phys.org
Do not forget that ##\eta(x_1)=\eta(x_2)=0##.
It seems that deducing the Lagrange equations in general form takes less writing than this masochism
 
Last edited:
  • Haha
Likes   Reactions: bhobba and vanhees71
wrobel said:
Do not forget that ##\eta(x_1)=\eta(x_2)=0##.
It seems that deducing the Lagrange equations in general form takes less writing than this masochism
Agreed, and that's probably why I don't find example worked this way. But Im trying to get to the bottom of something.

My problem is that In Classical Mechanics by Taylor there is a point in the derivation of the Euler-Lagrange Equation that he says:

$$ \frac{\partial f ( y+\alpha \eta, y' + \alpha \eta ', x) }{\partial \alpha} = \eta \frac{\partial f }{ \partial y} + \eta ' \frac{\partial f }{ \partial y'} $$

I can't figure it out! ##y## doesn't depend on ##\alpha##?
 
y does not depend on ##\alpha## yes
 
  • Like
Likes   Reactions: bhobba and vanhees71
wrobel said:
y does not depend on ##\alpha## yes
Then that result is a mistake with notation?
 
what "that"?
y is the fixed trajectory and ##y+\alpha \eta## its perturbation
 
  • Like
Likes   Reactions: vanhees71
wrobel said:
what "that"?
post 3 is taken from Taylor.
 
I do not see a problem with the formula from #3
 
  • Like
Likes   Reactions: bhobba and vanhees71
wrobel said:
I do not see a problem with the formula from #3
we are to be differentiating ##f## with respect to ##\alpha##. ##y## does not depend on ##\alpha##.
 
  • #10
erobz said:
we are to be differentiating f with respect to α. y does not depend on α.
exactly!
 
  • Like
Likes   Reactions: bhobba and vanhees71
  • #11
wrobel said:
exactly!
Then #3 cannot be correct...
 
  • #12
erobz said:
we are to be differentiating ##f## with respect to ##\alpha##. ##y## does not depend on ##\alpha##.

In this case, \frac{\partial f}{\partial y} means differentiation of f with respect to its first argument, and \frac{\partial f}{\partial y'} means differentiation of f with respect to its second argument, in both cases with the other argument held constant.

You are differentiating not f, but the composite function g(y,y&#039;,\alpha) = f(y + \alpha \eta, y&#039; + \alpha \eta&#039;) with respect to \alpha; by the chain rule this is then \frac{\partial g}{\partial \alpha} = <br /> \frac{\partial f}{\partial y} \frac{\partial (y + \alpha \eta)}{\partial \alpha} + \frac{\partial f}{\partial y&#039;} \frac{\partial (y&#039; + \alpha \eta&#039;)}{\partial \alpha}.
 
  • Like
Likes   Reactions: bhobba, vanhees71 and wrobel
  • #13
pasmith said:
In this case, \frac{\partial f}{\partial y} means differentiation of f with respect to its first argument, and \frac{\partial f}{\partial y&#039;} means differentiation of f with respect to its second argument, in both cases with the other argument held constant.

You are differntiating the composite function f(y + \alpha \eta, y&#039; + \alpha \eta&#039;) with respect to \alpha; by the chain rule this is then <br /> \frac{\partial f}{\partial y} \frac{\partial (y + \alpha \eta)}{\partial \alpha} + \frac{\partial f}{\partial y&#039;} \frac{\partial (y&#039; + \alpha \eta&#039;)}{\partial \alpha}.
The argument being ##y + \alpha \eta ##.

So it is a typo. He defines ## Y(x) = y(x) + \alpha \eta ## earlier, and what they really meant to say is:

$$ \frac{ \partial f ( Y,Y',x) }{\partial \alpha} = \eta \frac{\partial f }{ \partial Y} + \eta ' \frac{\partial f }{ \partial Y'}$$

?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K