Ask Your Question

ryszard314159's profile - activity

2020-10-28 07:33:06 +0200 received badge  Famous Question (source)
2016-04-16 10:40:26 +0200 received badge  Notable Question (source)
2013-06-10 14:00:50 +0200 received badge  Popular Question (source)
2013-05-26 14:09:18 +0200 received badge  Good Question (source)
2011-05-04 13:43:23 +0200 received badge  Nice Question (source)
2011-05-04 13:40:49 +0200 received badge  Student (source)
2011-05-04 10:35:34 +0200 asked a question 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...