Acessibilidade / Reportar erro

Division of Power Series: Recursive and Non-Recursive Formulas

Abstract

In this paper we propose a new formula to divide power series. We develop two versions of the formula: a recursive and a non-recursive one, the latter aiming to reduce the computational cost for high-order series truncation. To use the non-recursive formula we define certain fundamental sets of summation indexes. Additional non-trivial information about effects of repetition of the indexes are needed and contabilized within a coefficient 𝛾 in the formula, we explain how to calculate the coefficient 𝛾 for each summation index by constructing appropriate mappings between the fundamental sets of indexes previous defined.

Key words
Division of series; non-recursive formula; power series; recursive formula

INTRODUCTION

Operating with power series is important in applied mathematics, physics and engineering since many problems of real life lead to complicated calculations with smooth functions, which can be approximated by truncated power series. There are many works on power series and operations with them. The Cauchy product (discrete convolution given in (4)) of two power series, allows calculation of the n-th coefficient of the product without needs to calculate the previous coefficients 0kn1. For division of power series, in general, the classical algorithms calculate iteratively the n-th coefficient of the quotient, i.e., they calculate all the previous coefficient k<n of the quotient series. For instance, the traditional algebraic method to divide power series is iterated “polynomial long division“, which contain cumbersome calculations especially for high-order truncated series, such iterative method has elevated computational cost (it requires more than n(n1) multiplications and n(n1)/2 additions). Other classical methods to calculate the quotient P/Q of power series are based in the previous calculation of the power series that represents the reciprocal 1/Q and then perform the product P1/Q by the Cauchy formula. Kaluza 1928KALUZA T. 1928. Uber die Koefizienten reziproker Potenzreihen. Math Z 28: 161-170., Lamperti 1958LAMPERTI J. 1958. On the coeficients of reciprocal power series. Amer Math Monthly 65(2): 90-94. have important works on the coefficients of reciprocal power series. From a computational point of view, Sieveking 1972SIEVEKING M. 1972. An Algorithm for Division of Power Series. Computing 10: 153-156. used the reciprocal 1/Q to develop a fast iterative algorithm for division of power series, which needs less than 7(n1) nonscalar multiplications to obtain the first n coefficients of the quotient’s power series. Kung 1974KUNG HT. 1974. On computing Reciprocal of Power Series, Numer. Math Springer-Verlag 22: 341-348., showed that root-finding iterations can be used in the field of power series and obtained a class of algorithms for computing reciprocals of power series with no more than 4(n1) nonscalar multiplications. He also showed that Sieveking’s algorithm for computing reciprocals is the same that Newton iteration. Brent & Kung 1978BRENT RP & KUNG HT. 1978. Fast Algorithms for manipulating Formal Power Series. J ACM 25(4): 581-595. used the Newton’s method for the computation of the first n coefficients of the quotient series in computational time O(nlogn). In this paper we propose a new formula (in closed-form)to divide power series. We develop two versions of the formula: a recursive and a non-recursive one, the latter aiming to reduce the computational cost for high-order series truncation; all (high-order) necessary multi-indexes sets and coefficients can be pre-calculated, stored, and used to divide power series. With our non-recursive formula, the calculation of the n-th coefficient of the quotient power series is independent of the calculation of previous coefficients. This is an advantage over the methods before mentioned. We show two examples that illustrate the usefulness of our new formula (in its non-recursive version) to calculate one of the coefficients of the division power series without having to calculate the previous coefficients. For the particular case of the reciprocal 1/Q of a power series, the problem of calculate each coefficient ak of the reciprocal through our non-recursive formula, reduces to evaluate a k+1 degree multivariate rational function in k+1 variables. Horner’s Rule or similar strategies could be used in order to evaluate the polynomials efficiently, see Carnicer & Gasca 1990CARNICER J & GASCA M. 1990. Evaluation of Multivariate Polynomials and Their Derivatives. Math Comput 54(189): 231-243.. Implementation of algorithms based on our formulas, detailed studies about computational complexity and establish comparisons with existing computational methods to divide power series will be part of future works.

Our formula to divide power series can be applied also to differential calculus of smooth functions. Since Analytic functions f,g can be represented by convergent power series via Taylor’s expansion, and their high order derivatives are related with the coefficients of their power series, our non-recursive formula can be applied to represent the n-th derivative of the fraction f/g in terms of the derivatives fk,gk, 0kn. As far as we known, the only formula that exists for this type of calculation (but not in the context of power series) was provided by Quaintance & Gould 2016QUAINTANCE J & GOULD HW. 2016. Combinatorial Identities for Stirling Numbers: The Unpublished Notes of H. W. Gould. World Scientific, 260 p. (see Section 8.3, equation 8.33). This formula relates high order derivatives of the quotient f/g with the derivatives of the functions f, g and other non-linear expressions of these functions. He did not used power series, instead, he obtained his formula as application of the generalized chain rule and Hoppe’s formula.

MOTIVATION

Of course, developing a formula for a quotient of power series have a theoretical value itself as a powerful tool in mathematical analysis. Nevertheless, we are specially motivated on potential applications to asymptotic methods which are widely used to solve partial differential equations and requires formal manipulations and operation with series through the process of obtaining the solutions. Maslov 1977MASLOV VP. 1977. Propagation of Shock Waves in Isoentropic non Viscous Gas, Itogui Naúki i Téjniki. Covremiennie Problemi Matemátiki, VINITI: Moscow, v. 8, 199 p., proposed an asymptotic method that can be applied to obtain three types of singular solutions (shocks, vortices and infinitely narrow solitons) for distinct problems modeled by hyperbolic conservation laws. This asymptotic method uses smooth power series expansions of the solutions in a neighborhood of the singularity to obtain the well known Hugoniot-Maslov chain to be satisfied by the coefficients of the asymptotic expansion; see, for instance, Maslov 1977MASLOV VP. 1977. Propagation of Shock Waves in Isoentropic non Viscous Gas, Itogui Naúki i Téjniki. Covremiennie Problemi Matemátiki, VINITI: Moscow, v. 8, 199 p., Dobrokhotov 1999DOBROKHOTOV SY. 1999. Hugoniot-Maslov Chains for Solitary Vortices of the Shallow Water Equations, I. Derivation of the Chains for the case of Variable Coriolis forces and Reduction to the Hill Equation. Russ J Math Phys 6(2): 137-173., Bulatov et al. 1997BULATOV VV, DOBROKHOTOV SY, VLADIMIROV YV & DANILOV VG. 1997. Hugoniot and Maslov Chains for Solitary Vortex Solutions to Equations of Shallow Water, the Hill Equation, and Trajectories of a Typhoon eye, Proceedings of the Int.Conf. Asymptotic Methods in Mechanics. Math Notes 78(5): 740-743., Dobrokhotov et al. 2004DOBROKHOTOV SY, SEMENOV ES & TIROZZI B. 2004. Hugoniot-Maslov Chains for Singular Vortical Solutions to Quasilinear Hyperbolic Systems and Typhoon Trajectory. J Math Sci 124(5): 5209-5249.. Of course, the nonlinearity of the flux functions of the conservation laws leads to complicated calculations involving power series such as: iterated products of power series, n-power of a power series, quotient between power series, and other nonlinear operations between them. We refer Alvarez & Valiño-Alonso 2001ALVAREZ AC & VALIÑO-ALONSO B. 2001. Hugoniot-Maslov Chain for nonlinear wave evolution with discontinuous depth. In: Fourth Italian-Latin American Conference on Applied and Industrial Mathematics, 2001, La Habana, Memorias IV Simposio de Matematica, La Habana: Artes Graficas, p. 426-434., Rodríguez-Bermúdez & Valiño-Alonso 2007RODRÍGUEZ-BERMÚDEZ P & VALIÑO-ALONSO B. 2007. Hugoniot-Maslov chains of a shock wave in conservation law with polynomial flow. Math Nachrichten 280: 907-915., Bernard et al. 2012BERNARD S, MERIL A, RODRÍGUEZ-BERMÚDEZ P & VALIÑO AB. 2012. Obtaining shock solutions via Maslov’s theory and Colombeau algebra for conservation laws with analytical coeficients. Novi Sad J Math 42: 95-116., Rodríguez-Bermúdez & Valiño-Alonso 2018RODRÍGUEZ-BERMÚDEZ P & VALIÑO-ALONSO B. 2018. Asymptotic Maslov’s method for shocks of conservation laws systems with quadratic flux. Appl Anal 97(6): 888-901. for examples where iterated products and n-power of power series were important to perform the asymptotic method. When the flux function of the conservation law contains fractions; as in Buckley-Leverett equation modeling two-phase flow in porous media with applications to oil engineering, division of power series are needed to perform the asymptotic of the solutions. Motivated by that, we propose here both a recursive and a non-recursive versions of a formula to divide power series, which can be applied in those cases. See Rodríguez-Bermúdez et al. 2021RODRÍGUEZ-BERMÚDEZ P, SOUSA FV, LOBÃO DC, ALVAREZ GB & VALIÑO-ALONSO B. 2021. Hugoniot-Maslov Chain for Shock Waves in Buckley-Leverett Equations. Math Notes 110 (5): 738-753. for an important application of our non-recursive formula when performing asymptotic methods to obtain shock-type solutions for the Buckley-Leverett equation.

We remark that in this work, we are not worried about convergence of the series, we focus only on formal division of series when it is possible.

In the third section, we propose a recursive formula for the quotient of power series, the validity of the formula was proved by induction method. In the fourth section, we propose an alternative non-recursive formula to calculate the quotient of the power series, such way of calculation has significant less computational cost than the original recursive version; however, it requires additional information about repetition of summation indexes; we explain how to take into account such information in the formula by defining a set of suitable mappings. In the fifth section we illustrate with two examples the usefulness of our formulas.

A PRACTICAL FORMULA TO DIVIDE POWER SERIES: RECURSIVE VERSION

Given two power series ckτk and bkτk, we provide a formula for their quotient akτk=ckτk/bkτk.

Proposition 1. Consider the power series ckτk and bkτk, and assume that the first coefficient b0 of the series bkτk is not zero. The coefficients ak of the series corresponding to the quotient akτk=ckτk/bkτk are given by

a k = 1 b 0 k + 1 m = 0 k c m α ( k , m ) , (1)

where for each m and all km the polynomials α(k,m) are defined by the following recurrence formula

α ( k , m ) = i = 1 k m α ( k i , m ) b 0 i 1 b i (2)

with α(m,m)=b0m. We also define α(k,m)=0,fork<m.

Proof.First we focus in a product of two convergent power series, given the seriesk=0akτkandk=0bkτktheir product is of course another convergent power series:

k = 0 c k τ k = ( k = 0 a k τ k ) ( k = 0 b k τ k ) . (3)

If we perform the product term by term, we obtain by straight forward calculations (Cauchy product)

c k = i = 0 k a i b k i , k . (4)

We start from the above expression for the product, in order to obtain a formula for the quotientckτkbkτk. We will illustrate the recursive calculation of the first four coefficientsa0,a1,a2,a3of the quotient. First we calculate the polynomial functionsα(k,m), defined in (2) fork=0,1,2,3andmk

α ( 0 , 0 ) = 1 , α ( 1 , 0 ) = b 1 , α ( 1 , 1 ) = b 0 , α ( 2 , 0 ) = b 1 2 b 0 b 2 , α ( 2 , 1 ) = b 0 b 1 , α ( 2 , 2 ) = b 0 2 , α ( 3 , 0 ) = b 1 3 + 2 b 0 b 1 b 2 b 0 2 b 3 , α ( 3 , 1 ) = b 0 b 1 2 b 0 2 b 2 , α ( 3 , 2 ) = b 0 2 b 1 , α ( 3 , 3 ) = b 0 3 . (5)

Taking into account the expressions in (5), the product rule (3)-(4) allows the recursive calculation of the coefficientsakas follows

c 0 = a 0 b 0 a 0 = c 0 b 0 = 1 b 0 [ c 0 α ( 0 , 0 ) ] , c 1 = a 0 b 1 + a 1 b 0 a 1 = c 1 c 0 b 0 b 1 b 0 = c 1 b 0 c 0 b 1 b 0 2 = c 1 b 0 c 0 b 1 b 0 2 = 1 b 0 [ c 0 α ( 1 , 0 ) + c 1 α ( 1 , 1 ) ] , c 2 = a 0 b 2 + a 1 b 1 + a 2 b 0 a 2 = c 2 c 0 b 0 b 2 c 1 b 0 c 0 b 1 b 0 2 b 1 b 0 = 1 b 0 3 [ c 2 b 0 2 c 0 b 0 b 2 c 1 b 0 b 1 + c 0 b 1 2 ] = 1 b 0 3 [ c 0 α ( 2 , 0 ) + c 1 α ( 2 , 1 ) + c 2 α ( 2 , 2 ) ] , c 3 = a 0 b 3 + a 1 b 2 + a 2 b 1 + a 3 b 0 a 3 = c 3 a 0 b 3 a 1 b 2 a 2 b 1 b 0 , thus a 3 = c 3 b 0 c 0 b 0 b 3 b 0 ( c 1 b 0 c 0 b 1 b 0 2 ) b 2 b 0 1 b 0 3 ( c 2 b 0 2 c 0 b 0 b 2 c 1 b 0 b 1 + c 0 b 1 2 ) b 1 b 0 = 1 b 0 4 [ c 3 b 0 3 c 0 b 0 2 b 3 c 1 b 0 2 b 2 + c 0 b 0 b 1 b 2 c 2 b 0 2 b 1 + c 0 b 0 b 1 b 2 + c 1 b 0 b 1 2 c 0 b 1 3 ] = 1 b 0 4 [ c 0 α ( 3 , 0 ) + c 1 α ( 3 , 1 ) + c 2 α ( 3 , 2 ) + c 3 α ( 3 , 3 ) ] .

Thus, the relationak=1b0k+1m=0kcmα(k,m) holds for k=0,1,2,3. Of course, in order to prove this for generalkwe have to perform a formal mathematics induction, we assume thatak=1b0k+1m=0kcmα(k,m)for a givenk, and we will prove that the same argument is true for thek+1 coefficient.

Indeed, (4) for k+1gives

c k + 1 = i = 0 k + 1 a i b k i + 1 , k . (6)

Since b00, (6) can be solved for ak+1to obtain

a k + 1 = 1 b 0 k + 2 [ c k + 1 b 0 k + 1 j = 0 k m = 0 j c m α ( j , m ) b 0 k j b k j + 1 ] . (7)

Using the polynomial functions α(j,m) defined in (2) and taking into account that α(j,m)=0for m>j, we interchange the summation symbols and obtain

a k + 1 = 1 b 0 k + 2 [ c k + 1 b 0 k + 1 + m = 0 k c m [ j = m k α ( j , m ) b 0 k j b k j + 1 ] ] . (8)

Now we use definition in (2) after setting i=kjto obtain

a k + 1 = 1 b 0 k + 2 [ c k + 1 α ( k + 1 , k + 1 ) + m = 0 k c m α ( k + 1 , m ) ] . (9)

Therefore,

a k + 1 = 1 b 0 k + 2 [ m = 0 k + 1 c m α ( k + 1 , m ) ] . (10)

completing the induction proof. ◻

A NON-RECURSIVE FORMULA

In order to calculateakfor a high orderk, the recursive combination (1)-(2) in general produces high computational cost and we do not recommend it. An alternative non-recursive way to calculate the coefficientsakof the quotient series can be performed by using (1) together with the following formula forα(k,m)

α ( k , m ) = ( S 0 , , S k ) Ω k , m ( 1 ) k + S 0 γ ( S ) i = 0 k b i S i , (11)

with γ(S) being a natural number which reflects contribution of a repeated indexSΩk,m in the summation.

The fundamental sets Ωk,m of indices, are defined below

Ω k , m = { ( S 0 , , S k ) k + 1 , such that n = 0 k S n = k , n = 1 k n S n = k m } . (12)

Remark 1.Notice that Ω k,m=for k<m .

Remark 2. Notice that the polynomials α(k,m) defined in (11) represent a k- degree homogeneous polynomial in k+1 variables b0,b1,...,bk.

Example 1.For k=1,2,3,4 and m=0we have the sets of indices:

Ω 4 , 0 = { ( 0 , 4 , 0 , 0 , 0 ) ; ( 1 , 2 , 1 , 0 , 0 ) ; ( 2 , 1 , 0 , 1 , 0 ) ; ( 2 , 0 , 2 , 0 , 0 ) ( 13 ) ; ( 3 , 0 , 0 , 0 , 1 ) } , ( 14 ) Ω 3 , 0 = { ( 0 , 3 , 0 , 0 ) ; ( 1 , 1 , 1 , 0 , ) ; ( 2 , 0 , 0 , 1 ) } , ( 15 ) Ω 2 , 0 = { ( 0 , 2 , 0 ) ; ( 1 , 0 , 1 ) } , ( 16 ) Ω 1 , 0 = { ( 0 , 1 ) } , ( 17 ) Ω 0 , 0 = { 0 } ( 18 ) .

Developing the recurrence formula (2) for k=1,k=2,k=3,k=4, etc... we rewrite the expressions forα(k,m)in the format of (11), indeed

α ( 0 , 0 ) = 1 , here γ ( 0 ) = 1 in Ω 0 , 0 . (19)
α ( 1 , 0 ) = α ( 0 , 0 ) b 1 = b 1 , here γ ( ( 0 , 1 ) ) = 1 in Ω 1 , 0 . (20)
α ( 2 , 0 ) = α ( 1 , 0 ) b 1 α ( 0 , 0 ) b 0 b 2 = b 1 2 b 0 b 2 , here γ ( ( 0 , 2 , 0 ) ) = 1 , γ ( ( 1 , 0 , 1 ) ) = 1 in Ω 2 , 0 . (21)
α ( 3 , 0 ) = α ( 2 , 0 ) b 1 α ( 1 , 0 ) b 0 b 2 α ( 0 , 0 ) b 0 2 b 3 = b 1 3 + 2 b 0 b 1 b 2 b 0 2 b 3 , here γ ( ( 0 , 3 , 0 , 0 ) ) = 1 , γ ( ( 2 , 0 , 0 , 1 ) ) = 1 , γ ( ( 1 , 1 , 1 , 0 ) ) = 2 in Ω 3 , 0 . (22)
α ( 4 , 0 ) = α ( 3 , 0 ) b 1 α ( 2 , 0 ) b 0 b 2 α ( 1 , 0 ) b 0 2 b 3 α ( 0 , 0 ) b 0 3 b 4 = b 1 4 3 b 0 b 1 2 b 2 + 2 b 0 2 b 1 b 3 + b 0 2 b 2 2 b 0 3 b 4 , here γ ( ( 0 , 4 , 0 , 0 , 0 ) ) = 1 , γ ( ( 2 , 0 , 2 , 0 , 0 ) ) = 1 , γ ( ( 3 , 0 , 0 , 0 , 1 ) ) = 1 , γ ( ( 2 , 1 , 0 , 1 , 0 ) ) = 2 , γ ( ( 1 , 2 , 1 , 0 , 0 ) ) = 3 in Ω 4 , 0 . (23)

Of course, in the generic case, the difficulty to calculate the proper value of the coefficient γ(S) for each arbitrary index SΩk,m represents the main disadvantage of this non-recursive formula given in (11) when compared to the recursive formula in (2). However, for special cases where all the coefficientsγ(S)(which appear in the calculations) are known “a priori“ (11) can be used, providing a fast and efficient computational way of dividing power series.

Calculating the Coefficients γ(S)

Now we explain how to calculate γ(S) in order to apply the non-recursive formula in (11). We proceed as follows.

For eachjfixed (mj <k) and for each set of indexes (S0,,Sj)Ω j,m we have that S0+S1++Sj=j and S1+2S2++jSj=jm.

We define the following map ψ jk,m:Ω j,mΩ k,m, such that (S0,,Sj)(S̃0,,S̃k) as follows

  1. In the case j=0, we set S̃0=S0+k1;S̃i=0, for i=1,,k1;S̃k=1;

  2. In the case 1 ≤ j < ( k−1 )/2 , we set S̃0=S0+kj1;S̃i=Si, for i=1,,j;S̃j+1==S̃kj1=0;S̃kj=1;S̃kj+1==S̃k=0.

  3. In the case j=(k1)/2, we set S̃0=S0+(k1)/2;S̃i=Si, for i=1,,(k1)/2;S̃[(k1)/2]+1=1;S̃[(k1)/2]+2==S̃k=0.

  4. In the case (k1)/2 <jk1, we set S̃0=S0+kj1;S̃i=Si for i=1,,j with ikj;S̃i=Si+1 for i=kj,S̃j+1==S̃k=0.

Indeed, notice that in all above cases

S ̃ 0 + S ̃ 1 + + S ̃ k = ( S 0 + k j 1 ) + S 1 + + S j + 1 = k ,(24) S ̃ 1 + 2 S ̃ 2 + + k S ̃ k = S 1 + 2 S 2 + + j S j + ( k j ) = k m .(25)

Thus, we have that (S~ 0,,S~ k)Ω k,m.

Definition 1. Given a vector of indexes SΩ k,m, the coefficient γ(S)is defined by a natural number which quantify all the inverse-image-composition-paths of the form [(ψmi,m)1(ψjk,m)1],m <ij<k, connecting the element SinΩ k,m with the element (m,0,...,0)inΩ m,m.

Example 2. For m=0,k=4, we have

Ω 0 , 0 = { 0 } , ( 26 ) Ω 1 , 0 = { ( 0 , 1 ) } , ( 27 ) Ω 2 , 0 = { ( 0 , 2 , 0 ) ; ( 1 , 0 , 1 ) } , ( 28 ) Ω 3 , 0 = { ( 0 , 3 , 0 , 0 ) ; ( 1 , 1 , 1 , 0 , ) ; ( 2 , 0 , 0 , 1 ) } , ( 29 ) Ω 4 , 0 = { ( 0 , 4 , 0 , 0 , 0 ) ; ( 1 , 2 , 1 , 0 , 0 ) ; ( 2 , 1 , 0 , 1 , 0 ) ; ( 2 , 0 , 2 , 0 , 0 ) ; ( 3 , 0 , 0 , 0 , 1 ) } . ( 30 )

For each set \(\thinspace\Omega_{i,0}\),i=1,2,3,4, let us to apply the maps

ψ j i , 0 : Ω j , 0 Ω i , 0 for 0 j < i
codomain Ω 1 , 0 : ψ 0 1 , 0 ( 0 ) = ( 0 , 1 ) , codomain Ω 2 , 0 : ψ 0 2 , 0 ( 0 ) = ( 1 , 0 , 1 ) ; ψ 1 2 , 0 ( ( 0 , 1 ) ) = ( 0 , 2 , 0 ) , codomain Ω 3 , 0 : ψ 0 3 , 0 ( 0 ) = ( 2 , 0 , 0 , 1 ) ; ψ 1 3 , 0 ( ( 0 , 1 ) ) = ( 1 , 1 , 1 , 0 ) ; ψ 2 3 , 0 ( ( 0 , 2 , 0 ) ) = ( 0 , 3 , 0 , 0 ) ; ψ 2 3 , 0 ( ( 1 , 0 , 1 ) ) = ( 1 , 1 , 1 , 0 ) , codomain Ω 4 , 0 : ψ 0 4 , 0 ( 0 ) = ( 3 , 0 , 0 , 0 , 1 ) ; ψ 1 4 , 0 ( ( 0 , 1 ) ) = ( 2 , 1 , 0 , 1 , 0 ) ; ψ 2 4 , 0 ( ( 0 , 2 , 0 ) ) = ( 1 , 2 , 1 , 0 , 0 ) ; ψ 2 4 , 0 ( ( 1 , 0 , 1 ) ) = ( 2 , 0 , 2 , 0 , 0 ) ; ψ 3 4 , 0 ( ( 0 , 3 , 0 , 0 ) ) = ( 0 , 4 , 0 , 0 , 0 ) ; ψ 3 4 , 0 ( ( 1 , 1 , 1 , 0 ) ) = ( 1 , 2 , 1 , 0 , 0 ) ; ψ 3 4 , 0 ( ( 2 , 0 , 0 , 1 ) ) = ( 2 , 1 , 0 , 1 , 0 ) .

Since there are two inverse image composition-paths connecting the element (1,1,1,0)(red color) in Ω 3,0 with the element 0 in Ω 0,0, we have γ((1,1,1,0))=2. Indeed, notice that

[ ( ψ 0 1 , 0 ) 1 ( ψ 1 3 , 0 ) 1 ] ( 1 , 1 , 1 , 0 ) = 0 , [ ( ψ 0 2 , 0 ) 1 ( ψ 2 3 , 0 ) 1 ] ( 1 , 1 , 1 , 0 ) = 0 .

As in the previous case, there are two inverse image composition-paths connecting the element (2,1,0,1,0)(red color) in Ω 4,0 with the element 0 in Ω 0,0, we have γ((2,1,0,1,0))=2.

[ ( ψ 0 1 , 0 ) 1 ( ψ 1 4 , 0 ) 1 ] ( 2 , 1 , 0 , 1 , 0 ) = 0 , [ ( ψ 0 3 , 0 ) 1 ( ψ 3 4 , 0 ) 1 ] ( 2 , 1 , 0 , 1 , 0 ) = 0 .

By the other hand, there are three inverse image composition-paths connecting the element (1,2,1,0,0) (blue color) in Ω 4,0 with the element 0inΩ 0,0, we have γ((1,2,1,0,0))=3. Indeed, notice that

[ ( ψ 0 1 , 0 ) 1 ( ψ 1 2 , 0 ) 1 ( ψ 2 4 , 0 ) 1 ] ( 1 , 2 , 1 , 0 , 0 ) = 0 , [ ( ψ 0 2 , 0 ) 1 ( ψ 2 3 , 0 ) 1 ( ψ 3 4 , 0 ) 1 ] ( 1 , 2 , 1 , 0 , 0 ) = 0 , [ ( ψ 0 1 , 0 ) 1 ( ψ 1 3 , 0 ) 1 ( ψ 3 4 , 0 ) 1 ] ( 1 , 2 , 1 , 0 , 0 ) = 0 .

The rest of the indexes (black color) have only one inverse image composition path so they have γ(S)=1.

APPLICATIONS

Example 3. Consider the Taylor series at x=0 of the functions ex and cosx,

e x = n = 0 1 n ! x n (31)
c o s x = n = 0 ( 1 ) n ( 2 n ) ! x 2 n (32)

By using the non-recursive formula for the division of power series we will calculate directly the 5-th coefficient (k=4) of the quotient series.

Notice that in this case, c0=1,c1=1,c2=1/2,c3=1/6,c4=1/24 while b0=1,b1=0,b2=1/2,b3=0,b4=1/24. We define the vector of coefficients b=(1,0,1/2,0,1/24) and c=(1,1,1/2,1/6,1/24).

We evaluate the k-degree homogeneous polynomials α(k,m)(in their non-recursive form (11)) for k=4,m=0,1,2,3,4at the given vector b; see the Appendix section to see all the fundamental sets Ωk,m and the corresponding coefficient γ of each index. Thus, we have α(4,0)=5/24,α(4,1)=0,α(4,2)=1/2,α(4,3)=0,α(4,4)=1. Therefore, by using (1) and the given vectorc, we obtain a4=1/2,i.e.,the5-th coefficient of the quotient power series.

Example 4(Calculating the Reciprocal 1/Q).As an important special case, we can use our formula to obtain the Reciprocal power series 1/Q of a given power series Q=bixi. For this case, we have c0=1 and ci=0,for1i; therefore the coefficient akof the reciprocal power series is the rational function in the variables b0,b1,...bk

a k = α ( k , 0 ) b 0 k + 1 . (33)

For instance if Q=cosx, since the coefficient b0=1, the5-th coefficient of the reciprocal power series 1/Q is just a4=α(4,0)=5/24;i.e., this is the 5-th coefficient of the Taylor series for the secxfunction.

Remark 3.In order to evaluate efficiently the multivariate polynomial α(4,0) at the given vector b, one can use Horner’s Rule or similar strategies, see for instance (Carnicer & Gasca 1990CARNICER J & GASCA M. 1990. Evaluation of Multivariate Polynomials and Their Derivatives. Math Comput 54(189): 231-243.).. The problem of finding the best strategy to reduce the computational cost of evaluating the polynomials α(k,m) will be the focus of future works. However, in order to illustrate the usefulness of our method, for this special example we rewrite the polynomial α(4,0) in (23), as follows:

α ( 4 , 0 ) = ( b 1 ) 2 ( ( b 1 ) 2 3 b 0 b 2 ) + ( b 0 ) 2 ( b 2 2 b 0 b 4 + 2 b 1 b 3 )

Thus we only need of 8 nonscalar multiplications and 4 additions to evaluate the above polynomial. For a case in whichb01, the calculation ofa4via (33) requires three additional operations (two multiplications and one division) totalizing 11 nonscalar multiplications/divisions and 4 additions. These are few operations when compared with traditional methods like polynomials “long division“ which requires at least 21 multiplications and 10 additions to obtain iteratively the coefficientsai,i=0,1,2,3,4of the quotient power series.

Remark 4.If we want to calculate each of the first 5coefficientsa0,a1,a2,a3,a4of the reciprocal power series1/Q, it would be necessary to evaluate all the polynomials α(0,0),α(1,0),α(2,0),α(3,0)andα(4,0) detailed in (19)-(23) and then to use the formula (33). These calculations require 14 nonscalar multiplications, 4 divisions and 7 additions; these are less operations than polynomials “long division” method and contain a similar amount of nonscalar multiplications than Sieveking’s algorithm (Sieveking 1972SIEVEKING M. 1972. An Algorithm for Division of Power Series. Computing 10: 153-156.) or Kung’s algorithms (Kung 1974KUNG HT. 1974. On computing Reciprocal of Power Series, Numer. Math Springer-Verlag 22: 341-348.) to obtain the first 5 coefficients of the reciprocal’s power series .

ACKNOWLEDGMENTS

The author acknowledge the financial support provided by Brazilian funding agencies CAPES, CNPq and UFF - Federal Fluminense University.

REFERENCES

  • ALVAREZ AC & VALIÑO-ALONSO B. 2001. Hugoniot-Maslov Chain for nonlinear wave evolution with discontinuous depth. In: Fourth Italian-Latin American Conference on Applied and Industrial Mathematics, 2001, La Habana, Memorias IV Simposio de Matematica, La Habana: Artes Graficas, p. 426-434.
  • BERNARD S, MERIL A, RODRÍGUEZ-BERMÚDEZ P & VALIÑO AB. 2012. Obtaining shock solutions via Maslov’s theory and Colombeau algebra for conservation laws with analytical coeficients. Novi Sad J Math 42: 95-116.
  • BRENT RP & KUNG HT. 1978. Fast Algorithms for manipulating Formal Power Series. J ACM 25(4): 581-595.
  • BULATOV VV, DOBROKHOTOV SY, VLADIMIROV YV & DANILOV VG. 1997. Hugoniot and Maslov Chains for Solitary Vortex Solutions to Equations of Shallow Water, the Hill Equation, and Trajectories of a Typhoon eye, Proceedings of the Int.Conf. Asymptotic Methods in Mechanics. Math Notes 78(5): 740-743.
  • CARNICER J & GASCA M. 1990. Evaluation of Multivariate Polynomials and Their Derivatives. Math Comput 54(189): 231-243.
  • DOBROKHOTOV SY. 1999. Hugoniot-Maslov Chains for Solitary Vortices of the Shallow Water Equations, I. Derivation of the Chains for the case of Variable Coriolis forces and Reduction to the Hill Equation. Russ J Math Phys 6(2): 137-173.
  • DOBROKHOTOV SY, SEMENOV ES & TIROZZI B. 2004. Hugoniot-Maslov Chains for Singular Vortical Solutions to Quasilinear Hyperbolic Systems and Typhoon Trajectory. J Math Sci 124(5): 5209-5249.
  • KALUZA T. 1928. Uber die Koefizienten reziproker Potenzreihen. Math Z 28: 161-170.
  • KUNG HT. 1974. On computing Reciprocal of Power Series, Numer. Math Springer-Verlag 22: 341-348.
  • LAMPERTI J. 1958. On the coeficients of reciprocal power series. Amer Math Monthly 65(2): 90-94.
  • MASLOV VP. 1977. Propagation of Shock Waves in Isoentropic non Viscous Gas, Itogui Naúki i Téjniki. Covremiennie Problemi Matemátiki, VINITI: Moscow, v. 8, 199 p.
  • QUAINTANCE J & GOULD HW. 2016. Combinatorial Identities for Stirling Numbers: The Unpublished Notes of H. W. Gould. World Scientific, 260 p.
  • RODRÍGUEZ-BERMÚDEZ P, SOUSA FV, LOBÃO DC, ALVAREZ GB & VALIÑO-ALONSO B. 2021. Hugoniot-Maslov Chain for Shock Waves in Buckley-Leverett Equations. Math Notes 110 (5): 738-753.
  • RODRÍGUEZ-BERMÚDEZ P & VALIÑO-ALONSO B. 2007. Hugoniot-Maslov chains of a shock wave in conservation law with polynomial flow. Math Nachrichten 280: 907-915.
  • RODRÍGUEZ-BERMÚDEZ P & VALIÑO-ALONSO B. 2018. Asymptotic Maslov’s method for shocks of conservation laws systems with quadratic flux. Appl Anal 97(6): 888-901.
  • SIEVEKING M. 1972. An Algorithm for Division of Power Series. Computing 10: 153-156.

APPENDIX

Ω 4 , 0 = { ( 0 , 4 , 0 , 0 , 0 ) ; ( 1 , 2 , 1 , 0 , 0 ) ; ( 2 , 1 , 0 , 1 , 0 ) ; ( 2 , 0 , 2 , 0 , 0 ) ; ( 3 , 0 , 0 , 0 , 1 ) } , ( 35 ) Ω 4 , 1 = { ( 1 , 3 , 0 , 0 , 0 ) ; ( 2 , 1 , 1 , 0 , 0 ) ; ( 3 , 0 , 0 , 1 , 0 ) } , ( 36 ) Ω 4 , 2 = { ( 2 , 2 , 0 , 0 , 0 ) ; ( 3 , 0 , 1 , 0 , 0 ) } , ( 37 ) Ω 4 , 3 = { ( 3 , 1 , 0 , 0 , 0 ) } , ( 38 ) Ω 4 , 4 = { ( 4 , 0 , 0 , 0 , 0 ) } ( 39 )

The coefficients γ(S)for the ordered fundamental sets (35)-(39) are stored in the following vectors γ4,0=(1,3,2,1,1),γ4,1=(1,2,1),γ4,2=(1,1),γ4,3=1,γ4,4=1

Publication Dates

  • Publication in this collection
    21 Nov 2022
  • Date of issue
    2022

History

  • Received
    21 June 2021
  • Accepted
    21 Nov 2021
Academia Brasileira de Ciências Rua Anfilófio de Carvalho, 29, 3º andar, 20030-060 Rio de Janeiro RJ Brasil, Tel: +55 21 3907-8100 - Rio de Janeiro - RJ - Brazil
E-mail: aabc@abc.org.br