expand (x+1)*(x-1)
Let's write in expanded form: (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■Multiplying by -1 gives the opposite: x·(-1) = -x
x2 -x + x -1
ⓘ Like terms are grouped by adding their coefficients: -x + x = 0
x2 + 0 -1
ⓘ Adding 0 changes nothing: 0 -1 = -1
▶Expanded form:   x2 -1