My question comes from reading about distances on Wikipedia, and seeing the phrasing Variational formulation of distance. I am not very comfortable with vector notation, so I've rephrased the math slightly (hope it is correct).
Basically, the Euclidean distance between two points on $\mathbb{R}$ $A$ and $B$ can be written in variational form where the distance is the minimum value of an integral:
$$D=\int_0^T\sqrt{\left( \frac{\partial|h^*-h_t|}{\partial t}\right) ^2}dt$$
where $|h^*-h_t|$ is the simple (Euclidian) distance between two points at time $t$. This distance is the minimal value of the integral when $h^*=h_t$.
Questions:
Is my reformulation done correctly?
Why, intuitively, is the above formulation a partial derivative with respect to time?
How would this look if generalised to $\mathbb{R}^n$, still keeping my naïve and space consuming notation?
Is there a simple way to prove that the integral is at its minimum when $h^*=h_t$?
How does this, intuitively, relate to the principle of least action?
This is a crosspost from Math.SE, but I think that the question is closer to physics.