Skip to main content
1 of 9
Carlo Beenakker
  • 188.2k
  • 18
  • 448
  • 651

Take $x(0)=x_0$ and $x(T)=x_T$. Minimize $$I=\int_0^TL(x,\dot{x})\,dt\;\;\text{with}\;\;L=(\dot{x}+x)^2$$ by solving the Euler-Lagrange equation, $$\frac{\partial L}{d x}=\frac{d}{dt}\frac{\partial L}{\partial \dot{x}}.$$ The solution is $$x(t)=a e^t+be^{-t},\;\;a=\frac{e^T x_T-x_0}{e^{2 T}-1},\;\;b= \frac{e^{2T} x_0-e^T x_T}{e^{2 T}-1}.$$ The resulting integral is $$I=(\coth T-1) \left(x_0-e^T x_T\right)^2.$$ We still need to minimize this by varying $x_0$ and $x_T$ in the interval $[m,M]$, at fixed $T$.

If $me^T<M$ the minimum of zero is reached for $x_0=me^T$, $x_T=m$.

Carlo Beenakker
  • 188.2k
  • 18
  • 448
  • 651