URAL MATHEMATICAL JOURNAL, 2018, Vol. 4, No. 1, pp. 56-62
DOI: 10.15826/umj.2018.1.005
A NUMERICAL TECHNIQUE FOR THE SOLUTION OF GENERAL EIGHTH ORDER BOUNDARY VALUE PROBLEMS: A FINITE DIFFERENCE METHOD
Pramod Kumar Pandey
Dyal Singh College (University of Delhi), New Delhi, India [email protected]
Abstract: In this article, we present a novel finite difference method for the numerical solution of the eighth order boundary value problems in ordinary differential equations. We have discretized the problem by using the boundary conditions in a natural way to obtain a system of equations. Then we have solved system of equations to obtain a numerical solution of the problem. Also we obtained numerical values of derivatives of solution as a byproduct of the method. The numerical experiments show that proposed method is efficient and fourth order accurate.
Key words: Boundary value problem, Eighth order equation, Finite difference method, Fourth order method.
1. Introduction
In the present article we have considered general eighth order boundary value problem of the following form:
u(8) (x) = f (x,u,u',u'' ,u(3) ,u(4) ,u(5) ,u(6),u(7)), a < x <b (1.1)
and the boundary conditions are
u(a) = a\, u''(a) = a2, u(4) (a) = a3, u(6) (a) = a4, u(b) = ft, u' '(b) = fa, u(4)(b) = & and u(6) (b) =
where u(x) and forcing function f (x, u, u', u'', u(3) ,u(4),u(5),u(6) ,u(7)) are real and smooth function in [a,b] and a\, a2, a3, a4, f3\, , and are constant.
The above eight order boundary value problem arises in physics such as fluid dynamics, vibrations and so on [1, 2]. For the detail discussion on the existence and uniqueness of the solution of higher order differential equations and corresponding BVPs, reader can refer [3]. So we have assumed that there exists a unique solution to boundary value problem (1.1).
In general it is difficult to obtain analytical solution of the (1.1) for the arbitrary forcing function f. Hence we desire some numerical technique for its numerical solution. We have some numerical methods for either same or different source function as in problem (1.1), for examples Galerkin Method [4, 5], variational iterational technique [6], finite difference method [7], Adomian decomposition method [8] and references there in.
In this article, we have developed numerical method to obtain numerical solution of general eighth order boundary problem (1.1) using finite difference method which involves discretizing the eighth order equation using values of the u(x),u''(x),u(4)(x) and u(6)(x) at discrete points. At each discrete point problem (1.1) reduced into a system of equations. Finally we have solved a
well structured system of equations for the numerical solution of problem (1.1) and some other by-products.
We have presented our work in this article as follows. In Section 2 we have proposed our finite difference method and in Section 3 the derivation of the proposed finite difference method. In Section 4 we have tested proposed method on model problems and short discussion on numerical results. A summary on development and performance of the proposed method are presented in Section 5.
2. The Difference Method
Let us assume problem (1.1) posses solution and it will be u(x) such that
u(8)(x) = f (£,uyy>(3),u(4),u(5),u(6),u(7)), a < x < b (2.1)
and the boundary conditions are
u(a) = ai, u''(a) = a2, u(4)(a) = a3, u(6) (a) = a4,
u(b) = A, u''(b) = u(4)(b) = & and u(6)(b) =
where source function f is regular and differentiable in [a, b]. To derive and develop a numerical method for the solution of the problem we need following definitions and approximations.
To introduce finite number of discrete mesh points we partition the interval [a, b] in which the solution of problem (1.1) is desired. In these subintervals discrete mesh points a < x0 < x1 < x2 < ■ ■ ■ < xN+1 < b are generated by using uniform step length h such that xj = a + ih, i = 0, 1, 2,..., N + 1. We wish to determine the numerical solution of the problem (1.1) at these discrete mesh points Xj. We denote the numerical approximation of u(x) and f respectively by u and fj. Hence, the boundary value problem (1.1) may be written as
u(8) = Fj, (2.2)
where Fj = f (xj, uj, uj, uj', uj3), uj4), uj5), uj6), uj7)) at the discrete mesh point x = xj, i = 1,2,..., N. Let
= Ui-i) ~ - <-l)> (2.3)
(3) = 2h{U'l+l " (2.4)
(5) — (t/(4) - (2.5)
(7) 1 f7/(6) 7/(6) ^ (2.6)
= - Ui-i) + + 2<), (2.7)
= \ h. ' ' ' ' . - Wi-i) - g(2Ui +Mi_1), (2.8)
(3) = 2h{U'l+l (2.9)
(3) = 2h{U'l+l -u^-^uf+uÄ), (2.10)
(5) 2h{ h+l (2.11)
(5) Ui-1 : — (vW ■ -Ä-^+uÄ), (2.12)
= (2.13)
(2.14)
Fi+1 = f(xi+i,ui+i,u[+1,ui+1,u[%,u[%,u^1,u^1,u^1), (2.15)
Fi_i = /(aji-i, uf_}v uf2v uf_}v u^), (2.16)
(2.17)
(2.18)
= W] - ^(F^-n.0, (2.19)
(2-20)
¿^ = f(xi,uiX,<,uf\u?\u¥\uf\u{p), (2.21)
¿^ = /N, Mi, < uf, uf, uf, vf, u{p), (2.22)
F = ¡{x^v'^vli^ (2.23)
Fi = f(xi} Ui,7i} u'i uf], uf, uf}, uf, «i7)) (2.24)
at these node x = x^i = 1, . Following the ideas in [9], thus we propose our finite difference method for a numerical solution of problem (2.2),
-720(ui+1 - 2ui + ui-1) + 360h2(uJ'+1 + u^) - 150h4(u(+\ + u(-)1) + 61h6(u(+)1 + u(-)1)
h8 — = —
(5902Fi+i + 5052 lFj + 5902Fi_i),
1260
24(ui'+1 - 2ui' + ui-1) - 12h2(u(+\ + u(-\) + 5h4(u(+ + u&)
h6 , — — — x (2.25)
= —(323Fi+i + 2770Fi + 323Fi_i),
h4 - - -
h+i ~ zui "+■ ui-i) "+■ V">i+i "I" '»i-iJ = + 61i?i + 7i?»-i)
-2(^ - 2t44) + uii\) + + = + 61F, + 7^-1),
uii\ - 2uf + = %{Fl+l + lof- + Fj_i).
If the forcing function f in problem (1.1) is linear then the system of equations (2.25) will be linear otherwise we will obtain system of nonlinear equations.
3. Derivation of the Difference Method
In this section we shall out line the derivation of the proposed method (2.25). Using Taylor series and undetermine coefficients method, it is to verify that the following discretization
-720(ui+1 - 2ui + ui-1) + 360h2(ui'+1 + ui-1) - 150h4(u(+\ + u(-)1) + 61h6(u(+ + u(-)1)
h8 (3.1)
(5902Fi+i + 50521Fi + 5902Fi_i),
for the solution of problem (1.1) when source function F = f (x,u) is of O(h4). To discretize problem (1.1) at discrete points, we need approximations of order four for the source function F. So let outline method to obtain fourth order approximation for the forcing functions F.
Though the approximations (2.3)-(2.5) and (2.7)-(2.12) are fourth order approximation to ui,.. respectively. But some approximations defined in section 2 are not of order four. From (2.6), let expand each term in right in Taylor series about a point x = Xi and simplify, we have
h2
ui7)=ui7)+^ui9)+0(Ä4) (3.2)
From (2.13) and (2.14) respectively, we have
^u^-^-^+O^) (3.3)
(3.4)
Let us define
u{? = u{? + aih{Fl+l - Fi_i) (3.5)
where a1 is free parametric constant and to be determined under appropriate condition. Using (3.3) in (2.15), we will obtain
F%+1 = Fl+l + - + O(h') (3.6)
and similarly from (2.16) and (3.4) we have
Fi-1 = + (-yt49) + + O(h') (3.7)
Thus, using (3.2), (3.6) and (3.7) in (3.5), we have
^ = u{? + ('-Ç + 2 aih2)uf + 0(h4) (3.8)
Using (3.8) in (2.21) and simplify, we have
Fi = Fi + (^-+ 2a1h2)u(f\-^)i + 0(/74) (3.9)
Let us consider the expression, 5902Fj+i + 50521Fj + 5902Fj_i and simplify this expression using (3.6), (3.7) and (3.9). We will obtain
5902Fi+i + 5052 lFj + 5902Fi_i = 5902Fm + 50521^ + 5902Fi_i
h2 df (3.10)
+—(26913 + 606252ai)(t/(9)-7^)t + 0(h4)
Thus from (3.10), we conclude that 5902Fm + 50521Fj + 5902Fj_i will provide fourth order approximation to 5902Fm + 50521F* + 5902F*-i if
-8971
a i =
202084
i.e. _
5902Em + 5052 lFj + 5902Fi_i = 5902Em + 50521E + 5902E_i + 0(/?4) (3.11)
Similarly, we can find other fourth order approximations of the terms in (2.25)
323Em + 277OFi + 323Fj_i = 323Fi+1 + 2770E + 323E_i + 0(/?4)
7Em + 61E, + 7~Fi-\ = 7 Em + 61E, + 7Fl_1 + 0(/74) (3.12)
Fl+l + 10 Fl + = Fl+l + 10E, + F_x + 0(h4)
Thus by using (3.11) and (3.12) in (3.1), we will get our proposed fourth order difference method (2.25) for the numerical solution of the problem (1.1). Moreover we are getting the numerical value of the derivative of the solution of the problem (1.1) as a byproduct of the method.
4. Numerical Results
To test the computational efficiency of method (2.25), we have considered three model problems. In each model problem, we took uniform step size h. In Table 1, Table 3 and Table 4, we have shown MAEU, MAEV, MAEW and MAES the maximum absolute error in the solution u(x), second, fourth and sixth derivatives of solution u(x) of the problems (1.1) respectively for different values of N. We have used the following formulas in computation of MAEU, MAEV, MAEW and MAES:
MAEU = max | U - )|
1<i<N
MAEV = max - u"(xi)|
1<i<N 1 i 1
MAEW = max
1<i<N
MAES = max
1<i<N
Uf - u(4)(Xi) U6) - u(6) (Xi)
where u(xi) and Ui are respectively exact and computed value of the solution of the problem and similarly we have defined others terms in the above expression. The order of the convergence of the proposed method (2.25) is estimated by using following formula,
_ . .MAEUn °N = l0gAMAEU^)
where r is ratio of the uniform step lengths h.
We have used Newton Raphson and Gauss Seidel method to solve system of nonlinear/linear equations (2.25). 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-9 or the number of iteration reached 103.
Problem 1. The model linear problem in [4] given as:
u(8)(x) = -u(7) - 2u(6) - 2u(5) - 2u(4) - 2u(3) - 2u'' - u' - u + 14cos(x) - 4(4 + x) sin(x),
0 < x < 1,
subject to boundary conditions
u(1) = 0, u"(1) = 4cos(1) +2sin(1), u(4)(1) = —8cos(1) - 12sin(1), u(6) (1) = 12cos(1)+30sin(1), u(0) = 0, u''(0)=0, u(4) (0) = 0 and u(6)(0)=0.
The analytical solution of the problem is u(x) = (x2 — 1)sin(x). The MAEU, MAEV, MAEW and MAES were computed by method (2.25) for different values of N and presented in Table 1.
Problem 2. The model linear problem in [5] given as:
u(8)(x) = — sin(x)u(5) — (1 — x2)u(4) — u(x) + (3 + sin(x) — x2) exp(x), 0 < x < 1,
subject to boundary conditions
u(0) = 1, u''(0) = 1, u(4)(0) = 1, u(6) (0) = 1, u(1) = exp(1), u''(1) =exp(1), u(4)(1) =exp(1) and u(6) (1)=exp(1).
The analytical solution of the problem is u(x) = exp(x). The MAEU, MAEV, MAEW and MAES were computed by method (2.25) for different values of N and presented in Table 2.
Problem 3. Consider the following non-linear model problem given as:
u(8)(x) = — sin(u(x))u(3) + f (x), 0 < x < 1,
subject to boundary conditions
u(0) = 0, u''(0) = —2, u(4)(0) = 0, u(6)(0) = 8, u(1) = (1 — exp(1)) sin(1), u''(1) = —2exp(1)cos(1) — sin(1), u(4)(1) = (4exp(1) + 1) sin(1), and u(6)(1) = 8exp(1)cos(1) — sin(1).
where f (x) is calculated so that the analytical solution of the problem is u(x) = (1 — exp(x)) sin(x). The MAEU, MAEV, MAEW and MAES were computed by method (2.25) for different values of N and presented in Table 3.
Table 1. Maximum absolute error (Problem 1).
N ERROR
MAEU MAEV MAEW MAES
4 .13351440 (-4) ,13279915(-3) ,15587807(-2) ,47683716(-3)
8 . 11324883(-5) .12874603(-4) ,15258789(-3) ,34332275(-4)
16 ,29802322(-7) ,23841858(-6) ,66757202(-5) ,11444092(-4)
Table 2. Maximum absolute error (Problem 2).
N ERROR
MAEU MAEV MAEW MAES
4 .13853703 (-6) ,40756808(-6) ,48722518(-5) ,42238746(-4)
8 .82736904(-7) ,82599129(-7) ,19914191(-6) ,31914194(-5)
Table 3. Maximum absolute error (Problem 3).
N ERROR
MAEU MAEV MAEW MAES
4 .17881393 (-6) ,71525574(-6) ,10967255(-4) .10585785(-3)
8 .59604645(-7) .23841858(-6) .11920929(-5) .57220459(-5)
The numerical results obtained in numerical experiment in considered model problems validate the fourth order accuracy. Also we have fourth order accurate numerical value of the second, fourth and sixth derivative of solution of problem as a byproduct of the proposed method (2.25).
5. Conclusion
In the present article, we have described a novel finite difference method for the numerical solution of the eighth order BVP's in ordinary differential equations. We have transformed the problem into system of algebraic equations at mesh points x = xi, i = 1,2,..., N. Then the system of algebraic equations is solved for the solution of the problem. The proposed method in numerical experiments has shown its efficiency and fourth order accuracy. The advantage of the proposed method is that we also get fourth order accurate numerical value of the derivatives of the solution as byproduct.
6. Acknowledgements
The author is grateful to the anonymous reviewers and editor for their valuable suggestions, which substantially improved the standard of the paper.
REFERENCES
1. Chandrasekhar S. Hydrodynamics and Hydromagnetic Stability. The Clarendon Press, Oxford, 1961.
2. Shen Y.I. Hybrid damping through intelligent constrained layer layer treatments. ASME Journal of Vibration and Acoustics, 1994. Vol. 116, no. 3. P. 341-349. DOI: 10.1115/1.2930434
3. Agarwal R.P. Boundary Value Problems for Higher Order Differential Equations. Singapore: World Scientific, 1986. DOI: 10.1142/0266
4. Viswanadham K.N.S.K., Ballem S. Numerical solution of eighth order boundary value problems by Galerkin method with quintic B-splines. International Journal of Computer Applications, 2014. Vol. 89, no. 15. P. 7-13. DOI: 10.5120/15705-4562
5. Reddy S.M. Numerical solution of eighth order boundary value problems by Petrov-Galerkin method with quintic B-splines as basic functions and septic B-splines as weight functions. International Journal of Engineering and Computer Science, 2016, Vol. 5, no. 09. P. 17894-17901. http://ijecs.in/index.php/ijecs/article/view/2439/2254
6. Siddiqi S.S., Akram G. and Zaheer S. Solution of eighth order boundary value problems using Variational iteration technique. European Journal of Scientific Research, 2009. Vol. 30. P. 361-379.
7. Boutayeb A., Twizell E.H. Finite-difference methods for the solution of special eighth-order boundary-value problems. International Journal of Computer Mathematics, 1993. Vol. 48, no. 1-2. P. 63-75. DOI: 10.1080/00207169308804193
8. Inc M., Evans D.J. An efficient approach to approximate solutions of eighth-order boundary-value problems. International Journal of Computer Mathematics, 2004. Vol. 81, no. 6. P. 685-692. DOI: 10.1080/0020716031000120809
9. Pandey P.K. Fourth Order Finite Difference Method for Sixth Order Boundary Value Problems. Computational Mathematics and Mathematical Physics, 2013, Vol. 53, no. 1, P. 57-62. DOI: 10.1134/S0965542513010107