powseries
subtract
subtraction of two formal power series
Calling Sequence
Parameters
Description
Examples
subtract(a, b)
a, b
-
formal power series
The function subtract(a, b) returns the formal power series in which each coefficient is the corresponding coefficient of a minus the corresponding coefficient of b.
This function yields the same result as powadd(a, negative(b)), but is faster.
The command with(powseries,subtract) allows the use of the abbreviated form of this command.
with⁡powseries:
powcreate⁡t⁡n=t⁡n−1n,t⁡0=1:
powcreate⁡v⁡n=v⁡n−12,v⁡0=1:
s≔subtract⁡v,t:
tpsform⁡s,x,6
−12⁢x−14⁢x2−124⁢x3+148⁢x4+11480⁢x5+O⁡x6
See Also
Download Help Document