PURE MATHEMATICS RESEARCH ARTICLE On a mixed interpolation with integral conditions at arbitrary nodes Srinivasarao Thota * and Shiv Datt Kumar Received: 9 October 5 Accepted: February 6 First Published: 8 February 6 *Corresponding author: Srinivasarao Thota Department of Mathematics Motilal Nehru National Institute of Technology Allahabad 4 India E-mail: srinithota@ymail.com Reviewing editor: Lishan Liu Qufu Normal University China Additional information is available at the end of the article Abstract: In this paper we present a symbolic algorithm for a mixed interpolation of the form s a cos x + b sin x + c i x i s where > is a given parameter and the coefficients a b and c c s are determined by a given set of independent integral conditions at arbitrary nodes. Implementation of the proposed algorithm in Maple is described and sample computations are provided. This algorithm will help to implement the manual calculations in commercial pacages such as Mathematica Matlab Singular Scilab etc. Subjects: Applied Mathematics; Computer Mathematics; Mathematics & Statistics; Science Keywords: mixed interpolation; integral conditions; symbolic algorithm AMS subject classifications: 4A5 ; 65D5 ; 47A57. Introduction The interpolation problem naturally arises in many applications for example the orbit problems quantum mechanical problems etc. The general form of a mixed interpolation problem is as follows (Coleman 998; Lorentz ; Sauer 997): suppose we have a normed linear space a finite linearly independent set Θ of bounded functionals and an associated values Σ ={α θ :θ Θ} R. Then the mixed interpolation problem is to find an approximation f s (x) of the form s fs (x) =acos x + b sin x + c i x i s () such that Srinivasarao Thota Θ( f s )=Σ i.e. θ f s = α θ θ Θ. ABOUT THE AUTHOR Srinivasarao Thota completed his MSc in Mathematics from Indian Institute of Technology Madras India. Now he is pursuing his PhD in Mathematics from Motilal Nehru National institute of Technology Allahabad India. Srinivasarao Thota s area of research interest is Computer Algebra precisely symbolic methods for ordinary differential equations. He attended and presented research papers in several national and international conferences. PUBLIC INTEREST STATEMENT We often come across a number of data points (obtained by sampling or experimentation) which represent the values of a function for a limited number of values of the independent variable and the need to estimate the value of the function at other point of the independent variable. This may be achieved by interpolation. The interpolation problem naturally arises in many applications of science and engineering for example the orbit problems solving differential and integral equations quantum mechanical problems etc. where we consider the mixed interpolation instead of the polynomial interpolation. () 6 The Author(s). This open access article is distributed under a Creative Commons Attribution (CC-BY) 4. license. Page of
Here s is called the order of the interpolating function f s (x). One can observe that the interpolation problem given in Equations () () may have many solutions if there is no restriction on the dimension of the space. But our interest is to find the single interpolating function that must match with a finite number of conditions. Hence for a unique solution of the problem one must have finite dimensional subspace Θ of having dimension equal to the number of functionals. The mixed interpolation problem its formulation and error estimation have been studied by several engineers and scientists with general nodes at uniformly spaced and arbitrary points on a chosen interval (see e.g. de Meyer Vanthournout & Vanden Berghe 99; de Meyer Vanthournout Vanden Berghe & Vanderbauwhede 99; Charabarti & Hamsapriye 996; Coleman 998). In literature survey we observe that there is no mixed interpolation algorithm available with integral conditions at arbitrary points on a chosen interval. Therefore in this paper we present a symbolic algorithm for the mixed interpolation with integral conditions using the algorithm presented by the authors in Thota and Kumar (5). Indeed we discuss a symbolic algorithm for mixed interpolation with a linearly independent set of the integral functionals/conditions at arbitrary nodes on a chosen interval. This is the first symbolic algorithm which deals with integral conditions. The rest of paper is organized as follows: Section. gives some definitions and basic concepts of the mixed interpolation which are required to justify our proposed algorithm. Symbolic algorithm for the mixed interpolation with a finite linearly independent set of integral conditions is discussed in Section the proposed algorithm for mixed interpolation is presented in Section. and some numerical examples are given in Section.. Maple implementation of the proposed algorithm is presented in Section 3 with sample computations... Preliminaries In this section we present some definitions and basic concepts of the mixed interpolation which are required to justify our proposed algorithm. Definition A mixed interpolation problem is called regular for subspace of linear space with respect to Θ if the interpolation problem has a unique solution for each choice of values of Σ R such that Θ( f s )=Σ. Otherwise the interpolation problem is called singular. Definition We call the triplet (M Θ Σ) an interpolation problem where M ={cosx sin x x } a basis for a finite dimensional space and Θ a finite linearly independent set of functionals with associated values Σ R. If Σ =Θψ for ψ then the interpolation problem (M Θ Σ) can be stated in a different way equivalently: Let Ω = span{θ:θ Θ}. Then Ω and the interpolation problem is to find a f s (x) such that Ω f s =Ωψ for given ψ. There is a connection between the regularity in terms of algebraic geometry and linear algebra as given in the following proposition. Proposition Let M ={m m t } be a basis for a finite dimensional subspace of and Θ={θ θ s } be a finite linearly independent subset of. Then the following statements are equivalent: (i) The mixed interpolation problem is regular for with respected to Θ. (ii) t = s and the matrix so-called evaluation matrix θ m θ m t ΘM = θ s m θ s m t R (s+) (s+) (3) is regular. Denote the evaluation matrix ΘM by for simplicity. (iii) = M Θ. Page of
If we denote the integral condition by a symbol/operator A x defined by A x = x dx i.e. p A x f (x) = x f (x) dx for a fixed p R then the set of integral conditions is p Θ={A x A xs } (4) where x are arbitrary nodes. Now the symbolic representation of the mixed interpolation problem () () is to find a function of the form () such that A xi fs = α xi where A xi Θ. (5). Symbolic algorithm for mixed interpolation Consider the mixed interpolation problem defined in Section for (M Θ Σ) where M and Θ={θ θ s } a finite set of integral conditions of the form (4). From Proposition (3) the mixed interpolation problem is regular with respect to linearly independent set Θ if and only if there exists a finite linearly independent set M of such that the evaluation matrix in (3) is regular. c i x i such that it sat-.. Proposed symbolic algorithm The mixed interpolation problem (M Θ Σ) i.e. f s (x) =a cos x + b sin x + isfy Θ f s =Σ can be expressed as a linear system u = σ s where u =(a b c c s ) T σ =(α θ α θs ) T and is the evaluation matrix of Θ and M given by (6) = = sin x sin x cos x cos x x x x x Remar If p = then in Equation (7) is given by sin sin x sin x cos sin p sin p cos p cos p x s cos x x x x s x p x sin p sin p cos p cos p p p p sin p p x p cos p cos x x p sin sin p cos p cos p x s p x p p p p x p x s p. p p p (7) = sin x sin x cos x cos x x x x x sin cos x s x x x s Uniqueness of the solution is possible if and only if the evaluation matrix (7) is regular (non-singular). The simple form of the determinant of is given by s det = x i (x j x ) (s )! <j cos x i x i j=j i (x i x j ) cos x i s sin x i x i j=j i (x i x j ) sin x i x i s x i s j=j i (x i x j ) s j=j i (x i x j ). (8) This simple form is obtained by performing the following steps: I. Dividing i-th row by x i in the determinant of in Equation (7) we get Page 3 of
s det = x i (s )! cos x sin x x x x cos x sin x x x x cos sin x s s. (9) II. Subtract first row from the other (i + )-th row for i = s and divide (i + )-th row by x i x for i = s we get s det = x i (s )! s (x x ) = cos x sin x x x x cos x x cos x x x x sin x sin x x x x x 3 cos cos x x x sin sin x x x 3 s This reduces to a determinant of a matrix of order s similar to (9). III. Repeating the step II finite number of times we arrive at the simple form of det as in (8).. From the procedure given for simplification of the determinant of we can construct the interpolating function f s (x) for (M Θ Σ) in terms of evaluation matrix. The following theorem presents an algorithm to construct f s (x). Denote = det( ) for simplicity. Theorem Let Θ be a finite set of integral conditions of the form Θ ={A x A xs } with associated values Σ and M ={cosx sin x } be a finite linearly independent set such that the evaluation matrix is regular. Then there exists unique interpolating function f s (x) of the form () such that Θ f s =Σ as s+ s+ s s+ fs (x) = α θ cos x + α θ sin x + l+3 α θ x l = = l= = () where j i j is the determinant of obtained from by replacing j-th column by the i-th unit vector. i Proof It is given that the evaluation matrix associated with Θ and M is regular therefore there exists unique mixed interpolation. Suppose and l+3 denote the determinants of the resultant matrix after replacing st nd and lth columns by -unit vector respectively for l = s then the coefficients a b c c s are determined uniquely using the Cramer s rule as follows s+ a = α θ = s+ b = α θ = s+ c l = = l+3 α θ l = s. Now the required interpolating function f s (x) is the linear combination of elements of M with the coefficients a b c c s. Hence we have () s+ s+ s s+ fs (x) = α θ cos x + α θ sin x + l+3 α θ x l = as stated. = l= = () Page 4 of
In general it is very difficult to solve explicitly the linear system (6) for the coefficients a b c c s in terms of Σ at the interpolation points. However we can express the coefficients of fs (x) in terms of evaluation matrix as given Theorem 4... Examples Now to verify the proposed algorithm in Theorem 4 we present some examples. We use Maple the computer algebra software for numerical computations in the following examples. Example. Consider the integral conditions. f (x)dx =.3 f (x)dx =.5.8. f (x)dx = 3 f (x)dx = 4 and f (x)dx = 5 where i is constant for i = 3 4 5. Now we construct f 4 (x) =a cos x + b sin x + c + c x + c x such that f 4 (x) satisfies the given conditions. For simplicity tae =. Here Θ ={A. A.3 A.5 A.8 A. } M ={cosx sin x x x } and Σ ={ 3 4 5 }. Following Theorem 4 we have the evaluation matrix.99833.4996..5.333.955.44664.3.45.9 =.47946.47.5.5.4667.77356.3393.8.3.7667.8447.459698..5.333333 = det = 7.9735 ; =.3894 = det = det = det 3 = det 4.4996..5.333.44664.3.45.9.47.5.5.4667 =.58 5.3393.8.3.7667.459698..5.333333.99833..5.333.955.3.45.9.47946.5.5.4667 =.8396 5.77356.8.3.7667.8447..5.333333.99833.4996.5.333.955.44664.45.9.47946.47.5.4667 =.33 5.77356.3393.3.7667.8447.459698.5.333333.99833.4996..333.955.44664.3.9.47946.47.5.4667 = 4.853 7.77356.3393.8.7667.8447.459698..333333.99833.4996..5.955.44664.3.45 = det 5.47946.47.5.5 =.386 7.77356.3393.8.3.8447.459698..5 Page 5 of
hence 5 α θ =.58 5.8396 5 +.33 5 3 = 4.853 7 4 +.386 7 5 similarly 5 α θ = 8.655 7 9.57686 7 + 6.799 7 3 =.958 7 4 + 4.63585 8 5 5 3 α θ =.5 5 +.8389 5.38 5 3 = + 4.8459 7 4.37 7 5 5 4 α θ = 8.86346 7 + 9.7776 7 6.688 7 3 = 5 +.94676 7 4 4.6855 8 5 = 5 α θ = 8.5374 7.77 5 + 7.69 7 3.5577 7 4 + 6.888 8 5 and the coefficients are given by a = 94.99 5589.48 + 865.9 3 67.6 4 + 83.45 5 b = 97. 33.75 + 8595.47 3 678.87 4 644.86 5 c = 88.3 + 558. 86. 3 + 67.6 4 83.6 5 c = 39.34 + 359.47 879.4 3 + 78. 4 65. 5 c = 856.84 456.85 + 9899.85 3 3557. 4 + 957.4 5. Now the solution of the mixed interpolation (M Θ Σ) is f4 (x) =(94.99 5589.48 + 865.9 3 67.6 4 + 83.45 5 ) cos x +(97. 33.75 + 8595.47 3 678.87 4 644.86 5 ) sin x 88.3 + 558. 86. 3 + 67.6 4 83.6 5 + ( 39.34 + 359.47 879.4 3 + 78. 4 65. 5 )x +(856.84 456.85 + 9899.85 3 3557. 4 + 957.4 5 )x In particular if we choose i = i for i = 3 4 5 then a =679.3 b = 36.97 c = 6776.7 c = 378.64 c = 3799.9 and the solution of the interpolation (M Θ Σ) is f4 (x) =679.3 cos x + 36.97 sin x 6776.7 378.64x + 3799.9x. One can easily chec in both the cases that Θ( f 4 )=Σ. Example. Suppose we have integral conditions.3 f (x)dx = 4 and.4 f (x)dx = 5.5 f (x)dx = 6.6 f (x)dx = 7.7 f (x)dx = 9. f (x)dx =.8 f (x)dx = 3. f (x)dx = 3.9 f (x)dx = 5. f (x)dx = 6. Now we construct f 9 (x) =a cos x + b sin x + c + c x + c x + + c 7 x 7 such Page 6 of
that f 9 (x) satisfies the given conditions. For simplicity tae =.5. In symbolic notations we have Θ={A. A. A.3 A.4 A.5 A.6 A.7 A.8 A.9 A. } M ={cos(.5x) sin(.5x) x x 7 } and Σ={ 3 4 5 6 7 9 3 5 6}. From Theorem 4 the coefficients are computed similar to Example. as follows a =.496334 9 b = 3.34993 c =.496337 9 c =.67459638 c =.8767734 8 c 3 = 6.9789493 8 c 4 = 3.565878 6 c 5 = 8.779836 6 c 6 = 4.988338 5 c 7 =.677486 5. Now the interpolating function f 9 (x) is given by f9 (x) =.496334 9 cos(.5x)+3.34993 sin(.5x) +.496337 9.67459638 x.8767734 8 x + 6.9789493 8 x 3 + 3.565878 6 x 4 8.779836 6 x 5 4.988338 5 x 6 +.677486 5 x 7. If we choose = then f9 (x) = 3.85899899 8 cos(x)+.935633 8 sin(x) + 3.85899848 8 5.8793 8 x 7.78456 8 x + 3.887849 8 x 3 +.565584 8 x 4 7.46797 7 x 5 3.9435 7 x 6 +.89837 7 x 7. One can easily verify in both cases that Θ( f 9 )=Σ. The following section presents the implementation of the proposed algorithm in Maple. 3. Maple implementation Maple implementation of the proposed algorithm is presented by creating different data types using the Maple pacage IntDiffOp implemented by Korporal Regensburger and Rosenranz (). For displaying the operators we have A for integral operator and E for evaluation operator as defined in IntDiffOp pacage i.e. A x = E[x].A. The data type IntegralCondition(np) is created to represent the integral condition where np is the node point. with(intdiffop): IntegralCondition := proc(np) return BOUNDOP(EVOP(npEVDIFFOP()EVINTOP(EVINTTERM()))); end proc: The following producer EvaluationMatrix(IC) gives the evaluation matrix of the given M and Θ where IC is the column matrix of the integral conditions. EvaluationMatrix := proc (IC::Matrix) local rceltsfs; rc:=linearalgebra[dimension](ic); fs:=matrix(r[cos(*x)sin(*x)seq(x (i-)i=..r-)]); elts:=seq(seq(applyoperator(ic[t]fs[j])j=..r) t=..r); Page 7 of
return Matrix(rr[elts]); end proc: The procedure MixedInterpolation(ICCM) is created to find the mixed interpolating function for (M Θ Σ) where CM is column matrix of the associated values of Σ. MixedInterpolation := proc (IC::Matrix CM::Matrix) local rcfsevminvevmapprox; rc:=linearalgebra[dimension](ic); fs: Matrix(r[cos(*x)sin(*x)seq(x (i-)i=..r-)]); evm:=evaluationmat(ic); invevm:=/evm; approx:=fs.invevm.cm; return simplify(approx[]); end proc: Example 3. Recall Example. for sample computations using Maple implementation. > with(intdiffop): > C:=IntegralCondition(.); c:=; C:=IntegralCondition(.3); c:=; C3:=IntegralCondition(.5); c3:=3; C4:=IntegralCondition(.8); c4:=4; C5:=IntegralCondition(.); c5:=5; C: =E[.].A c: = C: =E[.3].A c: = C3: =E[.5].A c3: =3 C4: =E[.8].A c4: =4 C5: =E[.].A c4: =5 > :=; > C:=Matrix([[C][C][C3][C4][C5]]); E[.].A E[.3].A E[.5].A E[.8].A E[.].A Page 8 of
CM:=Matrix([[c][c][c3][c4][c5]]); 3 4 5 EvaluationMat(C);.998334665.49958347..5.3333.95567.44663587.3.45.9.479455386.47438.5.5.4667.7735699.339397.8.3.7667.84479848.459697694..5.333333 > MixedInterpolation(CCM); 6776.65565 378.6453 x + 679.9565 cos(x) + 36.9679 sin(x)+3799.97488 x Acnowledgements Authors than the referees for useful suggestions in improving the presentation of the paper. Funding The authors received no direct funding for this research. Author details Srinivasarao Thota E-mail: srinithota@ymail.com Shiv Datt Kumar E-mail: sdt@mnnit.ac.in Department of Mathematics Motilal Nehru National Institute of Technology Allahabad 4 India. Citation information Cite this article as: On a mixed interpolation with integral conditions at arbitrary nodes Srinivasarao Thota & Shiv Datt Kumar Cogent Mathematics (6) 3: 563. References Charabarti A. (996). Hamsapriye: Derivation of a general mixed interpolation formula. Journal of Computational and Applied Mathematics 7 6 7. Coleman J. P. (998). Mixed interpolation methods with arbitrary nodes. Journal of Computational and Applied Mathematics 9 69 83. de Meyer H. Vanthournout J. & Vanden G. (99). Berghe: On a new type of mixed interpolation. Journal of Computational and Applied Mathematics 3 55 69. de Meyer H. Vanthournout J. Vanden Berghe G. & Vanderbauwhede A. (99). On the error estimation for a mixed type of interpolation. Journal of Computational and Applied Mathematics 3 47 45. Korporal A. Regensburger G. & Rosenranz M. (). A Maple pacage for integro-differential operators and boundary problems. ACM Communications in Computer Algebra 44. Lorentz R. A. (). Multivariate Hermite interpolation by algebraic polynomials: A survey. Journal of Computational and Applied Mathematics 67. Sauer T. (997). Polynomial interpolation ideals and approximation order of refinable functions. Proceedings American Mathematical Society 3 3335 3347. Thota S. & Kumar S. D. (5). Symbolic method for polynomial interpolation with stieltjes conditions. Proceedings of International Conference on Frontiers in Mathematics 5 8. Page 9 of
6 The Author(s). This open access article is distributed under a Creative Commons Attribution (CC-BY) 4. license. You are free to: Share copy and redistribute the material in any medium or format Adapt remix transform and build upon the material for any purpose even commercially. The licensor cannot revoe these freedoms as long as you follow the license terms. Under the following terms: Attribution You must give appropriate credit provide a lin to the license and indicate if changes were made. You may do so in any reasonable manner but not in any way that suggests the licensor endorses you or your use. No additional restrictions You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. Cogent Mathematics (ISSN: 33-835) is published by Cogent OA part of Taylor & Francis Group. Publishing with Cogent OA ensures: Immediate universal access to your article on publication High visibility and discoverability via the Cogent OA website as well as Taylor & Francis Online Download and citation statistics for your article Rapid online publication Input from and dialog with expert editors and editorial boards Retention of full copyright of your article Guaranteed legacy preservation of your article Discounts and waivers for authors in developing regions Submit your manuscript to a Cogent OA journal at www.cogentoa.com Page of