Ask Your Question

simplify expression (square polynomial)

asked 2017-05-02 13:20:46 -0500

sage_user47 gravatar image

updated 2017-08-01 05:26:57 -0500

FrédéricC gravatar image

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!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-05-02 15:06:39 -0500

kcrisman gravatar image

This isn't necessarily simplification; which one is really "simpler"? But Sage does support this - you may want a combination of several symbolic methods. Try this.

f = x^2 + 2*x + 1
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-05-02 13:20:46 -0500

Seen: 27 times

Last updated: May 02