Владикавказский математический журнал 2017, Том 19, Выпуск 4, С. 50-57
A NUMERICAL METHOD FOR THE SOLUTION OF FIFTH ORDER BOUNDARY VALUE PROBLEM IN ORDINARY DIFFERENTIAL EQUATIONS
P. K. Pandey
In this article we have proposed a technique for solving the fifth order boundary value problem as a coupled pair of boundary value problems. We have considered fifth order boundary value problem in ordinary differential equation for the development of the numerical technique. There are many techniques for the numerical solution of the problem considered in this article. Thus we considered the application of the finite difference method for the numerical solution of the problem. In this article we transformed fifth order differential problem into system of differential equations of lower order namely one and four. We discretized the system of differential equations into considered domain of the problem. Thus we got a system of algebraic equations. For the numerical solution of the problem, we have the system of algebraic equations. The solution of the algebraic equations is an approximate solution of the problem considered. Moreover we get numerical approximation of first and second derivative as a byproduct of the proposed method. We have shown that proposed method is convergent and order of accuracy of the proposed method is at lease quadratic. The numerical results obtained in computational experiment on the test problems approve the efficiency and accuracy of the method.
Mathematics Subject Classification (2010): 65L10, 65L12.
Key words: boundary value problem, cubic order convergence, difference method, fifth order differential equation, odd order problems, odd-even order problems.
1. Introduction
The presences of differential equations in mathematical modelling of physical phenomena in natural sciences are common. A fifth order differential equation and corresponding boundary value problem arise in the study of dynamics of the fluid in rheology [1, 2j. In this article we consider a method for the numerical solution of the fifth order boundary value problems of the following form:
u(5) (x) = f (x, u), a < x <b, (1.1)
where function f (x, u) is regular and differentiable in [a,b] and subject to the boundary conditions
u(a) = ai, u' (a) = a2, u"(a) = a3, u(b) = pi and u'(b) = P2
where ai, a2, a3, Pi and P2 are real constant.
A literature on the theoretical concepts of existence and uniqueness of the solution of problem (1.1) in detail can be found in [3]. Thus the existence and uniqueness of the solution to problem (1.1) is assumed. The emphasis in this article will be on the development of a numerical method for the approximate numerical solution of the fifth order boundary value problem.
© 2017 Pandey P. K.
In the literature little work reported on the solution of odd higher order boundary value problems. Some work reported in the literature specially on fifth order boundary value problems are finite difference method [4], spline method [5, 6j, adomian decomposition method [7], spectral Galerkin and collocation method [2, 8, 9j, differential transformation [10J and references therein. Recently problem (1.1) solved by reproducing kernel method and some literary work reported in [11].
Hence, the purpose of this article is to develop numerical method for solution of fifth order boundary value problems (1.1). An odd third order boundary value problem solved and boundary conditions incorporated in natural way in [12]. Motivated by that work, we developed finite difference method for numerical solution of fifth order boundary value problem by reducing to system of odd-even order boundary value problems. To the best of our knowledge, in the literature no method similar to proposed method for the numerical solution of problem (1.1) has been reported. We hope that others may find the proposed method an improvement to those existing finite difference methods for fifth order boundary value problems.
We have presented our work in this article as follows: In Section 2 the finite difference method, in Section 3 we derived a finite difference method. In Section 4, we have discussed convergence of the proposed method under appropriate condition. The application of the proposed method on the test problems and numerical results in Section 5. A discussion and conclusion on the overall performance of the proposed method are presented in Section 6.
2. The Difference Method
Let us consider the following initial value problem,
^ = v(x), a < x < b, (2.1)
dx
with the initial condition
u(a) = ai,
where v(x) is some differentiate function in [a,b]. Then equation (1.1) transformed into the following form,
d4v
= /(x, u), a < x < b, (2.2)
with the boundary conditions
v(a) = a2, v'(a) = a3, v(b) = and v'(b) = 71,
where 71 is an approximate value and equal to _ Thus the fifth order
boundary value problem (1.1) has been reduced to a system of lower order boundary value problems (2.1)-(2.2).
We define N finite numbers of nodal points a ^ x0 < x1 < x2 < ... < xn+1 ^ b using uniform step length h such that xi = a + ih, i = 0,1, 2,... , N + 1, in [a, b], the domain in which the solution of the problem (1.1) is desired. Suppose we wish to determine the numerical approximation of solution u(x) of the problem (1.1) at the nodal point xi and let Ui denotes the numerical approximation of u(x) at node x = xi; i = 1, 2,..., N. Furthe let us denote fi as the approximation of the value of the source function f (x, u(x)) at node x = xil
i = 0,1, 2,... ,N + 1. Thus the system boundary value problem (2.1)—(2.2), a transformed boundary value problem (1.1) at node x = xi may be written as,
vf = fi,
ui = vi, i = 1, 2,..., N.
Following the ideas in [13, 14], we propose our finite difference method for v(x), v'(x) and u(x)
h4
-2(vi+i - 2Vi + Vi-1) + h(v'i+1 - «■_!) = — (/i+i + 13fi + fi-1);
h4
-3(vi+i - Vi-i) + /i(t/+1 + iv'i + t^) = — (/»+1 - /¿-i); h2 '
-hvi + + m - Ui-1 = 0.
If the forcing function f (x,u) in problem (1.1) is linear then the system of equations (2.4) will be linear otherwise we will obtain nonlinear system of equations.
3. Derivation of the Difference Method
In this section we out line the derivation of the proposed method, we have followed the same approach as given in [13, 14]. Let us write a linear combination of solution v(x), v'(x) and source function f (x, u) at nodes xx±i, xi
ai(vi+i + Vi-i) + aoVi + hbi (vi+i - v'-i) + h4 (ci (fi+i + fi-i) + cofi) =0, (3.1)
where a0, ai; bi, c0 and ci are constants to be determined. Using Taylor series expansion xi
(a0) ai, h, co, ci) = -2,1, • (3-2)
Thus from (3.1)—(3.2), we have
-2K+i - 2vi + + h(v't+1 - vl,) - ^ (/i+1 + 13/, + ft-1) + T% = 0, (3.3)
where Tj is truncation error and equal to Similarly we can derive the following
equations
h4
-3K+1 - v$-!) + h{v'l+l + Av'i + vl,) - —(fi+1 - /¿_i) + T! = 0,
tf (3'4)
—hvi + —v'i + Ui — Ui-1 + if = 0,
where T[, T° are truncation errors and respectively equal to Thus from
(3.3)—(3.4), we conclude that the order of the proposed finite difference method (2.4) will be at least O(h2).
4. Convergence Analysis
We will consider following linear test equation for convergence analysis of the proposed method (2.4).
u(5)(x) = f (x), a < x < b. (4.1)
u(a) = a1; u'(a) = a2, u"(a) = a3, u(b) = p1 and u'(b) = p2.
Let u be the solution obtained by method (2.4) of the problem (4.1), we can write in the matrix form
=.
Let U be the exact solution of problem (4.1). Thus finite difference method (2.4) may be written in matrix
JU = RH + T. (4.3)
Let us define an error matrix a difference between approximate and exact solution of problem (4.1), i.e. E = u — U and subtract (4.3) from (4.2), we have
E = - J-1T,
where
An hA12 A13 3 A 2i hA 22 A23 -/1A31 ^A32 A33 / 3Nx3N
and
/4 -2 -2 4 -2
11
0 \
-2 4 -2
V 0 -2 4 J NxN
( 0 1
-1 0 1
>-12 —
0
-1 0 1 V 0 -1 NxN
41 1 4 1
22
0
0
1 4 1 14
Nx N
31
1
0
0
1
Nx N
1
33 —
11
0
11
0
-1 1
Nx N
A12 — A 21, A31 — A 32 and A13 — A 23 — On xN,
U —[V1,...,VN, v1 ,..., vN ,U1,.. .,UN ]T, u — [V1 ,...,Vn , V,
VN ,U1,...,Un ]
T
1
RH = (di)
3N x1>
di =
2a2 + ha3 + + m + fi-i), M(/i+l + Wi + fi-l), 2/52 + /^71 + M + 13/i + /i-i), -3a2 - ha3 + |J(/i+i - /,_i), fo (/¿+1 ~~ /¿-i)>
ai, 0,
i = 1;
2 < i < N - 1; i = N; i = N +1; N + 2 < i < 2N - 1; i = 2N; i = 2N + 1; 2N + 2 < i < 3N
and T = (ti)3N
xl
ti =
hi,,(8)
560 '
432 v% '
6
■u;
1 < i < N; N + 1 < i < 2N; 2N +1 < i < 3N.
It is easy to prove that matrices An, A22 and A33 are invertible [15, 16]. Let us define
=
max i \\AjkA j — 1,2,...,k-1
-l
kk \
k = 2,3, vkow = max \\AjkA"!, k = 1,2, j — ka1,3
2<k<3
M * = JJ 1 + and M* = JJ 1 +
1<k<2
Let us assume
M*M * < M* + M *
then matrix J is invertible [17] and
-1
<
mzxk\\A^\\M*M*
M* + M* - M*M*
Thus from (4.4) and (4.5), we have
\\E\\ = \\J-1T\\ < \\T\\
maxfc
M* + M* - M*M*
(4.5)
(4.6)
Thus from equation (4.6) it follows that ||E|| is bounded and it will tends to zero as h approaches to zero. This established the convergence of the method (2.4) and the order of convergence of method (2.4) is at least O(h2).
5. Numerical Results
To demonstrate the computational efficiency of method (2.4), we have considered two model problems. In each model problem, we took uniform step size h. In Table 1 and Table 2, we have shown MAE0, MAE1 and MAE2 the maximum absolute error in the solution u(x), derivatives of solution u' (x) and u''(x) of the problems (1) for different values of N. We have used the following formulas in computation of MAE0, MAE1 and MAE2:
MAE0 = max lufe) — ui|, MAE1 = max lu'(xi) — vi|, MAE2 = max |u''(xi) - v' |.
We have used Gauss Seidel and Newton-Raphson iteration method to solve respectively linear and nonlinear system of equations arised from equation (2.4). 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. The solutions are computed on N nodes and iteration is continued until either the maximum difference between two successive iterates is less than 10-6 or the number of iteration reached 103.
Problem 1. The model linear problem given by
u(5)(x) = —4u'(x), 0 <x< 1, subject to boundary conditions
u(0) = 0, u'(0) = 1, u"(0) = 2, u(1) = exp(1) sin(1), u'(1) = exp(1)(sin(1)+cos(1)).
The analytical solution of the problem is u(x) = exp(x)sin(x). The MAE0, MAE\ and MAE2 computed by method (2.4) for different values of N are presented in Table 1.
Table 1
Maximum absolute error (Problem 1)
N Maximum absolute error
MAEo MAEi mae2
16 .62513351(-3) .15091896(-3) .54979324(-3)
32 .16224384(-3) .56743622(-4) .43153763(-3)
64 .445842T4(-4) .71525574(-6) .29802322(-4)
128 .11444092(-4) .47683716(-6) .47683716(-4)
Problem 2. The nonlinear model problem given by
f5). . (U(x))2 23
u{5\x) = ;r v '' + ---r, 0 < a; < 1,
v ; (5 + x)3 (5 + x)5
subject to boundary conditions
u(0)=ln(5), u'(0) = i = u(l)=ln(6), «'(!) =
The analytical solution of the problem is u(x) = ln(x + e MAE0, MAE\ wid MAE2
computed by method (2.4) for different values of N are presented in Table 2.
Table 2
Maximum absolute error (Problem 2)
N Maximum absolute error
MAEo MAEi mae2
16 .19752979(-3) .40866435(-3) .24468731(-2)
32 .43869019(-4) .20343065(-3) .24441648(-2)
64 .11444092(-4) .10140240(-3) .24403818(-2)
128 .25033951 (-5) .50351024(-4) .24273539(-2)
The accuracy in numerical approximation of solution in considered model problems h
and it is quadratic in the numerical approximation of solution of problems. The advantage of the proposed method (2.4) is we get numerical approximation of derivatives as a byproduct. It is evident in numerical experiment that proposed method (2.4) is convergent.
6. Conclusion
To find the approximate numerical solution of fifth order boundary value problems using finite difference method has been developed. At nodal point x = xi; i = 1, 2,..., N, we have obtained a system of algebraic equations given by (2.4) which is system of linear equations if source function f (x, u) is linear otherwise system of nonlinear equations. The propose method is computationally efficient and accurate; moreover we get numerical approximation of first and second derivative as a byproduct. In future work, we will deal with similar extension of the present idea to solve higher order boundary value problems. Work in this direction is in progress.
References
1. Sibley D. N. Viscoelastic Flows of PTT Fluids. Ph. D. Thesis.-UK: University of Bath, 2010.
2. Davies A. R., Karageorghis A., and Phillips T. N. Spectral Galerkin methods for the primary two-point boundary-value problem in modeling viscoelastic flows // Internat. J. Numer. Methods Eng.—1988.— Vol. 26, № 3.-P. 647-662.
3. Agarwal R. P. Boundary Value Problems for Higher Order Differential Equations.—Singapore: World Scientific, 1986.
4. Khan M. S. Finite difference solutions of fifth order boundary value problems. Ph.D. thesis.—UK: Brunei University London, 1994.
5. Caglar H. N., Caglar S. H., and Twizell E. H. The numerical solution of fifth-order boundary value problems with sixth-degree B-spline functions // Appl. Math. Letters.—1999.—Vol. 12, № 5.—P. 25-30.
6. Lamnii A., Mraoui H., Sbibih D., and Tijini A. Sextic spline solution of fifth order boundary value problems // Math. Computer Simul.-2008.-Vol. 77.-P. 237-246.
7. Wazwaz A. M. The numerical solution of fifth-order boundary value problems by the decomposition method // J. Comp. and Appl. Math.-2001.-Vol. 136, № 1 2. P. 259-270.
8. Karageorghis A., Davies A. R., and Phillips T. N. Spectral collocation methods for the primary two-point boundary-value problem in modelling viscoelastic flows // Internat. J. Numer. Methods Eng.—1988.— Vol. 26, № 4.-P. 805-813.
9. Viswanadham K. N. S. K., Krishnaa P. M., and Rao C. P. Numerical Solution of Fifth Order Boundary Value Problems by Collocation Method with Sixth Order B-Splines // Internat. J. Numer. Methods Eng.-2010.-Vol. 8, № 2.-P. 119-125.
10. Erturk V. S. Solving nonlinear fifth order boundary value problems by differential transformation method // Selcuk J. Appl. Math.-2007.-Vol. 8, № L-P. 45-49.
11. Ali A., Mustafa I., and Adem K. A Comparison on Solutions of Fifth-Order Boundary Value Problems // Appl. Math. Inf. Sci.-2016.-Vol. 10, № 2.-P. 755-764.
12. Pandey P. K. The Numerical Solution of Third Order Differential Equation Containing the First Derivative // Neural, Parallel and Sci. Comp.-2005.-Vol. 13.-P. 297-304.
13. Mohanty R. K. A fourth-order finite difference method for the general one-dimensional nonlinear biharmonic problems of first kind // J. Comp. Appl. Math.-2000.-Vol. 114, № 2.-P. 275-290.
14. Mohanty R. K., Jain M. K. and Pandey P. K. Finite difference methods of order two and four for 2-D nonlinear biharmonic problems of first kind // Int. J. Comput. Math.—1996.—Vol. 61.—P. 155-163.
15. Varga R. S. Matrix Iterative Analysis, Second Revised and Expanded Edition.—Heidelberg: SpringerVerlag, 2000.
16. Horn R. A., Johnson C. R. Matrix Analysis.—N. Y.: Cambridge Univ. Press, 1990.
17. Gil M. I. Invertibility Conditions for Block Matrices and Estimates for Norms of Inverse Matrices // Rocky Mountain J. of Math.-2003.-Vol. 33, № 4.-P. 1323-1335.
Received, November 30, 2016
Pramod Kumar Pandey
Dyal Singh College (University of Delhi),
Associate Professor
Lodhi Road, New Delhi-110003, India
E-mail: [email protected]
ЧИСЛЕННЫЙ МЕТОД РЕШЕНИЯ КРАЕВОЙ ЗАДАЧИ ПЯТОГО ПОРЯДКА ДЛЯ ОБЫКНОВЕННЫХ ДИФФЕРЕНЦИАЛЬНЫХ УРАВНЕНИЙ
Панди П. К.
В данной статье предложена методика решения граничной задачи пятого порядка как сопряженной пары граничных задач. Рассматривается граничная задача пятого порядка для обыкновенного дифференциального уравнения. Существуют различные методы численного решения этой задачи. Мы рассматриваем применение метода конечных разностей для численного решения задачи. В данной статье мы преобразовали дифференциальную задачу пятого порядка в систему дифференциальных уравнений более низкого порядка, а именно первого и четвертого. Далее, мы провели дискретизацию системы дифференциальных уравнений в рассматриваемой области и, тем самым, получили систему алгебраических уравнений. Теперь для численного решение задачи мы располагаем системой алгебраических уравнений, решение которой служит приближенным решением рассматриваемой задачи. Кроме того, мы получаем численное приближение первой и второй производных в качестве побочного продукта предлагаемого метода. Показано, что предлагаемый метод сходится и порядок точности предлагаемого метода, по меньшей мере, квадратичен. Численные результаты, полученные в ходе вычислительного эксперимента по тестовым задачам, подтверждают эффективность и точность метода.
Ключевые слова: краевая задача, сходимость кубического порядка, разностный метод, дифференциальное уравнение пятого порядка, задача нечетного порядка, задача четно-нечетного порядка.