Search code examples
maple

A function that explicit a product in Maple?


I want for the product (a+b)(a-b) to have a^2-b^2. Which function should I write before the product?


Solution

  • The command you want is expand.

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