I have to solve irrational inequality:

Inequality is defined for

Transforming inequality we get that:

Solving this quadratic inequality we get that

So, solutions of beggining irrational inequality must be either

or .

In book stands that solution is , but

how do I know that this interval is solution?

I mean, how do I determine exactly which interval is solution?