\(5,\\ a,=x^4+4x^2+4-4x^2=\left(x^2+2\right)^2-4x^2=\left(x^2-2x+2\right)\left(x^2+2x+2\right)\\ b,=x^4+16x^2+64-16x^2=\left(x^2+8\right)^2-16x^2=\left(x^2-4x+8\right)\left(x^2+4x+8\right)\\ c,=x^8+x^7+x^6-x^6+x^5-x^5+x^4-x^4+x^3-x^3+x^2-x^2+x-x+1\\ =x^6\left(x^2+x+1\right)-x^4\left(x^2+x+1\right)+x^3\left(x^2+x+1\right)-x\left(x^2+x+1\right)+\left(x^2+x+1\right)\\ =\left(x^6-x^4+x^3-x+1\right)\left(x^2+x+1\right)\)
\(d,=x^8+2x^4+1-x^4=\left(x^4+1\right)^2-x^4=\left(x^4-x^2+1\right)\left(x^4+x^2+1\right)\\ =\left(x^4-x^2+1\right)\left(x^4+2x^2+1-x^2\right)\\ =\left(x^4-x^2+1\right)\left(x^2-x+1\right)\left(x^2+x+1\right)\\ e,=x^5+x^4-x^4+x^3-x^3+x^2-x^2+x+1\\ =x^3\left(x^2+x+1\right)-x^2\left(x^2+x+x\right)+\left(x^2+x+1\right)\\ =\left(x^3-x^2+1\right)\left(x^2+x+1\right)\\ f,=x^3+2x^2-x^2-2x+2x+4\\ =\left(x+2\right)\left(x^2-x+2\right)\\ g,=x^4+2x^2+1-25=\left(x^2+1\right)^2-25\\ =\left(x^2+1-5\right)\left(x^2-1-5\right)=\left(x^2-4\right)\left(x^2-6\right)=\left(x-2\right)\left(x+2\right)\left(x^2-6\right)\)
\(h,=x^3-2x^2+2x^2-4x+2x-4=\left(x-2\right)\left(x^2+2x+2\right)\\ i,=a^4-4a^2b^2+4b^4-4a^2b^2=\left(a^2-2b^2\right)^2-4a^2b^2\\ =\left(a^2-2ab-2b^2\right)\left(a^2+2ab-2b^2\right)\)