Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: polynome2ele (<P>, <x>) gives the list <l> = [<n>, <e_1>, ..., <e_n>] where <n> is the degree of the polynomial <P> in the variable <x> and <e_i> is the <i>-the elementary symmetric function of the roots of <P>.
![Polynome2ele Example ele2polynome ([2, e1, e2], z);
polynome2ele (x^7 - 14*x^5 + 56*x^3 - 56*x + 22, x);
ele2polynome ([7, 0, -14, 0, 56, 0, -56, -22], x);](http://maxima-online.org//plot.html?g=i233051563.png&t=img&db=r-1690311917)
(%i1) polynome2ele (x^7 - 14*x^5 + 56*x^3 - 56*x + 22, x);
(%o1) [7, 0, - 14, 0, 56, 0, - 56, - 22]
(%i2) ele2polynome ([7, 0, -14, 0, 56, 0, -56, -22], x);
7 5 3
(%o2) x - 14 x + 56 x - 56 x + 22
The inverse: ele2polynome (<l>, <x>)(%o1) true (%i2)