# INTRODUCTION n this paper, we developed a collocation method with quintic B-splines as basis functions for getting the numerical solution of a general sixth order linear boundary value problem, which is in the form ?? 0 (??)?? (6) (??) + ?? 1 (??)?? (5) (??) + ?? 2 (??)?? (4) (??) +?? 3 (??)?? ??? (??)+ ?? 4 (??)?? ?? (??) + ?? 5 (??)?? ? (??) + ?? 6 (??)??(??) = ??(??), ?? < ?? < ?? (1) subject to the boundary conditions ??(??) = ?? 0 , ??(??) = ?? 0 ?? ? (??) = ?? 1 , ?? ? (d) = B 1 ?? ?? (??) = ?? 2 , ?? ?? (d) = ?? 2 . (2) where A 0 , B 0 , A 1 , B 1 , A 2 , B 2 are finite real constants and ?? 0 (??), ?? 1 (??), ?? 2 (??), ?? 3 (??), ?? 4 (??), ?? 5 (??), ?? 6 (??) and ??(??) are all continuous functions defined on the interval [??, ??]. Generally, these types of differential equations have special significance in astrophysics. The dynamo action in some stars may be modeled by sixth order boundary value problems [1]. The narrow convecting layers bounded by stable layers, which are believed to surround A-type stars, may be modeled by sixth-order boundary value problems [2]. Moreover, when an infinite horizontal layer of fluid is heated from below and is subjected to the action of rotation, instability sets in. When this instability is an ordinary convection, the ordinary differential equation is a sixth-order ordinary differential equation. For further discussion of sixth-order boundary value problems, see [3,4,5]. The existence and uniqueness of solution of such type of boundary value problems can be found in the book written by Agarwal [6]. El-Gamel et al. [7] used Sinc-Galerkin method to solve sixth order boundary value problems. Akram and Siddiqi [8] solved the boundary value problem of type (1)-( 2) with nonpolynomial spline technique. Siddiqi et al. [9] solved the same boundary value problems using quintic splines. Also Siddiqi and Akram [10] used septic splines to solve the boundary value problems of type (1)-( 2). Lamini et al. [11] used spline collocation method to solve the sixth-order boundary value problems. Further, decomposition methods [12], Ritz's method based on the variational theory [13], and the homotopy perturbation method [14] have been applied for the solution of sixth-order boundary value problems. Variational iteration method for solving sixth-order boundary value problems have been developed by Noor et al. [15]. Siraj-ul-Islam et al. [16,17] developed nonpolynomial splines approach to the solution of sixthorder and fourth-order boundary-value problems. Viswanadham et al. [18,19] used sixth order and septic B-splines to solve sixth order boundary value problems. In this paper, we try to present a simple collocation method using quintic B-splines as basis functions to solve the sixth order boundary value problem of the type (1)- (2). In section 2 of this paper, the justification for using the collocation method has been mentioned. In section 3, the definition of quintic B-splines has been I Global Journal of Researches in Engineering Volume XII Issue v v v v I Version I 1 ( D D D D ) described. In section 4, description of the collocation method with quintic B-splines as basis functions has been presented and in section 5, solution procedure to find the nodal parameters is presented. In section 6, numerical examples of both linear and non-linear boundary value problems are presented. The solution of a nonlinear boundary value problem has been obtained as the limit of a sequence of solutions of linear boundary value problems generated by quasilinearization technique [20]. Finally, the last section is dealt with conclusions of the paper. # II. # JUSTIFICATION FOR USING COLLOCATION METHOD In finite element method (FEM) the approximate solution can be written as a linear combination of basis functions which constitute a basis for the approximation space under consideration. FEM involves variational methods such as Ritz's approach, Galerkin's approach, least squares method and collocation method etc. The collocation method seeks an approximate solution by requiring the residual of the differential equation to be identically zero at N selected points in the given space variable domain where N is the number of basis functions in the basis [21]. That means, to get an accurate solution by the collocation method, one needs a set of basis functions which in number match with the number of collocation points selected in the given space variable domain. Further, the collocation method is the easiest to implement among the variational methods of FEM. When a differential equation is approximated by ?? ??? order B-splines, it yields (?? + 1) ??? order accurate results [22]. Hence this motivated us to use the collocation method to solve a sixth order boundary value problem of type (1)-( 2) with quintic B-splines. # III. DEFINITION OF QUINTIC B-SPLINES The cubic B-splines are defined in [23,24]. In a similar analogue, the existence of the quintic spline interpolate ??(??) to a function in a closed interval [??, ??] for spaced knots (need not be evenly spaced) ?? = ?? 0 < ?? 1 < ?? 2 < ? < ?? ?? ?1 < ?? ?? =?? is established by constructing it. The construction of ??(??) is done with the help of the quintic B-Splines. # Introduce ?? ?5 < ?? ?4 < ?? ?3 < ?? ?2 < ?? ?1 < ?? 0 < ? < ?? ?? < ?? ?? +1 < ?? ?? +2 < ?? ??+3 < ?? ?? +4 < ?? ??+5 IV. # DESCRIPTION OF THE METHOD To solve the boundary value problem (1)-( 2) by the collocation method with quintic B-splines as basis functions, we define the approximation for ??(??) as ??(??) =? ?? ?? ?? ?? ??+2 ?? =?2 (??)(3) where ?? ?? ??? are the nodal parameters to be determined. In the present method, the internal mesh points are selected as the collocation points. In collocation method, the number of basis functions in the approximation should match with the number of selected collocation points [21]. Here the number of basis functions in the approximation ( 3) is n+5, where as the number of selected collocation points is n-1. So, there is a need to redefine the basis functions into a new set of basis functions which in number match with the number of selected collocation points. The procedure for redefining the basis functions is as follows: Using the quintic B-splines described in section 3 and the Dirichlet boundary conditions of (2), we get the approximate solution at the boundary points as ??(??) = ??(?? 0 ) = ? ?? ?? ?? ?? 2 ?? =?2 (?? 0 ) = ?? 0(4)??(??) = ??(?? ?? ) = ? ?? ?? ?? ?? ??+2 ?? =???2 (?? ?? ) = ?? 0 .(5) Eliminating ?? ?2 and ?? ??+2 from the equations (3),(4), and (5) we get the approximation for ??(??) as where and ? ? ? ? ? ? ? ? ? + ? ? = ? ? = ? = ? + + ? ? 1 , , 1 , 2 ), ( ) ( ) ( ) ( 3 ,..., 4 , 3 ), ( 2 , 1 , 0 , 1 ), ( ) ( ) ( ) ( 2 2 2 0 2 0 n n n n j for x B x B x B x B n j for x B j for x B x B x B x B n n n n j j j j j ??(??) = ?? 1 (??) + ? ?? ?? ?? ?? (??) ?? +1 ?? =?1 ? 1 (?)= A o B -2 (?) + B o B n+2 (?) B -2 (? o ) B n+2 (? n ) P j (?) = Using the Neumann boundary conditions of (2) to the approximate solution ??(??) in ( 6), we get ?? ? (??) = ?? ? (?? 0 ) = ?? 1 ? (?? 0 ) + ?? ?1 ?? ?1 ? (?? 0 ) + ?? 0 ?? 0 ? (?? 0 ) + ?? 1 ?? 1 ? (?? 0 ) +?? 2 ?? 2 ? (?? 0 ) =?? 1 (7) ?? ? (??) = ?? ? (?? ?? ) = ?? 1 ? (?? ?? ) + ?? ???2 ?? ???2 ? (?? ?? ) + ?? ???1 ?? ???1 ? (?? ?? ) + ?? ?? ?? ?? ? (?? ?? ) +?? ??+1 ?? ?? +1 ? (?? ?? ) =?? 1 . (8) Now, eliminating ?? ?1 and ?? ??+1 from the equations ( 6), (7) ,and (8), we get the approximation for ??(??) as ??(??) = ?? 2 (??) +? ?? ?? ?? ?? (??) ?? ?? =0(9) where and Q j (x) = Using the boundary conditions ?? ?? (??) = ?? 2 and ?? ?? (??)=?? 2 of (20) to the approximate solution ??(??) in (9), we get ?? ?? (??) = ?? ?? (?? 0 ) = ?? 2 ?? (?? 0 ) + ?? 0 ?? 0 ?? (?? 0 ) +?? 1 ?? 1 ?? (?? 0 )+?? 2 ?? 2 ?? (?? 0 ) = ?? 2(10)?? ?? (??) = ?? ?? (?? ?? ) = ?? 2 ?? (?? ?? ) + ?? ???2 ?? ???2 ?? +?? ???1 ?? ???1 ?? (?? ?? ) + ?? ?? ?? ?? ?? (?? ?? ) = ?? 2 . (11) Now, eliminating ?? 0 and ?? ?? from the equations ( 9), (10), and (11) we get the approximation for ??(??) as ??(??) = ??(??)+? ?? ?? ?? ? ?? (??) ???1 ?? =1(12) where ??(??) = + and Now the new basis functions for the approximation y(x) are ?B j ? (x), j = 1,2, ? , n ? 1? and they are in number matching with the number of selected collocation points. Since the approximation for y(x) in ( 12) is a quintic approximation, let us approximate y (5) and y (6) at the selected collocation points with central differences as h y y y i i i 2 ) 4 ( 1 ) 4 ( 1 ) 5 ( ? + ? = and 2 ) 4 ( 1 ) 4 ( ) 4 ( 1 ) 6 ( 2 h y y y y i i i i ? + + ? = (13) where y i = y(x i ) = w(x i ) + ? ? j B ? j (x i ) n?1 j=1(14) Now applying collocation method to (1), we get ?? 0 (?? ?? )?? ?? (6) + ?? 1 (?? ?? )?? ?? (5) + ?? 2 (?? ?? )?? ?? (4) Using ( 13) and ( 14) in (15), we get ?? 0 (?? ?? ) ? 2 [ w (4) (x i+1 ) + ? ? j B ? j (4) (x i+1 ) n?1 j=1 ?2 ?w (4) (x i ) + ? ? j B ? j (4) (x i ) n?1 j=1 ? + w (4) (x i?1 ) + ? ? j B ? j (4) (x i?1 ) n?1 j=1 ] Quintic B-+ a 1 (x i ) 2h [ w (4) (x i+1 ) + ? ? j B ? j (4) (x i+1 ) n?1 j=1 ? ?w (4) (x i?1 ) + ? ? j B ? j (4) (x i?1 ) n?1 j=1 ? ] +a 2 (x i ) ?w (4) (x i ) + ? ? j B ? j (4) (x i ) n?1 j=1 ? +a 3 (x i )?w ??? (x i ) + ? ? j B ? j ??? (x i ) n?1 j=1 ? +a 4 (x i )?w ?? (x i ) + ? ? j B ? j ?? (x i ) n?1 j=1 ? +a 5 (x i )?w ? (x i ) + ? ? j B ? j ? (x i ) n?1 j=1 ? +?? 6 (?? ?? )???(?? ?? ) + ? ?? ?? ?? ? ?? (?? ?? ) ???1 ?? =1 ? I 2012 March ? j ~(?? P j (?) P' j (? o ) P -1 (?), for j = 0,1,2 P ' -1 (? o ) P j (x), for j = 3,4,?,n-3 P j (x) -P' j n) P n+1 for j=n-2,n-1,n. P ' n+1 { (? n) (? (?), - Q j (?) - Q" j (? o ) o (? for j = 1,2 Q" o (? o ) Q j (?), for j = 3,4, ? ,n-3 Q j (?) - Q" j (? n n (?), for j = n-2,n-1, Q" n (? n ) Q ), ) Q { ? 2 (?) ? 1 (?)+ A 1 -? . 1 (? o ) -1 (?) + 1 -?. 1 (? n ) P n+1 (?) P ' -1 (? o ) P n+1 (? n ) = P B ' = ??(?? ?? ) for i =1,2,?,n-1.(16) Rearranging the terms and writing the system of equations ( 16) in matrix form, we get A? = B (17) where A = ?a ij ?; a ij = B ? j (4) (x i?1 ) ? a 0 (x i ) h 2 ? a 1 (x i ) 2h ? +B ? j (4) (x i ) ??2 a 0 (x i ) h 2 ? +B ? j (4) (x i+1 ) ? a 0 (x i ) h 2 + a 1 (x i ) 2h ? +B ? j (4) (x i )a 2 (x i ) +B ? j ??? (x i )a 3 (x i ) + B ? j ?? (x i )a 4 (x i ) +B ? j ? (x i )a 5 (x i ) + B ? j (x i )a 6 (x i ) for i = 1,2, ? , n ? 1, j = 1,2, ? , n ? 1.(18)B = [b i ]; b i = b(x i ) -[ w (4) (x i?1 ) ? a 0 (x i ) h 2 ? a 1 (x i ) 2h ? +w (4) (x i ) ??2 a 0 (x i ) h 2 ? +w (4) (x i+1 ) ? a 0 (x i ) h 2 + a 1 (x i ) 2h ? +w (4) (x i )a 2 (x i ) + w ??? (x i )a 3 (x i ) +w ?? (x i )a 4 (x i ) + w ? (x i )a 5 (x i ) +w(x i )a 6 (x i ) ] for i = 1,2, ? , n ? 1.(19) and ? = ?? 1, ? 2, ? , ? n?1, ? T . # V. SOLUTION PROCEDURE TO FIND THE NODAL PARAMETERS The basis function B i ? (x) is defined only in the interval [x i?3 , x i+3 ] and outside of this interval it is zero. Also at the end points of the interval [x i?3 , x i+3 ] the basis function B i ? (x) vanishes. Therefore, B i ? (x) is having non-vanishing values at the mesh points x i?2 , x i?1 , x i, x i+1 , x i+2 and zero at the other mesh points. The first four derivatives of B i ? (x) also have the same nature at the mesh points as in the case of B i ? (x) . Using these facts, we can say that the matrix A defined in ( 18) is a seven diagonal band matrix. Therefore, the system of equations ( 17) is a seven diagonal band system in s i ' ? .The nodal parameters s i ' ? can be obtained by using band matrix solution package. We have used the FORTRAN-90 programming to solve the boundary value problem (1)-( 2) by the proposed method. # VI. # NUMERICAL EXAMPLES To demonstrate the applicability of the proposed method for solving the sixth order boundary value problems of type (1)-( 2) we considered seven examples of which four are linear and three are non linear boundary value problems. Numerical results for each problem are presented in tabular forms and compared with the exact solutions or numerical solutions available in the literature. Example 1 : Consider the linear boundary value problem y (6) + xy = ?(24 + 11x + x 3 )e x , 0 < ?? < 1 (20) subject to y(0) = 0, y(1) = 0, y ? (0) = 1, y ? (1) = ?e,(21) y ?? (0) = 0, y ?? (1) = ?4e. The exact solution for the above problem is given by y(x) = x(1 ? x)e x . The proposed method is tested on this problem where the domain [0,1] is divided into 10 equal subintervals. Numerical results for this problem are shown in Table 1 subject to (23) The exact solution for the above problem is given by y(x) = x 3 (1 ? x) 3 . The proposed method is tested on this problem where the domain [0,1] is divided into 10 equal subintervals. Numerical results for this problem are shown in Table 2. The maximum absolute error obtained by the proposed method is 2.942979 × 10 ?6 . y + y''' +y'' -y = e ?x (?15x 2 + 78x ? 114), 0 < ?? < 1 subject to y(0) = 0, y(1) = 1 e , y ? (0) = 0, y ? (1) = 2 e ,(25) The exact solution for the above problem is given by y(x) = x 3 e ?x . The proposed method is tested on this problem where the domain [0,1] is divided into 10 equal subintervals. Numerical results for this problem are shown in Table 3. The maximum absolute error obtained by the proposed method is 4.939735 × 10 ?6 (6) + y = 6(2x cos x + 5 sin x) , ? 1 < ?? < 1 (26) subject to y(?1) = 0, y(1) = 0, y ? (?1) = 2sin 1, y ? (1) = 2sin 1, y ?? (?1) = ?4 cos 1 ? 2 sin 1,(27) y ?? (1) = 4 cos 1 + 2 sin 1. The exact solution for the above problem is given by y(x) = (x 2 ? 1) sin x . The proposed method is tested on this problem where the domain [-1,1] is divided into 10 equal subintervals. Numerical results for this problem are shown in The exact solution for the above problem is given by y(x) = Here y (n+1) is the (n + 1) th approximation for y. The domain [0,1] is divided into 10 equal subintervals and the proposed method is applied to the sequence of problems (34). Numerical results for this problem are presented in Table 6. The maximum absolute error obtained by the proposed method is 1.913309 × 10 ?5 . (0) = 1, y(1) = e ?1 2 , y ? (0) = ?1 2 , y ? (1) = ?1 2 e ?1 2 ,(37)y ?? (0) = 1 4 , y ?? (1) = 1 4 e ?1 2 . This nonlinear boundary value problem is converted into a sequence of linear boundary value problems generated by quasilinearization technique [20] as Here y (n+1) is the (n + 1) th approximation for y. The domain [0,1] is divided into 10 equal subintervals and the proposed method is applied to the sequence of problems [38]. The exact solution for the problem (36) and ( 37) is not available in the literature. The numerical solutions can be obtained for this problem by refining the mesh size. Hussin and Kilicman [25] obtained the numerical solutions for this problem by refining the mesh size. Numerical results obtained by the proposed method are compared with the numerical results obtained by Hussin and Kilicman [25], and the results are presented in Table 7. y (n+1) (6) + ??3e x y (n) 2 ?y (n+1) = ?2e x y (n) 3 for n = 0,1,2, ?(38) # CONCLUSION In this paper, we have developed a collocation method with quintic B-splines as basis functions to solve sixth order boundary value problems. Here we have taken internal mesh points as the selected collocation points. The quintic B-spline basis set has been redefined into a new set of basis functions which in number match with the number of selected collocation points. The proposed method is applied to solve several number of linear and non-linear problems to test the efficiency of the method. The numerical results obtained by the proposed method are in good agreement with the exact solutions or numerical solutions available in the literature. The objective of this paper is to present a simple method to solve a sixth order boundary value problem and its easiness for implementation. 1. Glatzmaier, G. A. (1985). Numerical simulations of stellar convection dynamics at the base of the convection zone. Geophys. Fluid Dynamics, 31, 137-150. # Numerical Absolute error by solutions obtained by Hussin and Kilicman [25] the proposed method when compared with Hussin and Kilicman [25] 0 6![Quintic B-spline Collocation Method For Sixth Order Boundary Value ProblemsGlobal Journal of Researches in EngineeringVolume XII Issue v](image-2.png "( 6 )") 3![?? ?? )?? ?? ??? + ?? 4 (?? ?? )?? ?? ?? + ?? 5 (?? ?? )?? ?? ? + ?? 6 (?? ?? )?? ?? = ??(?? ?? ) for i=1,2,?,n-1.](image-3.png "+?? 3 (") ![spline Collocation Method For Sixth Order Boundary Value Problems Global Journal of Researches in Engineering Volume XII Issue v v v v I Version I 3 ( ) © 2012 Global Journals Inc. (US)](image-4.png "") ![) + e -x y = -720 + (x -x 2 ) 3 e -x , 0