Determine the values of k for which the equation $\frac{x^4+1}{x^2}-k=0$ will have zero, two or four real roots.
So far I have found the derivative of the function which is $y'=\frac{2x^4-2}{x^3}$ and then I set $y'=0$, which gives us that the critical points are $x=±1$. Now plugging in $x=1$ or $x=-1$ into the equation gives us that $k=2$, and so the function will have two real roots when $k=2$.
I'm not sure how to prove the rest, but I know that the answer is when $k>2$ the function has four real roots and when $k<2$ the function doesn't have any real roots.
The equation is equivalent to $\;x^4-kx^2+1=0$, and if you set $\;u=x^2$, solving it (in $\mathbf R$) amounts to solve the equation $$u^2-tu+1=0 \tag{1}$$ in positive numbers. Note that the latter equation, if it has any real roots, ($\Delta=k^2-4\ge 0$) it has roots with the same sign since their product is equal to $1$. So