a/ \(\left(x-1\right)\left(x+2\right)+4\left(x-1\right)\sqrt{\frac{x+2}{x-1}}=12\)
Điều kiện: \(\left[\begin{matrix}x\le-2\\x>1\end{matrix}\right.\)
Xét \(x\le-2\) thì ta có
\(\left(x-1\right)\left(x+2\right)+4\left(x-1\right)\sqrt{\frac{x+2}{x-1}}=12\)
\(\Leftrightarrow\left(x-1\right)\left(x+2\right)-4\sqrt{\left(x-1\right)\left(x+2\right)}=12\)
Đặt \(\sqrt{\left(x-1\right)\left(x+2\right)}=a\left(a\ge0\right)\) thì pt thành
\(a^2-4a-12=0\)
\(\Leftrightarrow\left[\begin{matrix}a=-2\left(l\right)\\a=6\end{matrix}\right.\)
\(\Rightarrow\sqrt{\left(x-1\right)\left(x+2\right)}=6\)
\(\Leftrightarrow x^2+x-38=0\)
\(\Leftrightarrow\left[\begin{matrix}x=-\frac{1}{2}+\frac{3\sqrt{17}}{2}\left(l\right)\\x=-\frac{1}{2}-\frac{3\sqrt{17}}{2}\end{matrix}\right.\)
Trường hợp x > 1 làm tương tự nhé