How to find a function $f(x)$ that satisfies:
- $f(x)$ defines only on the positive axis of X;
- when $x\to 0$, $f(x)\to +\infty$.
- For a positive real number $k$, when $x\to k$, $f(x)\to 0$.
- for $x\geq k$, $f(x)=0$.
- $f'(x)<0$ for all $x\leq k$.
- $f''(x)>0$ for all $x\leq k$.
I think it has a form of $f(x)=\frac{1}{x}$ or something else, but I dont know how to drag the $\infty$ to $k$. Thanks.