I am currently working on a project that involves creating mathematical functions to meet specific criteria, and I am seeking guidance on designing functions that satisfy my requirements.
The criteria for the function are as follows:
- The function takes a single input and outputs a number within the range $(0, 1]$.
- The input range is $[5, 100]$.
- The function must be strictly increasing.
- A crucial requirement is that the function should exhibit a steeper slope in the initial range and gradually reduce its steepness as the input increases.
To illustrate, consider the example: if $x_1 = 5$ and $x_2 = 20$, where $x_2 = 4x_1$, the output of $x_1 = 5$ should be $\frac{1}{8}$th or $\frac{1}{10}$th of $x_2 = 20$. Similarly, for $x_3 = 20$ and $x_4 = 80$, where here also, $x_4=4x_3$, the output of $x_3 = 20$ should be $\frac{1}{3}$rd or $\frac{1}{4}$th of $x_4 = 80$. The objective is to have a larger steepness initially that diminishes as $x$ increases. I have attempted to formulate the following function:
$y = 1 - e^{-0.1x}$ for $x$ in $[5,100]$.
While this function exhibits some of the desired characteristics, I am seeking more accurate and reliable functions that meet the specified criteria.
Any suggestions or recommend alternative functions that align with these requirements?

Procedure: Integrate a strictly decreasing non-negative function and then adjust the area accordingly.
For instance, start with $-x+100$. Then $\int_5^{100} f(t)\,dt=4512.5$ so define $$f(x)=\frac 1{4512.5}\times (-x+500)$$
Integration then gives you $$F(x)=\frac 1{4512.5}\times \left(-\frac {x^2}2+100(x-5)+\frac {25}2\right)$$
which does what you need. Modify $f(x)$ as you like. I note that, with my example, $F(5)=0$ which perhaps you didn't want. But you could drop the lower limit on the integral to $4.99$ (or whatever) to fix that.