expand (x+1)^3
Let's expand: (x + 1)3
With Newton's binomial formula: (a+b)n=∑k=0n(n!k!(n−k)!)an−kbk, let's expand the expression:
ⅰ (x + 1)3 = 3!3!·0!·x3·10 + 3!2!·1!·x2·11 + 3!1!·2!·x1·12 + 3!0!·3!·x0·13
3!3!·0!·x3·10 + 3!2!·1!·x2·11 + 3!1!·2!·x1·12 + 3!0!·3!·x0·13
ⓘ Any nonzero number raised to the power 0 is 1: 10 = 1■Any nonzero number raised to the power 0 is 1. In this calculation, we use the convention 0^0 = 1: x0 = 1
3!3!·0!·x3 + 3!2!·1!·x2 + 3!1!·2!·x + 3!0!·3!
ⓘ The factorial of a number is the product of all the integers from 1 to that number: 3! = 6, 2! = 2, 1! = 1■By convention, the factorial of 0 is 1: 0! = 1■Multiplying by 1 changes nothing: 6·1 = 6, 2·1 = 2, 1·2 = 2, 1·6 = 6
66·x3 + 62·x2 + 62·x + 66
ⓘ We simplify the fraction by dividing the numerator and the denominator by 6, their greatest common divisor: 66 = 1■Multiplying by 1 changes nothing: 1·x3 = x3■We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 62 = 3
▶Expanded form:   x3 + 3x2 + 3x + 1