Mentallic said:
You need to take 3 cases.
1) When x-2 and x-3 are both positive
2) When x-2 is positive while x-3 is negative (so x is between 2 and 3)
3) When they're both negative.=
If we're talking about the problem in this thread, (x - 2)(x - 3) < 0, there are only two cases, the ones listed by the OP at the beginning of this thread.
If we're talking more generally, with (x - a)(x - b) > 0 or (x - a)(x - b) < 0, there are four cases.
1) When x-a and x-b are both positive.
2) When x-a is positive and x-b is negative.
3) When x -a is negative and x - b is positive.
3) When x-a and x-b are both negative.
To get back to the original question, where x - 2 and x -3 have to be opposite in sign, we have
1) x -2 is positive and x-3 is negative.
or
2) x -2 is negative and x-3 is positive.
For 1, x - 2 > 0 and x - 3 < 0 <==> x > 2 and x < 3 <==> 2 < x < 3
For 2, x - 2 < 0 and x - 3 > 0 <==> x < 2 and x > 3 This set is empty.
Therefore, x^2 -5x + 6 < 0 <==> 2 < x < 3