This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.
Introduction
There has been a great deal of interest in developing techniques for the accurate numerical solution of two-point boundary value problems. In this article we have considered a parametric difference method for the numerical solution of the boundary value problems with the form
$$\begin{array}{}
\displaystyle
u''(x)=g(x,u,u'),\quad a \lt x \lt b
\end{array}$$
where α, β, p0 etc. are real constants and known. We assume that g is continuous function in ([a, b] × ℜ2, ℜ).
In many branches of engineering, humanity and sciences ordinary differential equations occur as mathematical models. In general, these equations have solutions that can be expressed in restricted form only. So it is essential to consider approximate solutions by means of numerical techniques. To solve these problems numerically, we have many accurate numerical methods for instance, shooting-projection [1], collocation [2], finite difference methods [3] available in the literature. However the relatively less advanced method, the method of parameter differentiation is known in the literature and some historical development can be found in [4]. The existence and uniqueness of the solution for the problem (1) are assumed. The specific assumption on g(x, u, u′) to ensure the existence and uniqueness will not be considered in this article however I may refer literature in [5, 6, 7, 8].
In this article we shall develop a hybrid parametric difference method for the approximate numerical solution of problems (1). We have performed a numerical experiment to demonstrate the effectiveness of the method. We have achieved accuracy and bound on the error between the analytical and numerical approximation solution of the problem. To the best of our knowledge, no method similar to the proposed method for the numerical approximate solution has been discussed in the literature to date.
We have presented our work in this article as follows. In the next section we will discuss the parametric difference method and in Section 3 we will derive our propose method. In Section 4 and 5, respectively, we have estimated truncation error and discussed convergence under appropriate condition. The applications of the proposed method to the model problems and numerical results have been produced to show the efficiency in Section 6. Discussion and conclusion on the performance of the method are presented in Section 7.
The Parametric Difference Method
Following the ideas in [4], re-formulate the problem (1) either by introducing a physical parameter or identify a physical parameter that appears either in the differential equation or in the boundary conditions as independent variable. Let us introduce λ as physical parameter in differential equation (1), so we have obtained,
$$\begin{array}{}
\displaystyle
u''(x)=g(x,u,u')\equiv f(x,\lambda,u,u'),\quad a \lt x \lt b
\end{array}$$
Now let introduce new variable y(x) = u̇ = $\begin{array}{}
\displaystyle
\frac{du}{d\lambda}
\end{array}$, a differentiation of solution of problem (1) with respect to λ. Differentiate problem (2) with respect to λ. Thus we have reduced the problem (2) into following system of equations,
We wish to determine the approximate numerical solution u(x) of the problem (2) for different values of λ and λ0 ≤ λ ≤ λM. We define M – 1 numbers of nodal points in [λ0, λM], as λ0 < λ1 < λ2 < …… < λM using a uniform step length H such that λi = λ0 + jH, j = 0, 1, .., M. Also, we define N – 1 numbers of nodal points in [a, b], the domain in which the solution of the problem (1) is desired, as a ≤ x0 < x1 < x2 < …… < xN = b using a uniform step length h such that xi = x0 + ih, i = 0, 1, .., N. To simplify the expression we denote the numerical approximation of u(x) at the node x = xi as ui. Let us denote Fi as the approximation of the theoretical value of the source function F( $\begin{array}{}
\displaystyle
\frac{\partial f}{\partial \lambda}
\end{array}$, y(x), y′(x)) at node x = xi, i = 0, 1, 2, ……, N. Let write a system of equations (3) at nodal point xi in notational form as,
which is a system of linear/ nonlinear equations depending on forcing function g(x, u, u′). We solve system of equations (4) by applying an appropriate iterative method.
Derivation of the Difference Method
In this section we outline the derivation and development of the proposed finite difference method. We approximate first problem in (3) as a linear combination of y(x), y′(x) and F( $\begin{array}{}
\displaystyle
\frac{\partial f}{\partial \lambda}
\end{array}$, y, y′),
where a0, ⋯, b1 are constant. To determine these constants, we expand each term in the above expression in a Taylor series about a node xi and compare the coefficients of hp, p = 0, ⋯, 3 in the both sides of the expression. So we obtained a system of linear equations in a0, ⋯, b1. Solving the system of equations, we got
The local truncation error in the difference method (4) using the exact arithmetic may be calculated by using Taylor series expansion at the nodal points x = xi, i = 1, 2, .., N. Thus the truncation error Ti in the first equation of the method (4) may be written as:
$$\begin{array}{}
\displaystyle
T_{i-1}=-\frac{h^4}{24}y^{(4)}_i ,\qquad1\leq i\leq N.
\end{array}$$
Similarly we can obtain truncation error in second equation of method (4) at x = xi, i = 1, 2, .., N as given below,
$$\begin{array}{}
\displaystyle
T'_i=-\frac{h^3}{3}y^{(4)}_i , \quad 1\leq i \leq N.
\end{array}$$
The truncation error in final equation of method (4) at λj–1, j = 1, 2, .., M and xi–1, i = 1, 2, .., N is,
g(x, u(x), u′(x)) is continuous in ([a, b] × ℜ2, ℜ)
$\begin{array}{}
\displaystyle
\frac{\partial g}{\partial u}\quad \text{and}\quad \frac{\partial g}{\partial u'}
\end{array}$ exist and are continuous in [a, b]
$\begin{array}{}
\displaystyle
\frac{\partial g}{\partial u} \gt 0 \quad\text{and}\quad|\frac{\partial g}{\partial u'}| \lt w
\end{array}$ in [a, b] for some positive real number w.
Under above conditions problem (1) will posses unique solution [7]. However the forcing function F( $\begin{array}{}
\displaystyle
\frac{\partial f}{\partial \lambda}
\end{array}$, y, y′) in (3) may be written as,
Let us assume $\begin{array}{}
\displaystyle
M_i=(\frac{\partial f}{\partial y})_i, M'_i=(\frac{\partial f}{\partial y'})_i
\end{array}$ and using (12), we can write difference method (4) as follows,
Let Yi and yi be respectively an exact solution and approximate solution of the system of equations (3). Let us define εi = yi – Yi, an error between the exact analytical and numerical approximation solution of the problem (3) and similarly we can define $\begin{array}{}
\displaystyle
\varepsilon'_i=y'_i-Y'_i.
\end{array}$ Let us write (13) in matrix form
Let us assume that either $\begin{array}{}
\displaystyle
M'_i \lt 0 ~\text{or}~ M'\neq\frac{2}{h} ~\text{for}~ i=1,2,..,N.
\end{array}$ These either assumptions ensure that diagonal block matrices A11 and A22 are invertible. Moreover $\begin{array}{}
\displaystyle
\mathbf{A}^{-1}_{11} \lt 0
\end{array}$ a negative definite but $\begin{array}{}
\displaystyle
\mathbf{A}^{-1}_{22} \gt 0
\end{array}$ a positive definite if $\begin{array}{}
\displaystyle
|M'_i| \lt \frac{2}{h}.
\end{array}$ Let us assume
$$\begin{array}{}
\displaystyle
S_{*i}=\begin{cases}
1-\frac{h}{2}M'_i ,& \quad i=1 \\
-\frac{h}{2}(M'_{i-1}+M'_i),& \quad 2\leq i \leq N
\end{cases}
\end{array}$$
sum of the elements in a row of the matrices A11 and A22 respectively. Let $\begin{array}{}
\displaystyle
S^*_{min}=min\{S^*_i\}, 1\leq i\leq N
\end{array}$ and S∗max = max{S∗i}, 1 ≤ i ≤ N. Thus
It follows from (13), (14) and (18) that ∥ε∥ → 0 as h → 0. Thus we conclude that method (4) will converge.
Numerical Results
In this section we have considered model problems to perform the numerical experiment. In these model problems, we consider different number of noddle points for both xi and λj. In computation of maximum absolute error MAE between the analytical solution u(λj) and computed numerical solution uj of the problem, we have used the following formula,
We have respectively applied Gauss-Seidel and Newton-Raphson method to solve the system of linear and nonlinear equations those arise from the method (4). The solutions are computed on different values of N and M. The iteration is continued until either the maximum difference between two successive iterates is less than 10–8 or the number of iterations reached 103. All computations were performed on a Windows 2007 Ultimate operating system in the GNU FORTRAN environment version 99 compiler (2.95 of gcc) on Intel Core i3-2330M, 2.20 Ghz PC.
Problem 1
The model nonlinear problem that arises in mathematical modeling of the isothermal packed-bed reactor [4],
The problem is to find solutions corresponding to a given value of Npe and n for a range of values of λ. In this problem we identify λ as a parameter. Let the constructed analytical solution of the problem is $\begin{array}{}
\displaystyle
u(x)= \frac{N_{pe}}{N_{pe}-1}\exp(x^2-x^3).
\end{array}$ The MAE for n = 2, different values of N, M and range of values of λ is presented in Tables 1-4.
The model nonlinear boundary value problem that arises in analysis of the confinement of a plasma column by radiation pressure [12, 13] with different boundary conditions,
$$\begin{array}{}
\displaystyle
u''(x)=\lambda\sinh(\lambda u(x)),\quad 0 \lt x \lt 1
\end{array}$$
The problem is to find solutions for a range of values of λ. In this problem we identify λ as a parameter. Let the constructed analytical solution of the problem is u(x) = sinh(x). The MAE for different values of N, M and range of values of λ are presented in Table 5.
We considered a nonlinear model problem to test the computational result of the proposed method. The numerical results for model problem 1 which is presented in table 1-4, for different values of N, M and range of values of λ . The results are presented in table 1, errors do not grow as either N or M increases for λ = .20. Thus we conclude that proposed method is convergent for λ = .20. However, such convergence is slow for small value of parameter λ. The convergence of the proposed method depends on the value of the parameter λ. Also proposed method produces growing error as either M or λ increase while N remains fixed. Thus we observed that the proposed method does not converge for same parameter λ and fixed N as M increases. We have drawn this observation from the result presented in table 3-4 for considered problem 1. It seems the rate of the convergence is substantially very low. Under these observations, we have found computational result in numerical experiment for the example 2.
Conclusion
A parametric finite difference method to find the numerical solution of two point boundary value problems with uniform mesh has been developed and discussed. The method discretizes the problem (1) at the discrete nodal points and is transformed into a system of algebraic equations given by (4). The propose method produces an approximate numerical solution of the model problems with the uniform step size. We have discussed the convergence of the proposed method, but we have not estimated exact rate of convergence. The numerical results for the model problems showed that the proposed method is convergent for large values of N. The idea presented in this article leads to the possibility to develop efficient computational method for the numerical solution of higher order boundary value problems. Works in these directions are in progress.