Plot the graph of a function that satisfies the following conditions:
- $\operatorname{dom}(f)=\Bbb{R}\setminus\{0\}$.
- $f'(x)<0$ in $(-\infty,0)$ and $(0,+\infty)$.
- $f''(x)>0$ in $(-\infty,-2)$ and $(0,+\infty)$.
- $f''(x)<0$ in $(-2,0)$.
- $\displaystyle\lim_{x\to0^-}f(x)=-\infty$.
- $\displaystyle\lim_{x\to0^+}f(x)=+\infty$.
- $\displaystyle\lim_{x\to-\infty}f(x)=+\infty$.
- $\displaystyle\lim_{x\to+\infty}f(x)=0$.
I have thought about $f(x)=\dfrac{1}{x}$ and $g(x)=-e^{1/x}$ but clearly they do not fit in all conditions.
How's this look? I think this meets all the requirements. Don't try to come up with a description of a function...just try to draw the requirements