a)x4-4x3+12x-9 = x3(x-1) -3x2(x-1) -3x(x-1) +9(x-1)
=(x-1)(x3-3x2-3x+9)
=(x-1)[x2(x-3)-3(x-3)]
=(x-1)(x-3)(x2-3)
b)(x+2)2=9(x2-4x+4) <--> x2+4x+4=9x2-36x+36
<-->8x2 -40x+32=0
<-->8(x2-5x+4)=0
<-->x2-5x+4=0
<--->(x-4)(x-1)=0
* Nếu x-4=0 <--> x=4
* Nếu x-1=0<--> x=1
Vậy S={4;1}