MultivariatePowerSeries
Multiply
Multiply a list of power series or a list of univariate polynomial over power series
Calling Sequence
Parameters
Description
Examples
Compatibility
p1 * p2
Multiply(P)
u1 * u2
Multiply(U)
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 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
The command p1 * p2 returns the product of p1 and p2. The result is a power series.
The command Multiply(P) returns the product of the factors in P.
The command u1 * u2 returns the product of u1 and u2. The result is a univariate polynomial over power series.
The command 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.
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.
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
The MultivariatePowerSeries[Multiply] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
Exponentiate
GeometricSeries
HomogeneousPart
MainVariable
PowerSeries
Download Help Document
What kind of issue would you like to report? (Optional)