Galoitica: Journal of Mathematical Structures and Applications

On Novel Spline Function Method for Solving Third-Order Boundary Value Problems

Arwa Hajjari
Volume 6, Issue 2, pp. 17-28 (2023)
DOI: https://doi.org/10.54216/GJMSA.060202
Online: https://americaspg.com/journal/33/article/1934

Abstract

In this paper, a numerical method is suggested for solving general a nonlinear third order boundary value problem (BVP). In this method, the given nonlinear third-order BVP will be transformed into two third-order initial value problems (IVPs), then spline function approximations are applied to both two IVP for finding the Spline solution and its derivatives up to third order of the given BVP. The study shows that the spline solution of the BVP is existent and unique, and the convergence order of the spline method is fourth with a local truncation error . The presented algorithm is designed for solving a general BVP, where it is applied to some types of nonlinear third-order differential equations. Comparisons of the results obtained by spline method with other methods show the efficiency and highly accurate of the proposed method.

Keywords: Spline Function; Third-Order Boundary Value; BVP; IVPs

1. Introduction

Multi-point boundary value problems arise in a variety of applied mathematics and physics. However, it is usually difficult to obtain closed-form solutions for boundary value problems, especially for nonlinear boundary value problems. In most cases, only approximate solutions can be expected. Some numerical methods have been developed for obtaining approximate solutions to BVPs such as spline methods [1-3,5,7], PadΓ© approximants method [4], shooting method [8], and finite difference method [9]. We present, a numerical method structured on spline function approximations for solving a general third-order boundary value problem of the form π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³), π‘Žβ‰€π‘₯≀𝑏 (1.1) along with the following three cases of boundary conditions Case I : π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆ(𝑏) = 𝑏0, (1.2a) Case II : π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆβ€²(𝑏) = 𝑏1, (1.2b) Case III : π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆβ€³(𝑏) = 𝑏2, (1.2c) where f is a continuous function on [a, b] and the parameters Ξ± , Ξ² and 𝑏𝑖, i =0,1,2 are finite real arbitrary constants. In approximation theory, spline functions occupy an important position having a number of applications, especially in the numerical solutions of boundary-value problems (BVPs). Third-order BVPs are solved by Caglar et al. [1] using fourth-degree B-splines, have a first-order accuracy. Khan and Aziz [2,3] have used a fourth-order method based on quintic splines for solving the third-order linear and nonlinear BVPs of the form π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆ), subject to the boundary conditions the case I , also the same problem is solved in [5] by using a second-order method based on quartic non-polynomial spline space. Tirmizi et al. [4] have solved third-order BVP of the form π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆβ€²), this method arises from a four-point recurrence relation involving exponential terms, these being replaced by PadΓ© approximants. An existence and location result for the thirdorder separated boundary value problem of the form (1.1) with one-sided Nagumo condition have presented by Grossinho et al. in [6]. Mahmoud [7] has presented quintic spline collocation methods for solving two types of general linear third-order BVPs, those methods are third-order convergent.

1. Importance and Aim of This Work

As we know, it is difficult to give the analytical solutions of problems (1.1)-(1.2c), for that reason, the numerical solutions are very important. The purpose of this work is to provide a numerical treatment for finding the approximate spline solution and its derivatives of the problem at every point of the range of integration. Advantages of the proposed method is extremely simple, quite easy to use, and gives a very good accuracy, and has a computational cost that is cost-effective, because this technique is leaded only to solve a algebraic system of third order, while other numerical methods are leaded to solve algebraic systems of order N, where N the number of grid points.

2. Methodology

Theoretical part: The suggested method in this study is transformed the general nonlinear third-order BVP into third-order initial value problems, after that spline function approximations are directly applied to thirdorder initial value problems without their reducing into a system of first-order IVPs in ordinary differential equations. Thus, the approximate Spline solution and its derivatives of the nonlinear third-order BVP attain the same order of accuracy for nonlinear third-order IVPs. The proposed spline method when applied to the problem of form (1.1)-(1.2c) is convergent. Practical part: Numerical results for various problems are compared with those obtained by others. The comparisons show the accuracy, robustness and efficiency of the presented methodology. The computations are accomplished by using Mathematica Version 5 and Turbo Pascal under Windows (TPW 1.5) in double precision. In consequence, all the problems of form (1.1)-(1.2c) are solvable by using the proposed spline method.

3. Reduction of the BVP into two IVPs

In this section, the nonlinear third-order BVP (1.1) with three cases of the boundary conditions (1.2a)-(1.2c) is reduced into two nonlinear third-order IVPs. This technique is similar to the linear case of shooting method for the third-order BVPs[7], except that the solution to a nonlinear problem cannot be simply expressed as a linear combination of the solutions to two IVPs. Instead, it needs to use the solutions to a sequence of initial-value problems of the form: π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³), π‘Žβ‰€π‘₯≀𝑏 (1.3) subject to the initial conditions π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, , π‘ˆβ€³(π‘Ž) = 𝑑, (1.4) involving a unknown parameter t , to approximate the solution to BVP (1.1) with one of the cases of boundary conditions (1.2a)-(1.2c). This is performed by choosing the parameter 𝑑= π‘‘π‘˜ in a manner to ensure that

lim π‘˜β†’βˆžπ‘ˆ(𝑏, π‘‘π‘˜) = π‘ˆ(𝑏) = 𝑏0                                                                 (1.5a)

is satisfied with boundary conditions, case I: π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆ(𝑏) = 𝑏0 and that

lim π‘˜β†’βˆžπ‘ˆβ€²(𝑏, π‘‘π‘˜) = π‘ˆβ€²(𝑏) = 𝑏1                                                              (1.5b)

is satisfied with boundary conditions, case II: π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆβ€²(𝑏) = 𝑏1 and that

lim π‘˜β†’βˆžπ‘ˆβ€³(𝑏, π‘‘π‘˜) = π‘ˆβ€³(𝑏) = 𝑏1                                                              (1.5c)

is satisfied with boundary conditions, case III : π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆβ€³(𝑏) = 𝑏2 Here, π‘ˆ(π‘₯, π‘‘π‘˜) denotes the solution of the IVP (1.3)-(1.4) with 𝑑= π‘‘π‘˜, and π‘ˆ(π‘₯) denotes the solution of the BVP (1.1)-(1.2). The evaluation starts with a parameter 𝑑0 that determines the initial elevation at which the object is fired from the point (a, Ξ±) and along the curve described by the solution to the initial-value problem: π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³), π‘Žβ‰€π‘₯≀𝑏, π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽, π‘ˆβ€³(π‘Ž) = 𝑑0 (1.6) If π‘ˆ(𝑏, 𝑑0) is not sufficiently close to 𝑏0, we can attempt to correct our approximation by choosing another elevation 𝑑1 and so on, until π‘ˆ(𝑏, π‘‘π‘˜) is sufficiently close to 𝑏0. If π‘ˆ(π‘₯, 𝑑) indicates the solution to the IVP (1.3)-(1.4), the problem associated with determining t so that the following equations are satisfied, respectively: π‘ˆ(𝑏, 𝑑) βˆ’π‘0 = 0, (1.7a) with boundary conditions, case I π‘ˆβ€²(𝑏, 𝑑) βˆ’π‘1 = 0, (1.7b) with boundary conditions, case II, π‘ˆβ€³(𝑏, 𝑑) βˆ’π‘2 = 0, (1.7c) with boundary conditions, case III. Since (1.7a)-(1.7c) are nonlinear equations, Newton’s iteration method will be used to obtain the sequences {π‘‘π‘˜} of the approximate solutions, when the initial value 𝑑0 is given, the iteration solutions have the following forms, respectively: π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’

π‘ˆ(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘0 𝑑 π‘‘π‘‘π‘ˆ(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.8a) π‘ˆβ€²(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘1 𝑑 π‘‘π‘‘π‘ˆβ€²(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.8b) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’ π‘ˆβ€³(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘2 𝑑 π‘‘π‘‘π‘ˆβ€³(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.8c) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’
𝑑 𝑑 𝑑 π‘‘π‘‘π‘ˆβ€²(𝑏, π‘‘π‘˜βˆ’1) and π‘‘π‘‘π‘ˆ(𝑏, π‘‘π‘˜βˆ’1),

Here, the knowledge of π‘‘π‘‘π‘ˆβ€³(𝑏, π‘‘π‘˜βˆ’1) are required. Still this presents a difficulty, since explicit representations for π‘ˆ(𝑏, 𝑑), π‘ˆβ€²(𝑏, 𝑑) and π‘ˆβ€³(𝑏, 𝑑) are not known. Suppose that the IVP (1.3)-(1.4) is rewritten, emphasizing that the solution depends on both x and t:

{π‘ˆβ€΄(π‘₯, 𝑑) = 𝑓[π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)], π‘Žβ‰€π‘₯≀𝑏 π‘ˆ(π‘Ž, 𝑑) = 𝛼 , π‘ˆβ€²(π‘Ž, 𝑑) = 𝛽 , π‘ˆβ€³(π‘Ž, 𝑑) = 𝑑                                                 (1.9)

For this reason, we take the partial derivative of problem (1.9) with respect to t . This implies that:

πœ• πœ•π‘“ πœ•π‘‘π‘ˆβ€΄(π‘₯, 𝑑) = πœ•π‘‘[π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘“ πœ•π‘₯[π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆ πœ•π‘‘(π‘₯, 𝑑) + = πœ•π‘ˆ[π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆ πœ•π‘“ πœ•π‘‘(π‘₯, 𝑑) + πœ•π‘ˆβ€² [π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆβ€² πœ•π‘“ πœ•π‘‘(π‘₯, 𝑑) + πœ•π‘ˆβ€³ [π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆβ€³ πœ•π‘“

πœ•π‘‘(π‘₯, 𝑑) + Since x and t are independent, then we obtain

πœ• πœ•π‘“ πœ•π‘‘[π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆ πœ•π‘‘π‘ˆβ€΄(π‘₯, 𝑑) = πœ•π‘‘(π‘₯, 𝑑) + πœ•π‘ˆβ€² [π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆβ€² πœ•π‘“ πœ•π‘‘(π‘₯, 𝑑) +                                            (1.10) πœ•π‘ˆβ€³ [π‘₯, π‘ˆ(π‘₯, 𝑑), π‘ˆβ€²(π‘₯, 𝑑), π‘ˆβ€³(π‘₯, 𝑑)] πœ•π‘ˆβ€³ πœ•π‘“

πœ•π‘‘(π‘₯, 𝑑), π‘Žβ‰€π‘₯≀𝑏 The initial conditions of problem (1.9) are satisfied as follow:

πœ• πœ• πœ• πœ•π‘‘π‘ˆβ€²(π‘Ž, 𝑑) = 0 and πœ•π‘‘π‘ˆβ€³(π‘Ž, 𝑑) = 1                                (1.11) πœ•π‘‘π‘ˆ(π‘Ž, 𝑑) = 0, πœ•

By using π‘Š(π‘₯, 𝑑) to denote

πœ•π‘‘π‘ˆ(π‘₯, 𝑑) and assume that the order of differentiation of x and t can be reversed, equations (1.10)-(1.11) transform to the initial-value problem:

{π‘Šβ€΄ = πœ•π‘“ πœ•π‘“ πœ•π‘“ πœ•π‘ˆ(π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³)π‘Š(π‘₯, 𝑑) + πœ•π‘ˆβ€² (π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³)π‘Šβ€²(π‘₯, 𝑑) + πœ•π‘ˆβ€³ (π‘₯, π‘ˆ, π‘ˆβ€², π‘ˆβ€³)π‘Šβ€³(x, t) π‘Š(π‘Ž, 𝑑) = 0 , π‘Šβ€²(π‘Ž, 𝑑) = 0 , π‘Šβ€³(π‘Ž, 𝑑) = 1,                     π‘Žβ‰€π‘₯≀𝑏

(1.12) Now, it is required numerical method for solving the both IVPs (1.9) and (1.12), and then the iteration relations (1.8a)-(1.8c) will be known, and can rewrite them as follow: π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’

π‘ˆ(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘0 π‘Š(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.13a) π‘ˆβ€²(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘1 π‘Šβ€²(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.13b) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’ π‘ˆβ€³(𝑏,π‘‘π‘˜βˆ’1)βˆ’π‘2 π‘Šβ€³(𝑏,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (1.13c) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’

In practice, these initial-value problems are not likely to be solved exactly. In the next section, spline function approximations can be applied to obtain the numerical solutions of the both nonlinear third- IVPs (1.9) and (1.12). Applying Spline Approximations for Non-linear IVPs: Consider the uniform grid partition βˆ†: ≑{π‘Ž= π‘₯0 < π‘₯1 < β‹―< π‘₯𝑛< π‘₯𝑛+1 < β‹―< π‘₯𝑁= 𝑏} of the interval [π‘Ž, 𝑏] with mesh size β„Ž= (π‘βˆ’π‘Ž)/𝑁 and grid points π‘₯𝑛= π‘Ž+ 𝑛 β„Ž, 𝑛= 0,1, … , 𝑁. The Spline function approximation S(x) to the function π‘ˆ(π‘₯, 𝑑) at the grid points is given by the piecewise expression:

𝑆0(π‘₯),      𝑖𝑓 π‘₯∈[π‘₯0, π‘₯1] 𝑆𝑛(π‘₯),       𝑖𝑓 π‘₯∈[π‘₯𝑛, π‘₯𝑛+1],    𝑛= 1, … , π‘βˆ’2 π‘†π‘βˆ’1(π‘₯),       𝑖𝑓 π‘₯∈[π‘₯π‘βˆ’1, π‘₯𝑁] 𝑆(π‘₯) = {

(2.1)

Where

𝑆𝑛(π‘₯) = βˆ‘ (π‘₯βˆ’π‘₯𝑛)𝑖 (𝑖) + βˆ‘ (π‘₯βˆ’π‘₯𝑛)𝑖 𝑖! 3 𝑖=0 𝑆𝑛

𝑖! 6 𝑖=4 𝐢𝑛,π‘–βˆ’3, π‘₯∈[π‘₯𝑛, π‘₯𝑛+1], 𝑛= 0, … , π‘βˆ’1 (2.2) By applying the Spline approximation (2.2) and its derivatives with respect to x, 𝑆𝑛

β€² (π‘₯), 𝑆𝑛 β€³(π‘₯), 𝑆𝑛

‴(π‘₯) on three collocation points π‘₯𝑛+𝑧𝑗= π‘₯𝑛+ π‘§π‘—β„Ž, (𝑗= 1,2,3), into the third order IVP (1.9), in each subinterval 𝐼𝑛= [π‘₯𝑛, π‘₯𝑛+1], 𝑛= 0(1)π‘βˆ’1, we have

‴ (π‘₯𝑛+𝑧𝑗) = 𝑓[π‘₯𝑛+𝑧𝑗, 𝑆𝑛(π‘₯𝑛+𝑧𝑗) , 𝑆𝑛 β€² (π‘₯) (π‘₯𝑛+𝑧𝑗) , 𝑆𝑛 𝑆𝑛

β€³(π‘₯) (π‘₯𝑛+𝑧𝑗)], 𝑗= 1,2,3 (2.3a) with the initial conditions

β€³(π‘Ž) = 𝑑,                                                      (2.3b) Where 𝑆0(π‘Ž) = π‘ˆ(π‘Ž, 𝑑) = 𝛼, 𝑆0 β€²(π‘Ž) = 𝛽, 𝑆0 𝑆0(π‘Ž) = 𝛼, 𝑆0 β€²(π‘Ž) = π‘ˆβ€²(π‘Ž, 𝑑) = 𝛽 and 𝑆0 β€³(π‘Ž) = π‘ˆβ€³(π‘Ž, 𝑑) = 𝑑, the other coefficient 𝑆0

‴(π‘Ž) = π‘ˆβ€΄(π‘Ž, 𝑑) is determined by the derivation of equation (1.9), where

(β„Žπ‘§π‘—)𝑖 (β„Žπ‘§π‘—)𝑖 (𝑖) + βˆ‘ 𝑖! 3 𝑖=0 𝑆𝑛 𝑆𝑛(π‘₯𝑛+𝑧𝑗) = βˆ‘

𝑖! 6 𝑖=4 𝐢𝑛,π‘–βˆ’3, π‘₯𝑛+π‘§π‘—βˆˆ[π‘₯𝑛, π‘₯𝑛+1], 𝑗= 1,2,3, 𝑛= 0, … , π‘βˆ’1 (2.4) The first three coefficients 𝐢𝑛,1, 𝐢𝑛,2, 𝐢𝑛,3 are computed from the nonlinear system (2.3a) by using the initial conditions (2.3b) for n=0, or from the previous step if n>1. Similarly, it is required to find the approximate spline solution to the initial-value problem (1.12), to do so, we take the following spline approximation:

π‘†π‘Š,𝑛(π‘₯) = βˆ‘ (π‘₯βˆ’π‘₯𝑛)𝑖 (𝑖) + βˆ‘ (π‘₯βˆ’π‘₯𝑛)𝑖 𝑖! 3 𝑖=0 π‘†π‘Š,𝑛

𝑖! 6 𝑖=4 𝐢̃𝑛,π‘–βˆ’3, π‘₯∈[π‘₯𝑛, π‘₯𝑛+1], 𝑛= 0, … , π‘βˆ’1, (2.5) by applying the approximation (2.5) into (1.12) to be satisfied at collocation points π‘₯𝑛+𝑧𝑗= π‘₯𝑛+ π‘§π‘—β„Ž, 𝑗= 1(1)3, yields: π‘†π‘Š,𝑛

‴ (π‘₯𝑛+𝑧𝑗) = πœ•π‘“ πœ•π‘“ πœ•π‘“ πœ•π‘†π‘ˆ,π‘›π‘†π‘Š,𝑛(π‘₯𝑛+𝑧𝑗) + β€² π‘†π‘Š,𝑛 β€³ π‘†π‘Š,𝑛 πœ•π‘†π‘ˆ,𝑛 πœ•π‘†π‘ˆ,𝑛
πœ•π‘“ β€² (π‘₯𝑛+𝑧𝑗) + β€³ (π‘₯𝑛+𝑧𝑗)

(2.6a) with the initial values: π‘†π‘Š,0(π‘Ž) = π‘†π‘Š,0

β€³ (π‘Ž) = 1,                                               (2.6b) Where β€² (π‘Ž) = 0, π‘†π‘Š,0 (β„Žπ‘§π‘—)𝑖 (β„Žπ‘§π‘—)𝑖 (𝑖) + βˆ‘ 𝑖! 3 𝑖=0 π‘†π‘Š,𝑛 π‘†π‘Š,𝑛(π‘₯𝑛+𝑧𝑗) = βˆ‘

𝑖! 6 𝑖=4 𝐢̃𝑛,π‘–βˆ’3, π‘₯𝑛+π‘§π‘—βˆˆ[π‘₯𝑛, π‘₯𝑛+1], 𝑗= 1,2,3, 𝑛= 0, … , π‘βˆ’1 (2.7) And 0 < 𝑧1 < 𝑧2 < 𝑧3 = 1 (2.8) Again, the first three coefficients 𝐢̃𝑛,1, 𝐢̃𝑛,2, 𝐢̃𝑛,3 are computed from the nonlinear system (2.6a) by using the initial conditions (2.6b) for 𝑛= 0, or from the previous step if 𝑛> 1. By finding the numerical spline solutions of (2.3a)-(2.3b) and (2.6a) (2.3b), and substituting π‘†π‘βˆ’1(π‘₯𝑁, π‘‘π‘˜βˆ’1), π‘†π‘Š,π‘βˆ’1(π‘₯𝑁, π‘‘π‘˜βˆ’1) and their derivatives into the iteration relations (1.13a)-(1.13c), we have

π‘†π‘βˆ’1(π‘₯𝑁,π‘‘π‘˜βˆ’1)βˆ’π‘0 π‘†π‘Š,π‘βˆ’1(π‘₯𝑁,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (2.9a) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’ β€² (π‘₯𝑁,π‘‘π‘˜βˆ’1)βˆ’π‘1 π‘†π‘Š,π‘βˆ’1 π‘†π‘βˆ’1 β€² (π‘₯𝑁,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (2.9b) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’ β€³ (π‘₯𝑁,π‘‘π‘˜βˆ’1)βˆ’π‘2 π‘†π‘Š,π‘βˆ’1 π‘†π‘βˆ’1 β€³ (π‘₯𝑁,π‘‘π‘˜βˆ’1) ,    π‘˜= 1,2, …                                                (2.9c) π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’

1. A unique Solution

As previous, the numerical solution of the nonlinear third-order BVP (1.1) will transform to the two solutions of initial value problems of the form: π‘ˆβ€΄(π‘₯) = 𝑓(π‘₯, π‘ˆ(π‘₯), π‘ˆβ€²(π‘₯), π‘ˆβ€³(π‘₯)), π‘₯∈[π‘Ž, 𝑏] (2.10a) π‘ˆ(π‘Ž) = 𝛼, π‘ˆβ€²(π‘Ž) = 𝛽 and π‘ˆβ€³(π‘Ž) = 𝑑 (2.10b) Suppose that 𝑓: [π‘Ž, 𝑏] Γ— 𝐢[π‘Ž, 𝑏] Γ— 𝐢1[π‘Ž, 𝑏] Γ— 𝐢2[π‘Ž, 𝑏] →𝑅 is an enough smooth function satisfying the following Lipschitz condition in respect to the last three arguments: |𝑓(π‘₯, 𝑦1, 𝑦2, 𝑦3) βˆ’π‘“(π‘₯, 𝑒1, 𝑒2, 𝑒3)| ≀𝐿(|𝑦1 βˆ’π‘’1| + |𝑦2 βˆ’π‘’2| + |𝑦3 βˆ’π‘’3|), (2.11) βˆ€(π‘₯, 𝑦1, 𝑦2, 𝑦3), (π‘₯, 𝑒1, 𝑒2, 𝑒3) ∈[π‘Ž, 𝑏] Γ— 𝑅3 where the constant L is called a Lipschitz constant for f. These conditions assure the existence of a unique solution U(x) of problem (2.10). By applying the Spline approximations (2.2) and its derivatives into the problem (2.10), using three collocation points π‘₯𝑛,𝑧𝑗= π‘₯𝑛+ π‘§π‘—β„Ž, (𝑗= 1,2,3), we obtain the system

(β„Žπ‘§π‘—)2 (β„Žπ‘§π‘—)3 ‴ + (β„Žπ‘§π‘—)𝐢𝑛,1 + 3! 𝐢𝑛,3 = 𝑆𝑛 2! 𝐢𝑛,2 + 𝑓(π‘₯𝑛+𝑧𝑗, 𝑆(π‘₯𝑛+𝑧𝑗) , 𝑆′ (π‘₯𝑛+𝑧𝑗) , 𝑆″ (π‘₯𝑛+𝑧𝑗)),𝑗= 1,2,3,                        (2.12a) 𝑛= 0, … , π‘βˆ’1, 𝑆0(π‘Ž) = 𝛼, 𝑆0 β€²(π‘Ž) = 𝛽 and 𝑆0

β€³(π‘Ž) = 𝑑 (2.12b) We rewrite (2.12a) in the matrices formula: 𝐴𝐢̅𝑛= 𝑆̅𝑛+ 𝐹̅𝑛 (2.13) Where

𝑧12 2! β„Ž 𝑧13 [ 𝑧1β„Ž 3! β„Ž (3) βˆ’π‘†π‘› 𝐢𝑛,1 β„ŽπΆπ‘›,2 β„Ž2𝐢𝑛,3 𝑧22 2! β„Ž 𝑧23 (3) ], 𝐴= , 𝐢̅𝑛= [ ] , 𝑆̅𝑛= [ ] , 𝐹̅𝑛= [ βˆ’π‘†π‘› 𝑧2β„Ž 3! β„Ž 𝑓𝑛+1 (3) 2! β„Ž 1 1 βˆ’π‘†π‘› β„Ž 3! β„Ž] 𝑓𝑛+𝑧𝑗= 𝑓(π‘₯𝑛+𝑧𝑗, 𝑆(π‘₯𝑛+𝑧𝑗) , 𝑆′ (π‘₯𝑛+𝑧𝑗) , 𝑆″ (π‘₯𝑛+𝑧𝑗)),𝑗= 1,2,3. Theorem: Assume that the function π‘“βˆˆπΆ2([π‘Ž, 𝑏] Γ— β„œΓ— β„œΓ— β„œ) satisfies Lipschitz condition, and if β„Ž< 1152
(3) βˆ’π‘†π‘› 𝑓𝑛+𝑧1 𝑓𝑛+𝑧2

139441𝐿 (2.14) then the spline approximation solution S(x) of the problem (2.10) is existent and unique for𝑧1 = 1/4, 𝑧2 = 3/4, 𝑧3 = 1, where L is a Lipschitz constant for f. Proof. From the relation (2.13), it suffices to prove that the vector 𝐢̅𝑛 can be uniquely determined for arbitrary given 𝑆̅𝑛. Let𝐢̅𝑛

1, 𝐢̅𝑛 2 βˆˆπ‘…3, then from the relation (2.13), we can write 𝐢̅𝑛

1 = π΄βˆ’1𝑆𝑛+ π΄βˆ’1𝐹̅𝑛 1 and 𝐢̅𝑛 2 = π΄βˆ’1𝑆𝑛+ π΄βˆ’1𝐹̅𝑛 2 Thus 𝐢̅𝑛 1 = 𝒬𝑛(𝐢𝑛,1 1 , 𝐢𝑛,2 1 , 𝐢𝑛,3 1 , β„Ž) and 𝐢𝑛 2 = 𝒬𝑛(𝐢𝑛,1 2 , 𝐢𝑛,2 2 , 𝐢𝑛,3 2 , β„Ž) Applying β€–. β€–1, Lipschitz condition and using Mathematica, we get ‖𝒬𝑛(𝐢̅𝑛 𝐢𝑛 1) βˆ’π’¬π‘›(𝐢̅𝑛 2)β€– = β€–(π΄βˆ’1𝑆𝑛+ π΄βˆ’1𝐹̅𝑛 1) βˆ’(π΄βˆ’1𝑆𝑛+ π΄βˆ’1𝐹̅𝑛 2)β€– = β€–π΄βˆ’1β€–. ‖𝐹̅𝑛 1 βˆ’πΉΜ…π‘› 2β€– ≀ β€–π΄βˆ’1β€–. {𝐿1 (13 16 β„Ž2 + 23 96 β„Ž3 + 169 3072 β„Ž4) |𝐢𝑛,1 1 βˆ’πΆπ‘›,1 2 | + 𝐿2 (23 96 β„Ž2 + 16 3072 β„Ž3 + 317 30720 β„Ž4) |𝐢𝑛,2 1 βˆ’πΆπ‘›,2 2 | + 𝐿3 ( 169 3072 β„Ž2 + 317 30720 β„Ž3 + 2413 1474560 β„Ž4) |𝐢𝑛,3 1 βˆ’πΆπ‘›,3 2 |} β‰€β€–π΄βˆ’

1 and 𝐢̅𝑛 2 can be written in the form

Thus, the function 𝒬𝑛 defines a contraction mapping if β„ŽπΏ

1152 < 1 which satisfies (2.14). Hence there

𝑝+1 = exists a unique 𝐢𝑛 that satisfies 𝐢𝑛= 𝒬𝑛(𝐢𝑛,1, 𝐢𝑛,2, 𝐢𝑛,3, β„Ž) which may be found by iterations, 𝐢𝑛 𝒬𝑛(𝐢𝑛

𝑝, β„Ž), 𝑝= 0,1,2, … The proof of the Theorem is now complete Convergence Analysis: We assume that π‘ˆ(π‘₯) ∈𝐢7[π‘Ž, 𝑏], the unique solution of the third-order BVP (1.1) and 𝑆𝑛(π‘₯) be a spline approximation to U(x), also 𝑇= (πœΜ…π‘›) is a 3-dimensional column vector. Here, the vector πœΜ…π‘› is the local truncation error. Applying the Spline approximation 𝑆𝑛(π‘₯) on three collocation points π‘₯𝑛+𝑧𝑗= π‘₯𝑛+ π‘§π‘—β„Ž, (𝑗= 1,2,3), and setting

(π‘š) ≅𝑆𝑛 (π‘š)(π‘₯𝑛), (π‘š= 0, … ,3), for 𝑧1 = 1/4, 𝑧2 = 3/4, 𝑧3 = 1, the local truncation error is formulated by: πœΜ…π‘›= M𝐢𝑛+ Ψ𝑛, 𝑛= 0, … , 𝑁                                                                (3.1) Where π‘ˆ(π‘₯𝑛+𝑧𝑗) ≅𝑆𝑛(π‘₯𝑛+𝑧𝑗), and π‘ˆ(π‘š)(π‘₯𝑛) = π‘ˆπ‘›
4 π‘ˆπ‘› β€² + β„Ž2 32 π‘ˆπ‘› β€³ + β„Ž3 [ π‘ˆπ‘›+ β„Ž 384 π‘ˆπ‘› ‴ βˆ’π‘ˆ(π‘₯𝑛+ 1 4 β„Ž) 4 π‘ˆπ‘› β€² + 9β„Ž2 32 π‘ˆπ‘› β€³ + 9β„Ž3 π‘ˆπ‘›+ 3β„Ž 128 π‘ˆπ‘› ‴ βˆ’π‘ˆ(π‘₯𝑛+ 3 Ψ𝑛= 4 β„Ž) β€² + β„Ž2 2 π‘ˆπ‘› β€³ + β„Ž3 6 π‘ˆπ‘› ‴ βˆ’π‘ˆ(π‘₯𝑛+ β„Ž) ] π‘ˆπ‘›+ β„Žπ‘ˆπ‘› 44) β„Ž4 45) β„Ž4 46) β„Ž4 [ ( 1 4! ( 1 5! ( 1 6! 𝐢𝑛,1 β„ŽπΆπ‘›,2 β„Ž2𝐢𝑛,3 4)4 β„Ž4 4)5 β„Ž4 4)6 β„Ž4 (3 4! (3 5! (3 ] M = , πΆΜ…π‘˜= [ 6! β„Ž4 4! β„Ž4 5! β„Ž4 6! ]

On the other hand, from the system (2.13), we get 𝐢̅𝑛= π΄βˆ’1π‘ˆΜ‚π‘›+ π΄βˆ’1𝐹̂𝑛 (3.2) Where

8 8 1 β„Ž βˆ’ β„Ž βˆ’ β„Ž 3β„Ž3 112 80 32 2048 β‰ 0, π΄βˆ’1 = 𝐷𝑒𝑑(𝐴) = 3β„Ž βˆ’ 3β„Ž 64 3β„Ž 64 32 β„Ž βˆ’ β„Ž βˆ’ [ β„Ž] (3) π‘ˆβ€΄(π‘₯𝑛+𝑧1) βˆ’π‘ˆπ‘› (3) ], 𝐹̂𝑛= [ ] π‘ˆβ€΄(π‘₯𝑛+𝑧2) π‘ˆΜ‚π‘›= [ βˆ’π‘ˆπ‘› (3) π‘ˆβ€΄(π‘₯𝑛+1) βˆ’π‘ˆπ‘›

Using Taylor’s expansions for the functions π‘ˆ(π‘š)(π‘₯), π‘š= 0, … ,3 about π‘₯𝑛, in the relation (3.2) and substituting it into (3.1), the local truncation error at the nth step is yielded, as follows:

103 165150720 π‘ˆ(7)(π‘₯𝑛). β„Ž7 81 18350080 π‘ˆ(7)(π‘₯𝑛). β„Ž7 πœΜ…π‘›= M(π΄βˆ’1π‘ˆΜ‚π‘›+ π΄βˆ’1𝐹̂𝑛) + Ψ𝑛= ≑O(β„Ž7), 𝑛= 0,1, . . 𝑁 322560 π‘ˆ(7)(π‘₯𝑛). β„Ž7 ] 103 [

(3.3) Where

(π‘₯βˆ’π‘₯𝑛)𝑖 π‘ˆ(π‘₯) = βˆ‘

𝑖! 6 𝑖=0 π‘ˆ(𝑖)(π‘₯𝑛) + O(β„Ž7), π‘₯∈[π‘₯𝑛, π‘₯𝑛+1], Note from the relation (3.3) that the proposed Spline method is exact for expansions of the solution of degree ≀6, hence, global truncation error is β€–π‘‡β€–βˆž= 𝑁. O(β„Ž7) ≑O(β„Ž6). Consequently, we have obtained the following: let π‘ˆβˆˆπΆ7[π‘Ž, 𝑏] be Lipschitz continuous, then the spline approximation 𝑆(π‘₯)converges to the solution U(x) of the nonlinear third-order BVP as β„Žβ†’0 for 𝑧1 = 1/4, 𝑧2 = 3/4, 𝑧3 = 1 and lim β„Žβ†’0 𝑆(π‘š)(𝑒) = π‘ˆ(π‘š)(𝑒), π‘š= 0, … ,3, 𝑒= π‘Ž, 𝑏. (3.4)

Furthermore, the convergence order is furth, i.e., we have |π‘ˆ(π‘š)(π‘₯) βˆ’π‘†(π‘š)(π‘₯)| < πΆπ‘šβ„Ž7βˆ’π‘š, π‘š= 0, … ,3. (3.5) Algorithm: The Spline Method for solving the nonlinear third-order BVP (1.1) We use the following notations elfa= , beta=  . INPUTS: Input (a,b, elfa, beta, tk, b0 or b1 else b2): the boundary conditions and constants. Input (𝐢1, 𝐢2, 𝐢3), the initial approximation vector 𝐢= (𝐢1, 𝐢2, 𝐢3)𝑇. Input (𝐢̃1, 𝐢̃2, 𝐢̃3), the initial approximation vector𝐢̃ = (𝐢̃1, 𝐢̃2, 𝐢̃3)𝑇. Input (N), number of subintervals N. Input (M), maximum number of iterations M . Tolerance Tol=0.1E-8; the parameters z1=1/4; z2= 3/4; z3=1; Step 1 Set h=(b-a)/(N); ki=1; Step 2 while (ki <= M) do {0} Steps 3-22. Step 3 Begin {The initial conditions} S0=elfa;

S1=beta; S2=tk; S3=f(a,s0, s1, s2); Sw0=0; Sw1=0; Sw2=1; Sw3=S'''w(a); Step 4 for n:=1 to N do {1} steps 5-19. {Spline solution (2.3a) for the nonlinear IVP (1.9)} We set 𝐹𝑛(𝐢) ≑𝑆𝑛

β€³ (π‘₯𝑛+𝑧𝑗)] = 0 Step 5 k=1; Step 6 while k <= M do {1} steps 7-11 Step 7 Calculate 𝐹𝑛(C) and Jn(C), Where Jn(C)𝑖,𝑗= πœ•πΉπ‘›,𝑖(𝐢)/πœ•πΆπ‘— for 1 ≀𝑖, 𝑗≀3. Step 8 Solve the 3ο‚΄3 linear system 𝐽𝑛(𝐢)π‘Œ= βˆ’πΉπ‘›(𝐢). Step 9 Set C=C+Y. Step 10 if ||Y|| < Tol then {substituting (2.4) and its derivations} sp1[n] = Sn(C); sp11[n] = SΛ‹n(C); sp12[n] = SΛ‹Λ‹n(C); sp13[n] = SΛ‹Λ‹Λ‹n(C); Step 11 Set k:=1+k; {end while 1} {Spline solution (2.6a) for the nonlinear IVP (1.12)} We put 𝐹𝑛(𝐢̃) β‰‘π‘†π‘Š,𝑛

‴ (π‘₯𝑛+𝑧𝑗) βˆ’π‘“[π‘₯𝑛+𝑧𝑗, 𝑆𝑛(π‘₯𝑛+𝑧𝑗) , 𝑆𝑛 β€² (π‘₯𝑛+𝑧𝑗) , 𝑆𝑛
πœ•π‘“ πœ•π‘“ πœ•π‘“ ‴ (π‘₯𝑛+𝑧𝑗) βˆ’ πœ•π‘†π‘ˆ,π‘›π‘†π‘Š,𝑛(π‘₯𝑛+𝑧𝑗) βˆ’ β€² πœ•π‘†π‘Š,𝑛 β€³ π‘†π‘Š,𝑛 πœ•π‘†π‘ˆ,𝑛 πœ•π‘†π‘ˆ,𝑛
πœ•π‘“ β€² (π‘₯𝑛+𝑧𝑗) βˆ’ β€³ (π‘₯𝑛+𝑧𝑗) = 0

Step 12 k=1; steps 13 While (k<=M) do {2} steps 14-18. Step 14 Calculate 𝐹𝑛(𝐢̃) and 𝐽𝑀𝑛(𝐢̃), Where 𝐽𝑀𝑛(𝐢̃)𝑖,𝑗= πœ•π‘†π‘€π‘›,𝑖(𝐢̃)/πœ•πΆΜƒπ‘— for all 1 ≀𝑖, 𝑗≀3.

Step 15 Solve the 3ο‚΄3 linear system 𝐽𝑀𝑛(𝐢̃)π‘ŒΜ… = 𝐹𝑛(𝐢̃). Step 16 Set 𝐢̃ = 𝐢̃ + π‘ŒΜƒ Step 17 if β€–π‘ŒΜƒβ€– < Tol then {substituting (2.7) and its derivations} x:=z[i]*h; Sw[n] = Swn(CΜƒ); Sw1[n] = SwΛ‹n(CΜƒ); Sw2[n] = SwΛ‹Λ‹n(CΜƒ); Sw3[n] = SwΛ‹Λ‹n(CΜƒ); Step 18 Set k:=k+1; {end while 2} Step 19 Set {Renewing the initial conditions} S0=spl[n]; S1=spl1[n]; S2=spl2[n]; S3=spl3[n]; Sw0=Sw[n]; Sw1=Sw1[n]; Sw2=Sw2[n]; Sw3=Sw3[n]; {end for 1} Step 20 if abs(spl[l,3]-b0)<=tol then {else (spl1[l,3]-b1) or (spl2[l,3]-b2) } Step 21 for n:=1 to N do {2} Set x=a+z[i]*h+(n-1)*h; Output(x, Spl[n], Spl1[n], Spl2[n], Spl3[n], tk, Ki); {end for 2} Output ('Procedure is complete. '); STOP. Step 22 tk:=tk-(spl[N,3]-b0)/Sw[N,3]; {the iterations (2.9b)-(2.9c) are used for the ki=ki+1; other boundary conditions ((1.2b)-(1.2c))} {end while 0 &&& Procedure completed unsuccessfully}

END.

Figure

Results and Discussion:

In this section, four numerical examples are given to demonstrate the order of convergence and the accuracy of the present spline method. Numerical results of examples are obtained from computer programs designed by TPW 1.5 in double precision, and figures are plotted by Mathematica 5. The local errors and the rate of convergence are computed for presented spline method. Here, the notations 𝐸𝑛

β€³2𝑁|, 𝑛= 1, … , 𝑁, are used where 𝐸𝑛 𝑁= |𝑆𝑛 π‘βˆ’π‘†2𝑛 2𝑁|, 𝐸𝑛 ′𝑁= |𝑆𝑛 β€²π‘βˆ’π‘†2𝑛 β€²2𝑁|, 𝐸𝑛 ″𝑁= |𝑆𝑛 β€³π‘βˆ’π‘†2𝑛

𝑁 is the spline approximation of the exact solution π‘ˆ(π‘₯𝑛). Moreover, the experimental nodal rate of convergence is given by π‘…π‘Žπ‘‘π‘’= π‘™π‘œπ‘” 2(𝐸𝑁/𝐸2𝑁). Problem 4.1 Consider the following nonlinear third-order BVP [1-3,5] π‘ˆβ€΄ = βˆ’2π‘’βˆ’3π‘ˆ+

π‘ˆ(0) = 0, π‘ˆ(1) = Ln(2), π‘ˆβ€²(0) = 1. The analytical solution is π‘ˆ(π‘₯) = Ln(1 + π‘₯). This problem will be reduced into the following two initial value problems:

{π‘ˆβ€΄(π‘₯, 𝑑) = βˆ’2π‘’βˆ’3π‘ˆ(π‘₯,𝑑) + 4 (1+π‘₯)3 , 0 ≀π‘₯≀1 π‘ˆ(0, 𝑑) = 0, π‘ˆβ€²(0, 𝑑) = 1, π‘ˆβ€³(0, 𝑑) = 𝑑 πœ•π‘“ {π‘Šβ€΄(π‘₯, 𝑑) = πœ•π‘ˆπ‘Š(π‘₯, 𝑑) = 6π‘’βˆ’3π‘ˆ(π‘₯,𝑑)π‘ˆβ€²(π‘₯, 𝑑)π‘Š(π‘₯, 𝑑), 0 ≀π‘₯≀1 π‘Š(0, 𝑑) = 0, π‘Šβ€²(0, 𝑑) = 0, π‘Šβ€³(0, 𝑑) = 1

Corresponding to the boundary conditions, case I, it is required that the iteration relation (2.9a) is satisfied, when 𝑑= π‘‘π‘˜. The best maximum error of the non-polynomial spline method[5] is 0.200E-7 for h=1/256. Table1 shows the absolute errors of problem4.1, in addition to comparisons of the spline method with other methods [1-3]. In Table 2, Observed maximum errors of the Problem 4.1 for step size h different are compared with other methods[5,11] . Fig.1 plots the Spline approximation solution with the exact solution of problem 4.1, for h=0.1. In Fig. 2, the absolute error in the Spline solution of prblem4.1 is depicted for h=0.1.

4 (1+π‘₯)3, 0 ≀π‘₯≀1,

𝑁 indicates the nodal difference error, and 𝑆𝑛

Figure

Problem 4.2 Consider the non-linear BVP [10] π‘ˆβ€΄ + π‘ˆ(π‘₯)π‘ˆβ€³(π‘₯) βˆ’[π‘ˆβ€²(π‘₯)]2 + 1 = 0, 0 ≀π‘₯≀1 π‘ˆ(0) = 0, π‘ˆβ€²(0) = 0, π‘ˆ(1) = 0. Here, it is wanted to solve the two initial value problems:

{π‘ˆβ€΄(π‘₯, 𝑑) = βˆ’π‘ˆ(π‘₯, 𝑑)π‘ˆβ€³(π‘₯, 𝑑) βˆ’[π‘ˆβ€²(π‘₯, 𝑑)]2 βˆ’1, 0 ≀π‘₯≀1 π‘ˆ(0, 𝑑) = 0, π‘ˆβ€²(0, 𝑑) = 1, π‘ˆβ€³(0, 𝑑) = 𝑑 {π‘Šβ€΄(π‘₯, 𝑑) = βˆ’π‘ˆβ€³(π‘₯, 𝑑)π‘Š(π‘₯, 𝑑) + 2π‘ˆβ€²(π‘₯, 𝑑)π‘Šβ€²(π‘₯, 𝑑) βˆ’π‘ˆ(π‘₯, 𝑑)π‘Šβ€³(π‘₯, 𝑑) ≀,0 ≀π‘₯≀1 π‘Š(0, 𝑑) = 0, π‘Šβ€²(0, 𝑑) = 0, π‘Šβ€²(0, 𝑑) = 1

Also, it is required that the iteration relation (2.9a) is satisfied. Table 3 shows the spline solution and local errors at the nth step of problem 4.2 by present spline method, for N=10. By solving the problem 4.2 for N=10, 20, 40, the rate of convergence for the spline method is illustrated in Table 4. The Spline solution Si and its derivation 𝑆𝑖

β€² of problem 4.2, for h=0.05, are plotted in Fig.3. Also in Fig.4, the second derivation of Spline solution 𝑆𝑖

β€³ of problem 4.2, for h=0.05.

Figure
Problem 4.3 Consider the non-linear BVP [9] βˆ’πœ€π‘ˆβ€΄ βˆ’2π‘ˆβ€³(π‘₯) + 4π‘ˆβ€²(π‘₯) βˆ’[π‘ˆ(π‘₯)]2 = 𝑓(π‘₯), 0 ≀π‘₯≀1 π‘ˆ(0) = 1, π‘ˆβ€²(0) = 1, π‘ˆβ€²(1) = 1. Where 2 2) βˆ’[1 βˆ’ πœ€(1βˆ’π‘’βˆ’2π‘₯πœ€ ⁄ ) 1βˆ’π‘’βˆ’2π‘₯πœ€ ⁄ π‘₯2 π‘₯ 1 𝑓(π‘₯) = 1 + 4 (1 + 2(1βˆ’π‘’βˆ’2 πœ€ ⁄ ) βˆ’ 4(1βˆ’π‘’βˆ’2 πœ€ ⁄ ) + π‘₯(1 + 2(1βˆ’π‘’βˆ’2 πœ€ ⁄ ) βˆ’ 4 ]

The solution of this problem is equivalent to solve the two initial value problems:

{βˆ’πœ€π‘ˆβ€΄(π‘₯, 𝑑) = 2π‘ˆβ€³(π‘₯, 𝑑) βˆ’4π‘ˆβ€²(π‘₯, 𝑑) + [π‘ˆ(π‘₯, 𝑑)]2 + 𝑓(π‘₯) , 0 ≀π‘₯≀1 π‘ˆ(0, 𝑑) = 1, π‘ˆβ€²(0, 𝑑) = 1, π‘ˆβ€³(0, 𝑑) = 𝑑 {βˆ’πœ€π‘Šβ€΄(π‘₯, 𝑑) = 2π‘Šβ€³(π‘₯, 𝑑) βˆ’4π‘Šβ€²(π‘₯, 𝑑) + 2π‘ˆ(π‘₯, 𝑑)π‘Š(π‘₯, 𝑑),0 ≀π‘₯≀1 π‘Š(0, 𝑑) = 0, π‘Šβ€²(0, 𝑑) = 0, π‘Šβ€³(0, 𝑑) = 1

Moreover, it is required to implement the iteration relation (2.9b), since it fits the boundary conditions, case II, it is required that the iteration relation:

β€² (π‘₯𝑁,π‘‘π‘˜βˆ’1)βˆ’1 π‘†π‘βˆ’1 β€² (π‘₯𝑁,π‘‘π‘˜βˆ’1), π‘˜= 1,2, … π‘‘π‘˜= π‘‘π‘˜βˆ’1 βˆ’ π‘†π‘Š,π‘βˆ’1

Table 5 displays the spline solution and local errors at the nth step of the Spline solution and its derivatives up to third order of the problem 4.3 , for b =1, N=10, ο₯ =1. The best maximum error of the computational method [9] is 1.636318E-05. Problem 4.4. Consider the following singular nonlinear problem[12]

{π‘ˆβ€΄(π‘₯) + 2 π‘₯π‘ˆβ€²(π‘₯) βˆ’π‘ˆβ€³(π‘₯)π‘ˆ(π‘₯) βˆ’16πœ‹2π‘ˆ2(π‘₯) = (8πœ‹ π‘₯βˆ’64πœ‹3) cos(4πœ‹π‘₯) π‘ˆ(0) = 0 , π‘ˆβ€²(0) = 4πœ‹ , π‘ˆβ€³(0) = 0
Table 6. summarizes the spline solution and its derivatives as well as absolute errors of problem4.4 by presented spline method for N=40, h=0.0225. In Fig.5 is plotted the Spline solution Si and first derivation of 𝑆𝑖
Table 6. summarizes the spline solution and its derivatives as well as absolute errors of problem4.4 by presented spline method for N=40, h=0.0225. In Fig.5 is plotted the Spline solution Si and first derivation of 𝑆𝑖

β€²of problem 4.4, for N=30.

Table 1. Comparisons the absolute errors Ξ΄i of Problem 4.1 with other methods
Table 2. Observed maximum errors of the Problem 4.1 for step size h different.
Table 2. Observed maximum errors of the Problem 4.1 for step size h different.

1/64 0.277 E-05 0.374 E-06 0.45474735 E-12 1/128 0.680 E-06 0.820 E-07 0.22737367 E-12 Table 3: The spline solution and local errors of problem4.2 by presented spline method when, N=10, h=0.1 π‘₯𝑛 𝑆𝑛 𝐸𝑛

Figure

‴𝑁 0.10 0.00149606947 5.76539E-09 7.8803E-10 5.74810E-09 2.47091E-11 0.20 0.00531781873 1.19943E-08 9.1163E-10 5.0805E-09 2.47082E-11 0.30 0.01046620293 1.80013E-09 3.55389E-10 4.41608E-08 4.94467E-11 0.40 0.01594328099 2.31002E-09 8.34378E-10 3.75784E-08 4.97091E-11 0.50 0.02075232466 2.66541E-09 2.64222E-09 3.1027E-09 3.69507E-11 0.60 0.02389786115 2.80448E-09 5.06813E-09 2.45991E-09 2.47091E-12 0.70 0.02438584791 2.67313E-09 8.09279E09 1.81712E-09 7.41593E-11 0.80 0.02122417681 2.19414E-09 1.17278E-08 1.19906E-09 1.97783E-10 0.90 0.01342370403 1.32497E-09 1.5977E-09 5.68608E-09 4.20275E-10 1.00 0.00000000000 5.56236E-14 2.09525E-09 2.47375E-09 6.92239E-10 Table 4: The rate of convergence for presented spline method, with N=10

Figure
Table 5. The spline solution and local errors of problem4.3
Table 5. The spline solution and local errors of problem4.3

by presented spline method for N=10, h=0.1, ο₯ =1. π‘₯𝑛 𝑆𝑛 𝐸𝑛

‴𝑁 0.10 1.10291561144 7.41820 E-11 2.96646 E-10 7.53051 E-08 1.64208 E-08 0.20 1.21033159287 1.13733 E-10 4.45010 E-10 7.00269 E-08 1.60499 E-08 0.30 1.32052581935 1.28547 E-10 4.94456 E-10 6.34815 E-08 1.50017 E-08 0.40 1.43208833425 1.28547 E-10 8.84561 E-10 5.65422 E-07 1.36024 E-07 0.50 1.54386476268 1.23600 E-10 4.35116 E-09 4.97481 E-07 1.20622 E-07 0.60 1.65490998244 1.13733 E-10 1.60961 E-09 4.34129 E-08 1.05071 E-07 0.70 1.76445019289 1.08785 E-10 9.76911 E-10 3.77082 E-08 9.03612 E-08 0.80 1.87185185968 1.03839 E-10 6.87887 E-10 3.26709 E-08 7.69368 E-08 0.90 1.97659628872 1.08786 E-10 4.88911 E-10 2.83198 E-08 6.47857 E-08 1.00 2.078258809212 1.02324 E-10 3.23602 E-10 2.45867 E-08 5.44887 E-08 Table 6: The spline solution, its derivatives and absolute errors of problem4.4 by presented spline method when,

N=40, h=0.0225. π‘₯𝑛 𝑆𝑛 𝑆𝑛

Figure
Figure

4. Conclusion

The presented algorithm is experimented for solving some problems in nonlinear third-order differential equations. This presented spline method enables us to approximate the solution as well as its derivative at every point of the range of integration, while other methods do not produce. Tables 1-6 and Figures 1-5 are illustrated the applicability, efficiency and very good accuracy of the spline method. Comparisons of our results with the results obtained [1-3, 5, 9, 11] show that the presented spline method is better than other methods. Table4 shows the rate of convergence for the spline method when applied to the problem4.2 is at least four, and this is agreed with theoretical study. In consequence, all the problems of form (1.1)-(1.2c) is solvable successfully by using the proposed method.

References

[1] CAGLAR, H.N., CAGLAR, S.H. and TWIZELL, E.H., The numerical solution of thirdorder boundary-value problems with fourth-degree b spline functions, Intern. J. Computer Math. 71, (1999) 373-381.

[2] KHAN, A.; AZIZ, T., The numerical solution of third-order boundary value problems using quintic splines, Intern. J. Computer Math., Vol. 79(9), (2002) 1025-1031.

[3] KHAN, A.; AZIZ, T., The numerical solution of third-order boundary value problems using quintic splines, Applied Mathematics and Computation 137 (2003) 253-260.

[4] TIRMIZI I. A., E. H. TWIZELL.; SIRAJ-UL-ISLAM, A numerical method for thirdorder non-linear boundary-value problems in engineering, Intern. J. Computer Math., Vol. 82, No. 1, (2005), 103-109.

[5] SIRAJ-UL-ISLAM and TIRMIZI I. A., A smooth approximation for the solution of special non-linear third-order boundary-value problems based on non-polynomial splines, Intern. J. Computer Math., Vol. 83, No. 4, (2006), 397- 407.

[6] GROSSINHO, M.R., F.M. MINH.; A.I. SANTOS, A third-order boundary value problem with one-sided Nagumo condition, Nonlinear Analysis 63, (2005) e247 - e256.

[7] MAHMOUD, S. M., Quintic spline methods with three collocation points for solving third-order boundary-value problems, Mu'tah Journal for Research and Studies Vol. (26) No (1) ,119-139, (2011).

[8] ARCINIEGA, A., Shooting methods for numerical solution of nonlinear stochastic boundary-value problems, Stochastic Analysis and Applications, Vol. 25, (2007) 187-200.

[9] VALARMATHI, S.; N. RAMANUJAM, A computational method for solving boundary value problems for third-order singularly perturbed ordinary differential equations, Applied Mathematics and Computation, 129 (2002) 345-373.

[10] LIANG, S.; JEFFREY, D.J. An analytical approach for solving nonlinear boundary value problems in finite domains, Department of Applied Mathematics, University of Western Ontario, London, ON, Canada, N6A 5B7, (2010).

[11] USMANI, R.A.; SAKAI, M., Quartic spline solution for two point boundary value problems involving third-order differential equation. Journal of Mathematical and Physical Sciences, 18(4), (1984) 365–380.

[12] BHRAWY A. H.; ABD-ELHAMEED W. M., New algorithm for the numerical solutions of nonlinear third-order differential equations using jacobi-gauss collocation method, Math. Problems in Engineering, Vol. 2011, (2011),1-14.