Expand symbolic expression

expr = x₁*(2x₁ + 6x₂) + x₂*(6x₁ + 7x₂)

expand(expr)

2 Likes