$$x^4-5x^2+4>0$$
Let $x^2=a$
Then $a^2-5a+4>0$
Solving the inequation we get $$a \in (-\infty , 1)\cup (4, \infty)$$
So now $x^2<1$
Then $x<1$ and $x>-1$
Therefore $x\in (-1,1)$
And $x^2>4$
So $x>2$ and $x<-2$
Which implies $x\in (-\infty, -2)\cup (2,\infty)$
Taking the intersection of both values does not yield any result, however the answer given is $$x\in (-\infty, -2)\cup (-1,1) \cup (2,\infty)$$ which can be obtained by taking their union. But since we have to take intersection, where am I going wrong?