Ask Your Question
0

simplify expression (square polynomial)

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

sage_user47 gravatar image

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

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
1

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

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
f.factor()
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

Stats

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

Seen: 28 times

Last updated: May 02