Q:

Determine how many solutions there are for this equation

Determine how many solutions there are for $$e^{\frac{1}{x}}=\lambda x^2$$ for each $\lambda \in \mathbb{R}$.

I find really difficult to face this kind of problems so I'll show you where I get stuck hoping to get help.
My attempt: Let $f(x)=\lambda x^2-e^{\frac{1}{x}}$. As standard routine, computing zeros of $f$ gives us solutions to the equation. By simple computations we have:
$$\lim_{x\to 0^+}f(x)=-\infty \qquad \lim_{x\to \pm \infty}f(x)=sgn(\lambda)\infty \qquad \lim_{x\to 0^-}f(x)=0^{\pm}$$
So we note that we should pay attention to what happens near $0^-$ as it clearly influences the number of zeros of that function.
Let's compute the first derivative:
$$f'(x)=2\lambda x + \frac{e^{\frac{1}{x}}}{2x^2}$$
And that's the point I always get stuck: I can't compute the sign of the derivative as it is "non standard". Can you give me an help in understanding how to do this kind of problems? If you want to see a related exercise I've done (and its solution) you can go here. What's the approach I should have when facing these things? Thanks in advance.

A:

Let assume $y=\frac1x$ then
$$e^{\frac{1}{x}}=\lambda x^2\implies y^2e^y=\lambda$$
then we can study the function $f(y)=y^2e^y \implies f'(y)=y(y+2)e^y$ and then find the number of solutions for $f(y)=\lambda$.

