MultivariatePowerSeries
Multiply
multiply a list of power series or a list of univariate polynomial over power series or list of multivariate Puiseux series
Calling Sequence
Parameters
Description
Examples
Compatibility
p1 * p2
Multiply(P)
u1 * u2
Multiply(U)
s1 * s2
Multiply(S)
p1, p2
-
power series generated by this package, polynomials, or complex constants
P
sequence of power series generated by this package, polynomials, and complex constants
u1, u2
univariate polynomials over power series or over Puiseux series generated by this package with the same main variable, power series generated by this package, polynomials, or complex constants
U
sequence of univariate polynomial over power series generated by this package with the same main variable, power series generated by this package, polynomials, and complex constants
s1, s2
Puiseux series generated by this package with compatible Puiseux series order, univariate polynomials over power series generated by this package with the same main variable, power series generated by this package, or polynomials
S
sequence of Puiseux series with compatible order, univariate polynomial over power series generated by this package with the same main variable, power series generated by this package, and polynomials
p1 * p2 returns the product of p1 and p2. The result is a power series.
The calling sequence Multiply(P) returns the product of the factors in P.
u1 * u2 returns the product of u1 and u2. The result is a univariate polynomial over power series.
The calling sequence Multiply(U) returns the product of the factors in U. They are converted to univariate polynomials over power series in the same variable. If this is not possible, an error is raised. This may happen if there are univariate polynomials over power series in different variables. It can also happen if the univariate polynomials over power series all have the same main variable, say x, but one of the other arguments is a power series that is not known to be expressible as a polynomial in x. The same restrictions apply to the calling sequence u1 * u2.
s1 * s2 returns the product of the Puiseux series s1 and s2. If the orders of s1 and s2 are not compatible, an error is signaled. The result is a Puiseux series.
The calling sequence Multiply(S) returns the product of the factors in S. They are converted to Puiseux series. If this is not possible, an error is signaled.
When using the MultivariatePowerSeries package, do not assign anything to the variables occurring in the power series, Puiseux series, and univariate polynomials over these series. If you do, you may see invalid results.
with⁡MultivariatePowerSeries:
Create two power series.
a≔GeometricSeries⁡x,y:
b≔PowerSeries⁡1+x+y+z:
Form their product.
a⁢b
PowⅇrSⅇrⅈⅇs of 1+x+y+z1−x−y : 1+2⁢x+2⁢y+z+…
One can also multiply a power series with a "plain" polynomial.
a⁢x+y
PowⅇrSⅇrⅈⅇs of x+y1−x−y : x+y+…
We create another power series, and multiply several power series and "plain" polynomials together.
c≔PowerSeries⁡2⁢x⁢y+3⁢z3:
d≔Multiply⁡a,b,c,1+x+y
d≔PowⅇrSⅇrⅈⅇs of 1+x+y+z⁢3⁢z3+2⁢x⁢y⁢1+x+y1−x−y : 0+…
To inspect the truncation of this product to degree 2, we can use the Truncate command.
Truncate⁡d,2
2⁢x⁢y
We create a univariate polynomial over power series with main variable z. We can multiply such a polynomial with a power series that is known to be polynomial in z.
f≔UnivariatePolynomialOverPowerSeries⁡x⁢z+y⁢z2+x⁢y⁢z3,z:
f⁢b
UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+0+…⁢z+0+…⁢z2+0+…⁢z3+0+…⁢z4
We can also multiply this polynomial with another univariate polynomial over power series, if it is polynomial in z. The two calling sequences for this are equivalent, as suggested by the fact that h and k agree up to homogeneous degree 10.
g≔UnivariatePolynomialOverPowerSeries⁡GeometricSeries⁡x,y,z:
h≔f⁢g
h≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+x+…⁢z+y+…⁢z2+0+…⁢z3
k≔Multiply⁡f,g
k≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+x+…⁢z+y+…⁢z2+0+…⁢z3
Truncate⁡h−k,10
0
Create three Puiseux series.
s1≔PuiseuxSeries⁡PowerSeries⁡11+u,u=x−13⁢y2,x=3,y=−4
s1≔PuⅈsⅇuxSⅇrⅈⅇs of x31+y2x13⁢y4 : x3y4+…
s2≔PuiseuxSeries⁡2+2⁢u+v,u=x−12⁢y,v=y,x=3,y=2
s2≔PuⅈsⅇuxSⅇrⅈⅇs of 2+2⁢yx+2⁢y⁢x3⁢y2 : 2⁢x3⁢y2+2⁢x52⁢y3+2⁢y3⁢x3
s3≔PuiseuxSeries⁡PowerSeries⁡11+u⁢v,y,x,u,v,1,0,1,−12
s3≔PuⅈsⅇuxSⅇrⅈⅇs of 1y2x+1 : 1+…
We multiply s1 and s2.
s1⁢s2
PuⅈsⅇuxSⅇrⅈⅇs of 2+2⁢yx+2⁢y⁢x61+y2x13⁢y2 : 2⁢x6y2+…
We multiply s1 with a polynomial.
s1⁢1+x⁢y
PuⅈsⅇuxSⅇrⅈⅇs of x⁢y+1⁢x31+y2x13⁢y4 : x3y4+…
We can multiply s1 and the power series a. The result is a Puiseux series.
s1⁢a
PuⅈsⅇuxSⅇrⅈⅇs of x31+y2x13⁢1−x−y⁢y4 : x3y4+…
We can also multiply s1 and the univariate polynomial over power series f. The result is again a Puiseux series.
s1⁢f
PuⅈsⅇuxSⅇrⅈⅇs of x⁢…⁢…+y⁢z2+x⁢z⁢x31+y2x13⁢y4 : 0+…
We get an error if we try to multiply s1 and s3, since the orders [x,y] and [y,x] are not compatible.
s1⁢s3
Error, the order of Puiseux series [x, y] and [y, x] are not compatible
We can use the command GetPuiseuxSeriesOrder to obtain the Puiseux series order of s1 and s3.
GetPuiseuxSeriesOrder⁡s1
x,y
GetPuiseuxSeriesOrder⁡s3
y,x
Finally, we create a univariate polynomial over power series from a list of Puiseux series.
u≔UnivariatePolynomialOverPuiseuxSeries⁡PuiseuxSeries⁡1,PuiseuxSeries⁡0,PuiseuxSeries⁡x,x=x13,PuiseuxSeries⁡y,y=y12,PuiseuxSeries⁡x+y1+x+y,x=x⁢y12,y=x⁢y−1,z
u≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0⁢z+x13⁢z2+y⁢z3+0+…⁢z4
Now we multiply u with f.
u⁢f
UnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 0+0+…⁢z+0+…⁢z2+0+…⁢z3+0+…⁢z4+0+…⁢z5+0+…⁢z6+0+…⁢z7
The MultivariatePowerSeries[Multiply] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The MultivariatePowerSeries[Multiply] command was updated in Maple 2023.
The s1, s2 and S parameters were introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
Exponentiate
GeometricSeries
GetPuiseuxSeriesOrder
HomogeneousPart
MainVariable
PowerSeries
PuiseuxSeries
Download Help Document