Expanding an expression means transforming products into sums; factoring means the reverse, transforming a sum into a product. The basic rule is distributivity:
Examples
Example 2.2
Expand step by step:
Example 2.4
Used forward (expanding) and backward (factoring):
Mental arithmetic benefits too: .
Example 2.6
Factor . This is a difference of two squares with and :
Mind the second bracket: subtracting means subtracting and adding .