Open Access Library Journal
Vol.05 No.07(2018), Article ID:85829,15 pages
10.4236/oalib.1104565

Modified Legendre Collocation Block Method for Solving Initial Value Problems of First Order Ordinary Differential Equations

Toyin Gideon Okedayo, Ayodele Olakiitan Owolanke, Olaseni Taiwo Amumeji, Muyiwa Philip Adesuyi

Department of Mathematics, Ondo State University of Science and Technology, Okitipupa, Nigeria

Copyright © 2018 by authors and Open Access Library Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: June 15, 2018; Accepted: July 3, 2018; Published: July 6, 2018

ABSTRACT

In this paper, block procedure for some k-step linear multi-step methods, using the Legendre polynomials as the basis functions, is proposed. Discrete methods were given which were used in block and implemented for solving the initial value problems, being continuous interpolant derived and collocated at grid points. Some numerical examples of ordinary differential equations were solved using the derived methods to show their validity and the accuracy. The numerical results obtained show that the proposed method can also be efficient in solving such problems.

Subject Areas:

Mathematical Analysis

Keywords:

Block, Legendre Polynomials, Zero-Stable, Convergent

1. Introduction

Many problems in celestial and quantum mechanics, nuclear, theoretical physics, astrophysics, quantum chemistry and molecular dynamics, are of great interest to scientists and engineers. These problems are mathematically modelled by using ordinary differential equation of the form:

f ( x , y , y , y , , y ( n ) ) , y ( a ) = y 0 , y ( a ) = y 1 , , y ( n 1 ) ( a ) = y n (1)

where on the interval [ a , b ] has given rise to two major discrete variable methods namely, one step and multistep methods commonly known as linear multi-step methods. Many authors have worked on the direct solution of (1), among which are Lambert [1] , Fatunla [2] , Sarafyan [3] , Awoyemi [4] and Kayode [5] . Each of them worked on the development of several methods for solving Equation (1) directly without having to reduce to system of first order differential equations. For instance, in Awoyemi [4] , methods were developed to solve second order initial value problems which are the mathematical formulation for systems without dissipation. Fatunla [2] considered a step-by-step method based on the classical Runge-Kutta method; Hairer and Wanner [6] developed Nystrom type method for initial value problem for first order differential equations in which the conditions for the determination of the parameters of the methods were mentioned. Also, Henrici [7] and Lambert [1] improved the derivation of linear multi-step methods with constant coefficients for solving first order equation with initial conditions.

In Awoyemi [8] , linear multi-step methods with continuous coefficient for initial value problem of the first order differential equations in the predictor-corrector mode were proposed, based on collocation method with power series polynomial as basis function, and Taylor series algorithm to supply starting values. Continuous linear multi-step method is useful in reducing the step number of a method and still remains zero-stable; it has greater advantage in the sense that better error estimates guaranteed easy approximation of solution to all points of integration interval. Moreover, Awoyemi (1995) adopted the hybrid methods and proposed a two-step hybrid multi-step method with continuous coefficients for the solution of a first order initial value problem based on the collocation at selected grid points, using off-grid points to improve the order of the method implemented on the predictor-corrector mode. Other researchers who have studied hybrid method include Adee and Onumanyi [9] , and Yahaya and Badmus [10] .

Furthermore, many researchers had developed interest on improving the numerical solution of initial value problems of ordinary differential equation. Consequently, the development of a class of methods called block method is one of the outcomes. This was proposed by Milne [11] , and it was found that it generates approximations continuously at different grid points in the interval of integration; it is less expensive in terms of the number of function evaluations compared to the linear multi-step methods. Chu and Hamilton [12] also proposed a generalization of the linear multi-step method to a class of multi-block methods where step values are obtained all together in a single block. Jator (2007) and Jator et al. (2005) proposed five-step and four-step self starting methods which adopt continuous linear multi-step method to obtain finite difference method applied respectively as a block for the direct solution of the first order initial value problem. Also, in Yahaya and Mohammed (2010), Chebyshev polynomial was considered as trial function. Ajileye et al. adopted Laguerre collocation approach for continuous hybrid block method. Other scholars that adopted block methods include Omar and Suleiman [13] [14] [15] and Areo and Adeniyi [16] . Abualnaja (2015) developed a block procedure with linear multi-steps using Legendre polynomials but did not include the block schemes. Thus, in this paper, Legendre polynomial is used as a basis function to derive some block methods for the solution of first order ordinary differential equation, which extends the work of Abualnaja (2005).

2. Derivation of the Method

In this section, we consider the approximate solution of the form

y k ( x ) = i = 0 k c i ψ i ( x ) .

Perturbing the equation above, we have

i = 0 k c i ψ i ( x ) = f ( x , y ) + λ L k ( x ) (2)

where, ψ i ( x ) = x i , i = 0 , 1 , , k and L k ( x ) is the Legendre polynomial of degree k, which is defined on the interval [ 1,1 ] , and can be determined with the aid of the recurrence formula:

L i + 1 ( x ) = 2 i + 1 i + 1 x L i ( x ) i i + 1 L i 1 ( x ) , i = 1 , 2 , (3)

So that

L 0 ( x ) = 1 , L 1 ( x ) = x , L 2 ( x ) = 3 x 2 1 2 , L 3 ( x ) = 5 x 3 3 x 2 , L 4 ( x ) = 35 x 4 30 x 2 + 3 2

We define a shifted Legendre polynomials by introducing the change of variable

x = 2 x ¯ ( x n + k + x n ) x n + k x n , k = 1 , 2 , 3 , 4 (4)

For k = 1

using Equation (4), taking L 1 ( x ) = x , and collocating at x n and x n + 1 , we obtain

L 1 ( x n ) = 1 , L 1 ( x n + 1 ) = 1 (5)

hence,

L 1 ( x n ) = 2 x n x n + 1 x n x n + 1 x n = 1 (6)

and,

L 1 ( x n + 1 ) = 2 x n + 1 x n + 1 x n x n + 1 x n = 1 (7)

Deducing ψ 0 ( x ) = 0 , ψ 1 ( x ) = 1 from Equation (1), it follows that Equation (2) becomes

f ( x , y ) = c 1 λ L 1 ( x ) (8)

Solving the above systems we obtain

λ = 1 2 ( f n f n + 1 ) , c 1 = f n λ , c 0 = y n x n ( f n λ )

The required numerical scheme of the method will be obtained if we collocate y ( x ) = c 0 + c 1 x at x = x n + 1 and substitute c 0 , c 1 , λ as follows

y n + 1 = y n + h 2 ( f n + 2 + f n ) (9)

k = 2

taking L 2 ( x ) = 1 2 ( 3 x 2 1 ) , and collocating at x n , x n + 1 , and x n + 2

we get

L 2 ( x n ) = 1 , L 2 ( x n + 1 ) = 1 2 , L 2 ( x n + 2 ) = 1

From Equation (1), it can be deduced that ψ 0 ( x ) = 0 , ψ 1 ( x ) = 1 , ψ 2 ( x ) = 2 x , then Equation (2) becomes

f ( x , y ) = c 1 + 2 x c 2 λ L 2 ( x ) (10)

Collocating Equation (10) at x n + i , i = 0 , 1 , 2 and interpolate

y k ( x ) = i = 0 k c i ψ i ( x ) , x n x x n + k (11)

at x = x n , we get a system of four equations with c i ( i = 0 , 1 , 2 ) and parameter λ

y n = c 0 + c 1 x n + c 2 x n 2 f n = c 1 + 2 c 2 x n λ f n + 1 = c 1 + 2 c 2 x n + 1 1 2 λ f n = c 1 + 2 c 2 x n + 2 λ (12)

Hence, solving Equation (12), we get

λ = 1 3 ( f n + 2 f n + 1 f n + 2 ) c 0 = 1 12 h ( 12 h y n + 8 t n h f n + 1 4 t n h f n + 2 + 8 t n h f n 3 t n 2 f n + 2 + 3 t n 2 f n ) c 1 = 1 6 h ( 4 h f n + 1 2 h f n + 2 + 4 h f n 3 t n f n + 2 + 3 t n f n ) c 2 = 1 4 h ( f n f n + 2 ) (13)

From y k ( x ) = i = 0 k c i ψ i ( x ) , we have

y ¯ = c 0 + c 1 x + c 2 x 2 (14)

Hence, the required numerical scheme is obtained by collocating Equation (14) above at x = x n + 1 and substituting c 0 , c 1 , c 2 , λ as follows

y n + 1 = y n + h 12 ( 5 f n + 8 f n + 1 f n + 2 ) (15)

k = 3

Taking the polynomial L 3 = 1 2 ( 5 x 3 3 x ) and use the Equation (4), then

collocating this at x n , x n + 1 , x n + 2 and x n + 3 , we obtain

L 3 ( x n ) = 1 , L 3 ( x n + 1 ) = 11 27 , L 3 ( x n + 2 ) = 11 27 , L 3 ( x n + 3 ) = 1 . From Equation

(1), it can be deduced that ψ 0 ( x ) = 0 , ψ 1 ( x ) = 1 , ψ 2 ( x ) = 2 x , ψ 3 ( x ) = 3 x 2 , then Equation (2) is reduced to the form

f ( x , y ) = c 1 + 2 x c 2 + 3 c 3 x 2 λ L 3 ( x ) (16)

Hence, collocating Equation (16) at x n + i , i = 0 , 1 , 2 , 3 and interpolate Equation (11) at x = x n , we get the system of equations with c i , ( i = 0 , 1 , 2 , 3 ) and parameter λ

y n = c 0 + c 1 x n + c 2 x n 2 + c 3 x n 3 f n = c 1 + 2 c 2 x n + 3 c 3 x n 2 + λ f n + 1 = c 1 + 2 c 2 x n + 2 + 3 c 3 x n + 1 2 11 27 λ f n + 2 = c 1 + 2 c 2 x n + 2 + 3 c 3 x n + 2 2 + 11 27 λ f n + 3 = c 1 + 2 c 2 x n + 3 + 3 c 3 x n + 3 2 λ (17)

Solving the above system of equations, we obtain

λ = 9 40 ( f n 3 f n + 1 + 3 f n + 2 f n + 3 )

c 0 = 1 120 ( 81 t n h 2 f n + 2 + 27 t n f n + 3 h 2 + 56 t n 2 h 2 f n + 81 t n h 2 f n + 1 + 93 t n h 2 f n 18 t n 2 h f n + 1 + 34 t n 2 h f n + 3 72 t n 2 h f n + 2 120 t n 2 h f n + 2 10 t n 3 f n + 2 + 10 t n 3 h f n + 3 10 t n 3 f n + 1 )

c 1 = 1 120 ( 68 t n h f n + 3 + 112 t n f n h 36 t n 2 h f n + 1 144 t n h f n + 2 + 81 h 2 f n + 1 + 27 h 2 f n + 3 + 93 h 2 h f n 81 h 2 f n + 2 30 t n 2 f n + 2 + 30 t n 2 f n + 3 + 30 t n 2 f n 30 t n 2 f n + 1 )

c 2 = 1 60 h 2 ( 15 t n f n + 2 + 15 t n f n 15 t n f n + 1 36 h f n + 2 + 28 h f n + 17 h f n + 3 9 h f n + 1 )

c 3 = 1 12 h 2 ( f n f n + 1 f n + 2 + f n + 3 )

From y k ( x ) = i = 0 k c i ψ i ( x ) , we have

y ¯ = c 0 + c 1 x + c 2 x 2 + c 3 x 3 (18)

Hence, the required numerical scheme is obtained by collocating Equation (18) above at x = x n + 1 and substituting c 0 , c 1 , c 2 , c 3 , λ as follows

y n + 1 = y n + h 120 ( 47 f n + 89 f n + 1 19 f n + 2 + 3 f n + 3 ) (19)

k = 4

In this case, we take the polynomial L 4 = 1 8 ( 35 x 4 30 x 2 + 3 ) and use the

Equation (4), then collocating this at x n , x n + 1 , x n + 2 , x n + 3 and x n + 4 , we obtain

L 4 ( x n ) = 1 , L 4 ( x n + 1 ) = 37 128 , L 4 ( x n + 3 ) = 3 8 , L 4 ( x n + 4 ) = 1 . From Equation (1),

we can deduce that ψ 0 ( x ) = 0 , ψ 1 ( x ) = 1 , ψ 2 ( x ) = 2 x , ψ 3 ( x ) = 3 x 2 , ψ 4 ( x ) = 4 x 3 , then Equation (2) is reduced to the form

f ( x , y ) = c 1 + 2 x c 2 + 3 c 3 x 2 + 4 c 4 x 3 λ L 4 ( x ) (20)

Hence, collocating Equation (20) at x n + i , i = 0 , 1 , 2 , 3 , 4 and interpolate Equation (11) at x = x n , we get the system of equations with c i , ( i = 0 , 1 , 2 , 3 , 4 ) and parameter λ

y n = c 0 + c 1 x n + c 2 x n 2 + c 3 x n 3 + c 4 x n 4 f n = c 1 + 2 c 2 x n + 3 c 3 x n 2 + 4 c 4 x n 3 λ f n + 1 = c 1 + 2 c 2 x n + 1 + 3 c 3 x n + 1 2 + 4 c 4 x n + 1 3 + 37 128 λ f n + 2 = c 1 + 2 c 2 x n + 2 + 3 c 3 x n + 2 2 + 4 c 4 x n + 2 3 3 8 λ f n + 3 = c 1 + 2 c 2 x n + 3 + 3 c 3 x n + 3 2 + 4 c 4 x n + 3 3 + 37 128 λ f n + 4 = c 1 + 2 c 2 x n + 4 + 3 c 3 x n + 4 2 + 4 c 4 x n + 3 3 λ (21)

Solving the above system of equations with a suitable method, we obtain

λ = 16 105 ( f n + 4 f n + 1 6 f n + 2 + 4 f n + 3 f n + 4 )

c 0 = 1 5040 h 3 ( 768 x n h 3 f n + 4 4272 x n f n h 3 3072 x n h 3 f n + 3 3072 x n h 3 f n + 1 + 4608 x n h 3 f n + 2 + 2400 x n 2 h 2 f n + 1 3330 x n 2 h 2 f n + 1290 x n 2 h 2 f n + 4 4320 x n 2 h 2 f n + 3 + 1520 x n 3 h f n + 1 1840 x n 3 h f n + 3 + 670 x n 3 h f n + 4 1010 x n 3 h f n + 660 x n 3 h f n + 2 + 3960 x n 2 h 2 f n + 2 + 5040 y n h 3 + 210 x n 4 f n + 1 210 x n 4 f n + 3 + 105 x n 4 f n + 4 105 x n 4 f n )

c 1 = 1 840 h 3 ( 1320 x n h 2 f n + 2 330 x n 2 f n + 2 h + 505 x n 2 f n h 335 x n 2 f n + 4 h + 920 x n 2 f n + 3 h + 760 x n 2 h f n + 1 + 1440 x n h 2 f n + 3 430 x n h 2 f n + 4 + 1110 x n h 2 f n + 800 h 2 x n f n + 1 128 h 3 h f n + 4 768 h 3 h f n + 2 + 512 h 3 f n + 1 + 512 h 3 f n + 3 + 712 h 3 f n 140 x n 3 f n + 1 + 140 x n 3 f n + 3 70 x n 3 f n + 4 + 70 x n 3 f n )

c 2 = 1 168 h 3 ( 66 x n h f n + 2 + 101 x n h f n 67 x n h f n + 4 + 184 x n h f n + 3 152 x n h f n + 1 + 43 h 2 f n + 4 + 111 f n h 2 42 x n 2 f n + 1 + 42 x n 2 f n + 1 + 42 x n 2 f n + 3 21 x n 2 f n + 4 + 21 x n 2 f n 80 h 2 f n + 1 + 144 h 2 f n + 3 132 h 2 f n + 3 )

c 3 = 1 504 h 3 ( 84 x n f n + 1 + 84 x n f n + 3 42 x n f n + 4 + 42 x n f n 152 h f n + 1 + 184 h f n + 3 67 h f n + 4 + 101 h f n 66 h f n + 2 )

c 4 = 1 48 h 3 ( f n 2 f n + 1 + 2 f n + 3 f n + 4 )

From y k ( x ) = i = 0 k c i ψ i ( x ) , we have

y ¯ = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + c 4 x 4 (22)

Hence, the required numerical scheme is obtained by collocating Equation (22) above at x = x n + 1 and substituting c 0 , c 1 , c 2 , c 3 , c 4 , λ as follows

y n + 1 = y n + h 5040 ( 1847 f n + 4162 f n + 1 1308 f n + 2 + 382 f n + 3 43 f n + 4 ) (23)

Formulating the Block Scheme of Cases k = 2, 3 and 4

If k = 2

We collocate Equation (14) at x = x n + 1 , x n + 2 , x n + 3 to give us

y n + 1 = y n + h 12 ( 5 f n + 8 f n + 1 f n + 2 ) y n + 2 = y n + h 3 ( f n + 4 f n + 1 + f n + 2 ) y n + 3 = y n + h 4 ( 8 f n + 1 f n + f n + 2 ) (24)

If k = 3

We collocate Equation (18) at x = x n + 1 , x n + 2 , x n + 3 , x n + 4 to give us

y n + 1 = y n + h 120 ( 47 f n + 89 f n + 1 19 f n + 2 + 3 f n + 3 ) y n + 2 = y n + h 60 ( 21 f n + 77 f n + 1 + 23 f n + 2 f n + 3 ) y n + 3 = y n + h 8 ( 3 f n + 9 f n + 1 + 9 f n + 2 + 3 f n + 3 ) y n + 4 = y n + h 30 ( 29 f n 7 f n + 1 + 47 f n + 2 + 51 f n + 3 ) (25)

If k = 4

We collocate Equation (22) at x = x n + 1 , x n + 2 , x n + 3 , x n + 4 , x n + 5 to give us

y n + 1 = y n + h 5040 ( 1847 f n + 4162 f n + 1 1308 f n + 2 + 382 f n + 3 43 f n + 4 ) y n + 2 = y n + h 90 ( 29 f n + 124 f n + 1 + 24 f n + 2 + 4 f n + 3 f n + 4 ) y n + 3 = y n + h 560 ( 179 f n + 377 f n + 1 + 444 f n + 2 + 334 f n + 3 31 f n + 4 ) y n + 4 = y n + h 45 ( 14 f n + 64 f n + 1 + 24 f n + 2 + 64 f n + 3 + 14 f n + 4 ) y n + 5 = y n + h 1008 ( 253 f n + 3322 f n + 1 1308 f n + 2 + 1222 f n + 3 + 2057 f n + 4 ) (26)

3. Basic Properties of the Method

3.1. Order, Error Constant and Consistency of the Methods

The schemes developed belong to the class of Linear Multi-step Method (LMM) of the form

j = 0 k α j ( x ) y ( x n + j ) = h j = 0 k β j ( x ) f ( x n + j ) (27)

Equation (27) is a method associated with a linear difference operator

L [ y ( x ) ; h ] = j = 0 k ( α j y ( x + j h ) = h β j y ( x + j h ) ) (28)

where y ( x ) is continuously differentiable on the interval [ a , b ] , and the Taylor series expansion about the point x is expressed as

L [ y ( x ) ; h ] = c 0 y ( x ) + c 1 h y ( x ) + c 2 h 2 y ( x ) + + c q h q y q ( x ) (29)

In line with [12] , schemes (15, 19, 23) are said to be of order P if C 0 = C 1 = C 2 = = C p = 0 and the error constant is C p + 1 0 . Hence, we establish that (15),(19), and (23) is of the following orders respectively

when k = 2 , P = 3 and C p + 1 = 0.041667

when k = 3 , P = 3 and C p + 1 = 0.016

when k = 4 , P = 2 and C p + 1 = 0.041667

3.2. Stability Analysis

The scheme can be expressed as:

[ 1 0 0 0 1 0 0 0 1 ] [ y n + 1 y n + 2 y n + 3 ] = [ 0 0 1 0 0 1 0 0 1 ] [ y n 2 y n 1 y n ] + h [ 8 12 1 12 0 4 3 1 3 0 2 5 4 0 ] [ f n + 1 f n + 2 f n + 3 ] + [ 0 0 5 12 0 0 1 3 0 0 1 4 ] [ f n 2 f n 1 f n ]

where,

A ( 0 ) = [ 1 0 0 0 1 0 0 0 1 ] , A ( 1 ) = [ 0 0 1 0 0 1 0 0 1 ] , B ( 0 ) = [ 8 12 1 12 0 4 3 1 3 0 2 5 4 0 ]

and

B ( 1 ) = [ 0 0 5 12 0 0 1 3 0 0 1 4 ]

The first characteristics polynomial of the scheme is

ρ ( λ ) = d e t [ λ A 0 A 1 ]

ρ ( λ ) = d e t [ ( λ 0 0 0 λ 0 0 0 λ ) ( 0 0 1 0 0 1 0 0 1 ) ] = d e t [ λ 0 1 0 λ 1 0 0 λ 1 ]

| λ 0 1 0 λ 1 0 0 λ 1 | = 0

λ 2 ( λ 1 ) = 0

λ 1 = λ 2 or λ 3 = 1

3.3. Zero-Stability for k = 3

A block method is said to be stable as h 0 if the roots of the first characteristics polynomial defined by

ρ λ = d e t [ λ A 0 A 1 ]

satisfies | r s | = 1

The scheme can be expressed as

[ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] [ y n + 1 y n + 2 y n + 3 y n + 4 ] = [ 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 ] [ y n 3 y n 2 y n 1 y n ] + h [ 89 120 19 120 1 40 0 124 90 4 15 2 45 1 90 77 60 23 60 1 60 0 9 8 9 8 3 8 0 7 30 47 30 17 10 0 ] [ f n + 1 f n + 2 f n + 3 f n + 4 ] + [ 0 0 0 47 120 0 0 0 7 20 0 0 0 3 8 0 0 0 29 30 ] [ f n 3 f n 2 f n 1 f n ]

where,

A ( 0 ) = [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] , A ( 1 ) = [ 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 ] , B ( 0 ) = [ 89 120 19 120 1 40 0 77 60 23 60 1 60 0 9 8 9 8 3 8 0 7 30 47 30 17 10 0 ]

and

B ( 1 ) = [ 0 0 0 47 120 0 0 0 7 20 0 0 0 3 8 0 0 0 29 30 ]

The first characteristics polynomial of the scheme is

ρ ( λ ) = d e t [ λ A 0 A 1 ]

ρ ( λ ) = d e t [ ( λ 0 0 0 0 λ 0 0 0 0 λ 0 0 0 0 λ ) ( 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 ) ] = d e t [ λ 0 0 1 0 λ 0 1 0 0 λ 1 0 0 0 0 λ 1 ]

| λ 0 0 1 0 λ 0 1 0 0 λ 1 0 0 0 λ 1 | = 0

λ 3 ( λ 1 ) = 0

λ 1 = λ 2 = λ 3 = 0 or λ 4 = 1

3.4. Zero-Stability for k = 4

A block method is said to be stable as h 0 if the roots of the first characteristics polynomial defined by

ρ λ = d e t [ λ A 0 A 1 ]

satisfies | r s | = 1

The scheme can be expressed as

[ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ] [ y n + 1 y n + 2 y n + 3 y n + 4 y n + 5 ] = [ 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] [ y n 4 y n 3 y n 2 y n 1 y n ] + h [ 56150 144 84084 144 56042 144 14009 144 0 124 90 4 15 2 45 1 90 0 754 560 444 560 334 560 31 560 0 64 45 8 9 64 45 14 45 0 3322 1008 1308 1008 1222 1008 2057 1008 0 ] [ f n + 1 f n + 2 f n + 3 f n + 4 f n + 5 ]

+ [ 0 0 0 0 13955 144 0 0 0 0 29 90 0 0 0 0 179 560 0 0 0 0 14 45 0 0 0 0 253 1008 ] [ f n 4 f n 3 f n 2 f n 1 f n ]

where,

A ( 0 ) = [ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ] , A ( 1 ) = [ 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] , B ( 0 ) = [ 56150 144 84084 144 56042 144 14009 144 0 124 90 4 15 2 45 1 90 0 754 560 444 560 334 560 31 560 0 64 45 8 9 64 45 14 45 0 3322 1008 1308 1008 1222 1008 2057 1008 0 ]

and

B ( 1 ) = [ 0 0 0 0 13955 144 0 0 0 0 29 90 0 0 0 0 179 560 0 0 0 0 14 45 0 0 0 0 253 1008 ]

The first characteristics polynomial of the scheme is

ρ ( λ ) = d e t [ λ A 0 A 1 ]

ρ ( λ ) = d e t [ ( λ 0 0 0 0 λ 0 0 0 0 λ 0 0 0 0 λ ) ( 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 ) ] = d e t [ λ 0 0 1 0 λ 0 1 0 0 λ 1 0 0 0 0 λ 1 ]

| λ 0 0 0 1 0 λ 0 0 1 0 0 λ 0 1 0 0 0 λ 1 0 0 0 0 λ 1 | = 0

λ 4 ( λ 1 ) = 0

λ 1 = λ 2 = λ 3 = λ 4 = 0 or λ 5 = 1

4. Numerical Experiments

In order to confirm the accuracy and efficiency of the scheme, we consider the following initial value problems: Tables 1-4.

Table 1. Results and errors of problem 1 for K = 3.

Table 2. Results and errors of problem 1 for K = 4.

Table 3. Results and errors of problem 2 for K = 3.

Table 4. Results and errors of problem 2 for K = 4.

Problem 1:

y = y ( x ) , h = 0.1 , y ( 0 ) = 1 (30)

Exact solution: y ( x ) = e x (see K.M. Abualnaja, 2015).

YC: approximate solution

YEX: exact solution

Problem 2:

y ( x ) = x ( 1 y ) , h = 0.1 , y ( 0 ) = 0 (31)

Exact solution: y ( x ) = 1 e x 2 2 (see K.M. Abualnaja, 2015).

YC: approximate solution

YEX: exact solution

5. Conclusion

In this research work, a class of implicit block collocation methods for the direct solution of initial value problems of general first order ordinary differential equations was developed using Legendre collocation approach. The collocation technique yielded a consistent and zero stable implicit block multi-step method with continuous coefficients. The method is implemented without the need for the development of correctors.

Cite this paper

Okedayo, T.G., Owolanke, A.O., Amumeji, O.T. and Adesuyi, M.P. (2018) Modified Legendre Collocation Block Method for Solving Initial Value Problems of First Order Ordinary Differential Equations. Open Access Library Journal, 5: e4565. https://doi.org/10.4236/oalib.1104565

References

  1. 1. Lambert, J.D. (1973) Computational Methods in Ordinary Differential Equations. John Wiley and Sons, New York, 278.

  2. 2. Fatunla, S.O. (1988) Numerical Methods for Initial Value Problems in Ordinary Differential Equations. Academic Press, New York, 398 p.

  3. 3. Sararfyan, D. (1990) New Algorithm for the Continuous Approximate Solutions of ODEs. Journal of Computer and Mathematics, 20, 77-100.

  4. 4. Awoyemi, D.O. (2001) A New Sixth-Order Algorithm for General Second Order ODE. International Journal of Computational Mathematics, 77, 117-124.

  5. 5. Kayode, S.J. (2008) An Efficient Zero-Stable Numerical Method for Fourth-Order Differential Equations. International Journal of Mathematics and Mathematical Sciences, 1-10.

  6. 6. Hairer, E. and Wanner, G. (1975) A Theory for Nystrom Methods. Numerical Mathematics, 25, 383-400.
    https://doi.org/10.1007/BF01396335

  7. 7. Henrici, P. (1962) Discrete Variable Methods in ODE. John Wiley & Sons, New York, 729p.

  8. 8. Awoyemi, D.O. (2005) Algorithm Collocation Approach for Direct Solution of Fourth Order Initial Value Problems of ODEs. International Journal of Computational Mathematics, 82, 271-284.

  9. 9. Adee, S.O., Onumanyi, P., Sirisena, U.W. and Yahaya, Y.A. (2005) Note on Starting the Numerov Method More Accurately by a Hybrid Formula of Order Four for Initial Value Problems. Journal of Computational and Applied Mathematics, 175, 369-373. https://doi.org/10.1016/j.cam.2004.06.016

  10. 10. Yahaya, A.M. and Badmus, Y.A. (2009) An Accurate Uniform Order 6, Block Method for Direct Solution of General Second Order Ordinary Differential Equation. Pacific Journal of Science and Technology, 10, 248-254.

  11. 11. Milne, W.E. (1953) Numerical Solution of Differential Equations. Wiley, New York, 456p.

  12. 12. Chu, M.T. and Hamilton, H. (1987) Parallel Solution of ODEs by Multiblock Methods. SIAM Journal of Scientific and Statistical Computation, 8, 342-553.
    https://doi.org/10.1137/0908039

  13. 13. Omar, Z.B. and Suleiman, M.B. (1999) Solving Second Order ODEs Directly Using Parallel 2-point Explicit Block Method. Mathematical, 21, 15-23.

  14. 14. Omar, Z. and Suleiman, M. (2003) Parallel R-Point Implicit Block Method for Solving Higher Order Ordinary Differential Equation Directly. Journal of Information Communication Technology, 3, 53-66.

  15. 15. Omar, Z.B. and Suleiman, M.B. (2005) Solving Higher Order ODEs Directly Using Parallel 2-Point Explicit Block Method. Mathematical, 21, 51-72.

  16. 16. Areo, E.A. and Adeniyi, R.B. (2013) Sixth Order Hybrid Block for the Numerical Solution of First Order Initial Value Problems. Mathematical Theory and Modelling, 82, 345-364.