Numerical integration using local Taylor expansions in nodes

https://doi.org/10.1016/j.amc.2007.03.009Get rights and content

Abstract

In this paper we introduce a new formula for approximating the integration based on locally Taylor expansions in each one of the nodes and reduce the results in respect of difference equation. Finally some examples are given to illustrate the application of the formulae for comparison the results with other related formulae.

Introduction

It is known that in the general form of Gauss quadrature rules the nodes xi and the corresponding weights wi are usually known [3], or are predetermined [1], [2]. In the next section we are going to introduce the integration formula which in each node the Taylor expansion is used in the related nodes. In this formula we try to derive explicit formulae in numerical integration for nodes and coefficient of integration. These new integration formulae can be introduced by the following:abw(x)f(x)dxi=1naij=0n+1f(j)(xi)j!.Defining the following operator changes the above formula toDn[f(xi)]=j=0n+1f(j)(xi)j!.Eq. (1) can be written asabw(x)f(x)dxi=1naiDn[f(xi)].For example when n = 2, Eq. (1) will be changed toabw(x)f(x)dxa1f(x1)+f(x1)1!+f(x1)2!+f(x1)3!+a2f(x2)+f(x2)1!+f(x2)2!+f(x2)3!.According to the concept of precision degree in integration given in (1) we will haveabw(x)xkdx=i=1naij=0k(k-1)(k-2)(k-j)j!xik-j,k=0,1,,2n-1by definingμk=abw(x)xkdx,k=0,1,,2n-1.We will get the non-linear system in (7):i=1nai=μ0,i=1nai(xi+1)=μ1,i=1nai(xi2+2xi+1)=μ2,i=1naixik+kk-1xik-1++k2xi+k0=μk,i=1naixi2n-1+2n-12n-2xi2n-2++2n-12xi2+2n-11xi+2n-10=μ2n-1but according to the above relations this non-linear system gives the system in (8):i=1nai=μ0,i=1naixi=μ1-μ0,i=1naixi2=μ2-2μ1+μ0,i=1naixi3=μ3-3μ2+3μ1-μ0,i=1naixik=μk+i=1k(-1)ikiμk-i,i=1naixi2n-1=μn+i=12n-1(-1)2n-12n-1iμ2n-1-i,definingλ0=μ0,λk=μk+i=1k(-1)kkiμk-i,k=1,2,,2n-1.The linear system in (7) givesa1+a2++an=λ0,a1x1+a2x2++anxn=λ1,a1x12+a2x22++anxn2=λ2,a1x1k+a2x2k++anxnk=λk,a1x12n-1+a2x22n-1++anxn2n-1=λ2n-1.In other word instead of solving the system in (7) to obtain xis and wis it is sufficient to solve the system in (10) with respect to xi and ai, which the system cannot be easily solved even if the value xi are known, we reach a linear system whose coefficients matrix is ill conditioned [1], [4], [5], to follow the procedure xis will be the roots of polynomials (where ci must be calculated as indicated in (12)) by replacing the cis which are obtained from (12) in (11) will give xis and replacing in (10) will give the desired results for ais. In the next section we give some examples to illuminate the procedures.c0xn+c1xn-1++cn-1x+1=0,λnλn-1λ1λn+1λnλ2λn+2λn+1λ3λ2n-1λ2n-2λnc0c1c2cn-1=-λ0-λ1-λ2-λn-1.

Section snippets

Examples

Example 1

Let us calculate the nodes and coefficients of integration formula in 2-point integration is given in 13.

-11f(x)1-x2dxa1f(x1)+f(x)1!+f(x1)2!+f(x1)3!+a2f(x2)+f(x2)1!+f(x2)2!+f(x2)3!.To get the result first we must calculate the roots of following polynomial:C0x2+C1x+1=0,and c0 and c1 will be obtained fromλ2λ1λ3λ2c0c1=-λ0-λ1.But λ0, λ1, λ2, λ3 in (15) will be obtained in (16):λ0=π,λ1=-π,λ2=3π2,λ3=-5π2.Consequently:C0=+2,C1=4.The polynomial in (11) changes to2x2+4x+1=0,which givesx1=-1-22x2

Conclusion

In this work an approximation formula based on local Taylor approximation is introduced and the evaluation of the nodes changed to a system of non-linear equation, which changed to a linear system by using a difference equation. Finally some examples are illustrated to illuminate the application of the integration formula for improvement.

References (5)

There are more references available in the full text version of this article.

Cited by (3)

View full text