An efficient computer application of the sinc-Galerkin approximation for nonlinear boundary value problems
© Secer et al.; licensee Springer 2012
Received: 3 August 2012
Accepted: 2 October 2012
Published: 24 October 2012
A powerful technique based on the sinc-Galerkin method is presented for obtaining numerical solutions of second-order nonlinear Dirichlet-type boundary value problems (BVPs). The method is based on approximating functions and their derivatives by using the Whittaker cardinal function. Without any numerical integration, the differential equation is reduced to a system of algebraic equations via new accurate explicit approximations of the inner products; therefore, the evaluation is based on solving a matrix system. The solution is obtained by constructing the nonlinear (or linear) matrix system using Maple and the accuracy is compared with the Newton method. The main aspect of the technique presented here is that the obtained solution is valid for various boundary conditions in both linear and nonlinear equations and it is not affected by any singularities that can occur in variable coefficients or a nonlinear part of the equation. This is a powerful side of the method when being compared to other models.
KeywordsMaple sinc-Galerkin approximation sinc basis function nonlinear matrix system Newton method
where NL is the nonlinear part of Eq. (1.1) which can take any form of nonlinearity, and we investigate the approximate solution on some closed interval in R.
We start by casting a given linear or nonlinear BVP into a sinc-Galerkin form accurate to the order . This discretization yields a set of linear or nonlinear algebraic equations that include all unknown coefficients. These equations are expressed in a nonlinear or linear matrix form depending on (1.1). If the equation is linear, the LU decomposition method can be used to find unknown coefficients. However, if it is not linear, the coefficients can be found by the Newton interpolation method for nonlinear equation systems by using Maple. The methodology is illustrated on nonlinear ordinary differential equations with Dirichlet-type boundaries. Once the solution is obtained, we compare its accuracy with the Newton method as a graphical and numerical simulation by using Maple.
We start with some literature on the sinc-Galerkin methods. The sinc methods were introduced in  and expanded in  by Frank Stenger. Sinc functions were first analyzed in  and . An extensive research of sinc methods for two-point boundary value problems can be found in [5, 6]. In [7, 8] parabolic and hyperbolic problems are discussed in detail. Some kind of singular elliptic problems are solved in , and the symmetric sinc-Galerkin method is introduced in . The sinc domain decomposition is presented in [11–14]. Also, iterative methods for symmetric sinc-Galerkin systems are given in [15–17]. Sinc methods are studied thoroughly in . Applications of sinc methods can also be found in [19–21]. The article  summarizes the results that are obtained by sinc numerical methods of computation. In  a numerical solution of the Volterra integro-differential equation by means of the sinc collocation method is considered. The paper  illustrates the application of a sinc-Galerkin method to the approximate solution of linear and nonlinear second-order ordinary differential equations and to the approximate solution of some linear elliptic and parabolic partial differential equations in the plane. The fully sinc-Galerkin method is developed for a family of complex-valued partial differential equations with time-dependent boundary conditions . In  some novel procedures of using sinc methods to compute the solutions of three types of medical problems are illustrated. In , the sinc-based algorithm is used to solve a nonlinear set of partial differential equations. A new sinc-Galerkin method is developed for approximating the solution of convection diffusion equations with mixed boundary conditions on half-infinite intervals in . The work which is presented in  deals with the sinc-Galerkin method for solving nonlinear fourth-order differential equations with homogeneous and nonhomogeneous boundary conditions. In , the sinc methods are used to solve second-order ordinary differential equations with homogeneous Dirichlet-type boundary conditions. In the paper given in , the sinc-Galerkin method is applied to solving Troesch’s problem. The properties of the sinc procedure are utilized to reduce the computation of Troesch’s equation to nonlinear equations with unknown coefficients.
2 Sinc basis functions
and , .
Conformal mappings and nodes for several subintervals of R
The proof of following theorems can be found in .
For the sinc-Galerkin method, the infinite quadrature rule must be truncated to a finite sum. The following theorem indicates the conditions under which an exponential convergence results.
The infinite sum in (2.14) is truncated with the use of (2.16) to arrive at (2.17).
We used Theorems 2.1 and 2.2 to approximate the integrals that arise in the formulation of the discrete systems corresponding to the second-order boundary value problem.
3 Convergence analysis
where etc. The choices and yield  accuracy for each of the approximations in (3.8)-(3.11).
Using (3.5), (3.8)-(3.11), we obtain a nonlinear system of equations for numbers .
In this section, three examples are given to illustrate the performance of the sinc-Galerkin method by solving nonlinear Dirichlet-type boundary value problems. Each of these problems have been chosen to simulate how the solutions change in different zero boundary intervals. In the following examples, the discrete sinc system defined by (3.18) is used to compute the coefficients ; . The computations are done by the algorithm which we developed for sinc-Galerkin method by using Maple. The algorithm automatically compares the sinc-method to the Newton method. The following examples show that the sinc-Galerkin method is a very efficient and powerful tool for nonlinear Dirichlet-type boundary value problems.
The numerical results for the approximate solutions obtained by sinc-Galerkin in comparison with the Newton solutions of Eq. ( 4.1 ) for
1.88033138931166478E − 7
1.67861962497104996E − 9
6.80139867594367620E − 8
9.41710703577436960E − 8
1.03173278485183830E − 7
1.05797957363189950E − 7
1.07194863974841016E − 7
1.09598093266566966E − 7
The numerical results for the approximate solutions obtained by sinc-Galerkin in comparison with the exact solutions of Eq. ( 4.2 ) for
7.54092494600466520E − 7
7.24377672134392476E − 7
2.27465911560142520E − 6
3.93142713083890409E − 6
5.62116372328485409E − 6
7.31889726906482055E − 6
8.91267191663590533E − 6
1.03723108773924407E − 5
The numerical results for the approximate solutions obtained by sinc-Galerkin in comparison with the Newton solutions of Eq. ( 4.3 ) for
3.616325621114482100E − 6
7.215767911801503840E − 6
1.047647892566533000E − 5
3.496848387328578060E − 6
4.560185426059223020E − 7
9.645773194724025980E − 6
2.432551023786393470E − 5
9.165246326795330540E − 6
9.579484929011514780E − 7
8.281989115607653900E − 7
A new efficient computer application of sinc-Galerkin method has been presented for nonlinear BVPs. The main advantage of our technique compared to other methods (e.g., Newton’s method) is that the solution is independent of the singularity conditions and valid for Dirichlet-type boundary conditions. The order of accuracy used in this paper is . We have used different N node points for all figures presented in this paper. Even though the numerical solution looks complex for even node points, Maple handles it very well. In the Appendix, a useful Maple program is given to explain the technique and to show how the same solution can be used for different boundary conditions. By using the same program, substituting N and other parameters (like equations, boundaries), different solutions and graphics can be produced. The total time taken on a 3.5 GHz Pentium I7 processor with 8 Core and 8 GB RAM for producing figures and numerical results is less than 20 seconds.
In this study, the sinc-Galerkin method has been employed to find the solutions of second-order nonlinear Dirichlet-type boundary value problems on some closed real interval and the method has been compared to the Newton method. Our main purpose is to find the solution of boundary value problems which arise from the singular problems for which the Newton method does not converge at singular points. The powerful side of our method is that it can easily compute solutions even if the equation has singularities. The Newton method can fail when computing some complicated forms of governing equations; on the other hand, our method can easily handle this situation. The examples show that the accuracy improves by increasing the number of sinc grid points N. The method presented here is simple and gives a numerical solution, which is valid for various boundary conditions. We have developed a very efficient algorithm to solve second-order nonlinear Dirichlet-type boundary value problems with sinc-Galerkin method in Maple Computer Algebra System. Several nonlinear BVPs have been solved by using our technique in less than 20 seconds. All computations and graphical representations have been prepared automatically by our algorithm.
Appendix: A computer application of numeric solutions for nonlinear boundary value problems (NBVPs)
We demonstrate below how to solve and simulate for a nonlinear BVP. For example, the following Maple code computes and simulates Example 4.3.
Set all parameters as default values
For drawing approximation graphics, we must type the following line
A user has to specify with (linalg) for linear algebra operations in Maple
A user can define the grid point size N for sinc-Galerkin approximation
The boundary conditions are given as Eq. (4.3).
F is right side of Eq. (4.3)
We can write a nonlinear part of Eq. (1.1) as follows. User can define any form of nonlinearity in this section.
The main form of Eq. (1.1)
Prepare the plot of the Newton solution
To define , and matrices given in Eqs. (3.13)-(3.15), we use piecewise functions in Maple in the following way:
The parameters for sinc-approximation given 
The evenly spaced nodes given (2.9) and Table 1 are defined as follows:
The conformal map in Table 1 for sinc-Galerkin method and its derivatives is computed as follows:
The weight function and its derivatives are computed for using an inner product to discretization Eq. (4.3)
If we want to obtain solutions of linear BVPs, we can use the following lines. They can reduce time complexity. Here, the linear solution is given as a comment (“#”).
> #for Linear system
In this paper, we want to solve nonlinear problems. Then we use fsolve function given by Maple to find unknown coefficients (3.17)-(3.18) from nonlinear matrix systems. This function can solve any nonlinear systems by using the Newton method (for nonlinear equation systems).
We define plot of Eq. (4.3) obtained by the sinc-Galerkin solution
Enter the number of digits here
> Digits := 15:
- Stenger F: A sinc-Galerkin method of solution of boundary value problems. Math. Comput. 1979, 33: 85-109.MathSciNetGoogle Scholar
- Stenger F: Approximations via Whittaker’s cardinal function. J. Approx. Theory 1976, 17: 222-240. 10.1016/0021-9045(76)90086-1MathSciNetView ArticleGoogle Scholar
- Whittaker ET: On the functions which are represented by the expansions of the interpolation theory. Proc. R. Soc. Edinb. 1915, 35: 181-194.View ArticleGoogle Scholar
- Whittaker JM Cambridge Tracts in Mathematics and Mathematical Physics 33. In Interpolation Function Theory. Cambridge University Press, London; 1935.Google Scholar
- Lund J: Symmetrization of the sinc-Galerkin method for boundary value problems. Math. Comput. 1986, 47: 571-588. 10.1090/S0025-5718-1986-0856703-9MathSciNetView ArticleGoogle Scholar
- Lund J, Bowers KL: Sinc Methods for Quadrature and Differential Equations. SIAM, Philadelphia; 1992.View ArticleGoogle Scholar
- Lewis DL, Lund J, Bowers KL: The space-time sinc-Galerkin method for parabolic problems. Int. J. Numer. Methods Eng. 1987, 24: 1629-1644. 10.1002/nme.1620240903MathSciNetView ArticleGoogle Scholar
- McArthur KM, Bowers KL, Lund J: Numerical implementation of the sinc-Galerkin method for second-order hyperbolic equations. Numer. Methods Partial Differ. Equ. 1987, 3: 169-185. 10.1002/num.1690030303MathSciNetView ArticleGoogle Scholar
- Bowers KL, Lund J: Numerical solution of singular Poisson problems via the sinc-Galerkin method. SIAM J. Numer. Anal. 1987, 24(1):36-51. 10.1137/0724004MathSciNetView ArticleGoogle Scholar
- Lund J, Bowers KL, McArthur KM: Symmetrization of the sinc-Galerkin method with block techniques for elliptic equations. IMA J. Numer. Anal. 1989, 9: 29-46. 10.1093/imanum/9.1.29MathSciNetView ArticleGoogle Scholar
- Lybeck, NJ: Sinc domain decomposition methods for elliptic problems. PhD thesis, Montana State University, Bozeman (1994)Google Scholar
- Lybeck NJ, Bowers KL: Domain decomposition in conjunction with sinc methods for Poisson’s equation. Numer. Methods Partial Differ. Equ. 1996, 12: 461-487. 10.1002/(SICI)1098-2426(199607)12:4<461::AID-NUM4>3.0.CO;2-KMathSciNetView ArticleGoogle Scholar
- Morlet AC, Lybeck NJ, Bowers KL: The Schwarz alternating sinc domain decomposition method. Appl. Numer. Math. 1997, 25: 461-483. 10.1016/S0168-9274(97)00068-8MathSciNetView ArticleGoogle Scholar
- Morlet AC, Lybeck NJ, Bowers KL: Convergence of the sinc overlapping domain decomposition method. Appl. Math. Comput. 1999, 98: 209-227. 10.1016/S0096-3003(97)10168-0MathSciNetView ArticleGoogle Scholar
- Alonso N, Bowers KL: An alternating-direction sinc-Galerkin method for elliptic problems. J. Complex. 2009, 25: 237-252. 10.1016/j.jco.2009.02.006MathSciNetView ArticleGoogle Scholar
- Ng M: Fast iterative methods for symmetric sinc-Galerkin systems. IMA J. Numer. Anal. 1999, 19: 357-373. 10.1093/imanum/19.3.357MathSciNetView ArticleGoogle Scholar
- Ng M, Bai Z: A hybrid preconditioner of banded matrix approximation and alternating-direction implicit iteration for symmetric sinc-Galerkin linear systems. Linear Algebra Appl. 2003, 366: 317-335.MathSciNetView ArticleGoogle Scholar
- Stenger F: Numerical Methods Based on Sinc and Analytic Functions. Springer, New York; 1993.View ArticleGoogle Scholar
- Koonprasert, S: The sinc-Galerkin method for problems in oceanography. PhD thesis, Montana State University, Bozeman (2003)Google Scholar
- McArthur KM, Bowers KL, Lund J: The sinc method in multiple space dimensions: model problems. Numer. Math. 1990, 56: 789-816.MathSciNetView ArticleGoogle Scholar
- Stenger F: Numerical methods based on Whittaker cardinal, or sinc functions. SIAM Rev. 1981, 23: 165-224. 10.1137/1023037MathSciNetView ArticleGoogle Scholar
- Stenger F: Summary of sinc numerical methods. J. Comput. Appl. Math. 2000, 121: 379-420. 10.1016/S0377-0427(00)00348-4MathSciNetView ArticleGoogle Scholar
- Stenger F, O’Reilly MJ: Computing solutions to medical problems via sinc convolution. IEEE Trans. Autom. Control 1998, 43: 843. 10.1109/9.679023View ArticleGoogle Scholar
- Narasimhan S, Majdalani J, Stenger F: A first step in applying the sinc collocation method to the nonlinear Navier Stokes equations. Numer. Heat Transf., Part B, Fundam. 2002, 41: 447-462. 10.1080/104077902753725902View ArticleGoogle Scholar
- Mueller JL, Shores TS: A new sinc-Galerkin method for convection-diffusion equations with mixed boundary conditions. Comput. Math. Appl. 2004, 47: 803-822. 10.1016/S0898-1221(04)90066-1MathSciNetView ArticleGoogle Scholar
- El-Gamel M, Behiry SH, Hashish H: Numerical method for the solution of special nonlinear fourth-order boundary value problems. Appl. Math. Comput. 2003, 145: 717-734. 10.1016/S0096-3003(03)00269-8MathSciNetView ArticleGoogle Scholar
- Lybeck NJ, Bowers KL: Sinc methods for domain decomposition. Appl. Math. Comput. 1996, 75: 4-13.MathSciNetView ArticleGoogle Scholar
- Zarebnia M, Sajjadian M: The sinc-Galerkin method for solving Troesch’s problem. Math. Comput. Model. 2011. doi:10.1016/j.mcm.2011.11.071Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.