- #1
erobz
Gold Member
- 3,860
- 1,657
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?
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?