Đáp án:
$\left(x+1\right)^3\:-\:\left(x-1\right)\:x^2+x+1\:-3x\left(x+1\right)$
$=\left(x+1\right)^3-x^2\left(x-1\right)+x+1-3x\left(x+1\right)$
$=x^3+3x^2+3x+1-\left(x-1\right)x^2+x+1-3x\left(x+1\right)$
$=x^3+3x^2+3x+1-x^3+x^2+x+1-3x^2-3x$
$=x^3-x^3+x^2+3x+x-3x+2$
$=x^2+3x+x-3x+2$
$=x^2+x+2$
`->` Vậy trí trị biểu thức phụ thuộc vào biến.