(a+b)^2 =
a^2+2ab+b^2
(a-b)^2=
a^2-2ab+b^2
a^2-b^2=
(a-b)(a+b)
a^2+b^2
(a+ib)(a-ib)
a^3-b^3
(a-b)(a^2+ab+b^2)
a^3+b^3
(a+b)(a^2-ab+b^2)
(a+b+c)^2
a^2+b^2+c^2+2ab+2bc+2ac
sign rules for a^2 +/ 2ab +/- b^2
• first sign: if positive, positive sign is with the bigger factor
if negative, negative sign is with the smaller factor
• second sign: if positive, factors will have the same signs
a(b+c)-d(b+c)=
(b+c)(a-d)