Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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...

click to hide/show revision 2
No.2 Revision

updated 2011-05-04 04:42:16 -0500

kcrisman gravatar image

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...

click to hide/show revision 3
retagged

updated 2011-05-04 04:46:43 -0500

kcrisman gravatar image

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...