a.ta có
\(\left(x+3\right)^3+\left(x^2+1\right)\left(x-2\right)=x^3+9x^2+27x+27+x^3-2x^2+x-2\)
\(=2x^3+7x^2+28x+25\)
b.\(\left(2x-1\right)^2-\left(2-x\right)^3=4x^2-4x+1+x^3-6x^2+12x-8\)
\(=x^3-2x^2+8x-7\)
a) (x + 3)3 + (x2 + 1)(x - 2)
= x3 + 9x2 + 27x + 27 + x3 - 2x + x - 2
= x3 + x3 + 9x2 + 27x - 2x + x + 27 - 2
= 2x3 + 9x2 + 26x + 25
b) (2x - 1)2 - (2 - x)3
= 4x2 - 4x + 1 - ( 8 - 12x + 6x2 - x3)
= 4x2 - 4x + 1 - 8 + 12x - 6x2 + x3
= x3 + 4x2 - 6x2 + 12x - 4x + 1 - 8
= x3 - 2x2 + 8x - 7