A corrected spectral method for Sturm-Liouville problems with unbounded potential at one endpoint
Cecilia Magherini

TL;DR
This paper introduces a spectral matrix method using Legendre polynomials for accurately approximating eigenvalues of Sturm-Liouville problems with unbounded potentials at one endpoint, including error analysis and numerical validation.
Contribution
It develops a corrected spectral method tailored for Sturm-Liouville problems with unbounded potentials, enhancing eigenvalue approximation accuracy.
Findings
The method effectively approximates eigenvalues near singularities.
Error analysis guides the correction procedures.
Numerical experiments confirm improved accuracy and efficiency.
Abstract
In this paper, we shall derive a spectral matrix method for the approximation of the eigenvalues of (weakly) regular and singular Sturm-Liouville problems in normal form with an unbounded potential at the left endpoint. The method is obtained by using a Galerkin approach with an approximation of the eigenfunctions given by suitable combinations of Legendre polynomials. We will study the errors in the eigenvalue estimates for problems with unsmooth eigenfunctions in proximity of the left endpoint. The results of this analysis will be then used conveniently to determine low-cost and effective procedures for the computation of corrected numerical eigenvalues. Finally, we shall present and discuss the results of several numerical experiments which confirm the effectiveness of the approach.
| BCs | Name | |||
|---|---|---|---|---|
| Dirichlet–Dirichlet | 1 | 0 | ||
| Neumann–Neumann | 1 | 0 | ||
| Dirichlet-Neumann | ||||
| Neumann-Dirichlet | ||||
| order | order | order | ||||
| – | – | – | ||||
| order | order | order | ||||
| – | – | – | ||||
| order | order | order | ||||
| – | – | – | ||||
| order | order | order | ||||
| – | – | – | ||||
| order | order | order | ||||
| – | – | – | ||||
| order | order | order | ||||
| – | – | – | ||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A corrected spectral method for Sturm-Liouville problems with unbounded potential at one endpoint.
Cecilia Magherini
Dipartimento di Matematica, Università di Pisa, I-56127 Pisa (Italy).
Abstract
In this paper, we shall derive a spectral matrix method for the approximation of the eigenvalues of (weakly) regular and singular Sturm-Liouville problems in normal form with an unbounded potential at the left endpoint. The method is obtained by using a Galerkin approach with an approximation of the eigenfunctions given by suitable combinations of Legendre polynomials. We will study the errors in the eigenvalue estimates for problems with unsmooth eigenfunctions in proximity of the left endpoint. The results of this analysis will be then used conveniently to determine low-cost and effective procedures for the computation of corrected numerical eigenvalues. Finally, we shall present and discuss the results of several numerical experiments which confirm the effectiveness of the approach.
keywords:
Sturm-Liouville eigenproblems, spectral matrix methods, Legendre polynomials, acceleration of convergence
MSC:
65L15, 65L60, 65L70, 65B99
1 Introduction
The direct Sturm-Liouville problem (SLP) in normal form with separated boundary conditions is given by
[TABLE]
where the potential the domain and the coefficients represent the data of the problem while the unknowns are the eigenvalues and the corresponding eigenfunctions It is surely a classical problem that has been extensively studied both from the theoretical and from the numerical point of views. Many numerical schemes are nowadays available for its solution which can be subdivided into two main families: matrix methods and shooting techniques [20]. A number of well-established numerical codes that are able to solve regular problems as well as many singular ones had been developed and are freely available for the scientific community. Among them we surely mention the MATSLISE2 [16], the SLEDGE [19] and the SLEIGN2 [3] codes, but there are many others. In spite of this, we think that the approach of deriving matrix schemes by using spectral methods, instead of finite difference or element ones, deserves further insights and this is the topic of the present paper. In particular, we will consider the case of a bounded domain which, without loss of generality, we assume to be
[TABLE]
and study problems with
[TABLE]
where and are analytic functions inside and on a Bernstein ellipse containing and Problems of this type have many applications in physics (cf., for example, [5, 6, 24, 25]). We recall that if then the problem is regular (sometimes called weakly regular if and ) otherwise it is singular. More precisely, the singular left endpoint is of type [2, 9, 15, 23]
Limit-Circle (LC) and nonoscillatory if and or and 2. 2.
Limit-Circle and oscillatory if and or and 3. 3.
Limit-Point (LP) and nonoscillatory if and or and
In the sequel, we will always exclude the case of an oscillatory endpoint which is definitely much more difficult to be treated numerically and we will assume leaving the generalization to larger values of to future investigation. Concerning the boundary condition at which is required in the LC case, we will consider the Friedrichs one, namely in this context the Dirichlet condition. This means that for any we select the principal solution of the equation which is frequently the most significant in the applications, [18, 20]. We recall that the Dirichlet condition is the only possible one in the LP case.
Under these assumptions, it is known that the eigenvalues of (1)–(5) are real, simple and that they can be ordered as an increasing sequence tending to infinity. We will number them starting from index i.e. we will call
[TABLE]
the exact spectrum of (1)–(5).
Talking about numerical methods based on shooting techniques, the approach used most frequently for solving this type of problems is based on the selection of a layer, namely (1) is usually solved over In particular, suitable algorithms have been studied for an adaptive selection of and for the computation of the condition to be imposed at (see, for example, [3, 17] for further details).
Concerning classical matrix methods, it is clear that they can be employed if based on a discretization of the differential equation and of the boundary conditions which do not require the evaluation of or even of its derivative, at the left endpoint. This is the case, for example, of the classical three-point formula. The main difficulty with this approach may be that of an order reduction caused by the fact that the derivative, of suitable order, of the eigenfunctions may be unbounded as approaches
In this paper, we shall derive a matrix method by using a spectral Galerkin approach based on Legendre polynomials. Before proceeding, it must be said that if the problem is subject to Dirichlet boundary conditions at both endpoints then schemes based on spectral (collocation) methods which use orthogonal polynomials or sinc functions are already available in the literature (see, for example, [7, 10, 12, 14]). These are surely effective methods to be employed whenever the eigenfunctions are sufficiently smooth. Our main purpose is therefore that of treating general boundary conditions and to get accurate approximations of the eigenvalues even in the case where the eigenfunctions are not so regular.
The remaining part of this paper is organized as follows. In Section 2, we describe the approach, derive the generalized eigenvalue problem which discretize the continuous one and discuss how the entries of the matrices involved can be computed efficiently. Section 3 is devoted to the analysis of the errors in the resulting eigenvalue approximations for problems with unbounded potential at the left endpoint. Moreover, in the same section we shall derive low cost and effective procedures for the computation of corrected numerical eigenvalues. Finally, the results of several numerical experiments are reported and discussed in Section 4.
2 Spectral Legendre-Galerkin method
Let be the space of polynomials of maximum degree for a fixed and let
[TABLE]
We look for an approximation of an eigenfunction of the following type
[TABLE]
where the coefficients and the numerical eigenvalue are determined by imposing
[TABLE]
Here is the standard inner product in i.e.
[TABLE]
which is naturally suggested by the Liouville normal form of the SLP we are studying. We can write (9) as the following generalized eigenvalue problem
[TABLE]
where \mbox{\boldmath\zeta}_{N}=\left(\zeta_{0N},\ldots,\zeta_{N-1,N}\right)^{T},
[TABLE]
with
[TABLE]
The matrices and are clearly symmetric. The same property holds for thanks to the well-known Green’s identity
[TABLE]
by which one gets, for each and
[TABLE]
Clearly the effectiveness of the procedure is strictly connected to the choice of the basis functions. The main criterion we have considered is the computational cost of the method which is essentially determined by the calculation of the coefficient matrices and by the solution of (10). This suggests to use suitable combinations of the classical Legendre polynomials as described in the next subsection.
2.1 Basis functions
As done in [21], we look for a basis function of the following form
[TABLE]
where is the Legendre polynomial of degree for which it is known that [1]
[TABLE]
Therefore, with some computations one gets that see (6)-(7), if and only if belongs to the kernel of
[TABLE]
We must now distinguish the following two possibilities:
i.e. problems subject to symmetric BCs. In this case it is natural to set so that is an even or an odd function, depending on which implies that if (2) holds true then (3) is verified automatically. In this way, one obtains the following system of equations
[TABLE]
whose general solution can be written as
[TABLE]
where is a free parameter; 2. 2.
From the previous considerations, one deduces that must be different from zero. Using the Matlab notation, this is confirmed by the fact that
[TABLE]
Hence, if we let as before be a free parameter then we got
[TABLE]
Concerning the parameters we decided to establish a criterion for their selection in order to obtain basis functions independent of the scaling of and/or Now, a natural choice would have been that of choosing so that for each since we are working in Nevertheless, we preferred not to proceed in this way to avoid the computation of square roots at least at this level. As an alternative to we considered its uniform norm which is not known in closed form but it satisfies . We thus applied the following criterion
[TABLE]
The so-obtained coefficients for the four problems subject to natural BCs and for two general ones are listed in Table 1. The unspecified values for the last BCs, of Dirichlet-Robin type, are and
Finally, for later reference, it is important to underline the fact that, as soon as is sufficiently large, we always got
[TABLE]
2.2 The matrices and
In this section we are going to show that the entries of and in (11)-(12) can be determined analytically thanks predominantly to the orthogonality of the Legendre polynomials with respect to the standard inner product.
Concerning the first matrix, one immediately gets that for each since is orthogonal to any polynomial in see (15). Consequently, is diagonal with diagonal entries
[TABLE]
where for the last two equalities we used (14) and (16). For later convenience, we remark that independently of the BCs, satisfies
[TABLE]
Regarding it is not too difficult to verify that it is pentadiagonal. In more detail, if we let
[TABLE]
[TABLE]
then we get
[TABLE]
2.3 The matrix
Let us consider first of all the case of a regular problem with From (13), one obtains that admits a factorization similar to the one just given for Specifically
[TABLE]
where is defined in (32) and
[TABLE]
We recall that the Legendre polynomials obey the recurrence relation
[TABLE]
This allows to prove the following result.
Proposition 2.1
Let and, see (35), let
[TABLE]
with the zero sequence. If we define the linear tridiagonal operator where
[TABLE]
then we get
[TABLE]
Proof: see [13, Propositions 1,2] with
The immediate consequence of this proposition is that the recurrence in (46) permits to determine the entire matrix once have been computed for each In fact, these values are sufficient to determine for each by using (46) with and the fact that is tridiagonal. At this point, the application of (46) with allows to compute for each and so forth. Clearly, in the actual implementation, the symmetry of is taken into account.
In particular, the coefficients in (36) decay exponentially as increases due to the assumption that is analytical inside and over a Bernstein ellipses containing In addition, we can use the routine legcoeffs of the well-established open-source software package Chebfun [8] to determine the numerically significant values. Thus if is the length of the vector of Legendre coefficients of provided by such routine, we approximate upto machine precision the symmetric matrix with its banded portion with bandwidth
Remark 2.1
It is important to stress that if is analytical, i.e. if then the generalized eigenvalue problem (10) which discretize the SLP involves only sparse matrices. In particular, is symmetric positive definite and pentadiagonal while is symmetric with bandwith
Concerning the computation of the required entries of see (37), we applied arguments similar to the ones used in [13, Propositions 2,3]. In detail, recalling that by assumption is analytical inside and over a Bernstein ellipse containing too, the operator is well defined. Consequently, [13, Proposition 2] and [11, 16.4 formula (2)] allow to get that if then
[TABLE]
where is the Pochhammer symbol. We observe that coincides with if . In the actual implementation, we proceed as follows: we get a polynomial approximation of by transforming it in a Chebfun function, which is accurate up to machine precision, then we apply the previous formula to compute the first entries of
Let us now discuss the case of singular problems, namely how we determine if We recall that the corresponding Friedrichs boundary condition at the singular endpoint is The basis functions have therefore a root at and we need to highlight this fact. This is done in the following proposition.
Proposition 2.2
If and is the Jacobi polynomial of degree with weighting function then in (15) can be written as
[TABLE]
Proof: The first equality is evident with since In addition
[TABLE]
This implies that there exist suitable and such that
[TABLE]
It remains to prove that and The former equality is an immediate consequence of the fact that and have the same leading coefficient, [1]. Concerning the latter equality, it is then trivial if the problem is subject to Dirichlet-Dirichlet BCs (see Table 1 and recall that for each ). On the other hand, if then from (21) and (23) with we get
[TABLE]
In addition, it is known that With this information, one verifies that the polynomial at the right hand-side of (48) satisfies the BC at and this completes the proof.
The matrix can be therefore written as
[TABLE]
[TABLE]
Now with an approach similar to the one considered in Proposition 2.1 and in the subsequent paragraph, which is essentially based on the recurrence relation for the Jacobi polynomials [1, 11], we obtain that if we know the values of for each then we can determine the remaining required values recursively. Moreover, if we let
[TABLE]
then we get, see [11, 16.4 formula (2)],
[TABLE]
where
[TABLE]
Remark 2.2
If then for each Therefore, in this case, can be approximated up to machine precision with a banded matrix where the bandwidth depends on the number of numerically significant coefficients of the Legendre-Fourier series expansion of and In particular, is tridiagonal for the Boyd equation for which and
3 Error analysis and computation of corrected numerical eigenvalues.
In this section, we shall study the behavior of the error in the resulting numerical eigenvalues as increases and for a fixed index.
As usual, this is related to the regularity of the solution, namely, in this context, to the regularity of the eigenfunctions. In particular, if or then and consequently belongs to In this case, it is well-known that the errors in the approximations provided by a spectral method decay exponentially.
Problems which require a deeper analysis are therefore those for which is unbounded at the left endpoint. We must observe that from (34)–(37) and (49)–(56) one deduces that the spectral method we have derived is well defined for each with if the left endpoint is singular. Nevertheless, we shall consider only the case with namely only problems for which is a regular singular endpoint. The generalization to essential singularities will be the topic of future research.
In this context, the results we are going to present are not only interesting from the theoretical point of view but they will also provide very simple, economical and effective techniques for the computation of corrected numerical eigenvalues.
Let be the approximation of the exact eigenvalue as increases and let be the corresponding exact eigenfunction having the following expansion
[TABLE]
By construction of and of see (8)-(9), we can write
[TABLE]
On the other hand, it is evident that
[TABLE]
In addition
[TABLE]
since and From these formulas we get
[TABLE]
being Therefore, an analysis of the behavior of the coefficients in (63) as increases is required and the following result constitutes a first step.
Proposition 3.1
If is sufficiently larger than the index of the eigenvalue, and then
[TABLE]
Proof: It is evident that
[TABLE]
We recall that we assumed in (5) to be analytical inside and over a Bernstein ellipse containing and this implies that its Legendre coefficients decay exponentially. Thus, becomes negligible with respect to as increases and this complete the proof.
From (64), by using similar arguments, one deduces that the main contribution to the error in the eigenvalue approximation is given by
[TABLE]
We recall the following asymptotic estimate [22].
Proposition 3.2
Let have the expansion
[TABLE]
with and If and if is sufficiently large then
[TABLE]
We can now prove the following result which concerns (weakly) regular problems not subject to the Dirichlet boundary condition at the left endpoint.
Theorem 3.1
If and if is sufficiently larger than the index of the eigenvalue then
[TABLE]
where
[TABLE]
Proof: From (15), (67) and the previous Proposition with or and we obtain
[TABLE]
Now, we can rewrite the last equation in (47) as follows
[TABLE]
Therefore, by using the following expansion of the ratio of two gamma functions
[TABLE]
with we get
[TABLE]
and, consequently,
[TABLE]
We recall that if is sufficiently large then see (24). In addition, by using (18)–(29) it is possible to verify with some computations that if then
[TABLE]
[TABLE]
Therefore
[TABLE]
which is the statement of the theorem.
This result immediately suggests a very simple formula for the correction of the numerical eigenvalue. First of all, we assume the numerical and the exact eigenfunctions have been normalized so that
[TABLE]
By using the orthogonality of the Legendre polynomials, this permits the estimates and consequently, see (70),
[TABLE]
In addition, we observe that the term in (64) can be of some relevance if is not so much larger than the index of the eigenvalue. By virtue of (65), (69)-(69) and of (73), we therefore decided to consider the following approximation of which can be computed with a very low cost
[TABLE]
where
[TABLE]
It is worth recalling that and (see (10),(12) and (33)).
All these arguments lead to the following formula for the correction of the numerical eigenvalue to be used when the BC at the left endpoint is not of Dirichlet type
[TABLE]
The main steps of the procedure for the computation of such and are summarized in Algorithm 1. With respect to the notation we have used so far, we add the further index which represents the index of the eigenvalue. Its value belongs to being the number of smallest eigenvalues requested.
Let us now consider problems subject to the Dirichlet boundary condition at the left endpoint with In this case, Proposition 3.2 with is not directly applicable to the inner products in (67). In fact, we need and Nevertheless, it is evident that since we can write
[TABLE]
with and Consequently
[TABLE]
Now, an analysis of the behavior of in proximity of is required for the application of (69)-(69) and a Frobenius-type method provides the following result.
Lemma 3.1
If and then an eigenfunction admits the following expansion as
[TABLE]
Here
[TABLE]
i.e.
[TABLE]
Remark 3.1
It must be observed that the term with the summation in (78) represents the truncation of a fractional power series expansion at of the solution of (1) with
[TABLE]
In fact, if one sets and then one gets
[TABLE]
A solution of this equation subject to is proportional to [4]
[TABLE]
Here is the Bessel function of the first kind and a confluent hypergeometric limit function. Therefore, the solution of the initial value problem (1)-(81) is
[TABLE]
Remark 3.2
For the special value like the Boyd equation, it is possible to verify that a solution of (1) subject to admits a (classical) power series expansion at . Moreover, the coefficients of the expansion of in (63) decays exponentially and, see Remark 2.2, the matrix can be approximated up to machine precision with a banded one with bandwidth independent of From these observations, we deduce that if then the errors in the approximation of the eigenvalues decay exponentially with respect to
Problems to be studied are therefore those with and this is done in the next theorem.
Theorem 3.2
If and then
[TABLE]
where is defined in (79) and, see (80),
[TABLE]
Proof: From the premises of this theorem, Propositions 2.2 and 3.2, (48), (57), (72) with , (82), and (24)-(29) we obtain that if with sufficiently large then
[TABLE]
Similarly, by using also (83) and the previous lemma, we get
[TABLE]
with
[TABLE]
Hence, by considering (31) and (65) we obtain
[TABLE]
so that, see (64),
[TABLE]
The statement follows by using an integral estimate.
Let us now discuss how one can use this result for the correction of the numerical eigenvalues. Following the idea used for problems with we consider the normalization specified in (74), with and by which we get On the other hand, the estimate turns out to be rather poor. In fact, we have just established that if is sufficiently large then and it is possible to verify that
[TABLE]
Therefore, approaches zero rather slowly when i.e. . For example, if then By considering (8) and (63), the following approximation
[TABLE]
turns out to be more appropriate. Now, from (84) we obtain
[TABLE]
and, consequently, i.e. .
Summarizing, if the problem is subject to the Dirichlet BC at the singular endpoint and if then we correct the numerical eigenvalues as follows
[TABLE]
where is defined in (75) with and given by (84) with respectively. The main steps of the procedure for their computation are listed in Algorithm 2.
The final error analysis we are going to present concerns problems with and In this case, the application of the Frobenius method allows to state that the exact eigenfunction satisfies
[TABLE]
where is a free parameter while is the positive root of the indicial equation i.e.
[TABLE]
For instance, if and then a solution of (1) subject to is proportional to [4]
[TABLE]
We shall proceed by assuming the exact eigenfunction has been normalized so that
[TABLE]
Concerning the corresponding numerical eigenfunction, we assume
[TABLE]
being
[TABLE]
In particular, the second formula in (90) state that and are infinitesimal of the same order as increases.
With these notations, we can prove the following result.
Theorem 3.3
If see (89), and if is sufficiently larger then the index of the eigenvalue then
[TABLE]
where is the limit value in (90) and
[TABLE]
Proof: We begin by studying the asymptotic behavior of the coefficients with an approach similar to the one used in the proof of the previous theorems. From (65), (69)-(69) and (88) we get
[TABLE]
In particular, for the last estimate we used the fact that and (31).
Let us now consider If we let with then we obtain
[TABLE]
with a remainder that decreases exponentially. In addition, if one uses [11, 16.4, formula(20)] then one gets for each Clearly, this implies for each and consequently
[TABLE]
Therefore, the first estimate (92) follows from (66), with and from the application of an integral estimate. It must be said that this result is only a starting point and it is not particularly useful both from the theoretical point of view and for the derivation of a correction formula. This is because approaches zero as increases and if we don’t know its infinitesimal order then we don’t know the order of convergence of Concerning the computation of a corrected numerical eigenvalue we need an estimate of . Let us therefore discuss the approximations in (93). By using the formula obtained for and by observing that one gets
[TABLE]
where is defined in (90). This implies and consequently
[TABLE]
Moreover
[TABLE]
which, with a simple substitution, completes the proof of (93).
We must now spend few words concerning the limit value It is evident that intuitively one would expect namely Nevertheless, the results of several numerical experiments we have conducted by considering different and different boundary conditions at indicate that this is not the case. In particular, such tests lead us to the following assumption
[TABLE]
Currently, this is an experimental result but we didn’t a find a problem for which it doesn’t work. By using it, we get that we can correct the numerical eigenvalues with the following very simple formula
[TABLE]
where, once again, is defined in (75) with
[TABLE]
The procedure for their computation is sketched in Algorithm 3.
4 Numerical tests
The method described and the algorithms for the a posteriori correction were implemented in Matlab (ver.R2017a). In particular, we solved the arising generalized eigenvalue problem (10) by using the eigs function with option “SM” for getting the ones of smallest magnitude. In addition, as we already said in Section 2.3, routines included in the open-source Chebfun package [8] were conveniently used to determine the Fourier-Legendre coefficients of the functions and required for the computation of the coefficient matrix
For each of the three types of problems we have studied in the previous section, which give rise to the three algorithms we have sketched, we now present the results obtained for two different and boundary conditions. In several tests, we needed an accurate estimate of the exact eigenvalues for the evaluation of the errors in the uncorrected and/or corrected numerical ones. In this regard, we decided to consider as “exact” those provided by a well-established routine or, alternatively, the corrected ones obtained with very large. Further details will be given in the sequel. Before proceeding, we must say that when talking about relative errors we usually refer to
[TABLE]
with the th reference eigenvalue used.
Let us begin with (weakly) regular problems not subject to the Dirichlet boundary condition at (see Algorithm 1). The first results we present confirm that the error in the uncorrected numerical eigenvalues behaves like where see Theorem 3.1. In particular, we considered the problems with the following potentials and BCs
[TABLE]
and we used the classical formula
[TABLE]
for the numerical estimate of the order of convergence. The results we got for the eigenvalues of index listed in Table 2, surely confirm the statement of the theorem previously mentioned.
Concerning the effectiveness and utility of the application of the a posteriori correction, we applied Algorithm 1 for solving the problems with
[TABLE]
For the computation of corresponding reference eigenvalues, we first of all tried to use the well-established and general-purpose codes MATSLISE2 [16], SLEDGE [19], and SLEIGN2 [3] with a tolerance for the absolute and/or relative error equal to In particular, for the SLEIGN2 routine we set the input parameter equal to two which indicate that the left endpoint is weakly regular. The approximations we obtained for are listed in Table 3. As one can see, the number of significant digits for which such estimates agrees decreases as approaches one. Indeed, this fact is underlined in the documentation of these three softwares and all our tests indicate that it is more relevant if We therefore decided to use as reference eigenvalues with and, in particular, for the results shown in Figure 1, we set (the values of are listed in the last column of Table 3). In more details, in the three subplots at the top of Figure 1, the resulting relative errors in the approximation of the fifteenth eigenvalue are plotted versus with ranging from to For the subplots at the bottom, instead, we fixed and we depict the errors for the index ranging from to The legend of each graphic and of the subsequent ones is dashed line and solid line for the errors in the uncorrected numerical eigenvalues and in the corrected ones, respectively. As one can see, the correction improves noticeably the accuracy of the numerical eigenvalues. As a matter of fact, see the subplots at the top of Figure 1, it results always
[TABLE]
with On the other hand, from the subplots at the bottom one deduces that for and the gain resulting from the correction is at least of two significant digits for each eigenvalue but it is frequently much larger.
The next examples regards problems with subject to at the singular endpoint which is of type limit-circle. In this case, we applied Algorithm 2 for getting approximations of the eigenvalues and we used as reference “exact” ones, i.e. those provided by MATSLISE2 [16] with a tolerance for the absolute and/or relative errors equal to It must be said that this choice was motivated only by the fact that MATSLISE2 is a Matlab code and that the results we are going to present would have been essentially the same if we had decided to use one of the other two previously mentioned codes. With the same notation used for the second example, in Figure 2 we represent the errors for the problems with
[TABLE]
while in Figure 3 those corresponding to
[TABLE]
For both these examples, we observe that the spectral matrix method already provides accurate approximation for the smallest ’s and the application of the correction further improves such estimates. In particular, see the subplots at the bottom left, the relative errors in the first fifty uncorrected numerical eigenvalues, determined with are smaller than while those in the corresponding corrected eigenvalues are smaller than i.e. smaller than the tolerance used for the computation of the reference ones. This is the reason for which they are not depicted. Concerning the results obtained for the advantage arising from the application of the correction is undeniable since (101), with holds almost always.
Finally, we consider problems with and In Table 4, we list the experimental orders of convergence, see (99), for the problems with
[TABLE]
The results obtained are in perfect agreement with the statement of Theorem 3.3. In fact, and see (94).
Regarding Algorithm 3, we applied it for solving the problems with
[TABLE]
The corresponding errors with respect to the eigenvalue estimates provided by MATSLISE2 are represented in Figure 4. As one can see, the comments we have done for the previous examples concerning the effectiveness of the a posteriori correction surely apply even to this last one. In addition, in support of (91)-(95), in Figure 5 some graphs of and of (obtained as partial sum of ) in proximity of are reported. In the same figure, some ratios are also depicted which show that such values approach as increases as stated in (95) (see also (89)).
Acknowledgments
The author is very indebted to Prof. Paolo Ghelardoni for helpful discussions and suggestions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Abramowitz, I. A. Stegun, Handbook of Mathematical Functions , Dover, New York (1972).
- 2[2] F. V. Atkinson, C. T. Fulton, Asymptotics of Sturm-Liouville eigenvalues for problems on a finite interval with one limit-circle singularity, I, Proc. Roy. Soc. Edinburgh Sect. A 99 (1984), no. 1-2, 51–70.
- 3[3] P. B. Bailey, W. N. Everitt, A. Zettl. The SLEIGN 2 Sturm-Liouville Code, ACM Trans. Math. Software , 21 (2001), 143-192. Available at: http://www.math.niu.edu/SL 2/
- 4[4] F. Bowman, Introduction to Bessel Functions , Dover, New York (1958).
- 5[5] F. Calogero, Approximation for the phase shifts produced by repulsive potentials strongly singular at the origin, Phys. Rev. , 135 (1964) 693-700.
- 6[6] K. M. Case, Singular potentials, Phys. Rev. 80 (1950) 797-806.
- 7[7] H. Chen, B. D. Shizgal, A spectral solution of the Sturm-Liouville equation: comparison of classical and nonclassical basis sets, J. Comput. Appl. Math. , 136 (2001) 17-35.
- 8[8] T. A. Driscoll, N. Hale, L. N. Trefethen, editors, Chebfun Guide, Pafnuty Publications, Oxford, 2014. Version used: 5.7.0.
