Let $s\in \left(0, 1\right)$, and consider the task of finding the 'nicest-possible' function $f$ such that
- $f(0) = 0, f^\prime (0) = s$, and
- $f(1) = 1, f^\prime (1) = 0$,
where 'niceness' is framed as having minimal mean-square 'acceleration', as measured by
$$\mathcal{E} \left( f \right) := \int_0^1 f^{\prime\prime} \left( t \right)^2 \, \mathrm{d}t .$$
In principle, I'd also like to constrain that $f^\prime (t) > 0$ for all $t \in (0, 1)$, but for more-or-less physical reasons, I suspect that the optimal solution will satisfy this constraint automatically. As such, I'm just looking for the solution to the unconstrained problem.
I have derived a partial solution, starting from a bang-bang ansatz (i.e. that for some $\tau \in (0, 1)$, the acceleration $f^{\prime\prime}$ takes one value on $[0, \tau]$ and another value on $[\tau, 1]$) and then optimising the free parameters of that ansatz. I'm not sure whether the solution which I obtain is globally optimal, or how I might justify that.
As such, I'm interested in identifying the optimal $f$ (as a function of $s$), and justifying its optimality convincingly.
(I added the 'spline' tag because I note a superficial similarity to the task of fitting smoothing splines to data, but I'm not sure that it's substantively useful for solving the problem)
(I'm also nominally interested in the solution for $s > 1$, on the off chance that one can solve both cases in one fell swoop)