\(a)\left(x-2\right)\left(x^2+2x-3\right)\ge0.\)
Đặt \(f\left(x\right)=\left(x-2\right)\left(x^2+2x-3\right).\)
Ta có: \(x-2=0.\Leftrightarrow x=2.\\ x^2+2x-3=0.\Leftrightarrow\left[{}\begin{matrix}x=1.\\x=-3.\end{matrix}\right.\)
Bảng xét dấu:
x \(-\infty\) -3 1 2 \(+\infty\)
\(x-2\) - | - | - 0 +
\(x^2+2x-3\) + 0 - 0 + | +
\(f\left(x\right)\) - 0 + 0 - 0 +
Vậy \(f\left(x\right)\ge0.\Leftrightarrow x\in\left[-3;1\right]\cup[2;+\infty).\)
\(b)\dfrac{x^2-9}{-x+5}< 0.\)
Đặt \(g\left(x\right)=\dfrac{x^2-9}{-x+5}.\)
Ta có: \(x^2-9=0.\Leftrightarrow\left[{}\begin{matrix}x=3.\\x=-3.\end{matrix}\right.\)
\(-x+5=0.\Leftrightarrow x=5.\)
Bảng xét dấu:
x \(-\infty\) -3 3 5 \(+\infty\)
\(x^2-9\) + 0 - 0 + | +
\(-x+5\) + | + | + 0 -
\(g\left(x\right)\) + 0 - 0 + || -
Vậy \(g\left(x\right)< 0.\Leftrightarrow x\in\left(-3;3\right)\cup\left(5;+\infty\right).\)