Expand
Expand[expr] expands out products and positive integer powers in expr.
Examples
Expand a polynomial:
Expand[(x + y)^2]
(* x^2 + 2 x y + y^2 *)Expand products:
Expand[(a + b)(c + d)]
(* a c + a d + b c + b d *)Please visit the official Wolfram Language Reference for more details.