I'm looking for a simple decay function, where the rate of change of $y$ gradually gets smaller as $x$ grows, like $y=\sqrt{x}$, but it needs to stay less than $y=x$ at all times. You can see how the blue line, $y=\sqrt{x}$, is larger than the red line, $y=x$, between 0 and 1 here:
I'd like something like this green line that I drew by hand:
And for clarification, I don't care about negative $x$ values, and want $y$ to be always positive. I would also prefer $y$ to keep growing, not converge to a fixed value. Is there a function like this? It seems simple but I can't seem to find one. Any tips for finding answers to similar questions like this in the future?


@Joe $log{x}$ almost works but it is negative when $x<1$ (a new requirement I added), but $2log(x+1)$ is pretty good!
– lifeformed May 27 '21 at 09:47