MultivariatePowerSeries
Negate
Negate a power series or a univariate polynomial over power series
Calling Sequence
Parameters
Description
Examples
Compatibility
-p
Negate(p)
-u
Negate(u)
p
-
power series generated by this package
u
univariate polynomial over power series generated by this package
The commands -p and Negate(p) return the additive inverse of the power series p.
The commands -u and Negate(u) return the additive inverse of the univariate polynomial over power series u.
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:
We create a power series and form its additive inverse in two ways.
a≔GeometricSeries⁡x,y,z
a≔PowⅇrSⅇrⅈⅇs of 11−x−y−z : 1+x+y+z+…
b≔−a
b≔PowⅇrSⅇrⅈⅇs of −11−x−y−z : −1+…
c≔Negate⁡a
c≔PowⅇrSⅇrⅈⅇs of −11−x−y−z : −1−x−y−z+…
We verify that the results are the same up to homogeneous degree 10.
ApproximatelyEqual⁡b,c,10
true
We create a univariate polynomial over power series and form its additive inverse.
f≔UnivariatePolynomialOverPowerSeries⁡z3−z2⁢x−2⁢x⁢y,z
f≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: −2⁢x⁢y+0⁢z+−x⁢z2+1⁢z3
g≔−f
g≔UnⅈvarⅈatⅇPolynomⅈalOvⅇrPowⅇrSⅇrⅈⅇs: 0+…+0⁢z+0+…⁢z2+−1⁢z3
The additive inverse of g should be equal to f.
ApproximatelyEqual⁡f,Negate⁡g,10
The MultivariatePowerSeries[Negate] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
ApproximatelyEqual
GeometricSeries
Multiply
PowerSeries
Subtract
UnivariatePolynomialOverPowerSeries
Download Help Document
What kind of issue would you like to report? (Optional)