Ask Your Question

Revision history [back]

simplify expression (square polynomial)

I and using sage to convert x^2 + 2*x + 1 to (x + 1)^2 by using the following:

show((y*2 + 2y + 1).simplify_full())

but it does not do anything and returns the expression as it is. How do I make it do it ? Thanks!

click to hide/show revision 2
retagged

simplify expression (square polynomial)

I and using sage to convert x^2 + 2*x + 1 to (x + 1)^2 by using the following:

show((y*2 + 2y + 1).simplify_full())

but it does not do anything and returns the expression as it is. How do I make it do it ? Thanks!