Câu 17
`x^3+1=x(x+1)`
`⇔(x+1)(x^2-x+1)=x(x+1)`
`⇔(x+1)(x^2-x+1)-x(x+1)=0`
`⇔(x+1)(x^2-x+1-x)=0`
`⇔(x+1)(x^2-2x+1)=0`
`⇔(x+1)(x-1)^2=0`
⇔\(\left[ \begin{array}{l}x+1=0\\x-1=0\end{array} \right.\)
⇔\(\left[ \begin{array}{l}x=-1\\x=1\end{array} \right.\)
Vậy `S={-1;1}`
→ Chọn `text{D. 3 nghiệm}`