Bài 4:
a: \(x^3+6x^2+12x+8=\left(x+2\right)^3\)
b: \(x^3-3x^2+3x-1=\left(x-1\right)^3\)
c: \(1-9x+27x^2-27x^3=\left(1-3x\right)^3\)
d: \(x^3+\dfrac{3}{2}x^2+\dfrac{3}{4}x+\dfrac{1}{8}=\left(x+\dfrac{1}{2}\right)^3\)
e: \(27x^3-54x^2y+36xy^2-8y^3=\left(3x-2y\right)^3\)
Bài 3:
a: \(8x^3-64=8\left(x^3-8\right)=8\left(x-2\right)\left(x^2+2x+4\right)\)
b: \(1+8x^6y^3=\left(2x^2y+1\right)\left(4x^4y^2-2x^2y+1\right)\)
c: \(125x^3+1=\left(5x+1\right)\left(25x^2-5x+1\right)\)
d: \(8x^3-27=\left(2x-3\right)\left(4x^2+6x+9\right)\)