(x+1)^3
We can use the binomial theorem to expand this....so we have
C(3,0)*x^3*1^0 + C(3,1)*x^2*1^1 + C(3,2)*x*1^2 + C(3,3)*x^0*1^3 =
1*x^3 + 3*x^2 + 3*x + 1*1^3 =
x^3 + 3x^2 + 3x + 1
Another method is to expand the expression as follows :
(x + 1) (x + 1) (x + 1) =
(x^2 + 2x + 1) (x + 1) =
x^3 + 2x^2 + x + x^2 + 2x + 1 = [combine like terms]
x^3 + 3x^2 + 3x + 1