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

by Esran
Tags: calculus, distance, geodesics, variations
 P: 71 1. The problem statement, all variables and given/known data Show that the shortest distance between two points in three dimensional space is a straight line. 2. Relevant equations Principally, the Euler Lagrange equation. 3. 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?
 HW Helper P: 2,156 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?
 P: 71 Ah, never mind. I got it.
P: 176

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

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?
 P: 3,015 Minimize the functional: $$L[x(t), y(t), z(t)] = \int_{t_{0}}^{t_{1}}{\sqrt{\dot{x}^{2} + \dot{y}^{2} + \dot{z}^{2}} \, dt}$$ What are the Euler equations for each of the functions $x(t), y(t), z(t)$?
 P: 176 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 dont think I got it right.
P: 3,015
 Quote by hhhmortal 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.

 Related Discussions Differential Geometry 5 Advanced Physics Homework 8 Precalculus Mathematics Homework 3 Calculus 4 Calculus 1