MultivariatePowerSeries/Multiply - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MultivariatePowerSeries/Multiply

MultivariatePowerSeries

  

Multiply

  

Multiply a list of power series or a list of univariate polynomial over power series

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

p1 * p2

Multiply(P)

u1 * u2

Multiply(U)

Parameters

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

Description

• 

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.

Examples

withMultivariatePowerSeries:

Create two power series.

aGeometricSeriesx,y:

bPowerSeries1+x+y+z:

Form their product.

ab

PowⅇrSⅇrⅈⅇs of 1+x+y+z1xy : 1+2x+2y+z+

(1)

One can also multiply a power series with a "plain" polynomial.

ax+y

PowⅇrSⅇrⅈⅇs of x+y1xy : x+y+

(2)

We create another power series, and multiply several power series and "plain" polynomials together.

cPowerSeries2xy+3z3:

dMultiplya,b,c,1+x+y

dPowⅇrSⅇrⅈⅇs of 1+x+y+z3z3+2xy1+x+y1xy : 0+

(3)

To inspect the truncation of this product to degree 2, we can use the Truncate command.

Truncated,2

2xy

(4)

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.

fUnivariatePolynomialOverPowerSeriesxz+yz2+xyz3,z:

fb

UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+0+z+0+z2+0+z3+0+z4

(5)

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.

gUnivariatePolynomialOverPowerSeriesGeometricSeriesx,y,z:

hfg

hUnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+x+z+y+z2+0+z3

(6)

kMultiplyf,g

kUnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+x+z+y+z2+0+z3

(7)

Truncatehk,10

0

(8)

Compatibility

• 

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