0

Similar to Looking for a function with $f(0) = 0$, $f'(0) = 1$ and $\lim\limits_{x\to\infty}f(x)=1$

I'm looking for a monotonic, continuous and differentiable function with these properties:

$$f(0) = 0$$ $$f'(0) = 0$$ $$\lim\limits_{x\to\infty}f(x)=1$$

A coefficient is needed to configure the speed at which it reaches 1, or the actual shape of the curve

Could anyone give any advice? Thanks!

ZK Zhao
  • 157

5 Answers5

3

I am just putting out my comment as the answer. Let $$ f(x)=\begin{cases} \frac{x^2}{1+x^2}, & \text{ for } x \geq 0\\ 0, & \text{ for } x <0. \end{cases} $$

Then $f(0)=0$ and $\lim_{x \to \infty}f(x)=1$. $$ f'(x)=\begin{cases} \frac{2x}{(1+x^2)^2}, & \text{ for } x \geq 0\\ 0, & \text{ for } x <0. \end{cases} $$ Thus $f'(0)=0$. Furthermore, $f$ is non-decreasing over $\Bbb{R}$.

Anurag A
  • 41,067
2

$$f(x) = \begin{cases}0 & x<1\\ x-1 & x\in[1,2]\\ 1 & x>2 \end{cases}$$

edit: here is a differentiable answer,

$$f(x) = \begin{cases}0 & x<1\\ \frac{2}{9}(x-1)^2 & x\in[1,\frac{3}{2}]\\ -\frac{2}{9}(x-2)^2 & x\in[\frac{3}{2},2]\\ 1 & x>2 \end{cases}$$

0

How about: $$ f(x)= \left( \frac{\arctan(x)}{\pi/2} \right)^2 $$

Sambo
  • 6,243
0

How about:

$$f(x) = \dfrac{x^3}{1+|x^3|}$$

$$f(0) = 0, f'(x) = \dfrac{3x^2}{\left(1+|x^3|\right)^2}, f'(0) = 0, \lim_{x \to \infty} f(x) = 1$$

This seems to satisfy all of your conditions. Its derivative is continuous. It is monotonically increasing.

SlipEternal
  • 10,555
  • 1
  • 17
  • 38
0

Although the above answers are complete, here’s another function that you may like.

Let $$ f(x)=\begin{cases} 1 - e^{-x^2}, & \text{ for } x \geq 0\\ e^{-x^2} - 1, & \text{ for } x <0. \end{cases} $$

Clearly, It is monotonous, $f(0) = 0$, $f’(0) = 0$, and, $lim_{x\to\infty} f(x) = 1$.

PS: This function is obtained by just an algebraic manipulation (really, adding constant 1) of a very famous curve.