ta có:
a) $\frac{(x+1)(x-2)}{x-6}$>0
\Leftrightarrow(x+1)(x-2)>0 ; x-6>0
hoặc (x+1)(x-2)<0; x-6<0
\Leftrightarrowx+1>0 ; x-2>0 \Rightarrow x>2
hoặc x+1<0 ; x-2<0 \Rightarrow x<-1
mà x-6>0\Rightarrow x>6
\Leftrightarrow x>2
Do x+1>x-2 \Rightarrow x+1>0 ; x-2<0 \Rightarrow -1<x<2
x-6<0\Rightarrow x<6
\Leftrightarrow-1<x<6
\Leftrightarrow x>-1
B)$\frac{(x+1)(x-2)}{x-6}$<0
\Leftrightarrow(x+1)(x-2)>0 ; x-6<0
hoặc (x+1)(x-2)<0; x-6>0
\Leftrightarrowx+1>0 ; x-2>0 \Rightarrow x>2
hoặc x+1<0 ; x-2<0 \Rightarrow x<-1
mà x-6>0\Rightarrow x<6
\Leftrightarrow x<-1
Do x+1>x-2 \Rightarrow x+1>0 ; x-2<0 \Rightarrow -1<x<2
mà x-6>0\Rightarrow x>6
\Leftrightarrow ko có gt của x \Rightarrow vô nghiệm
\Leftrightarrowx<-1
Vậy pt có x>-1 thì pt dương; x<-1 thì pt âm