Say I have a function $f(x) = x^2 + 2$
This function never touches the x-axis, but it could be easily transformed to touch it by cancelling the constant as in $g(x) = (x^2 + 2) - 2$
Is there any way to generalize this, so that I can make any function "magnet" to the x-axis?
Simply letting $g(x)=f(x)-f(x_0)$ for any $x_0\in\mathbb R$ such that $f$ is well-defined at $x_0$ works