Apply the Weierstrass preparation theorem to a univariate polynomial over power series
univariate polynomial over power series generated by this package
The command WeierstrassPreperation(u) applies the Weierstrass preparation theorem to the univariate polynomial over power series u. It returns two univariate polynomials over power series p and a, described below.
Let d be the smallest integer such that the d-th coefficient of u is a unit. If there is no such coefficient, in other words, if each coefficient of u has a constant coefficient equal to 0, then Maple signals an error.
The polynomial p is a Weierstrass polynomial of degree d, thus p is monic and every coefficient of p, other than the leading one, evaluates to zero at the origin, that is, it belongs to the maximial ideal of the ring of power series. The polynomial a regarded as a power series (even with respect to its main variable) is invertible. Furthermore, u = p * a.
The command WeierstrassPreperation(u) is based on lazy evaluation techniques. To be precise, this command returns as soon as all coefficients (which are power series) of the univariate polynomials p and a are initialized, that is, as soon the generators of all those coefficients have been determined.
When using the MultivariatePowerSeries package, do not assign anything to the variables occurring in the power series and univariate polynomials over power series. If you do, you may see invalid results.
We create a cubic univariate polynomial over power series and apply the Weierstrass preparation theorem to it. The quadratic coefficient of f is the first unit, so p1 will be quadratic and a1 will be linear.
p1,a1≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+…+0+…⁢z+1⁢z2,UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 1+…+1+…⁢z
The terms of p1 and a1 can only be computed in tandem, so if we update the precision of p1, then the precision of a1 will also be updated.
We compute the product of p1 and a1, and verify that its coefficients are equal at precision 10.
This cubic univariate polynomial over power series has non-unit constant, linear, and quadratic coefficients of its main variable. Only the cubic coefficient is a unit. Hence if we apply the Weierstrass preparation theorem, p2 will be cubic and a2 will be independent of z.
p2,a2≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+…+0+…⁢z+0+…⁢z2+1⁢z3,UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 1+x+y+…
We multiply the factors together and verify that the coefficients are equal to gs at precision 10.
Alexander Brandt, Mahsa Kazemi, Marc Moreno Maza "Power Series Arithmetic with the BPAS Library." Computer Algebra in Scientific Computing (CASC), Lecture Notes in Computer Science - 12291, (2020): 108-128.
Mohammadali Asadi, Alexander Brandt, Mahsa Kazemi, Marc Moreno Maza, and Erik Postma: " Multivariate Power Series in Maple." Maple Conference 2020, Waterloo, Ontario, Canada, November 2-6, 2020, Communications in Computer and Information Science (CCIS) series - Springer 2020 (submitted).
The MultivariatePowerSeries[WeierstrassPreparation] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)