I need to find a function $f(x) \in \mathbb{R}$ where $x \in [0, T]$ with the following conditions:
- Monotonic function
- Class $C^4$ i.e. differentiable at least 4 times
- $f(0) = 0$
- $f(T) = 1$
- $\dot{f}(0) = 1$
- $\dot{f}(T) = 1$
- $\ddot{f}(0) = 0$
- $\ddot{f}(T) = 0$
- $\dddot{f}(0) = 0$
- $\dddot{f}(T) = 0$
- $\ddddot{f}(0) = 0$
- $\ddddot{f}(T) = 0$
I tried with a polynomial function with high enough degree, imposing all the initial and final conditions, but it always come up non-monotonic. Any tip?


Too long for a comment, but not a full solution.
This solution is quite complicated and only works for $T > 1$ (but should be modifiable for $T \in (0, 1)$), but it is the only one I have been able to come up. Note that for this function, the 4 above can be replaced by any other positive integer, i.e. the function is $C^{\infty}$ and $f^{(n)}(0) = f^{(n)}(L) = 0$ for all $n \in \mathbb N$, which suggest that there must be a simpler solution.
I started with $$ g_L \colon [0, L] \to [0, 1], \ x \mapsto \begin{cases} x, & \text{if } x \in \left[0, \frac{1}{2}\right), \\ \frac{1}{2}, & \text{if } x \in \left[\frac{1}{2}, L -\frac{1}{2}\right], \\ x - L + 1, & \text{if } x \in \left(L - \frac{1}{2}, L \right]. \end{cases} $$ Note that the value of $\frac{1}{2}$ is chosen pretty arbitrarily.
It looks like this (for $L = 2.2$):
It clearly fulfils all above mentioned properties and is monotonically increasing, except not being differentiable at two points.
We now remedy this by "smoothing out the kinks". For the first kink (I leave the second one to you) consider $h(x) = \exp(-x^{-1}) \cdot \mathbb{1}_{x > 0}(x)$ and $p(x) := \frac{h(x)}{h(x) + h(1 - x)}$, which are in $C^{\infty}$ (but not analytical). Now consider the smoothed version $$ f_L \colon [0, L] \to [0, 1], \ x \mapsto \begin{cases} x, & \text{if } x \in \left[0, \frac{1}{4}\right), \\ \frac{1}{2} p\left(\frac{10 x + 1}{7}\right)\cdot p(5 - 5x), & \text{if } x \in \left[\frac{1}{4}, \frac{1}{2}\right), \\ \frac{1}{2}, & \text{if } x \in \left[\frac{1}{2}, L -\frac{1}{2}\right], \\ x - L + 1, & \text{if } x \in \left(L - \frac{1}{2}, L \right], \end{cases} $$ which looks like this
I am not sure if $f_L$ is $C^{\infty}$ at $x = \frac{1}{4}$, but there definitely is a way to properly smoothen $g_L$ out.