Abstract
In the paper, we transform the general Sturm–Liouville problem (SLP) into two canonical forms: one with the homogeneous Dirichlet boundary conditions and another with the homogeneous Neumann boundary conditions. A boundary shape function method (BSFM) was constructed to solve the SLPs of these two canonical forms. Owing to the property of the boundary shape function, we could transform the SLPs into an initial value problem for the new variable with initial values that were given definitely. Meanwhile, the terminal value at the right boundary could be entirely determined by using a given normalization condition for the uniqueness of the eigenfunction. In such a manner, we could directly determine the eigenvalues as the intersection points of an eigenvalue curve to the zero line, which was a horizontal line in the plane consisting of the zero values of the target function with respect to the eigen-parameter. We employed a more delicate tuning technique or the fictitious time integration method to solve an implicit algebraic equation for the eigenvalue curve. We could integrate the Sturm–Liouville equation using the given initial values to obtain the associated eigenfunction when the eigenvalue was obtained. Eight numerical examples revealed a great advantage of the BSFM, which easily obtained eigenvalues and eigenfunctions with the desired accuracy.
Keywords:
Sturm–Liouville problems; eigenvalues; shape function; canonical forms; boundary shape function method MSC:
34L16
1. Introduction
During 1836–1837, Sturm and Liouville created a new subject in the mathematical analysis of second-order ordinary differential equations (ODEs) with the homogeneous Sturm–Liouville boundary conditions. It is known as the Sturm–Liouville theory nowadays, and deals with the Sturm–Liouville problem (SLP):
where and are strictly positive functions of in a finite interval and is a constant parameter. The two-point boundary value problem (1) and (2) is a regular SLP that allows nontrivial solutions only for specific values of , which are known as the eigenvalues. Only in a few cases can the eigenvalues be obtained analytically by solving algebraic equations; however, we do not even have explicit algebraic equations to solve for most cases.
SLPs are essential in partial differential equations, vibrations in continuum mechanics, heat conduction problems, the Schrödinger equation, the transport of microwaves, the Lax pair of the Korteweg–De Vries equation, and fractional derivative problems [,,,], etc. Many numerical method, such as the residuals–collocation method [], Chebyshev collocation method [,], shooting method [], exponentially fitted Numerov method [], differential quadrature method [,], Sinc–Galerkin method [], Adomian decomposition method [], homotopy analysis method [], and variational iteration method [] have been developed in the past several decades to solve SLPs. These methods have been widely applied and efficient and accurate codes have been developed. On the other hand, the modified shooting methods were developed by Ghelardoni and Gheri [] and Liu [,]. Compared with the corrected Numerov’s method in recent years, competitive results have been obtained by applying symmetric boundary value methods [,] and using high-order difference schemes [].
This paper’s main focus was to develop the boundary shape function (BSF) to solve SLPs by automatically satisfying the boundary conditions. First, the idea of the boundary shape function proposed by Liu and Chang [] was applied to find the periodic solution of nonlinear jerk equations. Then, some problems such as the optimal control problems of nonlinear Duffing oscillators and the boundary value problem (BVP) with different boundary conditions were addressed by the BSF. New methods based on the BSF were developed to address the SLPs that were easy to formulate and implement. There are various numerical methods to approximate the eigenvalue and the corresponding eigenfunction. The present technique used the BSF to transform the SLP to the initial value problem (IVP), which was drastically different from the Lie-group shooting method developed by Liu []. This new method did not need to find the missing initial values via the shooting technique; the difference will be pointed out below.
The paper is arranged as follows. Two main theorems are proven in Section 2 for the SLP with the homogeneous Sturm–Liouville boundary conditions. Here, we developed two novel transformation methods to derive two canonical forms that transformed the general SLP to those with homogeneous Dirichlet and Neumann boundary conditions. In Section 3, we transform the SLP with the Dirichlet boundary conditions to an IVP for a new variable, which guaranteed that the Dirichlet boundary conditions for could be satisfied automatically. In the transformed IVP for , an unknown constant appeared that is yet to be determined. In Section 4, we derive in terms of the initial values for and a normalized value given in for the uniqueness of the eigenfunction , which could avoid the iteration to determine . The numerical algorithm based on the boundary shape function method (BSFM) is developed in Section 5. Numerical examples with the homogeneous Dirichlet boundary conditions are given in Section 6 that verify the new results and algorithms. In Section 7, the BSFM is derived to solve the SLP with the homogeneous Neumann boundary conditions. In Section 8, several examples are given of homogeneous Sturm–Liouville boundary conditions. Finally, some conclusions are presented in Section 9.
2. Sturm–Liouville Boundary Conditions
It is well known that the eigenvalues satisfy the relation:
and the eigenfunction corresponding to an eigenvalue has intersections with the x-axis inside the interval . Moreover, since for any given eigenvalue it is possible to compute an infinite number of eigenfunctions, in general, a normalization condition in the form is required for the uniqueness of . The computation of and traditionally has been quite a challenging task. We will show that inexpensive computing that evaluates via a direct solution of the differential Equation (1) is feasible.
For the general SLP of Equations (1) and (2), we supposed that , , , and . We transformed them into two canonical forms with the Dirichlet and Neumann homogeneous boundary conditions, respectively, and then proposed a BSFM for determining the eigenvalues and finding the corresponding eigenfunctions.
2.1. Transforming to Neumann-Type Boundary Conditions
In Equations (1) and (2), suppose that and such that the coefficients preceding and can be set equal to one. When letting and , we may need to prove the following result.
Theorem 1.
For the SLP with the Sturm–Liouville type boundary conditions:
where λ is an eigen-parameter. If the following condition is satisfied:
then Equations (4) and (5) can be transformed into the Neumann-type SLP:
The relation between and is given as:
Proof.
Let:
It is apparent that the Neumann boundary conditions in Equation (8) follow from Equation (5) upon using the above equation. It follows from Equation (10) that:
If condition (6) holds, Equation (11) reduces to:
Thus, in Equation (9) is proved. Inserting Equation (9) and its first and second differentials into Equation (4), we can derive:
which, when multiplied by on both sides, can lead to Equation (7). □
Motivated by Theorem 1, we generalized it to the Sturm–Liouville type boundary conditions without needing the constraint . For this purpose, we sought a function in:
so that the Sturm–Liouville type boundary conditions in Equation (5) with and were transformed to:
Through some manipulations, we can derive:
Theorem 2.
The SLP (4) and (5) with and in the Sturm–Liouville boundary conditions can be transformed to the Neumann-type boundary conditions:
where the relation between and is given by Equation (14) and is given by Equations (17) or (18).
Proof.
The Neumann boundary conditions in Equation (20) are given by Equations (15) and (16). By inserting Equation (14) and its first differential into Equation (4), we can derive:
When Equation (21) is divided by on both sides and use:
we can change it to:
The expansion of the second term generates Equation (19). □
Note that Niessen and Zettl [] developed a similar transformation (), where is a solution of Equation (1) for some . The purpose was to transform the singular SLP with a singular nonoscillatory limit circle endpoint into a regular one. However, the present in Equations (17) and (18) was different from the used in [].
2.2. Transforming to Dirichlet-Type Boundary Conditions
This is similar to Theorem 2 in that we can derive the following result:
Theorem 3.
The SLP in Equations (4) and (5) can be transformed to the Dirichlet-type SLP:
where:
Proof.
By letting:
where and , we transform Equations (4) and (5) into the canonical forms of (23) and (24). It is easy to confirm that in Equation (26) satisfies Equation (24) when satisfies Equation (5).
For easy operations, in Equation (26) is written as:
where:
When taking the derivative of Equation (27) with respect to , we get:
where for simplicity we omit the variable in the functions, and:
is a constant. Inserting Equation (4) for into Equation (29) leads to:
Using Equations (27) and (31), and in terms of and can be solved as follows:
where:
Further, when taking the derivative of Equation (33) with respect to and using Equation (4) for again, we get:
The latter equation can be written as:
which, upon using Equations (34) and (32) for , can be arranged as:
Thus, we prove Equation (23). □
3. Transforming to an Initial Value Problem for z(x)
To clearly demonstrate the new BSFM, we began with the SLP with the homogeneous Dirichlet boundary conditions:
where and with and .
In view of Equations (40) and (41), if is an eigenfunction, then is also an eigenfunction. For the uniqueness of , we considered a normalization condition as follows:
where is a given nonzero constant. Equation (42) is more straightforward than the usual normalization condition . According to the theory of ODE, the solution of that satisfies Equation (40) with the initial conditions and is unique.
To guarantee that the solution of could exactly satisfy Equation (41), we introduced a shape function:
As a consequence, we could prove the following result:
Theorem 4.
For the function
satisfies Equation (41).
Proof.
Inserting into Equation (44) leads to:
by Equation (43), which becomes:
Similarly, inserting into Equation (44) yields:
which, in view of Equation (43), becomes:
Thus, we complete the proof. □
Theorem 4 is crucial in that the newly introduced shape function method guaranteed that the boundary conditions in Equation (41) could be exactly satisfied by in Equation (44). Corresponding to the shape function was called a boundary shape function since it automatically satisfied the boundary conditions (41). Starting from this new idea, we could develop a BSFM to solve Equations (40) and (41) by considering the relation between and :
where:
by substituting Equation (43) for . Due to and , Equation (45) implies for automatically satisfying Equation (41).
Hence, Equation (40), after inserting Equation (45) for , could be transformed to
which can be viewed as an IVP for in the interval upon giving the initial values and definitely.
4. Finding the Terminal Value of z(x)
However, in the function given by Equation (46) is an unknown constant. For Equations (47) and (48) to be the IVP, we had to ensure that was not an unknown constant, which was proved as follows:
Theorem 5.
In Equation (46), is given by:
Moreover, we have:
where and are, respectively, the particular and homogeneous solutions of Equation (47).
Proof.
Taking the differential of Equation (45) with respect to and inserting leads to:
where is a constant due to Equation (46); from Equation (48), it follows that:
When substituting Equation (52) for as shown in Equation (42) and Equation (48) for in Equation (51), we get:
hence, Equation (49) is proven.
Equation (47) is a nonhomogeneous ODE for . We could decompose into:
where and are the homogeneous and particular solutions of Equation (47), respectively. The latter means that satisfied the nonhomogeneous part of Equation (47):
which by observation immediately implied the first result in Equation (50). Inserting Equation (54) into Equation (45) and using yields:
Thus, we end the proof. □
The derivation of Equation (49) for was independent of the governing Equation (4), which meant that the current method of BSFM was applicable to more general eigenvalue problems rather than Equation (4); for instance, nonlinear eigenvalue problems.
5. Algorithm to Solve Eigenvalues and Eigenfunctions
We have proved the two main Theorems, 4 and 5, which could help us efficiently compute the eigenvalues. The result in Theorem 5 was very important because we could avoid the iteration to determine . Upon letting
it follows from Equation (47) that:
where the initial condition for is based on Equations (49), (52), and (58):
In Equations (58) and (59), and are derived from Equations (46), (48), (49), and (52):
Because the initial values and in Equation (60) were available, now, from to , we could apply the fourth-order Runge–Kutta method (RK4) to integrate the first-order ODEs (58) and (59) with a given to obtain ; hence:
could be obtained for each given. For use in the latter, we called the curve of versus an eigenvalue curve, where was a target function and was an eigen-parameter. We could adjust the value of until satisfied , where is a given tolerant error to mismatch the right-boundary condition .
The algorithm based on the BSFM for solving the SLP with the homogeneous Dirichlet boundary conditions can be summarized as follows:
- (i)
- Give the stopping criterion with given, and initial guess .
- (ii)
- For applying the RK4 to integrate the ODEs in Equations (58)–(60) with steps from to . Take:
A more straightforward method to determine is to use a finer tuning technique (FTT). Let run in an interval including the eigenvalues of interest, from which the zero points inside that interval can be detected from the plot of versus . We could tune the interval to a finer one by gradually reducing the length of the interval to locate the minimum of:
until the minimum was smaller than . At this moment, we could precisely find the eigenvalue inside that interval.
We can confirm that the initial values of and are:
The first one was already proved in Theorem 4. Based on Equations (45), (46), (49), and (52), it followed that:
Suppose one wants to solve the corresponding eigenfunction for an eigenvalue λ obtained. In that case, one can employ the initial values in Equation (68) and integrate Equation (40) after inserting the obtained eigenvalue to solve the eigenfunction.
Remark 1.
Because Equation (59) involves as an unknown value, the integrated value is indeed an implicit function of . By meeting the right boundary condition for , an algebraic equation can be used to determine the eigenvalue , which can be performed by a numerical method based on FTIM []. The readers may ask why we did not directly integrate Equation (40) by using the initial values with the guessed and the guessed eigenvalue to match the right boundary condition to pick up the correct eigenvalue. However, this approach cannot guarantee that the right boundary condition can be exactly satisfied, which may render an unstable and incorrect solution. We will give an example to demonstrate the failure of this naive approach in the shooting method. We instead integrated using Equations (58)–(60) in the BSFM, which guaranteed that the right boundary condition could be satisfied automatically as proved in Theorem 4. From this aspect, the BSFM was quite different from the shooting method, where the correct value was not known in advance, and even Equation (40) was integrated by using the correct initial values while the end value was not guaranteed to satisfy the right-end condition
For the general SLPs (4) and (5), the boundary conditions of which were not of the Dirichlet type, we could employ Theorem 3 to transform them into Equations (23) and (24). Then, after using the above BSFM to determine , and , we could determine the eigenfunction using Equation (32).
6. Numerical Examples of Dirichlet-Type Sturm–Liouville Problem
6.1. Example 1
For the first test example, we considered:
where , , and .
We chose an adequately large integer to enhance the accuracy when integrating ODEs using the RK4, the CPU time of which was saved because we merely needed to integrate two first-order ODEs with steps from to . When a larger eigenvalue was computed, a larger was demanded. Figure 1a shows a plot of the eigenvalue curve of versus in an interval (0, 300) with , in which we can see that there were five zero points that corresponded to the first five eigenvalues.

Figure 1.
Plotting the eigenvalue curves for (a) Example 1 and (b) Example 2.
We applied the BSFM to solve this problem with , and . As shown in Figure 2, by tuning to finer intervals using the FTT and applying the BSFM with (for coinciding with the exact one), and we could sequentially obtain the required eigenvalues. We showed the calculated eigenfunctions for which coincided with the exact ones. It can be seen in Figure 3 that the numerical errors of the eigenfunctions were very small, on the order of to .
Figure 2.
Numerical solutions of the eigenfunctions for Example 1.
Figure 3.
The errors of numerical solutions of the eigenfunctions for Example 1.
The present problem had three eigenvalues in the range of , as shown in Figure 1a by the three intersection points before , which are listed in Table 1. If we directly integrated Equation (40) by employing the initial values and and picked the zero points in the eigenvalue curve, it led to incorrect results as listed in Table 1. In contrast, we could obtain very accurate eigenvalues by using the FTT, FTIM, and BSFM no matter which value of or was used; the errors were on the order of to . In the FTIM, we took and for and for , and and for
Table 1.
Comparison of the eigenvalues for Example 1 with those calculated via Equation (40) using the initial conditions and with the present results and the exact ones.
Remark 2.
To remedy the shortcoming of the naive approach to the IVP of , one way is to use the shooting method [,] to pick up the correct initial value of rather than such that the integrated value can match the true right-end value . From this point, we can see that the BSFM presented here differed significantly from the shooting method. In contrast to the shooting method, the initial values and for the IVP of were given definitely and the right boundary condition was satisfied automatically and exactly upon solving for with the correct eigenvalue . Notice the differences between the IVP for in the shooting method and the BSFM for . In the shooting method, there were two unknown values and to be determined. In contrast, was the only unknown value to be determined in the BSFM.
6.2. Example 2
For this example, we considered the following SLP [,,]:
No closed-form solutions of and exist. The BSFM with , and was adopted to determine the eigenvalues in the range of as shown in Figure 1b, in which 30 intersection points could be observed. The results agreed with those obtained by Liu [].
Table 2 compares the calculated eigenvalues with those obtained by Ghelardoni et al. [] and Liu []. By using the FTT and applying the BSFM with and , we could sequentially obtain the required eigenvalues shown in Table 2. Figure 4 displays the calculated eigenfunctions for , where the numerical errors of the eigenfunctions to satisfy the right boundary condition were very small, on the order of to .
Table 2.
Comparison of the eigenvalues for Example 2 with those in the previous literature.
Figure 4.
Numerical solutions of the eigenfunctions for Example 2.
6.3. Example 3
We considered the following SLP []:
We employed the BSFM with , and to search for the eigenvalues in the range of . Table 3 compares the calculated eigenvalues through the FTT to adjust the eigenvalues to match the right-boundary condition with those obtained by Eggert et al. []. The accuracy of the computed eigenvalues by the BSFM could arrive at .
Table 3.
Comparing the eigenvalues for Example 3 with those of Eggert et al. [].
7. Neumann-Type Boundary Conditions
The simplest eigenvalue problem with an eigenfunction satisfying the Neumann boundary conditions is:
the eigenvalues of which are , .
7.1. Variable Transformation
In this section, we considered Equation (40) with the following homogeneous Neumann boundary conditions:
For the SLP with the homogeneous Neumann boundary conditions, we considered another normalization condition:
According to the theory of ODE, the nontrivial solution of satisfying Equation (40) with the initial conditions and is unique.
We can derive:
where is a given constant, so that:
Theorem 6.
For the function :
satisfies Equation (77).
Proof.
Taking the differential of Equation (82) with respect to x and inserting leads to:
which, when using Equations (79) and (80), becomes:
When inserting into the differential of Equation (82), we get:
which, when using Equations (79) and (80), becomes:
Thus, the proof is completed. □
Consider the variable transformation from to by:
where:
Using Equation (83), we can transform Equation (40) into:
where and are constant initial values.
Theorem 7.
In Equation (84), is given as:
where the constraint of is given by Equation (81) with ; we take for some nonzero constant .
Proof.
Inserting into Equation (83) leads to:
On the other hand, it follows from Equations (79)–(81), (84), and (86) that:
By substituting with Equation (78) and with Equation (86) in Equation (88), we get:
Hence, Equation (87) is proved. □
7.2. Algorithm Based on the BSFM
Let:
The latter condition could be proved as follows. After taking the differential of Equation (85), inserting , and using Equations (79) and (80), we could obtain . Inserting into Equation (91) and using yielded . Then, we could apply the RK4 to integrate the above ODEs to obtain:
The algorithm based on the BSFM for solving the SLP with the homogeneous Neumann boundary conditions can be summarized as follows:
- (i)
- Give the stopping criterion , with given, and initial guess .
- (ii)
- For , applying the RK4 to integrate the ODEs in Equations (91)–(93) with steps from to . Take:
A more straightforward method to determine is to use an FTT. Let , run in an interval , including the eigenvalues, from which the zero points inside that interval can be detected from the plot of versus . We could tune the interval to a finer one to locate the minimum of:
until the minimum was smaller than .
Suppose one wants to solve the corresponding eigenfunction for an eigenvalue λ obtained. In that case, one can employ the initial values and and integrate Equation (40) with the obtained eigenvalue to solve the corresponding eigenfunction.
For the general SLP (4) and (5), the boundary conditions of which were not the Neumann type, we could employ Theorem 1 or Theorem 2 to transform them into Equations (7) and (8) or Equations (19) and (20). Then, after using the above BSFM to determine and , we could determine the eigenfunction using Equation (9) or Equation (14).
7.3. Example 4
We tested the BSFM for the eigenfunction in Equation (76), which had the eigenvalues . We applied the BSFM in Section 7.2 to solve this problem with or , , , and . By tuning to finer intervals, we compared the computed eigenvalues to the exact ones for as shown in Table 4. It can be seen that the numerical errors were minimal (on the order of to ) no matter which value of or was used.
Table 4.
Comparing the eigenvalues for Example 4 with the present BSFM using B0 = 1 and B0 = 2 to the exact ones.
8. Numerical Examples of the General Sturm–Liouville Problem
For the general SLP, we could either transform it into the Neumann-type SLP as shown in Theorems 1 and 2 or the Dirichlet-type SLP as shown in Theorem 3. Some examples are given below.
8.1. Example 5
The following example was borrowed from Fu et al. []:
where is a nonzero parameter. This problem had the eigenvalues , but we did not have closed-form solutions for the eigenfunctions.
In Equations (99) and (100), , , , and ; hence, condition (6) in Theorem 1 held. Now, according to Theorem 1, the problem (99) and (100) was reduced to:
where and
Then, we could apply the BSFM in Section 7.2 to solve this problem with , , , and . Figure 5a shows a plot of the eigenvalue curve of versus in an interval [1, 1000] as a solid line, from which we can see that there were 10 zero points that corresponded to the first 10 eigenvalues , .
Figure 5.
(a) Plots of the eigenvalue curves for Examples 5 and 7; (b) numerical solutions for the eigenfunctions. Example 5 is shown by solid lines and Example 7 by dashed lines.
By using the FTT and the FTIM, we compared the calculated eigenvalues to the exact ones for in Table 5. It can be seen that the numerical errors were minimal—on the order of to when using the FTT and to when using the FTIM.
Table 5.
Comparing the eigenvalues for Example 5 with the present BSFM using B0 = 1 to the exact ones.
By tuning to finer intervals when using the FTT and applying the BSFM with or , , , , and , we could sequentially obtain the required eigenvalues; the calculated eigenfunctions for are shown in Figure 5b as solid lines. It can be seen that the numerical errors were minimal (on the order of to to satisfy the right boundary condition where we took .
8.2. Example 6
At this moment, we solved the general SLP (1) and (2) by using Theorem 2 and the BSFM in Section 7.2. To test the accuracy, we considered:
where were solved using ; while the eigenfunctions were given by .
For Example 5, we showed that using the FTT was more accurate than using the FTIM. We used the FTT to adjust the eigenvalues for the following examples. We applied the BSFM in Section 7.2 to solve this problem with or , , , , and . By tuning to finer intervals using the FTT, we compared the calculated eigenvalues to the exact ones for in Table 6. It can be seen that the numerical errors were very small, on the order of to .
Table 6.
Comparing the eigenvalues for Example 6 with the present BSFM to the exact ones and showing the errors.
8.3. Example 7
We considered Example 5 again; however, we used a different right boundary condition:
We employed Theorem 2 and applied the BSFM in Section 7.2 to solve this problem with , , , , and . Figure 5a shows a plot of the eigenvalue curve of versus by the dashed line in an interval , from which we can see that there were 10 zero points that were close to the first 10 eigenvalues of Example 5. However, there were a few differences as shown in Table 5. The numerical errors of the eigenvalues were adjusted to be less than .
By tuning to finer intervals using the FTT and applying the BSFM in Section 7.2 with , , , and , we could sequentially solve for the required eigenvalues; the calculated eigenfunctions for are shown by the dashed lines in Figure 5b. The right boundary condition could be satisfied very well, as shown in Table 7.
Table 7.
The eigenvalues for Example 7 with the present BSFM using B0 = 1 and the right-boundary errors.
8.4. Example 8
Now, we solved the general SLP (1) and (2) by using Theorem 3 and the BSFM in Section 5. We tested the following problem given in Example 5:
where and This problem had the eigenvalues , .
We applied the present BSFM based on Theorem 3 to solve this problem with , , , , and . By tuning to finer intervals using the FTT, the calculated eigenvalues were compared with the exact ones for , in Table 8. As shown in the table, the numerical errors were on the order of to .
Table 8.
Comparing the eigenvalues for Example 8 with the present BSFM to the exact ones.
Remark 3.
The Liouville transformation []:
can transform Equations (1) and (2) to the following canonical form:
where:
The original SLP became a new SLP in the unit interval with the same eigenvalues multiplied by a constant factor and only the potential function was required.
Upon comparing the transform in Equation (109) to that in Equation (14), we could observe the similarity. However, was an explicit quadratic or cubic function of ; all the coefficient functions were given explicitly in Equation (19). Moreover, the boundary conditions were more accessible to treat than Equation (112). One major drawback of Equation (111) was that the coefficient function was an implicit function of , which could be known only after inverting the relation in Equation (110) to obtain the function and then inserting it into Equation (113).
Both the transformations in Equations (14) and (109) were congruent, which maintained the linearity in the eigenvalue or . On the other hand, the transform (25) in Theorem 3 was not a congruent one, where the coefficient function is a linear function of and is a nonlinear function of . Nevertheless, from the aspect of the numerical method, the Dirichlet boundary conditions in Equation (24) were more uncomplicated and were easier to treat than the boundary conditions (20) and (112).
The SLP is very important in partial differential equations, vibrations in continuum mechanics, and heat conduction problems. We applied the Sturm–Liouville theory to solve the longitudinal wave motion problem when the Young’s modulus was fixed with the cross section area of a tapered rod, a constant density of mass, and the axial displacement :
Let with as a natural vibration frequency; Equation (116) then reduces to Equation (4) with:
We fixed the length of the rod be a unit and took = 100.
In the design of engineering structures, knowing first few frequencies is of utmost importance. Figure 6 shows a plot of versus in a range of , where two intersecting points appeared. Then, by tuning to finer intervals, we could obtain and .
Figure 6.
Plotting the eigenvalue curve for a practical example of a longitudinal wave motion of a tapered rod.
9. Conclusions
For the SLPs with the Sturm–Liouville boundary conditions, we derived two novel transformations that could transform them into two canonical forms with either the Dirichlet boundary conditions or the Neumann boundary conditions. These two canonical forms appeared in the literature at the same time. Numerically, these two simpler forms were more easily treated than the original Sturm–Liouville-type boundary conditions. The major novelty of the paper was that we employed the shape function to transform the Sturm–Liouville boundary value problem to the corresponding initial value problem for the new variable with terminal values that could be determined explicitly by using the Neumann-type normalization condition for the Dirichlet canonical form and the Dirichlet-type normalization condition for the Neumann canonical form. Based on these novel ingredients in the BSFM, we could solve the Sturm–Liouville problems easily and directly. In the BSFM, the only unknown constant was the eigenvalue, which was determined by solving the derived algebraic equation with a finer tuning technique or by using the fictitious time integration method. Eight numerical examples confirmed the high performance of the new BSFM algorithm based on methods with high accuracy for the obtained eigenvalues and eigenfunctions. As compared to the conventional shooting method, we did not need to guess the missing initial value. The advantages of the presented two novel transformations were explored when we compared them to the Liouville transform. Future works can focus on extending the BSFM to solve generalized Sturm–Liouville problems and periodic Sturm–Liouville problems in terms of nonlinear problems.
Author Contributions
C.-S.L. contributed to the conception and writing of the work (conceptualization, methodology, writing—original draft), collected and analyzed the data, and interpreted the results. J.-R.C. contributed to the design of the work (resources, software). J.-H.S. contributed to the writing and supervision of the work (writing—review, project administration). Y.-W.C. contributed to the writing, design, and validation of the work (writing—editing and validating and visualizing the data) and the funding acquisition. All authors have read and agreed to the published version of the manuscript.
Funding
The corresponding authors would like to thank the Ministry of Science and Technology, Taiwan, for their financial support (grant number: MOST 111-2221-E-019-048).
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Kumar, S.; Kumar, R.; Mosman, M.S.; Samet, B. A wavelet based numerical scheme for fractional order SEIR epidemic of measles by using Genocchi polynomials. Numer. Methods Partial Differ. Equ. 2021, 37, 1250–1268. [Google Scholar] [CrossRef]
- Wang, K.L. A novel perspective to the local fractional Zakharov–Kuznetsov-modified equal width dynamical model on Cantor sets. Math. Methods Appl. Sci. 2022, 2022, 1–9. [Google Scholar] [CrossRef]
- Wang, K.L. A novel variational approach to fractal Swift–Hohenberg model arising in fluid dynamics. Fractals 2022, 2250156. [Google Scholar] [CrossRef]
- Ain, Q.T.; Sathiyaraj, T.; Karim, S.; Nadeem, M.; Mwanakatwe, P.K. ABC fractional derivative for the alcohol drinking model using two-scale fractal dimension. Complexity 2022, 2022, 8531858. [Google Scholar] [CrossRef]
- Çelik, İ. Approximate calculation of eigenvalues with the method of weighted residuals–collocation method. Appl. Math. Comput. 2005, 160, 401–410. [Google Scholar] [CrossRef]
- Çelik, İ. Approximate computation of eigenvalues with Chebyshev collocation method. Appl. Math. Comput. 2005, 168, 125–134. [Google Scholar] [CrossRef]
- Çelik, İ.; Gokmen, G. Approximate solution of periodic Sturm–Liouville problems with Chebyshev collocation method. Appl. Math. Comput. 2005, 170, 285–295. [Google Scholar] [CrossRef]
- Ghelardoni, P.; Gheri, G.; Marletta, M. Spectral corrections for Sturm–Liouville problems. J. Comput. Appl. Math. 2001, 132, 443–459. [Google Scholar] [CrossRef]
- Vanden Berghe, G.; Van Daele, M. Exponentially-fitted Numerov methods. J. Comput. Appl. Math. 2007, 200, 140–153. [Google Scholar] [CrossRef][Green Version]
- Yücel, U. Approximations of Sturm–Liouville eigenvalues using differential quadrature (DQ) method. J. Comput. Appl. Math. 2006, 192, 310–319. [Google Scholar] [CrossRef]
- El-Gamel, M.; Abd El-hady, M. Two very accurate and efficient methods for computing eigenvalues of Sturm–Liouville problems. Appl. Math. Model. 2013, 37, 5039–5046. [Google Scholar] [CrossRef]
- Alquran, M.T.; Al-Khaled, K. Approximations of Sturm-Liouville eigenvalues using sinc-Galerkin and differential transform methods. Appl. Appl. Math. 2010, 5, 128–147. [Google Scholar]
- Attili, B.S. The Adomian decomposition method for computing eigenelements of Sturm–Liouville two point boundary vateraturelue problems. Appl. Math. Comput. 2005, 168, 1306–1316. [Google Scholar] [CrossRef]
- Abbasbandy, S.; Shirzadi, A. A new application of the homotopy analysis method: Solving the Sturm–Liouville problems. Commun. Commun. Nonlinear Sci. Numer. Simul. 2011, 16, 112–126. [Google Scholar] [CrossRef]
- Altıntan, D.; Uğur, Ö.M.Ü.R. Variational iteration method for Sturm–Liouville differential equations. Comput. Math. Appl. 2009, 58, 322–328. [Google Scholar] [CrossRef]
- Ghelardoni, P.; Gheri, G. Improved shooting technique for numerical computations of eigenvalues in Sturm-Liouville problems. Nonlinear Anal. 2001, 47, 885–896. [Google Scholar] [CrossRef]
- Liu, C.S. A Lie-group shooting method for computing eigenvalues and eigenfunctions of Sturm-Liouville problems. CMES-Comp. Model. Eng. Sci. 2008, 26, 157–168. [Google Scholar]
- Liu, C.S. The Lie-group shooting method for computing the generalized Sturm-Liouville problems. CMES-Comp. Model. Eng. Sci. 2010, 56, 85–112. [Google Scholar]
- Aceto, L.; Ghelardoni, P.; Magherini, C. Boundary Value Methods as an extension of Numerov’s method for Sturm–Liouville eigenvalue estimates. Appl. Numer. Math. 2009, 59, 1644–1656. [Google Scholar] [CrossRef]
- Aceto, L.; Ghelardoni, P.; Magherini, C. BVMs for Sturm-Liouville eigenvalue estimates with general boundary conditions. J. Numer. Anal. Ind. Appl. Math. 2009, 4, 113–127. [Google Scholar]
- Amodio, P.; Settanni, G. Variable-step finite difference schemes for the solution of Sturm–Liouville problems. Commun. Nonlinear Sci. Numer. Simul. 2015, 20, 641–649. [Google Scholar] [CrossRef][Green Version]
- Liu, C.S.; Chang, J.R. The periods and periodic solutions of nonlinear jerk equations solved by an iterative algorithm based on a shape function method. Appl. Math. Lett. 2020, 102, 106151. [Google Scholar] [CrossRef]
- Niessen, H.D.; Zettl, A. Singular Sturm-Liouville problems: The Friedrichs extension and comparison of eigenvalues. Proc. Lond. Math. Soc. 1992, 3, 545–578. [Google Scholar] [CrossRef]
- Liu, C.S.; Atluri, S.N. A novel time integration method for solving a large system of non-linear algebraic equations. CMES-Comp. Model. Eng. Sci. 2008, 31, 71–83. [Google Scholar]
- Eggert, N.; Jarratt, M.; Lund, J. Sinc function computation of the eigenvalues of Sturm-Liouville problems. J. Comput. Phys. 1987, 69, 209–229. [Google Scholar] [CrossRef]
- Fu, S.Z.; Wang, Z.; Wei, G.S. Sturm-Liouville Problem and Its Inverse Problem; Science Press: Beijing, China, 2015. (In Chinese) [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).