Ask Your Question

To build a complex polynomial

asked 2016-01-17 13:22:11 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

For example I have this polynomiyal:


I want sage show me someting like:


It doesn't mind the number of roots.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-17 16:17:03 -0500

Is that what you want?

sage: var('z')
sage: p=(z-2*I)*(z+1*I)
sage: p.expand()
z^2 - I*z + 2
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

1 follower


Asked: 2016-01-17 13:22:11 -0500

Seen: 20 times

Last updated: Jan 17 '16