In mathematics, an expansion of a product of sums expresses it as a sum of products by using the fact that multiplication distributes over addition. Expansion of a polynomial expression can be obtained by repeatedly replacing subexpressions that multiply two other subexpressions, at least one of which is an addition, by the equivalent sum of products, continuing until the expression becomes a sum of (repeated) products. During the expansion, simplifications such as grouping of like terms or cancellations of terms may also be applied. Instead of multiplications, the expansion steps could also involve replacing powers of a sum of terms by the equivalent expression obtained from the binomial formula; this is a shortened form of what would happen if the power were treated as a repeated multiplication, and expanded repeatedly. It is customary to reintroduce powers in the final result when terms involve products of identical symbols.
Simple examples of polynomial expansions are the well known rules
(x+y)2=x2+2xy+y2
(x+y)(x-y)=x2-y2
(a+b+c+d)(x+y+z)=ax+ay+az+bx+by+bz+cx+cy+cz+dx+dy+dz
1+x(-3+x(4+x(0+x(-12+x ⋅ 2))))=1-3x+4x2-12x4+2x5
The opposite process of trying to write an expanded polynomial as a product is called polynomial factorization.
To multiply two factors, each term of the first factor must be multiplied by each term of the other factor. If both factors are binomials, the FOIL rule can be used, which stands for "First Outer Inner Last," referring to the terms that are multiplied together. For example, expanding
(x+2)(2x-5)
yields
2x2-5x+4x-10=2x2-x-10.
See main article: Binomial theorem.
When expanding
(x+y)n
For example, when expanding
(x+y)6
{\color{red}1}x6+{\color{red}6}x5y+{\color{red}{15}}x4y2+{\color{red}{20}}x3y3+{\color{red}{15}}x2y4+{\color{red}{6}}xy5+{\color{red}1}y6
Discussion
Online tools