expand (x+1)^2
Let's write in expanded form: (x + 1)2
ⓘ Raising a sum to an integer power is multiplying it by itself: (x + 1)2 = (x + 1)·(x + 1)
(x + 1)·(x + 1)
ⓘ Expand by multiplying each term inside the parentheses: (x + 1)·(x + 1) = x·x + x·1 + 1·x + 1·1
x·x + x·1 + 1·x + 1·1
ⓘ Multiplying powers with the same base adds the exponents: x·x = x2■Multiplications are done before additions and subtractions: 1·1 = 1
x2 + x + x + 1
ⓘ Like terms are grouped by adding their coefficients: x + x = 2x
▶Expanded form:   x2 + 2x + 1