Introduction

Consider the second-order linear differential equation

y ′′ ( x ) + m 2 y ( x ) = f ( x ) + p ( x ) y ( x ) , x I = [ a , b ] ,
(1)

where f(x) and p(x) are continuous in I, and m>0. Together with the DE (1), we consider the boundary conditions of the form

l 1 ( y ) = α 10 y ( a ) + α 11 y ( a ) + β 10 y ( b ) + β 11 y ( b ) = 0 , l 2 ( y ) = α 20 y ( a ) + α 21 y ( a ) + β 20 y ( b ) + β 21 y ( b ) = 0 ,
(2)

where α j k , β j k (j=1,2, k=0,1) and a, b are given constants. We are interested in finding the solution to this boundary value problem (BVP) by the special case of successive approximations method. With this method, we obtain an integral equation that is equivalent to the BVP, and solution of integral equation is defined as the solution of the BVP. In this study, unlike differential equation (1) with initial condition, we obtain a Fredholm-Volterra integral equation. By applying n integration of the proposed successive approximations method and then ignoring the Volterra integral as an error term, at the end, we will have a second kind Fredholm integral equation, so solving Fredhelm integral equation yields to a solution for BVP (1)-(2).

The rest of this paper is divided into the following five sections. In the section ‘Mathematical statement of problem,’ we introduce the application of the proposed method. In the section ‘Convergence analysis and estimate of the error of the error,’ we will give the convergence analysis and error estimate of our method. Numerical experiments for a problem will be presented in the section ‘Numerical experiments.’ A conclusion is given in the section ‘Conclusions.’ At the end of the paper, in the ‘Appendix’ section, we will discuss about the application of proposed method to the linear fractional differential equations with the boundary conditions.

Mathematical statement of problem

Suppose y ′′ (x)+ m 2 y(x)=0 as a homogenous part of Eq. (1), its two linear independent solutions are given by

y 1 (x)=cosmx, y 2 (x)=sinmx.
(3)

Therefore, general solution of Eq. (1) is

y ( x ) = c 1 cos mx + c 2 sin mx + a x sin m ( x ξ ) m [ f ( ξ ) + p ( ξ ) y ( ξ ) ] ,
(4)

where c1 and c2 are arbitrary constants. Now, applying boundary conditions (2) yields

y ( x ) = y 1 ( x ) Δ a b β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 2 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 2 × [ f ( ξ ) + p ( ξ ) y ( ξ ) ] + y 2 ( x ) Δ a b β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 1 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 1 × [ f ( ξ ) + p ( ξ ) y ( ξ ) ] + a x sin m ( x ξ ) m [ f ( ξ ) + p ( ξ ) y ( ξ ) ] ,
(5)

where

Δ= l 1 y 1 l 1 y 2 l 2 y 1 l 2 y 2 0.
(6)

Thus, by this technique, problem (1)-(2) is reduced to integral equation (5). We can rewrite this equation as follows:

y(x)= a b K(x,ξ)y(ξ)+ a x R(x,ξ)y(ξ)+F(x),
(7)

where

K(x,ξ)= y 1 (x) g 1 (ξ)+ y 2 (x) g 2 (ξ)
(8)

is the degenerate kernel of Fredholm part and will remain degenerate during iteration processes. Also, g1(ξ), g2(ξ), R(x,ξ), and F(x) are as follows:

g 1 ( ξ ) = 1 Δ β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 2 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 2 p ( ξ ) g 2 ( ξ ) = 1 Δ β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 1 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 1 p ( ξ )
(9)
R(x,ξ)= sin m ( x ξ ) m p(ξ)
(10)
F ( x ) = a x sin m ( x ξ ) m p ( ξ ) f ( ξ ) y 1 ( x ) Δ a b β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 2 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 2 f ( ξ ) + y 2 ( x ) Δ a b β 11 cos m ( b ξ ) + β 10 sin m ( b ξ ) m l 1 y 1 β 21 cos m ( b ξ ) + β 20 sin m ( b ξ ) m l 2 y 1 f ( ξ )
(11)

Now, we apply the special case of successive approximations method to integral equation (7), that is, as a zero-order approximation we take

y ( x ) = y 0 ( x ) = a b K ( x , ξ ) y ( ξ ) + a x R ( x , ξ ) y ( ξ ) + F ( x ) ,
(12)

by substitution y0(x) just into the Volterra integral, first approximation, and by repeating this process, (n+1)th approximation, i.e.,

y ( x ) = y n + 1 ( x ) = a b K n + 1 ( x , ξ ) y ( ξ ) + a x R n + 1 ( x , ξ ) y 0 ( ξ ) + F n + 1 ( x ) , n = 0 , 1 , 2 , ...
(13)

will be obtained. The first approximation is

y 1 ( x ) = a b K ( x , ξ ) y ( ξ ) + a x R ( x , ξ ) y 0 ( ξ ) + F ( x ) = a b K ( x , ξ ) y ( ξ ) + a x R ( x , ξ ) a b K ( ξ , η ) y ( η ) + a ξ R ( ξ , η ) y ( η ) + F ( ξ ) + F ( x ) = a b K 1 ( x , η ) y ( η ) + a x R 1 ( x , η ) y ( η ) + F 1 ( x ) ,
(14)

where

K 1 ( x , η ) = y 1 ( x ) g 1 ( η ) + y 2 ( x ) g 2 ( η ) + g 1 ( η ) a x R ( x , ξ ) y 1 ( ξ ) + g 2 ( η ) a x R ( x , ξ ) y 2 ( ξ )
(15)

which is a degenerated kernel and

R 1 ( x , η ) = η x R ( x , ξ ) R ( ξ , η ) , F 1 ( x ) = F ( x ) + a x R ( x , ξ ) F ( ξ ) dξ.
(16)

For the kernel of Volterra integral, we have

R 1 ( x , η ) = 1 m 2 η x sin m ( x ξ ) sin m ( ξ η ) p ( ξ ) p ( η ) 1 m 2 | p ( η ) | η x | p ( ξ ) | = 1 m 2 | p ( η ) | | p ( α 1 ) | ( x η ) , α 1 [ η , x ] ,
(17)

which the last equality concluded from mean value theorem for integration. Again, we can apply this successive approximations on Eq. (14) and so on. Finally from above discussion, we can conclude the following theorem:

Theorem 1

The converted BVP (1)-(2) to the integral equation (7) provided with the condition (6) can be reduced to the integral equation

y(x)= a b K n (x,η)y(η)+ a x R n (x,η)y(η)+ F n (x),
(18)

where n is the number of repetition of special successive approximations method. The kernel of Feredholm term will be the degenerate kernel of the form

K n (x,η)= k n 1 (x) g 1 (η)+ k n 2 (x) g 2 (η).

The kernel of Volterra term can be obtained by recurrence relation

R n ( x , η ) = η x R n 1 ( x , ξ ) R ( ξ , η ) , n = 2 , 3 , ,

which is bounded by the following inequality

| R n ( x , η ) | 1 m n + 1 | p ( η ) | | p ( α 1 ) | | p ( α 2 ) | | p ( α n ) | ( x η ) n n ! , α i [ a , b ] , i = 1 , 2 , , n.

At the end, following [1], by ignoring the Volterra integral as an error term in n th approximation, we can solve the rest of Eq. (18), which is Fredholm integral equation with the degenerate kernel.

Convergence analysis and estimate of the error

In each of iteration, the bounded of neglecting term (Volterra term) can be obtained in the following form

| E n | = a x R n ( x , t ) y ( t ) dt a x R n ( x , t ) | y ( t ) | dt | p ( α 1 ) | | p ( α 2 ) | | p ( α n ) | m n + 1 ( n ) ! a x | p ( t ) | | y ( t ) | ( x t ) n dt.

By assuming y(x)∈L1[a,b] and using mean value theorem for integration [2], we have estimate of error as follows:

| E n | | p ( α 1 ) | | p ( α 2 ) | | p ( α n ) | m n + 1 ( n ) ! ( x α ) n p ( α ) M 1 0 x y ( t ) dt M 2 1 m n + 1 ( n ) ! M n M 1 M 2 M = M n M m n + 1 ( n ) ! .
(19)

Here, M is maximum value of p(x) in [a, b]. Hence, this confirms the unconditional convergence of the scheme.

Remark 1

One may ask, why we did not consider (n+1)th approximation as follows?

y ( x ) = y n + 1 ( x ) = a b K n + 1 ( x , ξ ) y ( ξ ) + a x R n + 1 ( x , ξ ) y n ( ξ ) + F n + 1 ( x ) , n = 0 , 1 , 2 ,

To answer this question, in this form, we will lose unconditional convergence of the scheme, and convergence will be obtained by imposing condition on the function p(x), we leave it to the reader to verify that.

Remark 2

Existence and uniqueness of solution of BVP (1)-(2) is deducible from condition (6), (see[3]).

Numerical experiments

Example 1

Consider the boundary value problem

y ′′ + 4 y = ( 5 e x 1 ) + e x y , y ( 0 ) y ( 0 ) = 0 , y ( 1 ) y ( 1 ) = 0

with the exact solution y(x)=ex. By the method of variation of parameters[4], we obtain

y ( x ) = c 1 cos 2 x + c 2 sin 2 x + 1 2 0 x sin 2 ( x ξ ) ( 5 e ξ 1 ) + e ξ y ( ξ )

substituting y(x) in boundary values yields

y ( x ) = ( sin 2 x + 2 cos 2 x ) 2 5 + 1 20 tan 1 + 1 5 sin 2 0 1 [ cos 2 ( 1 x ) 1 2 sin 2 ( 1 x ) ] e x y ( x ) dx + 1 2 0 x sin 2 ( x ξ ) [ ( 5 e ξ 1 ) + e ξ y ( ξ ) ] dξ.

Table 1 shows the exact values of y(x) along with the absolute errors (Abs. Err. y(x) for x=0:.1:1) obtained in the first and second iterations.

Table 1 Numerical results of the Example 1

Conclusions

In this paper, the special case of successive approximations method have been applied for solving boundary value problems, and convergence of method have been discussed. At the end, numerical results of Example 1 showed that the method is accurate and reliable.

Appendix

Application of proposed method to the linear fractional differential equaions with the boundary conditions

Definition 1

The fractional integral of the function y∈L1([a,b],R+) of order q∈R+is defined by

I q y ( t ) = 1 Γ ( q ) 0 t ( t s ) q 1 y ( s ) ds ,

where Γ is Gamma function.

Definition 2

The Caputo derivative of fractional order q for a function y(t) is defined by

( C D q f ) ( t ) = 1 Γ ( n q ) 0 t f ( n ) ( s ) ( t s ) q n + 1 ds ,

for n − 1 < q < n and n =[q]+1, where [q] denotes the integral part of the real number q.

Lemma 1

Let q > 0 and n =[q]+1. Then,

I q ( C D q y ( t ) ) = y ( t ) k = 0 n 1 y ( k ) ( a ) k ! ( t a ) k .

Remark 3

Consider the fractional differential equation

C D α y ( x ) = p ( x ) y ( x ) + f ( x ) , x I = [ a , b ] , 1 < α 2
(20)

where f(x) and p(x) are continuous in I. Together with the FDE (20), we consider the boundary conditions of the form

l 1 ( y ) = α 10 y ( a ) + α 11 y ( a ) + β 10 y ( b ) + β 11 y ( b ) = 0 , l 2 ( y ) = α 20 y ( a ) + α 21 y ( a ) + β 20 y ( b ) + β 21 y ( b ) = 0 .
(21)

By applying fractional integral of order α on both side of Eq. (20), we get

y ( x ) = y ( a ) + y ( a ) ( x a ) + 1 Γ ( α ) a x ( x s ) α 1 ( p ( s ) y ( s ) + f ( s ) ) ds.
(22)

To obtain y(a) and y (a) and in the sequel y(x), we substitute Eq. (22) into the boundary condition (21), then by solving obtained system of equations, y(a) and y (a) and in the sequel y(x) will be obtained. At the end, by substituting y(a) and y (a) into Eq. (22), we reach to a Fredholm-Volterra integral equation, then, applying proposed method to the Fredholm-Volterra integral equation yields to a solution for BVP (20)-(21). The details are left to the reader.