I have following problem and im struggeling with it.
I need to find be a twice differentiable function $ h:[0,1] \rightarrow \mathbb{R}$ which fullfills the conditions:
- $h(0)=0$ , $h(1)=1$ (the position of the subway train)
- $h'(0)=h'(1)=0$ (the velocity)
- $\vert h''(t)\vert \leq c\in \mathbb{R}^+$
Such that the cost function $U(h):=\int_{0}^{1}(h''(t))^2 dt$ is minimal.(Also: for which c exists a solution at all?) I tried with the Lagrange-Ansatz, but i fail already there, as i am not sure how to express the second condition in the lagrange equation.(since the function is "only" twice differentiable so the i cannot express the first derivative as an integral with the second derivative, can I?), what i got so far:
$\Lambda(h,\lambda_1,\lambda_2)=U(h)+\lambda_1(\int_{0}^1h'(t)dt-1)+ \lambda_2(...)$.
Im glad for every shred of help. Thanks in advance.
The post from Christian Blatter and the methods for finding the catenoid-equation gave some new ideas to tackle the problem:
First:
$$h(1)-h(0)=\int\limits_0^1h'(t)dt=\int\limits_0^1\int\limits_0^t h'(s) ds\ dt = \int\limits_0^1\int\limits_s^1h'(s)dt\ ds=\int\limits_0^1h'(s)(1-s)ds=1$$ Second (Ignoring that $h'(t)$ might not be continously differentiable): $$h'(1)-h'(0)=\int\limits_0^1 h''(t)dt=\int\limits_0^1\int\limits_0^th''(s)ds \ dt=\int\limits_0^1\int\limits_s^1h''(s)dt\ ds=\int\limits_0^1h''(s)(1-s)ds=0$$
Henze our Langrange equation looks like this: $$\Lambda(h'',h',\lambda_1,\lambda_2)=\int\limits_0^1(h''(s))^2ds+\lambda_1(\int\limits_0^1h'(s)(1-s)ds-1)+\lambda_2(\int\limits_0^1h''(s)(1-s)ds)$$ and therefore:
$$\frac{\partial}{\partial s}\frac{\partial \Lambda}{\partial h''}-\frac{\partial \Lambda}{\partial h'}=0 \Leftrightarrow 2 \frac{d^3 h}{ds^3}-\lambda_1-\lambda_2(1-s)=0 \Leftrightarrow \frac{d^3 h}{ds^3}=\frac{1}{2}(\lambda_1+\lambda_2(1-s))$$
Integration gives us:
$$h(x)=\frac{-\lambda_2}{48}x^4+\frac{(\lambda_1-\lambda_2)}{12}x^3+\frac{c_1}{2}x^2+c_2x+c_3; \ c_i\in \mathbb{R}$$
With the initial conditions one gets:
This delivers:
$$h_{\lambda_2}(x)=\frac{-\lambda_2}{48}x^4+\frac{1}{12}x^3(\lambda_2-\frac{1}{2}(48+\lambda_2))+\frac{1}{24}x^2(\frac{3}{2}(48+\lambda_2)-2\lambda_2)$$
So i got an equation which still contains a unknown variable $\lambda_2$.
Calculating the integral $\int_{0}^{1} (h_{\lambda_2}'')^2 dx=12+\frac{\lambda_2^2}{2880}$. Now we can differentiate for $\lambda_2$ and set it equal to $0$ which gives us:
$\frac{\lambda_2}{1440}=0 \Leftrightarrow \lambda_2=0$
Hence: $h(t)=3 t^2 - 2 t^3$ (and therefore a Solution exists only if $c\geq 6$ otherwise the train will overshoot or won't arrive at all)
I welcome any feedback and i thank uniquesolution and Christian Blatter for their answers.