x^4-30x^2+31x^2-30=0
=>x^4+x-30x^2+30x-30=0
=>x(x^3+1)-30(x^2-x+1)=0
=>x(x+1)(x^2-x+1)-30(x^2-x+1)=0
=>(x^2-x+1)(x^2+x-30)=0
=>(x^2-x+1)(x^2-5x+6x-30)=0
=>(x^2-x+1)[x(x-5)+6(x-5)]=0
=>(x^2-x+1)(x-5)(x+6)=0
vì x^2-x+1=x^2-2x.(1/2)+1/4+3/4
=(x-1/2)^2+3/4>0 với mọi x
Do đó x-5=0 hoac x+6=0
=>x=5 hoặc x=-6