$|x^2-2x-8| > 2x \\ $
For this problem I took two cases where in one case $ x^2-2x-8 \geq 0$ and in second case $ x^2-2x-8 \lt 0$.
$1st$ Case when $ x^2-2x-8 \geq 0$ :-
$ x^2-2x-8 \gt 2x$
For this case I got the solution set as $x \in (-\infty,-2] \cup \biggl(2(1+\sqrt{3}),\infty\biggr)$ upon solviing the above two equations i.e. $ x^2-2x-8 \geq 0$ and $ x^2-2x-8 \gt 2x$ and then taking the common range of values of $x$ from the solutions of the two equations.
$2nd$ Case when $ x^2-2x-8 \lt 0$ :-
$ -(x^2-2x-8) \gt 2x$
For this case I got the solution set as $x \in (-2,2\sqrt{2})$
I am getting confused how to decide the overall solution set for the original problem as a whole because if we plot the solution set on the number line for both the above cases then as per my understanding the common range from both the solution set should be the answer and if that's the case the answer should be $x \in (-2,2)$ as this is the range which is common to the two solution set but unfortunately the answer is different.
Can someone please help me on this and help with some clarification with in these cases how do you decide the solution set?
You should take the union of the two region as you want to collect all the possible $x$ for the conditions to be true.
If you do so, you get $(-\infty, 2\sqrt2) \cup (2(1+\sqrt{3}, \infty)$.