Analysis of IVPs and BVPs on Semi-Infinite Domains via Collocation Methods
Abstract
We study the numerical solutions to semi-infinite-domain two-point boundary value problems and initial value problems. A smooth, strictly monotonic transformation is used to map the semi-infinite domain x ∈ [0, ∞) onto a half-open interval t ∈ [−1, 1). The resulting finite-domain two-point boundary value problem is transcribed to a system of algebraic equations using Chebyshev-Gauss (CG) collocation, while the resulting initial value problem over a finite domain is transcribed to a system of algebraic equations using Chebyshev-Gauss-Radau (CGR) collocation. In numerical experiments, the tuning of the map ϕ : [−1, +1)→[0, +∞) and its effects on the quality of the discrete approximation are analyzed.
1. Introduction
Boundary value problems (BVPs) on infinite intervals and initial value problems (IVPs) frequently occur in mathematical modelling of various applied problems. Typically, these problems arise very frequently in fluid dynamics, aerodynamics, quantum mechanics, electronics, astrophysics, and other domains of science, as examples, in the study of unsteady flow of a gas through a semi-infinite medium [1–3], heat transfer in the radial flow between parallel circular disks [4], draining flows [5], circular membranes [6–8], plasma physics [9, 10], radially symmetric solutions of semilinear elliptic equations [10–12], non-Newtonian fluid flows [13], study of stellar structure, thermal behavior of a spherical cloud of gas, isothermal gas sphere, theory of thermionic currents [14–16], and modeling of vortex solitons [17, 18].
The analytical solutions to BVPs and IVPs are not readily attainable and thus the need for finding efficient computational algorithms for obtaining numerical solutions arises. During the last few years much progress has been made in the numerical treatment of boundary value problems over infinite intervals (see e.g., [19–23] and references therein). Moreover, different spectral methods have been proposed for solving problems on unbounded domains. One of the methods is through the use of polynomials that are orthogonal over unbounded domains, such as the Hermite spectral and the Laguerre spectral methods [24–29]. However, all of these algorithms need certain quadratures on unbounded domains, which introduce errors and so weaken the merit of spectral approximations.
Another approach is replacing the infinite domain with [−L, L] and the semi-infinite interval with [0, L] by choosing L sufficiently large. This method is named as the domain truncation [30]. When we use finite difference methods or finite element methods to solve unbounded problems numerically, we often utilize domain truncation and impose certain conditions on artificial boundaries, which destroy the accuracy usually [22].
Another direct approach for solving such problems is based on rational approximations. Christov [31] and Boyd [32, 33] developed some spectral methods on unbounded intervals by using mutually orthogonal systems of rational functions. Boyd [33] defined a new spectral basis, named rational Chebyshev functions on the semi-infinite interval, by mapping it to the Chebyshev polynomials. Guo et al. [34] introduced a new set of rational Legendre functions that are mutually orthogonal in L2(0, +∞). They applied a spectral scheme using the rational Legendre functions for solving the Korteweg-de Vries equation on the half-line. Boyd et al. [35] applied pseudospectral methods on a semi-infinite interval and compared the rational Chebyshev, the Laguerre and the mapped Fourier sine methods. The authors of [36–40] solved some IVPs and BVPs on semi-infinite intervals.
The use of a suitable mapping to transfer infinite domains to the finite domains and then applying the standard spectral methods for the transformed problems in finite domains is another approach that is frequently used [41–45] and is used in this paper too.
In this paper we describe two collocation methods for the numerical solution of semi-infinite-domain two-point boundary value problems and initial value problems. For mapping the semi-infinite domain x ∈ [0, ∞) onto a finite half-open interval t ∈ [−1, +1), the algebraic and logarithmic transformations, which are smooth and strictly monotonic, are used. The Chebyshev-Gauss (CG), Chebyshev-Gauss-Radau (CGR), and Chebyshev-Gauss-Lobatto (CGL) points are then introduced. Then, the resulting finite-domain two-point boundary value problem is discretized using CG collocation, and the resulting initial value problem over a finite domain is discretized using CGR collocation in order to handle the initial slope condition based on the collocation points. Our collocation schemes avoid the singularity at t = +1 introduced by the change of variables because the final CG or CGR point is strictly smaller than t = +1. Furthermore, in the CG scheme for two-point boundary value problems, the function at x = +∞ is obtained directly from the final condition, while, in the CGR scheme for initial value problems, the function at x = +∞ is estimated after solving the problem. In addition, we find that if the exact solution to the original problem decays exponentially fast as x → ∞, then better approximations to the problem can be attained by using a transformation x = ϕ(t) that grows more slowly near the point t = +1, while if the exact solution decays algebraically as x → ∞, then better approximations to the problem can be attained by using a transformation that grows more rapidly near the point t = +1. Thus, by tuning the choice of the transformation, the accuracy of the discretization can be improved.
This paper is organized as follows: in Section 2, using algebraic and logarithmic transformations we transform the semi-infinite-domain BVPs and IVPs to finite-domain problems. In Section 3, we discuss the choices for collocation points and explain our method. Section 4 is devoted to some numerical examples and analysis of tuning the transformations. Finally, in Section 5 we provide conclusions.
2. Problem Statement and Domain Transformation
Boyd in [30, 42] offered guidelines for optimizing the mapping parameter L where L > 0. Boyd used these guidelines to obtain approximations to known functions and not to find solutions to differential equations. In general, there is no way to avoid a small amount of trial and error in choosing L when solving problems on an infinite domain. Note that the optimum value of L varies with the number of collocation points, and, as Boyd [30] stated, for smooth functions the error is relatively insensitive to the precise choice of L in the neighborhood of the optimum value of L.
As we will see in the numerical experiments, better discretization can be achieved by tuning the transformations to the problem. For a fixed L, the logarithmic transformation produces slower growth in x = ϕ(t) as t approaches +1 than that of algebraic transformations introduced here. Moreover, in algebraic transformations by increasing K faster growth in x = ϕ(t) is produced. However, the logarithmic transformation and the algebraic transformation with K = 1/2 have almost the same behavior. In particular, we will see that if the exact solution to the original problem decays exponentially fast as x → ∞, then both transformations (algebraic and logarithmic) work, but logarithmic transformation and algebraic transformation with K = 1/2 give better results in comparison with other choices for algebraic transformations. On the other hand, if the exact solution decays algebraically as x → ∞, then algebraic transformations with K = 1 and K = 3/2 give much better results. Furthermore, the smoothness of the exact solution in the transformed coordinate plays an important role in tuning the transformations to the problem.
3. Collocation Methods for Semi-Infinite-Domain BVPs and IVPs
In this section we formulate discrete approximations to the problems described in Section 2. These schemes are based on global collocation using CG and CGR collocation points. As will be seen, the schemes for semi-infinite-domain two-point boundary value problems and for initial value problems are different in respect of their treatment of the origin and the infinity. For semi-infinite-domain two-point boundary value problems, the function value at the infinity is obtained directly from the boundary condition at the infinity, while for initial value problems the derivative at the origin is expanded based on collocation points to handle the initial slope condition, and the function value at the infinity is estimated after obtaining the approximate solution.
3.1. CG, CGR, and CGL Collocation Points
3.2. Gauss Collocation Scheme for Infinite-Domain Two-Point Boundary Value Problems
Note that, although the transformed two-point boundary value problem in (2.7) may have a singularity at t = −1 and the change of variable x = ϕ(t) must have a singularity at t = +1, we never evaluate the problem at the singularities, rather we evaluate it at the collocation points that are all strictly more than −1 and less than 1.
3.3. Radau Collocation Scheme for Initial Value Problems
Consider the standard CGR collocation points −1 = t0 < ⋯<tN < +1 defined by (3.2) and the additional noncollocated point tN+1 = 1. As the CG scheme, the function Y is approximated using (3.4). It is worth mentioning that for the Radau scheme, the point t0 is a collocation point, while, for the Gauss scheme in the previous subsection, the point t0 is just an interpolation node. For IVPs, the CGR points are more appropriate because they allow approximation of the initial slope condition to be obtained based on collocation points.
Note that the CGR scheme of this subsection can also be applied for infinite-domain two-point boundary values problems in Section 3.2. Nevertheless, the errors using either the CG or CGR schemes are almost the same.
3.4. Assessment of Spectral Accuracy
The convergence properties of the approximation to y(x) can be determined from the behavior of the function Y(t) = y(ϕ(t)). Infinite-order accuracy is expected when Y(t) is infinitely smooth on [−1,1]. Assuming that y(x) itself is infinitely smooth on [0, +∞), the critical issue is the behavior of the derivatives of Y(t) at t = 1. Moreover, unlike expansions on a finite domain, spectral approximations on a semi-infinite domain have two discretization parameters, the mapping parameter L in addition to the number of collocation points. Furthermore, the decay rate of the solution y(x) plays an important role in investigating the convergence properties. More precisely, if y(x) decays exponentially fast as x → ∞, then better approximations to the problem can be attained by using a transformation x = ϕ(t) that grows more slowly near the point t = +1, while if y(x) decays algebraically as x → ∞, then better approximations can be attained by using a transformation that grows more rapidly near the point t = +1. In the next section, we analyze the effects of the mentioned parameters via test examples.
4. Illustrative Examples
We tested the methods presented in this paper on several problems such as the problem of unsteady flow of gas through a semi-infinite porous medium and the Flierl-Petviashvili (FP) equation. For the FP equation, a modified version of the Radau scheme of this paper is introduced in order to approximate the FP monopole. In this section we also analyze tuning the transformations to the problems. All solutions were obtained using the well-known symbolic software “Mathematica 8."
4.1. Semi-Infinite-Domain Two-Point Boundary Value Problems
Example 4.1. We begin with a simple example to illustrate and analyze tuning the transformations. Consider the linear semi-infinite-domain two-point boundary value problem [22]
The maximum absolute error is defined by
The different behavior of the transformations given in (2.4)-(2.5) is understood if we apply the change of variables to the continuous solution. The exact solution in the transformed coordinates is as follows:
The problem in (4.1) has been solved in [22] using domain truncation and a forth-order finite difference method (FFDM) and later in [23] using the precise time integration (PTI) method. In Table 2, a comparison is made between the values obtained using the present CG collocation method with the logarithmic transformation ϕl for L = 5 and N = 20, method in [22] with truncated domain [0,10] and h = 1/64, and method in [23] with matrix exponential technique. It is seen that our method is more accurate than the FFDM and PTI methods, and even though the exact results become extremely small when x > 6, our method is still capable of giving results with high precision.
Mapping | N | L | |||||
---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | ||
ϕa(t) K = 1/2 | 10 | 3.31 × 10−6 | 2.22 × 10−7 | 5.96 × 10−7 | 4.65 × 10−5 | 4.22 × 10−4 | 2.08 × 10−3 |
20 | 8.48 × 10−8 | 3.42 × 10−10 | 9.20 × 10−12 | 2.95 × 10−13 | 1.16 × 10−13 | 4.12 × 10−11 | |
30 | 3.10 × 10−9 | 9.60 × 10−13 | 8.51 × 10−15 | 8.40 × 10−15 | 8.00 × 10−15 | 8.00 × 10−15 | |
ϕa(t) K = 1 | 10 | 1.32 × 10−4 | 1.14 × 10−5 | 4.05 × 10−6 | 4.46 × 10−6 | 2.32 × 10−5 | 5.81 × 10−5 |
20 | 4.18 × 10−7 | 4.00 × 10−8 | 1.34 × 10−8 | 7.20 × 10−9 | 6.43 × 10−9 | 4.77 × 10−9 | |
30 | 6.58 × 10−9 | 1.71 × 10−10 | 1.45 × 10−11 | 1.05 × 10−11 | 2.53 × 10−12 | 9.52 × 10−13 | |
ϕa(t) K = 3/2 | 10 | 5.75 × 10−4 | 2.78 × 10−4 | 2.21 × 10−4 | 3.20 × 10−4 | 2.38 × 10−4 | 1.75 × 10−4 |
20 | 5.47 × 10−6 | 8.18 × 10−7 | 3.55 × 10−7 | 6.47 × 10−8 | 9.80 × 10−8 | 4.63 × 10−8 | |
30 | 5.42 × 10−8 | 6.15 × 10−9 | 2.10 × 10−9 | 1.29 × 10−9 | 7.22 × 10−10 | 1.88 × 10−10 | |
ϕl(t) | 10 | 1.06 × 10−6 | 5.41 × 10−9 | 6.18 × 10−10 | 2.83 × 10−9 | 5.55 × 10−6 | 8.42 × 10−5 |
20 | 2.72 × 10−8 | 3.11 × 10−12 | 4.25 × 10−15 | 2.95 × 10−15 | 1.80 × 10−15 | 6.10 × 10−15 | |
30 | 3.12 × 10−9 | 4.61 × 10−14 | 3.52 × 10−15 | 1.65 × 10−15 | 1.05 × 10−15 | 5.07 × 10−15 |
x | FFDM [22] | PTI [23] | Present method | Exact |
---|---|---|---|---|
1 | 1.00220 × 10−1 | 1.0021048 × 10−1 | 1.002104788741 × 10−1 | 1.002104788741 × 10−1 |
2 | 1.12776 × 10−2 | 1.1275892 × 10−2 | 1.127589195768 × 10−2 | 1.127589195768 × 10−2 |
4 | 1.76737 × 10−4 | 1.7670378 × 10−4 | 1.767037762946 × 10−4 | 1.767037762946 × 10−4 |
6 | 3.11068 × 10−6 | 3.1101148 × 10−6 | 3.110114828388 × 10−6 | 3.110114828396 × 10−6 |
8 | 5.63886 × 10−8 | 5.6428565 × 10−8 | 5.642859756603 × 10−8 | 5.642859752063 × 10−8 |
10 | 8.13692 × 10−10 | — | 1.031258865734 × 10−9 | 1.031258873612 × 10−9 |
12 | — | — | 1.887856605151 × 10−11 | 1.887856203661 × 10−11 |
14 | — | — | 3.457320525861 × 10−13 | 3.457322449053 × 10−13 |
15 | — | — | 4.679133135965 × 10−14 | 4.678891146411 × 10−14 |
Example 4.2. Consider the following nonlinear semi-infinite-domain two-point boundary value problem:
The maximum absolute errors obtained using the CG scheme of this paper are given in Table 3. In this example, the exact solution decays algebraically; thus, algebraic transformations yield more accurate results in comparison with the logarithmic transformation. It is seen from Table 3 that for this problem the algebraic transformations are relatively not sensitive to the mapping parameter L. In addition, the algebraic transformation ϕa with K = 3/2 allows accurate results to be obtained more efficiently, and as N increases the errors obtained using this transformation decay more rapidly than the errors obtained using other choices for ϕ. For example, for N = 40, using ϕa with K = 1 and L = 5 the maximum absolute error is obtained as 2.18 × 10−7, while using ϕa with K = 3/2 and L = 5 the maximum absolute error is obtained as 1.05 × 10−9 (see Table 3). An advantage of using the algebraic change of variable ϕa with K = 3/2, as compared to other changes of variables, is that it moves collocation points to the right. Because the exact solution decays slowly, this rightward movement of the collocation points is beneficial since more collocation points are situated where x is large.
Now, consider the exact continuous solution in the transformed coordinates using the transformations given in (2.4)-(2.5) as
Mapping | N | L | |||||
---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | ||
ϕa(t) K = 1/2 | 10 | 5.84 × 10−3 | 2.23 × 10−3 | 1.31 × 10−2 | 1.79 × 10−2 | 3.62 × 10−2 | 7.23 × 10−2 |
20 | 1.77 × 10−3 | 6.45 × 10−4 | 3.56 × 10−4 | 3.62 × 10−4 | 2.00 × 10−4 | 1.36 × 10−3 | |
30 | 7.63 × 10−4 | 2.40 × 10−4 | 1.39 × 10−4 | 9.40 × 10−5 | 6.12 × 10−5 | 4.95 × 10−5 | |
40 | 4.10 × 10−4 | 1.38 × 10−4 | 7.75 × 10−5 | 5.53 × 10−5 | 3.60 × 10−5 | 2.74 × 10−5 | |
ϕa(t) K = 1 | 10 | 1.85 × 10−3 | 2.71 × 10−3 | 5.81 × 10−3 | 1.22 × 10−2 | 4.83 × 10−2 | 2.28 × 10−2 |
20 | 2.62 × 10−5 | 1.47 × 10−5 | 3.45 × 10−5 | 9.53 × 10−5 | 1.23 × 10−4 | 3.61 × 10−4 | |
30 | 7.20 × 10−6 | 2.45 × 10−6 | 1.31 × 10−6 | 1.00 × 10−6 | 2.89 × 10−6 | 6.57 × 10−6 | |
40 | 2.84 × 10−6 | 1.00 × 10−6 | 5.55 × 10−7 | 3.40 × 10−7 | 2.18 × 10−7 | 2.60 × 10−7 | |
ϕa(t) K = 3/2 | 10 | 7.24 × 10−3 | 7.19 × 10−3 | 1.48 × 10−2 | 1.12 × 10−2 | 1.92 × 10−2 | 6.81 × 10−2 |
20 | 6.95 × 10−5 | 5.47 × 10−5 | 5.75 × 10−5 | 1.07 × 10−4 | 1.81 × 10−4 | 2.24 × 10−4 | |
30 | 7.52 × 10−7 | 5.63 × 10−7 | 8.65 × 10−7 | 1.57 × 10−6 | 2.98 × 10−6 | 3.82 × 10−6 | |
40 | 1.12 × 10−8 | 3.64 × 10−9 | 1.94 × 10−9 | 1.22 × 10−9 | 1.05 × 10−9 | 1.14 × 10−9 | |
L | |||||||
1 | 5 | 10 | 15 | 20 | 25 | ||
ϕl(t) | 10 | 6.78 × 10−2 | 2.31 × 10−2 | 7.22 × 10−2 | 3.75 × 10−1 | — | — |
20 | 6.40 × 10−2 | 1.11 × 10−2 | 3.85 × 10−3 | 5.58 × 10−3 | 1.77 × 10−2 | 1.22 × 10−2 | |
30 | 7.20 × 10−2 | 8.00 × 10−3 | 2.95 × 10−3 | 1.65 × 10−3 | 9.96 × 10−4 | 1.56 × 10−3 | |
40 | 3.82 × 10−2 | 7.15 × 10−3 | 2.55 × 10−3 | 1.43 × 10−3 | 9.00 × 10−4 | 6.95 × 10−4 |
Example 4.3. In this example we consider the nonlinear semi-infinite-domain two-point boundary value problem due to Kidder [2] as
The problem in (4.6)-(4.7) was handled by Kidder [2] where a perturbation technique is carried out to include terms of the second order. The principal limitation of his work is that the complexity of the calculations increases rapidly with increasing order of the terms. Moreover, Countryman and Kannan [48], without solving the problem in (4.6)-(4.7), showed that the lower and upper solutions β(x) and γ(x) for this problem are obtained from the linear infinite-domain two-point boundary value problems
In this example the solution decays exponentially fast as x increases; thus, according to the results obtained in Examples 4.1 and 4.2, we solve this problem using the logarithmic transformation ϕl and also using the algebraic transformation ϕa with K = 1/2. It is worth mentioning that for problems whose exact solution is not available, we first solve the problem using the algebraic transformation ϕa with K = 1 and N = 30 to determine the decay rate of the solution. We then tune the transformations, appropriately, to improve the quality of our discretization technique.
For comparison purposes, the estimated values of y(x) for specific value of α = 0.5 obtained using the perturbation method in [2], the CG scheme of this paper with ϕl for L = 4 and N = 50 together with the lower and upper solutions [48] given in (4.9), are listed in Table 4. In addition, in Table 5 we give the approximate values of y(x) obtained using the present CG method for α = 0.5 and different transformations. It is seen that both transformations ϕa with K = 1/2 and ϕl produce almost the same results. Moreover, the values obtained using the present method highly agree with the upper solutions given in Table 4, while the value of y(x) obtained by the perturbation method [2] deviates from the upper solution at x = 1. In addition, as expected, changing the values of the mapping parameter L improves the precision of our collocation method. For example, at x = 5 the value of y(x) obtained using both transformations for L = 1, a bit deviate from the upper solution given in Table 4, while increasing L to L = 4, improves the precision (see Table 5). The computational results for y(x) using the present CG scheme with ϕl, L = 4, and N = 50 together with the lower and upper solutions in (4.9) are shown in Figure 1. Finally, we note that unlike the perturbation technique used by Kidder [2], where the complexity of the calculations increases rapidly with the increase of order of terms, the present CG scheme leads to approximation through a reduced size of calculations.
x | Kidder [2] | Lower solution [48] | Upper solution [48] | Present method |
---|---|---|---|---|
0.1 | 0.8816588283 | 0.8664422385 | 0.8875370840 | 0.881364651392 |
0.2 | 0.7663076781 | 0.7366004905 | 0.7772974108 | 0.765828813075 |
0.3 | 0.6565379995 | 0.6138834718 | 0.6713732405 | 0.656000684962 |
0.4 | 0.5544024032 | 0.5011272661 | 0.5716076449 | 0.553898941764 |
0.5 | 0.4613650295 | 0.4004059668 | 0.4795001222 | 0.460942762761 |
0.6 | 0.3783109315 | 0.3129383317 | 0.3961439092 | 0.377981584588 |
0.7 | 0.3055976546 | 0.2390937496 | 0.3221988062 | 0.305352338492 |
0.8 | 0.2431325473 | 0.1784850363 | 0.2578990353 | 0.242954391586 |
0.9 | 0.1904623681 | 0.1301238831 | 0.2030917876 | 0.190334233477 |
1.0 | 0.1587689826 | 0.0926090195 | 0.1572992071 | 0.146773312549 |
2.0 | — | 0.0007693696 | 0.0046777350 | 0.004299182851 |
3.0 | — | 4.5262 × 10−7 | 0.0000220905 | 0.000020292763 |
4.0 | — | 1.730 × 10−11 | 1.5417 × 10−8 | 1.416256 × 10−8 |
5.0 | — | 1.388 × 10−17 | 1.537 × 10−12 | 1.41205 × 10−12 |
x | ϕa (K = 1/2) | ϕl | ||
---|---|---|---|---|
L = 1 | L = 4 | L = 1 | L = 4 | |
0.1 | 0.881364651392 | 0.881364651392 | 0.881364651393 | 0.881364651392 |
0.2 | 0.765828813074 | 0.765828813075 | 0.765828813076 | 0.765828813075 |
0.3 | 0.656000684962 | 0.656000684962 | 0.656000684960 | 0.656000684962 |
0.4 | 0.553898941764 | 0.553898941764 | 0.553898941764 | 0.553898941764 |
0.5 | 0.460942762760 | 0.460942762761 | 0.460942762762 | 0.460942762761 |
0.6 | 0.377981584586 | 0.377981584588 | 0.377981584588 | 0.377981584588 |
0.7 | 0.305352338493 | 0.305352338492 | 0.305352338489 | 0.305352338492 |
0.8 | 0.242954391588 | 0.242954391586 | 0.242954391585 | 0.242954391586 |
0.9 | 0.190334233474 | 0.190334233477 | 0.190334233480 | 0.190334233477 |
1.0 | 0.146773312552 | 0.146773312549 | 0.146773312546 | 0.146773312549 |
2.0 | 0.004299182854 | 0.004299182851 | 0.004299182856 | 0.004299182851 |
3.0 | 0.000020292768 | 0.000020292763 | 0.000020292759 | 0.000020292763 |
4.0 | 1.415843 × 10−8 | 1.416261 × 10−8 | 1.416474 × 10−8 | 1.416256 × 10−8 |
5.0 | 2.30431 × 10−12 | 1.40494 × 10−12 | 1.68339 × 10−12 | 1.41205 × 10−12 |

4.2. Initial Value Problems
Example 4.4. Consider the Lane-Emden equation given by
Similarly to Example 4.2, the exact solution of this problem decays algebraically, and, hence, algebraic transformations allow accurate results to be obtained more efficiently and they are relatively not sensitive to the mapping parameter L. But, unlike Example 4.2, here, ϕa with K = 1 is more accurate than ϕa with K = 3/2. Again, the different behavior of these transformations is understood by considering the exact solution in the transformed coordinates using the algebraic transformations as
Mapping | N | L | (L, y(∞)) | |||
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
ϕa(t) K = 1/2 | 20 | 1.87 × 10−2 | 9.32 × 10−3 | 6.21 × 10−3 | 4.65 × 10−3 | (4,4.6534 × 10−3) |
30 | 1.26 × 10−2 | 6.30 × 10−3 | 4.20 × 10−3 | 3.15 × 10−3 | (4,3.1477 × 10−3) | |
40 | 9.53 × 10−3 | 4.76 × 10−3 | 3.17 × 10−3 | 2.38 × 10−3 | (4,2.3788 × 10−3) | |
ϕa(t) K = 1 | 20 | 6.84 × 10−9 | 3.36 × 10−9 | 8.00 × 10−9 | 3.32 × 10−8 | (2,8.1966 × 10−11) |
30 | 6.65 × 10−13 | 3.34 × 10−13 | 1.79 × 10−12 | 8.00 × 10−12 | (2,3.1491 × 10−15) | |
40 | 3.50 × 10−15 | 4.87 × 10−15 | 5.25 × 10−15 | 5.76 × 10−15 | (1,5.6380 × 10−16) | |
ϕa(t) K = 3/2 | 20 | 7.10 × 10−5 | 3.55 × 10−5 | 2.34 × 10−5 | 1.76 × 10−5 | (4,1.0517 × 10−5) |
30 | 2.20 × 10−5 | 1.09 × 10−5 | 7.25 × 10−6 | 5.42 × 10−6 | (4,3.2707 × 10−6) | |
40 | 5.43 × 10−6 | 3.14 × 10−6 | 4.22 × 10−7 | 3.15 × 10−7 | (4,1.2510 × 10−7) |
Example 4.5. Finally, in this example we consider the Flierl-Petviashvili (FP) equation [17, 18]. The FP monopole y(x) is the radially symmetric solution to the equation
In this problem the FP monopole α is an unknown value that should be determined. Boyd [20] and Wazwaz [49] employed the boundary condition y(∞) = 0 in combination with the Pade approximants in order to approximate the FP monopole α. In this paper, however, we do not use the boundary condition y(∞) = 0. In fact, here, we aim to solve the following problem:
Our procedure for solving this problem and approximating the FP monopole α is obtained by a little change in our CGR scheme as follows. After expressing the FP equation in (4.15) in terms of t using (2.7), in the first stage, we set N = 5 and evaluate the mentioned equation at collocation points (t1, t2, …, t5) (in general (t1, t2, …, tN)) and noncollocated point t6 = 1 (in general tN+1 = 1), by which in combination with the initial slope condition in (3.21) we obtain a system of 7 (in general N + 2) algebraic equations for unknowns Y0, Y1, …, Y6 (in general Y0, Y1, …, YN+1). Note that evaluating (2.7) at noncollocated point tN+1 = 1 is not versus our CGR collocation scheme because at tN+1 = 1 the coefficients of Y′(tN+1) and Y′′(tN+1) in (2.7) using the transformations of this paper will be zero and there is no need to approximate these derivatives based on collocation points. For N = 5, the obtained system of algebraic equations has 64 (in general 2N+1) solution sets. These solution sets can be obtained using any symbolic software. We obtained them using “Mathematica” with the command “NSolve.” Now we evaluate each of the solution sets. The complex solution sets should be discarded. Next, as Boyd [20] stated from physical grounds, the solution y(x) for FP equation is negative and increasing; thus, between the real solution sets, after discarding the solution sets that are oscillatory or contain positive elements, the acceptable solution set is obtained. We then increase N by 5, but in this stage we solve the obtained system of algebraic equations using Newton’s iterative method and utilize the approximate solution at stage one as initial guess for Newton’s method. We continue this approach until the results for α ≈ Y0 are similar up to a required number of decimal places for two consecutive stages.
Solving this problem using the above procedure and using ϕa with K = 1 and N = 5 reveals that the exact solution of the FP equation decays almost exponentially; thus, for this problem both algebraic and logarithmic changes of variables would work. In this example we set the mapping parameter L = 2, which provides faster convergence. Table 7 exhibits the approximated and exact values of FP monopole α. It is observed that using both algebraic and logarithmic transformations of this paper, the approximations converge monotonically to the exact α = y(0) as N increases. However, the algebraic transformation ϕa with K = 1/2 provides more rapid convergence in comparison with other transformations. Moreover, it is seen that our procedure produces more accurate results than those obtained in [20, 49] by using the Pade approximants. The computational result for y(x) using the present CGR scheme with N = 40, L = 2, ϕa, and K = 1/2 is shown in Figure 2.
N | ϕa (K = 1/2) | ϕa (K = 1) | ϕa (K = 3/2) | ϕl |
---|---|---|---|---|
5 | −2.416296577 | −2.488733071 | −2.221866799 | −2.385636308 |
10 | −2.391957269 | −2.391760175 | −2.387175116 | −2.391957083 |
15 | −2.391956196 | −2.391955001 | −2.391806999 | −2.391956290 |
20 | −2.391956398 | −2.391956374 | −2.391958288 | −2.391956428 |
25 | −2.391956405 | −2.391956410 | −2.391956155 | −2.391956397 |
30 | −2.391956403 | −2.391956404 | −2.391956426 | −2.391956405 |
35 | −2.391956403 | −2.391956403 | −2.391956405 | −2.391956402 |
40 | −2.391956403 | −2.391956403 | −2.391956403 | −2.391956404 |
Wazwaz [49], Pade [8/8] | −2.3922139 | |||
Boyd [20], Pade [10/10] | −2.3919746 | |||
Exact | −2.3919564 |

5. Conclusions
Two collocation methods have been presented for the numerical solution of nonlinear semi-infinite-domain two-point boundary value problems and initial value problems using global collocation at Chebyshev-Gauss and Chebyshev-Gauss-Radau points. It was shown that the transformed problems that arise from a transformation followed by Gauss or Radau collocation include an approximation to the solution at x = +∞. The results of this paper indicate that the use of Chebyshev-Gauss and Chebyshev-Gauss-Radau points lead to accurate approximations to continuous nonlinear semi-infinite-domain boundary and initial value problems. Algebraic and logarithmic transformations were utilized and a new category of algebraic transformations was introduced. For problems whose exact solution decays algebraically, the transformations were relatively insensitive to the mapping parameter L. Furthermore, by tuning the transformations used to map the semi-infinite domain [0, ∞) to a finite interval, it was possible to improve the accuracy in the discrete approximation, significantly. However, the proper choice of transformation should be based on the criterions that the solution to the problem be smooth in the transformed coordinate and the transformation should adjust spacing of the collocation points based on the decay rate of the solution.