MultivariatePowerSeries
GetAnalyticExpression
get an analytic expression for a power series or a univariate polynomial over power series or a Puiseux series
Calling Sequence
Parameters
Description
Examples
Compatibility
GetAnalyticExpression(p)
GetAnalyticExpression(u)
GetAnalyticExpression(s)
p
-
power series generated by this package
u
univariate polynomial over power series or over Puiseux series generated by this package
s
Puiseux series generated by this package
The command GetAnalyticExpression(p) returns the analytic expression of the power series p, if it is known, or undefined if it is not known.
The power series that have a known analytic expression are the following:
those created with the commands GeometricSeries and SumOfAllMonomials;
those created with the command PowerSeries from a polynomial, or from a procedure while specifying the analytic expression explicitly;
those obtained by applying arithmetic operations (addition, multiplication, inversion, exponentiation) to power series whose arithmetic expression is known.
The command GetAnalyticExpression(u) returns the analytic expression of univariate polynomial u over power series or over a Puiseux series, if it is known. This is determined in the natural way from the analytic expressions of each coefficient of s.
The command GetAnalyticExpression(s) returns the analytic expression a Puiseux series s, if it is known. This is determined by taking the analytic expressions of its internal power series and applying the change of variables to it.
If an analytic expression is known for a power series or a Puiseux series, it is part of the default display of that power series. This is not the case for univariate polynomials over power series.
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 geometric power series in x and y. Extract its analytic expression.
a≔GeometricSeries⁡x,y:
GetAnalyticExpression⁡a
11−x−y
Create a power series for a rational function. Extract its analytic expression.
b≔Inverse⁡PowerSeries⁡3+2⁢x+y:
GetAnalyticExpression⁡b
13+2⁢x+y
Define the product of a and b. Its analytic expression is known because the analytic expressions for both a and b are known.
c≔a⁢b
c≔PowⅇrSⅇrⅈⅇs of 11−x−y⁢3+2⁢x+y : 13+…
GetAnalyticExpression⁡c
11−x−y⁢3+2⁢x+y
Below, e and f are defined as the same power series, but f knows its analytic expression and e doesn't.
e≔PowerSeries⁡d↦xdd!,variables=x
e≔PowⅇrSⅇrⅈⅇs: 1+…
GetAnalyticExpression⁡e
undefined
f≔PowerSeries⁡d↦xdd!,analytic=exp⁡x
f≔PowⅇrSⅇrⅈⅇs of ⅇx : 1+…
GetAnalyticExpression⁡f
ⅇx
If we create power series from e and f by arithmetic operations, then those involving e do not know their analytic expressions, but those involving f do (if the other power series involved know their analytic expressions). Below, g and h represent the same power series, but because h used f rather than e in its definition, it knows its analytic expression.
g≔a+be
g≔PowⅇrSⅇrⅈⅇs: 43+…
GetAnalyticExpression⁡g
h≔a+bf
h≔PowⅇrSⅇrⅈⅇs of 11−x−y+13+2⁢x+y⁢ⅇx : 43+…
GetAnalyticExpression⁡h
11−x−y+13+2⁢x+y⁢ⅇx
If we create a univariate polynomial over power series, it will know its analytic expression if each of the coefficients of the main variable knows its analytic expression. Below, v knows its analytic expression, but u doesn't.
u≔UnivariatePolynomialOverPowerSeries⁡a,b,e,z
u≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 1+x+y+…+13+…⁢z+1+…⁢z2
GetAnalyticExpression⁡u
v≔UnivariatePolynomialOverPowerSeries⁡a,b,f,z
v≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 1+x+y+…+13+…⁢z+1+…⁢z2
GetAnalyticExpression⁡v
11−x−y+z3+2⁢x+y+ⅇx⁢z2
Create a Puiseux series in x and y. Extract its analytic expression.
s≔PuiseuxSeries⁡PowerSeries⁡11+U,U=x−13⁢y2,x=3,y=−4
s≔PuⅈsⅇuxSⅇrⅈⅇs of x31+y2x13⁢y4 : x3y4+…
GetAnalyticExpression⁡s
x31+y2x13⁢y4
We can get the internal power series of s, get its analytic expression, apply the change of variables given by U=y2x13 and multiply this by x3y4.
p≔GetPowerSeries⁡s
p≔PowⅇrSⅇrⅈⅇs of 11+U : 1+…
x3y4⁢eval⁡GetAnalyticExpression⁡p,U=x−13⁢y2
Finally, we create a univariate polynomial over power series from a list of Puiseux series.
h≔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
h≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPuⅈsⅇuxSⅇrⅈⅇs: 1+0⁢z+x13⁢z2+y⁢z3+0+…⁢z4
We get the analytic expression of h.
1+x13⁢z2+y⁢z3+x⁢y+xy⁢z41+x⁢y+xy
The MultivariatePowerSeries[GetAnalyticExpression] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The MultivariatePowerSeries[GetAnalyticExpression] command was updated in Maple 2023.
The s parameter was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
Display
GeometricSeries
GetPowerSeries
Inverse
Multiply
PowerSeries
PuiseuxSeries
SumOfAllMonomials
Download Help Document