$\left(\log _2\left(x\right)-2\right)\left(\log _2\left(x\right)+1\right)<0$
has a solution $\frac{1}{2}<x<4$
But when we take the second part alone that is
$\left(\log _2\left(x\right)+1\right)<0$
it gives a solution $0<x<\frac{1}{2}$ why is $x>\frac{1}{2}$ in the first case but $x<\frac{1}{2}$ in the second case?