Calculus of Variations: Shortest distance between two points in 3D space

Click For Summary
The discussion focuses on demonstrating that the shortest distance between two points in three-dimensional space is a straight line, utilizing the Euler Lagrange equation. The user initially struggles with the distance element in three dimensions, expressed as ds=(dx²+dy²+dz²)^(1/2), and seeks guidance on handling calculus of variations in multiple variables. They identify the functional to minimize as L[x(t), y(t), z(t)] = ∫√(x'² + y'² + z'²) dt and attempt to derive the Euler equations for each coordinate function. After some trial and error, they formulate the Euler equation but express uncertainty about its correctness due to the lack of an equality sign. The conversation highlights the complexities of applying calculus of variations in three dimensions while seeking clarity on the correct approach.
Esran
Messages
73
Reaction score
0

Homework Statement



Show that the shortest distance between two points in three dimensional space is a straight line.

Homework Equations



Principally, the Euler Lagrange equation.

The Attempt at a Solution



I understand how to do this for a plane, but when we move into three dimensions, our distance element is then ds=(dx2+dy2+dz2)(1/2), which throws me off with the added variable. How do I handle calculus of variation problems like this in more than two variables? What will be my functional?
 
Physics news on Phys.org
If I remember correctly, the procedure should be essentially identical whether you're working with two or three (or more) coordinates. What problem specifically did you run into that is caused by the third variable?
 
Ah, never mind. I got it.
 
I came across this question myself. I used the constrained Euler equation and solved for two dependent variables i.e. y and z.

The functional I need to solve is (1 + y'² + z'²)^(1/2)

I can't seem to get the equation for the straight line, what is its form?
 
Minimize the functional:

<br /> L[x(t), y(t), z(t)] = \int_{t_{0}}^{t_{1}}{\sqrt{\dot{x}^{2} + \dot{y}^{2} + \dot{z}^{2}} \, dt}<br />

What are the Euler equations for each of the functions x(t), y(t), z(t)?
 
Aha, I tried this and I got the Euler equation to be:

d/dt [ x' / (x' + y'² + z'²)^(1/2) ] for the function x(t) I also got it for y(t) and z(t) the same way.


I tried differentiating w.r.t 't' for all x, y and z, but I don't think I got it right.
 
hhhmortal said:
Aha, I tried this and I got the Euler equation to be:

d/dt [ x' / (x' + y'² + z'²)^(1/2) ]

Since there is no equality sign, this is not an equation.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
82
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K