Abstract

We have presented an efficient spectral algorithm based on shifted Jacobi tau method of linear fifth-order two-point boundary value problems (BVPs). An approach that is implementing the shifted Jacobi tau method in combination with the shifted Jacobi collocation technique is introduced for the numerical solution of fifth-order differential equations with variable coefficients. The main characteristic behind this approach is that it reduces such problems to those of solving a system of algebraic equations which greatly simplify the problem. Shifted Jacobi collocation method is developed for solving nonlinear fifth-order BVPs. Numerical examples are performed to show the validity and applicability of the techniques. A comparison has been made with the existing results. The method is easy to implement and gives very accurate results.

1. Introduction

The solutions of fifth-order BVPs have been the subject of active research. These problems generally arise in mathematical modeling of viscoelastic flows, physics, engineering, and other disciplines, (see, e.g., [14]). Agarwal's book [5] contains some theorems that discuss the conditions for existence and uniqueness of the solutions of fifth-order BVPs in detail.

Recently, various powerful mathematical methods such as the sixth-degree B-spline [6], Adomian decomposition method [7], nonpolynomial sextic spline functions [812], local polynomial regression [13], and others [14, 15] have been proposed to obtain exact and approximate analytic solutions for linear and nonlinear problems.

Spectral methods (see, e.g., [1618]) provide a computational approach that has achieved substantial popularity over the last four decades. The main advantage of these methods lies in their high accuracy for a given number of unknowns. For smooth problems in simple geometries, they offer exponential rates of convergence/spectral accuracy. In contrast, finite-difference and finite-element methods yield only algebraic convergence rates. The three most widely used spectral versions are the Galerkin, collocation, and tau methods. Recently, Doha et al. [19, 20] introduced and developed direct solution algorithms for solving high even-order differential equations using Bernstein Dual petrov-Galerkin method. Also, Bhrawy and Abd-Elhameed in [21] developed new algorithm for solving the general nonlinear third-order differential equation by means of a shifted Jacobi-Gauss collocation spectral method. The shifted Jacobi-Gauss points are used as collocation nodes. Moreover, Bhrawy and Alofi [22] used the Jacobi-Gauss collocation method to solve effectively and accurately a nonlinear singular Lane-Emden-type equation with approximation converging rapidly to exact solution.

The use of general Jacobi polynomials has the advantage of obtaining the solutions of differential equations in terms of the Jacobi parameters 𝛼 and 𝛽 (see, [2325]). In the present paper, we intend to extend application of Jacobi polynomials from Galerkin method for solving second- and fourth-order linear problems (see, [23, 24, 26]) to tau and collocation methods to solve linear and nonlinear fifth-order BVPs.

In the tau method (see, e.g., [16, 27]), the approximate solution 𝑢𝑁(𝑥) of an equation on the interval (0,𝐿) is represented as a finite series 𝑢𝑁(𝑥)=𝑁𝑗=0𝑎𝑗𝜙𝑗(𝑥), where the 𝜙𝑗(𝑥) are global (base) functions on (0,𝐿). The coefficients 𝑎𝑗 are the unknown one solves for. One characteristic of the tau method is that the expansion functions 𝜙𝑗(𝑥) do not satisfy boundary conditions in relation to the supplementary conditions imposed together with the differential equation.

Since 1960 the nonlinear problems have attracted much attention. In fact, there are many analytic asymptotic methods that have been proposed for addressing the nonlinear problems. Recently, the collocation method [21, 28] has been used to solve effectively and accurately a large class of nonlinear problems with approximations converging rapidly to exact solutions.

The fundamental goal of this paper is to develop a direct solution algorithm for approximating the linear two-point fifth-order differential equations by shifted Jacobi tau (SJT) method that can be implemented efficiently. Moreover, we introduce the pseudospectral shifted Jacobi tau (P-SJT) method in order to deal with fifth-order BVPs of variable coefficients. This method is basically formulated in the shifted Jacobi tau spectral form with general indexes 𝛼,𝛽>1. However, the variable coefficients terms and the right-hand side of fifth-order BVPs are treated by the shifted Jacobi collocation method with the same indexes 𝛼,𝛽>1 so that the the schemes can be implemented at shifted Jacobi-Gauss points efficiently.

For nonlinear fifth-order problems on the interval (0,𝐿), we propose the spectral shifted Jacobi collocation (SJC) method to find the solution 𝑢𝑁(𝑥). The nonlinear BVP is collocated only at the (𝑁4) points. For suitable collocation points, we use the (𝑁4) nodes of the shifted Jacobi-Gauss interpolation on (0,𝐿). These equations together with five boundary conditions generate (𝑁+1) nonlinear algebraic equations which can be solved using Newton's iterative method. Finally, the accuracy of the proposed methods are demonstrated by test problems.

The remainder of this paper is organized as follows. In Section 2, we give an overview of shifted Jacobi polynomials and their relevant properties needed hereafter. Sections 3 and 4 are devoted to the theoretical derivation of the SJT and P-SJT methods for fifth-order differential equations with constant and variable coefficients. Section 5 is devoted to applying the SJC method for solving nonlinear fifth-order differential equations. In Section 6, the proposed methods are applied to several examples. Also, a conclusion is given in Section 7.

2. Preliminaries

Let 𝑤(𝛼,𝛽)(𝑥)=(1𝑥)𝛼(1+𝑥)𝛽 be a weight function in the usual sense for 𝛼,𝛽>1. The set of Jacobi polynomials {𝑃𝑘(𝛼,𝛽)(𝑥)}𝑘=0 forms a complete 𝐿2𝑤(𝛼,𝛽)(1,1)-orthogonal system, and𝑃𝑘(𝛼,𝛽)2𝑤(𝛼,𝛽)=𝑘(𝛼,𝛽)=2𝛼+𝛽+1Γ(𝑘+𝛼+1)Γ(𝑘+𝛽+1)(.2𝑘+𝛼+𝛽+1)Γ(𝑘+1)Γ(𝑘+𝛼+𝛽+1)(2.1) Here, 𝐿2𝑤(𝛼,𝛽)(1,1) is a weighted space defined by 𝐿2𝑤(𝛼,𝛽)(1,1)=𝑣𝑣ismeasurableand𝑣𝑤(𝛼,𝛽),<(2.2) equipped with the norm 𝑣𝑤(𝛼,𝛽)=11||||𝑣(𝑥)2𝑤(𝛼,𝛽)𝑑𝑥1/2,(2.3) and the inner product (𝑢,𝑣)𝑤(𝛼,𝛽)=11𝑢(𝑥)𝑣(𝑥)𝑤(𝛼,𝛽)(𝑥)𝑑𝑥,𝑢,𝑣𝐿2𝑤(𝛼,𝛽)(1,1).(2.4)

It is well known that𝑃𝑘(𝛼,𝛽)(𝑥)=(1)𝑘𝑃𝑘(𝛽,𝛼)(𝑥),𝑃𝑘(𝛼,𝛽)(1)=(1)𝑘Γ(𝑘+𝛽+1)𝑘!Γ(𝛽+1),𝑃𝑘(𝛼,𝛽)(1)=Γ(𝑘+𝛼+1),𝐷𝑘!Γ(𝛼+1)𝑚𝑃𝑘(𝛼,𝛽)(𝑥)=2𝑚Γ(𝑚+𝑘+𝛼+𝛽+1)𝑃Γ(𝑘+𝛼+𝛽+1)(𝛼+𝑚,𝛽+𝑚)𝑘𝑚(𝑥).(2.5) If we define the shifted Jacobi polynomial of degree 𝑘 by 𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)=𝑃𝑘(𝛼,𝛽)(2𝑥/𝐿)1, 𝐿>0, and in virtue of (2.5), then it can easily be shown that𝐷𝑞𝑃(𝛼,𝛽)𝐿,𝑘(0)=(1)𝑘𝑞Γ(𝑘+𝛽+1)(𝑘+𝛼+𝛽+1)𝑞𝐿𝑞,𝐷Γ(𝑘𝑞+1)Γ(𝑞+𝛽+1)𝑞𝑃(𝛼,𝛽)𝐿,𝑘(𝐿)=Γ(𝑘+𝛼+1)(𝑘+𝛼+𝛽+1)𝑞𝐿𝑞.Γ(𝑘𝑞+1)Γ(𝑞+𝛼+1)(2.6)

Now, let 𝑤𝐿(𝛼,𝛽)(𝑥)=(𝐿𝑥)𝛼𝑥𝛽. The set of shifted Jacobi polynomials {𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)}𝑘=0 forms a complete 𝐿2𝑤𝐿(𝛼,𝛽)(0,𝐿)-orthogonal system. Moreover, and due to (2.1), we get𝑃(𝛼,𝛽)𝐿,𝑘2𝑤𝐿(𝛼,𝛽)=𝐿2𝛼+𝛽+1𝑘(𝛼,𝛽)=(𝛼,𝛽)𝐿,𝑘,(2.7) where 𝐿2𝑤𝐿(𝛼,𝛽)(0,𝐿) is a weighted space defined by 𝐿2𝑤𝐿(𝛼,𝛽)(0,𝐿)=𝑣𝑣ismeasurableand𝑣𝑤𝐿(𝛼,𝛽),<(2.8) equipped with the norm 𝑣𝑤𝐿(𝛼,𝛽)=𝐿0||||𝑣(𝑥)2𝑤𝐿(𝛼,𝛽)𝑑𝑥1/2,(2.9) and the inner product (𝑢,𝑣)𝑤𝐿(𝛼,𝛽)=𝐿0𝑢(𝑥)𝑣(𝑥)𝑤𝐿(𝛼,𝛽)(𝑥)𝑑𝑥,𝑢,𝑣𝐿2𝑤𝐿(𝛼,𝛽)(0,𝐿).(2.10) For 𝛼=𝛽, one can obtain the shifted ultraspherical polynomials (symmetric Jacobi polynomials). For 𝛼=𝛽=1/2, the shifted Chebyshev polynomials of first and second kinds. For 𝛼=𝛽=0, one can obtain the shifted Legendre polynomials. For the two important special cases 𝛼=𝛽=±1/2, the shifted Chebyshev polynomials of third and fourth kinds are also obtained.

We denote by 𝑥(𝛼,𝛽)𝑁,𝑗,0𝑗𝑁 the nodes of the standard Jacobi-Gauss interpolation on the interval (1,1). Their corresponding Christoffel numbers are 𝜛(𝛼,𝛽)𝑁,𝑗,0𝑗𝑁. The nodes of the shifted Jacobi-Gauss interpolation on the interval (0,𝐿) are the zeros of 𝑃(𝛼,𝛽)𝐿,𝑁+1(𝑥), which are denoted by 𝑥(𝛼,𝛽)𝐿,𝑁,𝑗,0𝑗𝑁. It is clear that 𝑥(𝛼,𝛽)𝐿,𝑁,𝑗=(𝐿/2)(𝑥(𝛼,𝛽)𝑁,𝑗+1), and their corresponding Christoffel numbers are 𝜛(𝛼,𝛽)𝐿,𝑁,𝑗=(𝐿/2)𝛼+𝛽+1𝜛(𝛼,𝛽)𝑁,𝑗,0𝑗𝑁.

Let 𝑆𝑁(0,𝐿) be the set of polynomials of degree at most 𝑁. Regarding, to the property of the standard Jacobi-Gauss quadrature, then it can be easily shown that for any 𝜙𝑆2𝑁+1(0,𝐿),𝐿0(𝐿𝑥)𝛼𝑥𝛽𝐿𝜙(𝑥)𝑑𝑥=2𝛼+𝛽+111(1𝑥)𝛼(1+𝑥)𝛽𝜙𝐿2=𝐿(𝑥+1)𝑑𝑥2𝑁𝛼+𝛽+1𝑗=0𝜛(𝛼,𝛽)𝑁,𝑗𝜙𝐿2𝑥(𝛼,𝛽)𝑁,𝑗=+1𝑁𝑗=0𝜛(𝛼,𝛽)𝐿,𝑁,𝑗𝜙𝑥(𝛼,𝛽)𝐿,𝑁,𝑗.(2.11)

The 𝑞th derivative of shifted Jacobi polynomial can be written in terms of the shifted Jacobi polynomials themselves as (see, Doha [29])𝐷𝑞𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)=𝑘𝑞𝑖=0𝐶𝑞(𝑘,𝑖,𝛼,𝛽)𝑃(𝛼,𝛽)𝐿,𝑖(𝑥),(2.12) where𝐶𝑞(𝑘,𝑖,𝛼,𝛽)=(𝑘+𝜆)𝑞(𝑘+𝜆+𝑞)𝑖(𝑖+𝛼+𝑞+1)𝑘𝑖𝑞Γ(𝑖+𝜆)𝐿𝑞×(𝑘𝑖𝑞)!Γ(2𝑖+𝜆)3𝐹2.𝑘+𝑖+𝑞,𝑘+𝑖+𝜆+𝑞,𝑖+𝛼+1;1𝑖+𝛼+𝑞+1,2𝑖+𝜆+1(2.13) For the general definition of a generalized hypergeometric series and special 3𝐹2, see [30], p. 41 and pp. 103-104, respectively.

3. Fifth-Order BVPs with Constant Coefficients

In this section, we are intending to use the SJT method to solve the fifth-order boundary value problems𝐷(5)𝑢(𝑥)+4𝑖=1𝛾𝑖𝐷(𝑖)𝑢(𝑥)+𝛾5𝑢(𝑥)=𝑓(𝑥),in𝐼=(0,𝐿),(3.1) with boundary conditions 𝑢(0)=𝛼0,𝑢(1)(0)=𝛼1,𝑢(2)(0)=𝛼2,𝑢(𝐿)=𝛽1,𝑢(1)(𝐿)=𝛽1,(3.2) where (𝛾𝑖,𝑖=1,2,,5), 𝛼0, 𝛼1, 𝛼2, 𝛽0, and 𝛽1 are real constants, and 𝑓(𝑥) is a given source function.

Let us first introduce some basic notation that will be used in this section. We set𝑆𝑁𝑃(0,𝐿)=span(𝛼,𝛽)𝐿,0(𝑥),𝑃(𝛼,𝛽)𝐿,1(𝑥),,𝑃(𝛼,𝛽)𝐿,𝑁(𝑥),(3.3) then the shifted Jacobi-tau approximation to (3.1) is to find 𝑢𝑁𝑆𝑁(0,𝐿) such that𝐷(5)𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)+4𝑖=1𝛾𝑖𝐷(𝑖)𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)+𝛾5𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)=𝑓,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑘=0,1,,𝑁5,𝑢(0)=𝛼0,𝑢(1)(0)=𝛼1,𝑢(2)(0)=𝛼2,𝑢(𝐿)=𝛽1,𝑢(1)(𝐿)=𝛽1.(3.4)

If we assume that𝑢𝑛(𝑥)=𝑁𝑗=0𝑎𝑗𝑃(𝛼,𝛽)𝐿,𝑗𝑎(𝑥),𝐚=0,𝑎1,,𝑎𝑁𝑇,𝑓𝑘=𝑓,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)𝑓,𝑘=0,1,,𝑁5,𝐟=0,𝑓1,,𝑓𝑁5,𝛼0,𝛼1,𝛼2,𝛽0,𝛽1,(3.5) then (3.4) with its boundary conditions give𝑁𝑗=0𝑎𝑗𝐷(5)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)+4𝑖=1𝛾𝑖𝐷(𝑖)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)+𝛾5𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)=𝑓,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑘=0,1,,𝑁5,(3.6)𝑁𝑗=0𝑎𝑗𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼0,𝑁𝑗=0𝑎𝑗𝐷(1)𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼1,𝑁𝑗=0𝑎𝑗𝐷(2)𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼2,𝑁𝑗=0𝑎𝑗𝑃(𝛼,𝛽)𝐿,𝑗(𝐿)=𝛽0,𝑁𝑗=0𝑎𝑗𝐷(1)𝑃(𝛼,𝛽)𝐿,𝑗(𝐿)=𝛽1.(3.7) Now, let us denote𝑎𝐴=𝑘𝑗0𝑘,𝑗𝑁,𝐵𝑖=𝑏𝑖𝑘𝑗0𝑘,𝑗𝑁,𝑖=1,2,3,4𝑐,𝐶=𝑘𝑗0𝑘,𝑗𝑁,𝑎𝑘𝑗=𝐷(5)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)𝑃,𝑘=0,1,,𝑁5,𝑗=0,1,,𝑁,(𝛼,𝛽)𝐿,𝑗𝐷(0),𝑘=𝑁4,𝑗=0,1,,𝑁,(1)𝑃(𝛼,𝛽)𝐿,𝑗𝐷(0),𝑘=𝑁3,𝑗=0,1,,𝑁,(2)𝑃(𝛼,𝛽)𝐿,𝑗𝑃(0),𝑘=𝑁2,𝑗=0,1,,𝑁,(𝛼,𝛽)𝐿,𝑗(𝐷𝐿),𝑘=𝑁1,𝑗=0,1,,𝑁,(1)𝑃(𝛼,𝛽)𝐿,𝑗𝑏(𝐿),𝑘=𝑁,𝑗=0,1,,𝑁,𝑖𝑘𝑗=𝐷(𝑖)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)𝑐,𝑘=0,1,,𝑁5,𝑗=0,1,,𝑁,𝑖=1,2,3,4,0,otherwise,𝑘𝑗=𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑘=0,1,,𝑁5,𝑗=0,1,,𝑁,0,otherwise.(3.8)

Then, recalling (2.6) and (2.12) and making use of the orthogonality relation of shifted Jacobi polynomials (2.7), and after performing some rather calculations, the nonzero elements of 𝑎𝑘𝑗,𝑏𝑖𝑘𝑗 and 𝑐𝑘𝑗 for 0𝑘,𝑗𝑁 are given by𝑎𝑘𝑗=𝐶5(𝑗,𝑘,𝛼,𝛽)(𝛼,𝛽)𝐿,𝑘,𝑘=0,1,,𝑁5,𝑗=5,6,,𝑁,(1)𝑗Γ(𝑗+𝛽+1)𝑗!Γ(𝛽+1),𝑘=𝑁4,𝑗=0,1,,𝑁,(1)𝑗1(𝑗+𝛼+𝛽+1)Γ(𝑗+𝛽+1)𝐿(𝑗1)!Γ(𝛽+2),𝑘=𝑁3,𝑗=1,2,,𝑁,(1)𝑗2(𝑗+𝛼+𝛽+1)2Γ(𝑗+𝛽+1)𝐿2(𝑗2)!Γ(𝛽+3),𝑘=𝑁2,𝑗=2,3,,𝑁,Γ(𝑗+𝛼+1)(𝑗!Γ(𝛼+1),𝑘=𝑁1,𝑗=0,1,,𝑁,𝑗+𝛼+𝛽+1)Γ(𝑗+𝛼+1)𝑏𝐿(𝑗1)!Γ(𝛼+2),𝑘=𝑁,𝑗=1,2,,𝑁,𝑖𝑘𝑗=𝐶𝑖(𝑗,𝑘,𝛼,𝛽)(𝛼,𝛽)𝐿,𝑘𝑐,𝑘=0,1,,𝑁5,𝑗=𝑖,𝑖+1,,𝑁,𝑖=1,2,3,4,𝑘𝑗=(𝛼,𝛽)𝐿,𝑘,𝑘=𝑗=0,1,,𝑁5,(3.9) and consequently, (3.6) may be put in the form𝐴+4𝑖=1𝛾𝑖𝐵𝑖+𝛾5𝐶𝐚=𝐟.(3.10)

4. Fifth-Order BVPs with Variable Coefficients

In this section, we use the pseudospectral shifted Jacobi tau (P-SJT) method to numerically solve the following fifth-order boundary value problem with variable coefficients𝐷(5)𝑢(𝑥)+4𝑖=1𝛾𝑖(𝑥)𝐷(𝑖)𝑢(𝑥)+𝛾5(𝑥)𝑢(𝑥)=𝑓(𝑥),𝑥𝐼,𝑢(0)=𝛼0,𝑢(1)(0)=𝛼1,𝑢(2)(0)=𝛼2,𝑢(𝐿)=𝛽1,𝑢(1)(𝐿)=𝛽1.(4.1)

We define the discrete inner product and norm as follows:(𝑢,𝑣)𝑤𝐿(𝛼,𝛽),𝑁=𝑁𝑗=0𝑢𝑥(𝛼,𝛽)𝐿,𝑁,𝑗𝑣𝑥(𝛼,𝛽)𝐿,𝑁,𝑗𝜛(𝛼,𝛽)𝐿,𝑁,𝑗,𝑢𝑤𝐿(𝛼,𝛽),𝑁=(𝑢,𝑢)𝑤𝐿(𝛼,𝛽),𝑁,(4.2) where 𝑥(𝛼,𝛽)𝐿,𝑁,𝑗 and 𝜛(𝛼,𝛽)𝐿,𝑁,𝑗 are the nodes and the corresponding weights of shifted Jacobi-Gauss-quadrature formula on the interval (0,𝐿), respectively.

Obviously,(𝑢,𝑣)𝑤𝐿(𝛼,𝛽),𝑁=(𝑢,v)𝑤𝐿(𝛼,𝛽),𝑢,𝑣𝑆2𝑁1.(4.3) Thus, for any 𝑢𝑆𝑁(0,𝐿), the norms 𝑢𝑤𝐿(𝛼,𝛽),𝑁 and 𝑢𝑤𝐿(𝛼,𝛽) coincide.

The pseudospectral tau method for (4.1) is to find 𝑢𝑁𝑆𝑁(0,𝐿) such that𝐷(5)𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽)+4𝑖=1𝛾𝑖(𝑥)𝐷(𝑖)𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑁+𝛾5(𝑥)𝑢𝑁,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑁=𝑓,𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑁,𝑘=0,1,,𝑁5,(4.4) where (𝑢,𝑣)𝑤𝐿(𝛼,𝛽),𝑁 is the discrete inner product of 𝑢 and 𝑣 associated with the shifted Jacobi-Gauss quadrature, and the boundary conditions can easily be treated as in (3.7).

Hence, by setting𝑢𝑁(𝑥)=𝑁𝑗=0̃𝑎𝑗𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝐚=̃𝑎0,̃𝑎1,,̃𝑎𝑁𝑇,𝑓𝑘=𝑓,𝑃(𝛼,𝛽)𝐿,𝑘𝑤𝐿(𝛼,𝛽),𝑁,𝑘=0,1,,𝑁5,𝑓𝐟=0,𝑓1𝑓,,𝑁5,𝛼0,𝛼1,𝛼2,𝛽0,𝛽1𝑇,̃𝑏𝑖𝑘𝑗=𝛾𝑖(𝑥)𝐷(𝑖)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑁,𝑘=0,1,,𝑁5,𝑗=0,1,,𝑁,𝑖=1,2,3,4,0,otherwise,̃𝑐𝑘𝑗=𝛾5(𝑥)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑃(𝛼,𝛽)𝐿,𝑘(𝑥)𝑤𝐿(𝛼,𝛽),𝑁𝐵,𝑘=0,1,,𝑁5,𝑗=0,1,,𝑁,0,otherwise,𝑖=̃𝑏𝑖𝑘𝑗,𝐶=̃𝑐𝑘𝑗,0𝑘,𝑗𝑁,𝑖=1,2,3,4,(4.5) then (4.4) and (3.7) may be put in the following matrix form𝐴+4𝑖=1𝛾𝑖𝐵𝑖+𝛾5𝐶𝐚=𝐟,(4.6) where the matrix 𝐴 is defined as in (3.10).

5. Nonlinear Fifth-Order BVPs

In this section, we are interested in solving numerically the nonlinear fifth-order boundary value problem𝐷(5)𝑢(𝑥)=𝐹𝑥,𝑢(𝑥),𝐷(1)𝑢(𝑥),𝐷(2)𝑢(𝑥),𝐷(3)𝑢(𝑥),𝐷(4),𝑢(𝑥)(5.1) with boundary conditions𝑢(0)=𝛼0,𝑢(1)(0)=𝛼1,𝑢(2)(0)=𝛼2,𝑢(𝐿)=𝛽1,𝑢(1)(𝐿)=𝛽1.(5.2) It is well known that one can convert (5.1) with its boundary conditions (5.2) into a fifth-order system of first-order boundary value problems. Methods to solve such system are simply generalizations of the methods for a single first-order equation, for example, the classical Runge-Kutta of order four. Another alternative spectral method is to use the shifted Jacobi collocation method. Let𝑢𝑁(𝑥)=𝑁𝑗=0𝑏𝑗𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),(5.3) then, making use of formula (2.12), one can express explicitly the derivatives 𝐷(𝑖)𝑢(𝑥),(𝑖=0,1,2,3,4) in terms of the expansion coefficients 𝑏𝑗. The criterion of spectral shifted Jacobi collocation method for solving approximately (5.1)–(5.2) is to find 𝑢𝑁(𝑥)𝑆𝑁(0,𝐿) such that𝐷(5)𝑢𝑁(𝑥)=𝐹𝑥,𝑢𝑁(𝑥),𝐷(1)𝑢𝑁(𝑥),𝐷(2)𝑢𝑁(𝑥),𝐷(3)𝑢𝑁(𝑥),𝐷(4)𝑢𝑁,(𝑥)(5.4) is satisfied exactly at the collocation points 𝑥(𝛼,𝛽)𝐿,𝑁,𝑘,𝑘=0,1,,𝑁5. In other words, we have to collocate (5.4) at the (𝑁4) shifted Jacobi roots 𝑥(𝛼,𝛽)𝐿,𝑁,𝑘, which immediately yields𝑁𝑗=0𝑏𝑗𝐷(5)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥)=𝐹𝑥,𝑁𝑗=0𝑏𝑗𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑁𝑗=0𝑏𝑗𝐷(1)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑁𝑗=0𝑏𝑗𝐷(2)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑁𝑗=0𝑏𝑗𝐷(3)𝑃(𝛼,𝛽)𝐿,𝑗(𝑥),𝑁𝑗=0𝑏𝑗𝐷(4)𝑃(𝛼,𝛽)𝐿,𝑗,(𝑥)(5.5) with the boundary conditions (5.2) written in the form𝑁𝑗=0𝑏𝑗𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼0,𝑁𝑗=1𝑏𝑗𝐷(1)𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼1,𝑁𝑗=2𝑏𝑗𝐷(2)𝑃(𝛼,𝛽)𝐿,𝑗(0)=𝛼2,𝑁𝑗=0𝑏𝑗𝑃(𝛼,𝛽)𝐿,𝑗(𝐿)=𝛽0,𝑁𝑗=1𝑏𝑗𝐷(1)𝑃(𝛼,𝛽)𝐿,𝑗(𝐿)=𝛽1.(5.6) This forms a system of (𝑁+1) nonlinear algebraic equations in the unknown expansion coefficients 𝑏𝑗(𝑗=0,1,,𝑁), which can be solved by using any standard iteration technique, like Newton's iteration method. For more detail, see [21] for the numerical solution of nonlinear third-order differential equation using Jacobi-Gauss collocation method.

6. Numerical Results

In this section, we apply shifted Jacobi tau (SJT) method for solving the fifth-order boundary value problems. Numerical results are very encouraging. For the purpose of comparison, we took the same examples as used in [6, 7, 3134].

Example 6.1. Consider the following linear boundary value problem of fifth-order (see [6, 7, 3134]) 𝑢(5)(𝑥)𝑢(𝑥)=𝑓(𝑥),(6.1) with boundary conditions 𝑢(0)=0,𝑢(1)(0)=1,𝑢(2)(0)=0,𝑢(1)=0,𝑢(1)(1)=𝑒,(6.2) where 𝑓 is selected such that exact solution is 𝑢(𝑥)=𝑥(1𝑥)𝑒𝑥.(6.3)

Table 1 shows the absolute errors obtained by using the shifted Jacobi tau (SJT) method, the variational iteration method using He's polynomials (VIMHP) [34], homotopy perturbation method (HPM) [31], variational iteration method (VIM) [32], decomposition method (ADM) [7], the sixth-degree B-spline method [6], and iterative method (ITM) [33] for 𝑥=0.0(0.2)1.0. The numerical results show that SJT method is more accurate than the existing methods for all 𝛼,𝛽>1.

Example 6.2. Consider the following nonlinear boundary value problem of fifth-order (see [6, 7, 3134]) 𝑢(5)(𝑥)=𝑒𝑥𝑦2(𝑥),(6.4) with boundary conditions 𝑢(0)=0=𝑢(1)(0)=𝑢(2)(0)=1;𝑢(1)=𝑢(1)(1)=𝑒.(6.5) The analytic solution for this problem is 𝑢(𝑥)=𝑒𝑥.(6.6)

In Table 2, we list the results obtained by using the shifted Jacobi collocation (SJC) method with three choices of 𝛼,𝛽 and one choice of 𝑁(𝑁=14), and we compare our results with variational iteration method using He's polynomials (VIMHP) [34], homotopy perturbation method (HPM) [31], variational iteration method (VIM) [32], decomposition method (ADM) [7], the sixth degree B-spline method [6] and iterative method (ITM) [33], respectively at 𝑥=0.0(0.2)1.0. As we see from this Table, it is clear that the results obtained by the present method are superior to those obtained by the numerical methods given in [6, 7, 3134].

7. Conclusion

In this paper, we have presented some efficient direct solvers for the general fifth-order BVPs by using Jacobi-tau approximation. Moreover, we developed a new approach implementing shifted Jacobi tau method in combination with the shifted Jacobi collocation technique for the numerical solution of fifth-order BVPs with variable coefficients. Furthermore, we proposed a numerical algorithm to solve the general nonlinear fifth-order differential equations by using Gauss-collocation points and approximating directly the solution using the shifted Jacobi polynomials. The numerical results in this paper demonstrate the high accuracy of these algorithms.

Acknowledgments

The authors are very grateful to the referees for carefully reading the paper and for their comments and suggestions which have improved the paper.