MainVariable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MultivariatePowerSeries

  

MainVariable

  

get the polynomial variable of a univariate polynomial over power series or over Puiseux series

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

MainVariable(u)

Parameters

u

-

univariate polynomial over power series or over Puiseux series generated by this package

Description

• 

MainVariable(u) returns the polynomial variable of the univariate polynomial over power series or over Puiseux series u.

• 

If u is considered as an element of 𝕂x1,,xny, then y is the main variable.

• 

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.

Examples

withMultivariatePowerSeries:

We construct a univariate polynomial over power series in 𝕂xz. Its main variable is z.

fUnivariatePolynomialOverPowerSeriesz1z2z3+xz2+z,z:

MainVariablef

z

(1)

We can view the same expression as an element of 𝕂zx. Then its main variable is x.

gUnivariatePolynomialOverPowerSeriesz1z2z3+xz2+z,x:

MainVariableg

x

(2)

We construct a univariate polynomial over power series in 𝕂y,zx. Its main variable is x.

hUnivariatePolynomialOverPowerSeriesPowerSeriesz,PowerSeriesy,GeometricSeriesy,z,x:

MainVariableh

x

(3)

Create a univariate polynomial over power series from a list of Puiseux series.

gUnivariatePolynomialOverPuiseuxSeriesPuiseuxSeries1,PuiseuxSeries0,PuiseuxSeriesx,x=x13,PuiseuxSeriesy,y=y12,PuiseuxSeriesx+y1+x+y,x=xy12,y=xy1,z

gUnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0z+x13z2+yz3+0+z4

(4)

MainVariableg

z

(5)

Compatibility

• 

The MultivariatePowerSeries[MainVariable] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

• 

The MultivariatePowerSeries[MainVariable] command was updated in Maple 2023.

See Also

Degree

GeometricSeries

GetCoefficient

PowerSeries

PuiseuxSeries

UnivariatePolynomialOverPowerSeries