Problems with Inequalities It seems like I am facing some confusion while handling with inequalities,I was doing some tasks where it is asked to find the interval of the variable,after some steps I deduced the the necessary expression but I am facing some problem while trying to deduce the final expression.
Consider for example:
    $$a^2 \ge 8;\qquad 0 < a < 6; \qquad a < \frac{11}{3}$$
For the start I write $a^2 \ge 8$ as $ a \lt -2\sqrt{2} \quad\text{or}\quad a > 2\sqrt{2} $ but the final answer is $ 2\sqrt{2} < a < \frac{11}{3}$. How can this be deduced?

The original problem is as follows:

If both the roots of the equation $x^2-ax+2 = 0$ lie in the interval $(0,3)$, then find the value of $a$.

Since the two roots lie in the same interval, those three conditions follow.
 A: Any polynomial inequality over the reals can be reduced to testing it on the intervals between its roots - where the polynomial has constant sign. This will yield a finite number of intervals where the inequality holds true. When you have multiple such inequalities you simply intersect the intervals for each polynomial to obtain the finite number of intervals where all of the inequalities are true. In fact the same idea generalizes to arbitrary first order multivariate statements about the reals - as Tarski has shown by his celebrated method of quantifier elimination for real-closed fields. It has an algorithmic form that is essentially a higher-dimensional cylindrical version of the finite interval decomposition for the above one dimensional case - google "cylindrical algebraic decomposition" or CAD algorithm.
A: Everything you have done so far is correct. Once you get down to linear constraints, you essentially have to intersect all the permitted ranges. E.g. since $0<a<6$, the negative solutions $a<-2\sqrt{2}$ are out. Thus the only possibility is $a>2\sqrt{2}$. Now the remaining inequalities also give you an upper bound.
A good strategy is, as I said at the beginnig, to sketch all the ranges and then intersect them to find the range in which all inequalities are satisfied. If you had some "or"-conditions, you would take unions of ranges, rather than intersections.
A: For your original problem, here's the approach I'd take:
I know what the set of graphs of $y=x^2-ax+2$ looks like as $a$ varies:

Okay, the picture in my head isn't that clear, but I know that they all have y-intercept 2 and move in more or less that fashion as $a$ varies (the locus of the vertices of those parabolas is itself a parabola).
I know that I want the interval from when the equation starts to have real roots up to when the greater of its two roots is 3.  Starting with the latter condition, $3=\frac{a+\sqrt{a^2-8}}{2}\implies(6-a)^2=a^2-8\implies 36-12a=-8\implies a=\frac{11}{3}$.
The earlier condition happens when $x^2-ax+2$ is a perfect square, so when $\frac{a}{2}=\pm\sqrt{2}$.  The negative value of $a$ leads to the parabola that touches the x-axis on the negative side, so the relevant value is $a=2\sqrt{2}$.
From these two bounding values and the animated image in my head, the desired values of $a$ are $2\sqrt{2}<a<3$.
A: What you are forgetting is that you have more than one inequality.
The inequality $a^2\geq 8$, by itself, only gives you $|a|\geq \sqrt{8}=2\sqrt{2}$, or equivalently as you (almost) write:
$$a\geq 2\sqrt{2}\qquad\text{or}\qquad a\leq -2\sqrt{2}.$$
Added: Note that you took $a^2\geq 8$, a weak inequality, and "translated" it into "$a\gt 2\sqrt{2}$ or $a\lt -2\sqrt{2}$." Technically, this is incorrect because you have now excluded the possibility of equality. Since you were starting with $\geq$, you should have continued with $\geq$ and $\leq$.
However, you have other inequalities that need to be satisfied as well.The second inequality tells you that $0\lt a \lt 6$ must be satisfied. How does this mesh with the inequalities you already have?
If $0\lt a \lt 6$  and $a\leq -2\sqrt{2}\lt 0$, then that tells you that $a$ must be both greater than and less than zero. This is a very big problem for $a$, which decides to solve this problem by ceasing to exist. There is no solution to the inequality $0\lt a\lt 6$ that also satisfy $a\lt -2\sqrt{2}$.
So putting these two together, you know that you have $a\geq 2\sqrt{2}$, and $0\lt a \lt 6$. Since satisfying $a\geq 2\sqrt{2}$ automatically guarantees you that $0\lt a$, you can combine them all by saying that the first two inequalities you have are equivalent to
$$ 2\sqrt{2} \leq a \lt 6.$$
Finally, we need to add in the condition that $a\lt \frac{11}{3}$. Since $\frac{11}{3}\lt 6$, if $a$ is less than $\frac{11}{3}$ it will also automatically be less than $6$. It still needs to be greater than or equal to $2\sqrt{2}$, though. So combining them all you get that you must have
$2\sqrt{2} \leq a \lt 6$ in order to satisfy all three (four, if you count "$0\lt a\lt 6$" as two inequalities) inequalities you have.

Okay, the original problem was: "if the two roots of $x^2-ax+2=0$ lie in the interval $(0,3)$, then find the values of $a$."
The roots are $\frac{a\pm\sqrt{a^2-8}}{2}$. So you assumed that you only needed to ask for $a^2-8\geq 0$ in order for the roots to be real. However, the use of the word "both" suggests that in fact they want there to be two distinct roots, which would require $a^2-8\gt 0$. If you take $a=2\sqrt{2}$, the lower limit I suggested earlier, then you have a single (repeated) root at $\sqrt{2}$ (which satisfies the condition). If they want two roots, then you need the discriminant positive, not merely nonnegative.
