# Revision history [back]

### simplify() does not work?

I enter:a, b = var('a, b'); simplify((a + b)^2 - a^2 - 2ab - b^2) and I would expect 0 (i.e. zero) as a result from simplify(), but instead I get back unmodified: (a + b)^2 - a^2 - 2ab - b^2 Am I missing anything? I just started using it and it looks very promissing...

 2 No.2 Revision kcrisman 11857 ●36 ●119 ●237

### simplify() does not work?

I enter:a, enter:

sage: a, b = var('a, b'); simplify((a + b)^2 - a^2 - 2ab 2*a*b - b^2)


and I would expect 0 (i.e. zero) as a result from simplify(), but instead I get back unmodified:

(a + b)^2 - a^2 - 2ab 2*a*b - b^2


Am I missing anything? I just started using it and it looks very promissing...

 3 retagged kcrisman 11857 ●36 ●119 ●237

### simplify() does not work?

I enter:

sage: a, b = var('a, b'); simplify((a + b)^2 - a^2 - 2*a*b - b^2)


and I would expect 0 (i.e. zero) as a result from simplify(), but instead I get back unmodified:

(a + b)^2 - a^2 - 2*a*b - b^2


Am I missing anything? I just started using it and it looks very promissing...