The behavior of $f(x)=\alpha x+x^2\operatorname{sin}1/x$ for $x\neq 0$ near $0$, where $\alpha \ge 1$.
Consider $\alpha \ge 1$.
Let $f(x)=\alpha x+x^2\operatorname{sin}1/x$ for $x\neq 0$ and let $f(0)=0.$ In order to find the sign of $f'(x)$ when $\alpha \ge 1$ it is necessary to decide if $2x\operatorname{sin}1/x-\operatorname{cos}1/x$ is $\lt -1$ for any numbers $x$ close to $0$. It is a little more convenient to consider the function $g(y)=2(\operatorname{sin}y)/y-\operatorname{cos}y$ for $y\neq 0$; we want to know if $g(y)\lt -1$ for large $y$. This question is quite delicate; the most significant part of $g(y)$ is $-\operatorname{cos}y$, which does reach the value $-1$, but this happens only when $\operatorname{sin}y=0,$ and it is not at all clear whether $g$ itself can have values $\lt -1$. The obvious approach to this problem is to find the local minimum values of $g$. Unfortunately, it is impossible to solve the equation $g'(y)=0$ explicitly, so more ingenuity is required.
(a) Show that if $g'(y)=0,$ then
$$\operatorname{cos}y=(\operatorname{sin}y)(\frac{2-y^2}{2y}),$$
and conclude that
$$g(y)=(\operatorname{sin}y)(\frac{2+y^2}{2y}).$$
(b) Now show that if $g'(y)=0, then
$$\operatorname{sin}^2y=\frac{4y^2}{4+y^2},$$
and conclude that
$$|g(y)|=\frac{2+y^2}{\sqrt{4+y^4}}.$$
(c) Using the fact that $(2+y^2)/\sqrt{4+y^4}\gt 1$, show that if $\alpha=1$, then $f$ is not increasing in any interval around $0$.
(d) Using the fact that $\lim_{y\to \infty}(2+y^2)/\sqrt{4+y^4}=1,$ show that if $\alpha \gt 1$, then $f$ is increasing in some interval around $0$.
I've worked through (a) and (b) but I have trouble solving (c) and (d). In fact, I can't even understand what the solution is saying. Below is what is written on the solution to this problem.
(c) We have
$$f'(x)=1+g(1/x).$$
Now we clearly have $g(y)\lt 0$ for arbitrarily large $y$ (since $g(y)$ is practically $-\operatorname{cos}y$ for large $y$), so for arbitrarily large $y$ we have
$$g(y)\lt -\frac{2+y^2}{\sqrt{4+y^4}}\lt -1$$
by part (b). Thus $f'(x)\lt 0$ for arbitrarily small $x$, while we also have $f'(x)\gt 0$ for arbitrarily small $x$.
First of all, I have confusion over the statement $g(y)\lt 0$ for arbitrarily large $y$. Usually I would interpret this as saying $g(y)\lt 0$ for all $y\lt a$ for some $a$, but I think in this case that is not true and the author merely means that there are negative values for very large $y$. More importantly, I don't understand why the strict inequality below follows. I think what the author suggests is since for points where $g'(y)=0$, $|g(y)|=\frac{2+y^2}{\sqrt{4+y^4}}$, and at local minima we have $g'(y)=0$, there should be arbitrarily large values less than $-\frac{2+y^2}{\sqrt{4+y^4}}$.
However, how do we know that there are even points with $g'(y)=0$?Also, even if there are such points, how do we know that they are local minimum points, or that local minimum of this function even exists anywhere? Moreover, why is the first inequality strict?
Finally, the solution to (d) is
We have
$$f'(x)=\alpha + g(1/x).$$
For sufficiently large $y$ we have $g(y)\gt -\alpha.$ So for sufficiently small $x$ we have $f'(x)\gt 0.$
My understanding of this proof is that for large $y$ g(y) is practically $-cosy$ which is bounded below by $-1$ and since $-\alpha\lt -1$, we have $g(y)\gt -\alpha.$ From here the rest follows easily, but I don't see where the fact that $\lim_{y\to \infty}(2+y^2)/\sqrt{4+y^4}=1$ is used as the the problem said.
I would greatly appreciate it if anyone could explain these points.
For better context I am copy-pasting the complete answer from https://math.stackexchange.com/a/691328/72031
Clearly we have $f'(x) = 2x\sin (1/x) + 1 - \cos (1/x)$ and let's put $y = 1/x$ so that $f'(x) = (2/y)\sin y - \cos y + 1 = g(y) + 1$. Now as $x \to 0^{+}$ we have $y \to \infty$. We will show that as $x \to 0^{+}$ there are infinitely many values of $x$ for which $f'(x) < 0$. This involves that as $y \to \infty$ there are infinitely many values of $y$ for which $g(y) < -1$.
We need to analyze the maxima/minima of $g(y)$. Now $g'(y) = (2/y)\cos y - (2/y^{2})\sin y + \sin y$ and hence $g'(y) = 0$ implies that $$\cos y = (\sin y)\left(\frac{2 - y^{2}}{2y}\right)\tag{1}$$ and then at these points of extrema we have $$g(y) = \frac{2\sin y}{y} - \cos y = \frac{2\sin y}{y} - (\sin y)\left(\frac{2 - y^{2}}{2y}\right) = (\sin y)\left(\frac{2 + y^{2}}{2y}\right)\tag{2}$$ Note that from graphical considerations it is easy to show that equation $(1)$ has infinite many solutions and the values $y$ satisfying this equation increase without bound. In other words there are many large values of $y$ (exceeding any given bound) which satisfy equation $(1)$.
Next from $(1)$ we can see that $$\sin^{2}y = \frac{1}{1 + \cot^{2}y} = \dfrac{1}{1 + \left(\dfrac{2 - y^{2}}{2y}\right)^{2}} = \frac{4y^{2}}{y^{4} + 4}$$ and then from $(2)$ we get $$g(y) = \pm\frac{2 + y^{2}}{\sqrt{y^{4} + 4}}$$ where the sign $\pm$ is chosen same as the sign of $\sin y$. These values of $g(y)$ are its extrema. Note that in absolute value the expression for $g(y)$ is always greater than $1$ if $y > 0$. Hence it follows that there will be infinitely many values of $y$ corresponding to solutions of equation $(1)$ for which $\sin y$ will be negative so that $g(y) < -1$.
We have thus established that $f'(x) < 0$ for infinitely many values of $x$ as $x \to 0^{+}$. Now it is also easily seen that as $x \to 0^{+}$ the term $2x\sin (1/x) \to 0$ and $\cos (1/x)$ oscillates between $-1$ and $1$ so that the expression for $f'(x)$ oscillates between $0$ and $2$ and hence there are infinitely many values of $x$ for which $f'(x) > 0$.
Thus in any neighborhood of $0$ we have $f'(x) > 0$ for some values of $x$ and $f'(x) < 0$ for some other values of $x$. It follows that $f(x)$ is not increasing in any neighborhood of $0$.
Note: The above solution is inspired by an exercise problem (hints were provided in the problem) from "Calculus" by Michael Spivak.
Update OP's comments indicate that he has some trouble understanding the fact that there are an infinity of solutions to $(1)$ and he does not want to go for graphical considerations. Equation $(1)$ can be recast in the form $$\tan y = \frac{2y }{2 - y^{2}} \tag{3}$$ and clearly RHS tends to $0$ as $y \to \infty$. Also the RHS is negative when $y > \sqrt{2}$. Let's analyze the behavior of fraction $2y/(2 - y^{2})$ for $\dfrac{3\pi}{2} + 2n\pi < y < 2\pi + 2n\pi$ where $n$ is non-negative integer. Clearly if $$h(y) = \tan y - \dfrac{2y}{2 - y^{2}}$$ then $h(2\pi + 2n\pi) > 0$ and as $y \to (3\pi/2 + 2n\pi)^{+}$ $\tan y \to -\infty$ and so that $h(y)$ is negative as $y \to (3\pi/2 + 2n\pi)^{+}$. It follows by intermediate value theorem for continuous functions that $h(y)$ vanishes at least once in the interval $\left(\dfrac{3\pi}{2} + 2n\pi, 2\pi + 2n\pi\right)$. Since $n$ is arbitrary we get infinitely many roots of $h(y) = 0$.
Note further that for these values of $y$, $\sin y$ is negative ($y$ lies in 4th quadrant). Hence $g(y) = -(2 + y^{2})/\sqrt{y^{4} + 4} < -1$. I have no where mentioned that this $y$ is local minima. Its just local extrema. I think it is better to say that these are critical points (points where derivative vanishes) and we don't need any more information about these points in this question.