a) x(x - 1)(x + 4)(x + 5) = 84
<=> x(x + 4)(x - 1)(x + 5) = 84
<=> (x² + 4x)(x² + 4x - 5) - 84 = 0
Đặt t = x² + 4x ta có
t(t - 5) - 84 = 0
<=> t² - 5t - 84 = 0
<=> t² + 7t - 12t - 84 = 0
<=> t(t + 7) - 12(t + 7) = 0
<=> (t - 12)(t + 7) = 0
<=> t = 12 hoặc t = -7
Với t = 12 ta có
x² + 4x = 12
<=> x² + 4x - 12 = 0
<=>x² - 2x + 6x - 12 = 0
<=> x(x - 2) + 6(x - 2) = 0
<=> (x + 6)(x - 2) = 0
<=> x = -6 hoặc x = 2
Với x = - 7 ta có
x² + 4x = -7
<=> x² + 4x + 7 = 0
<=> x² + 4x + 4 + 3 =0
<=> (x + 2)² + 3 = 0
Lại có (x + 2)² + 3 > 0 với mọi x
=> pt vô nghiệm
Kết luận nghiêm x = - 6 ; x = 2
\(b) x^3-5x^2+8x-4=0\)
\(\Leftrightarrow x^3-4x^2-x^2+4x+4x-4=0\)
\(\Leftrightarrow x^3-x^2-4x^2+4x+4x-4=0\)
\(\Leftrightarrow\left(x^3-x^2\right)-\left(4x^2-4x\right)+\left(4x-4\right)=0\)
\(\Leftrightarrow x^2\left(x-1\right)-4x\left(x-1\right)+4\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x^2-4x+4\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x-2\right)^2=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=0\\\left(x-2\right)^2=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x-2=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\end{matrix}\right.\)
Vậy S = {1; 2}