MultivariatePowerSeries
Variables
return the variables in a power series or a Puiseux series or univariate polynomial over power series or over Puiseux series
Calling Sequence
Parameters
Description
Examples
Compatibility
Variables(p)
Variables(s)
Variables(u)
p
-
power series generated by this package
s
Puiseux series generated by this package
u
univariate polynomial over power series or over Puiseux series generated by this package
The command Variables(p), where p is a power series object created by the MultivariatePowerSeries package, returns the variables occurring in p.
The command Variables(s), where s is a Puiseux series object created by the MultivariatePowerSeries package, returns the variables occurring in s.
The command Variables(u), where p is a univariate polynomial over power series or over Puiseux series created by the MultivariatePowerSeries package, returns the variables occurring in u (its main variable and the variables occurring in all coefficients).
Not every variable name returned by the Variables command needs to actually occur in p or u, however, every variable that occurs in p or u is returned by the Variables command.
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 a power series from a polynomial. The variables in a are the variables in the polynomial.
a≔PowerSeries⁡1+x+x⁢y+x2
a≔PowⅇrSⅇrⅈⅇs: 1+x+x2+x⁢y
Variables⁡a
x,y
Create a power series from a procedure. The variables in b are specified manually.
bproc := proc(d) local s; s := 2*x + y; return expand(s^d); end proc:
b≔PowerSeries⁡bproc,variables=x,y
b≔PowⅇrSⅇrⅈⅇs: 1+…
Variables⁡b
Create a power series from a procedure. The variables in c are the variables occurring in the analytic expression.
c≔PowerSeries⁡d↦xdd!,analytic=exp⁡x
c≔PowⅇrSⅇrⅈⅇs of ⅇx : 1+…
Variables⁡c
x
If we define a power series as c times its inverse, then the power series is equal to 1, so no variables actually occur in it. However, the Variables command will still return the variable x occurring in c.
d≔c⁢Inverse⁡c
d≔PowⅇrSⅇrⅈⅇs: 1
Variables⁡d
Create a univariate polynomial over power series. The variables in u are the variables in its coefficients, together with the main variable.
u≔UnivariatePolynomialOverPowerSeries⁡a,b,c,z
u≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 1+x+x2+x⁢y+1+…⁢z+1+…⁢z2
Variables⁡u
x,y,z
Create a univariate polynomial over Puiseux series from a list of Puiseux series.
g≔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
g≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0⁢z+x13⁢z2+y⁢z3+0+…⁢z4
We verify the variables of g.
Variables⁡g
Finally, we define a Puiseux series s and verify its variables.
s≔PuiseuxSeries⁡x+y1+x+y,x=x⁢y12,y=x⁢y−1
s≔PuⅈsⅇuxSⅇrⅈⅇs of x⁢y+xy1+x⁢y+xy : 0+…
Variables⁡s
The MultivariatePowerSeries[Variables] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The MultivariatePowerSeries[Variables] command was updated in Maple 2023.
See Also
MainVariable
PowerSeries
PuiseuxSeries
UnivariatePolynomialOverPowerSeries
Download Help Document