在 Maple 中显示产品的功能?

A function that explicit a product in Maple?

我希望产品 (a+b)(a-b) 具有 a^2-b^2。产品前应该写哪个功能?

你想要的命令是expand

 expand( (a+b) * (a-b) );