# Spectral Shifted Jacobi Tau and Collocation Methods for Solving Fifth-Order Boundary Value Problems

Authors: A. H. Bhrawy; A. S. Alofi; S. I. El-Soubhy
Journal: Abstract and Applied Analysis
 (2011)

---

## 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.


---

## Body

## 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., [1–4]). 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 [8–12], 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., [16–18]) 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, [23–25]). 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 uN(x) of an equation on the interval (0,L) is represented as a finite series uN(x)=∑j=0Najϕj(x), where the ϕj(x) are global (base) functions on (0,L). The coefficients aj are the unknown one solves for. One characteristic of the tau method is that the expansion functions ϕj(x) 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,L), we propose the spectral shifted Jacobi collocation (SJC) method to find the solution uN(x). The nonlinear BVP is collocated only at the (N-4) points. For suitable collocation points, we use the (N-4) nodes of the shifted Jacobi-Gauss interpolation on (0,L). These equations together with five boundary conditions generate (N+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 Section2, 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

Letw(α,β)(x)=(1-x)α(1+x)β be a weight function in the usual sense for α,β>-1. The set of Jacobi polynomials {Pk(α,β)(x)}k=0∞ forms a complete Lw(α,β)2(-1,1)-orthogonal system, and(2.1)‖Pk(α,β)‖w(α,β)2=hk(α,β)=2α+β+1Γ(k+α+1)Γ(k+β+1)(2k+α+β+1)Γ(k+1)Γ(k+α+β+1).
Here, Lw(α,β)2(-1,1) is a weighted space defined by (2.2)Lw(α,β)2(-1,1)={v:vis measurable and‖v‖w(α,β)<∞},
equipped with the norm (2.3)‖v‖w(α,β)=(∫-11|v(x)|2w(α,β)dx)1/2,
and the inner product (2.4)(u,v)w(α,β)=∫-11u(x)v(x)w(α,β)(x)dx,∀u,v∈Lw(α,β)2(-1,1).It is well known that(2.5)Pk(α,β)(-x)=(-1)kPk(β,α)(x),Pk(α,β)(-1)=(-1)kΓ(k+β+1)k!Γ(β+1),Pk(α,β)(1)=Γ(k+α+1)k!Γ(α+1),DmPk(α,β)(x)=2-mΓ(m+k+α+β+1)Γ(k+α+β+1)Pk-m(α+m,β+m)(x).
If we define the shifted Jacobi polynomial of degree k by PL,k(α,β)(x)=Pk(α,β)(2x/L)-1, L>0, and in virtue of (2.5), then it can easily be shown that(2.6)DqPL,k(α,β)(0)=(-1)k-qΓ(k+β+1)(k+α+β+1)qLqΓ(k-q+1)Γ(q+β+1),DqPL,k(α,β)(L)=Γ(k+α+1)(k+α+β+1)qLqΓ(k-q+1)Γ(q+α+1).Now, letwL(α,β)(x)=(L-x)αxβ. The set of shifted Jacobi polynomials {PL,k(α,β)(x)}k=0∞ forms a complete LwL(α,β)2(0,L)-orthogonal system. Moreover, and due to (2.1), we get(2.7)‖PL,k(α,β)‖wL(α,β)2=(L2)α+β+1hk(α,β)=hL,k(α,β),
where LwL(α,β)2(0,L) is a weighted space defined by (2.8)LwL(α,β)2(0,L)={v:vis measurable and‖v‖wL(α,β)<∞},
equipped with the norm (2.9)‖v‖wL(α,β)=(∫0L|v(x)|2wL(α,β)dx)1/2,
and the inner product (2.10)(u,v)wL(α,β)=∫0Lu(x)v(x)wL(α,β)(x)dx,∀u,v∈LwL(α,β)2(0,L).
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 byxN,j(α,β),0⩽j⩽N the nodes of the standard Jacobi-Gauss interpolation on the interval (-1,1). Their corresponding Christoffel numbers are ϖN,j(α,β),0⩽j⩽N. The nodes of the shifted Jacobi-Gauss interpolation on the interval (0,L) are the zeros of PL,N+1(α,β)(x), which are denoted by xL,N,j(α,β),0⩽j⩽N. It is clear that xL,N,j(α,β)=(L/2)(xN,j(α,β)+1), and their corresponding Christoffel numbers are ϖL,N,j(α,β)=(L/2)α+β+1ϖN,j(α,β),0⩽j⩽N.LetSN(0,L) be the set of polynomials of degree at most N. Regarding, to the property of the standard Jacobi-Gauss quadrature, then it can be easily shown that for any ϕ∈S2N+1(0,L),(2.11)∫0L(L-x)αxβϕ(x)dx=(L2)α+β+1∫-11(1-x)α(1+x)βϕ(L2(x+1))dx=(L2)α+β+1∑j=0NϖN,j(α,β)ϕ(L2(xN,j(α,β)+1))=∑j=0NϖL,N,j(α,β)ϕ(xL,N,j(α,β)).Theqth derivative of shifted Jacobi polynomial can be written in terms of the shifted Jacobi polynomials themselves as (see, Doha [29])(2.12)DqPL,k(α,β)(x)=∑i=0k-qCq(k,i,α,β)PL,i(α,β)(x),
where(2.13)Cq(k,i,α,β)=(k+λ)q(k+λ+q)i(i+α+q+1)k-i-qΓ(i+λ)Lq(k-i-q)!Γ(2i+λ)×3F2(-k+i+q,k+i+λ+q,i+α+1;1i+α+q+1,2i+λ+1).
For the general definition of a generalized hypergeometric series and special 3F2, 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(3.1)D(5)u(x)+∑i=14γiD(i)u(x)+γ5u(x)=f(x),inI=(0,L),
with boundary conditions (3.2)u(0)=α0,u(1)(0)=α1,u(2)(0)=α2,u(L)=β1,u(1)(L)=β1,
where (γi,i=1,2,…,5), α0, α1, α2, β0, and β1 are real constants, and f(x) is a given source function.Let us first introduce some basic notation that will be used in this section. We set(3.3)SN(0,L)=span⁡{PL,0(α,β)(x),PL,1(α,β)(x),…,PL,N(α,β)(x)},
then the shifted Jacobi-tau approximation to (3.1) is to find uN∈SN(0,L) such that(3.4)(D(5)uN,PL,k(α,β)(x))wL(α,β)+∑i=14γi(D(i)uN,PL,k(α,β)(x))wL(α,β)+γ5(uN,PL,k(α,β)(x))wL(α,β)=(f,PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,u(0)=α0,u(1)(0)=α1,u(2)(0)=α2,u(L)=β1,u(1)(L)=β1.If we assume that(3.5)un(x)=∑j=0NajPL,j(α,β)(x),a=(a0,a1,…,aN)T,fk=(f,PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,f=(f0,f1,…,fN-5,α0,α1,α2,β0,β1),
then (3.4) with its boundary conditions give(3.6)∑j=0Naj[(D(5)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β)+∑i=14γi(D(i)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β)+γ5(PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β)]=(f,PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,(3.7)∑j=0NajPL,j(α,β)(0)=α0,∑j=0NajD(1)PL,j(α,β)(0)=α1,∑j=0NajD(2)PL,j(α,β)(0)=α2,∑j=0NajPL,j(α,β)(L)=β0,∑j=0NajD(1)PL,j(α,β)(L)=β1.
Now, let us denote(3.8)A=(akj)0≤k,j≤N,Bi=(bkji)0≤k,j≤N,i=1,2,3,4,C=(ckj)0≤k,j≤N,akj={(D(5)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,j=0,1,…,N,PL,j(α,β)(0),k=N-4,j=0,1,…,N,D(1)PL,j(α,β)(0),k=N-3,j=0,1,…,N,D(2)PL,j(α,β)(0),k=N-2,j=0,1,…,N,PL,j(α,β)(L),k=N-1,j=0,1,…,N,D(1)PL,j(α,β)(L),k=N,j=0,1,…,N,bkji={(D(i)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,j=0,1,…,N,i=1,2,3,4,0,otherwise,ckj={(PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β),k=0,1,…,N-5,j=0,1,…,N,0,otherwise.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 akj,bkji and ckj for 0≤k,j≤N are given by(3.9)akj={C5(j,k,α,β)hL,k(α,β),k=0,1,…,N-5,j=5,6,…,N,(-1)jΓ(j+β+1)j!Γ(β+1),k=N-4,j=0,1,…,N,(-1)j-1(j+α+β+1)Γ(j+β+1)L(j-1)!Γ(β+2),k=N-3,j=1,2,…,N,(-1)j-2(j+α+β+1)2Γ(j+β+1)L2(j-2)!Γ(β+3),k=N-2,j=2,3,…,N,Γ(j+α+1)j!Γ(α+1),k=N-1,j=0,1,…,N,(j+α+β+1)Γ(j+α+1)L(j-1)!Γ(α+2),k=N,j=1,2,…,N,bkji=Ci(j,k,α,β)hL,k(α,β),k=0,1,…,N-5,j=i,i+1,…,N,i=1,2,3,4,ckj=hL,k(α,β),k=j=0,1,…,N-5,
and consequently, (3.6) may be put in the form(3.10)(A+∑i=14γiBi+γ5C)a=f.


## 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(4.1)D(5)u(x)+∑i=14γi(x)D(i)u(x)+γ5(x)u(x)=f(x),x∈I,u(0)=α0,u(1)(0)=α1,u(2)(0)=α2,u(L)=β1,u(1)(L)=β1.We define the discrete inner product and norm as follows:(4.2)(u,v)wL(α,β),N=∑j=0Nu(xL,N,j(α,β))v(xL,N,j(α,β))ϖL,N,j(α,β),‖u‖wL(α,β),N=(u,u)wL(α,β),N,
where xL,N,j(α,β) and ϖL,N,j(α,β) are the nodes and the corresponding weights of shifted Jacobi-Gauss-quadrature formula on the interval (0,L), respectively.Obviously,(4.3)(u,v)wL(α,β),N=(u,v)wL(α,β),∀u,v∈S2N-1.
Thus, for any u∈SN(0,L), the norms ∥u∥wL(α,β),N and ∥u∥wL(α,β) coincide.The pseudospectral tau method for (4.1) is to find uN∈SN(0,L) such that(4.4)(D(5)uN,PL,k(α,β)(x))wL(α,β)+∑i=14(γi(x)D(i)uN,PL,k(α,β)(x))wL(α,β),N+(γ5(x)uN,PL,k(α,β)(x))wL(α,β),N=(f,PL,k(α,β)(x))wL(α,β),N,k=0,1,…,N-5,
where (u,v)wL(α,β),N is the discrete inner product of u and v associated with the shifted Jacobi-Gauss quadrature, and the boundary conditions can easily be treated as in (3.7).Hence, by setting(4.5)uN(x)=∑j=0NãjPL,j(α,β)(x),a¯=(ã0,ã1,…,ãN)T,f̃k=(f,PL,k(α,β))wL(α,β),N,k=0,1,…,N-5,f¯=(f̃0,f̃1,…,f̃N-5,α0,α1,α2,β0,β1)T,b̃kji={(γi(x)D(i)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β),N,k=0,1,…,N-5,j=0,1,…,N,i=1,2,3,4,0,otherwise,c̃kj={(γ5(x)PL,j(α,β)(x),PL,k(α,β)(x))wL(α,β),N,k=0,1,…,N-5,j=0,1,…,N,0,otherwise,Bĩ=(b̃kji),C̃=(c̃kj),0≤k,j≤N,i=1,2,3,4,
then (4.4) and (3.7) may be put in the following matrix form(4.6)(A+∑i=14γiBĩ+γ5C̃)a¯=f¯,
where the matrix A 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)D(5)u(x)=F(x,u(x),D(1)u(x),D(2)u(x),D(3)u(x),D(4)u(x)),
with boundary conditions(5.2)u(0)=α0,u(1)(0)=α1,u(2)(0)=α2,u(L)=β1,u(1)(L)=β1.
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(5.3)uN(x)=∑j=0NbjPL,j(α,β)(x),
then, making use of formula (2.12), one can express explicitly the derivatives D(i)u(x),(i=0,1,2,3,4) in terms of the expansion coefficients bj. The criterion of spectral shifted Jacobi collocation method for solving approximately (5.1)–(5.2) is to find uN(x)∈SN(0,L) such that(5.4)D(5)uN(x)=F(x,uN(x),D(1)uN(x),D(2)uN(x),D(3)uN(x),D(4)uN(x)),
is satisfied exactly at the collocation points xL,N,k(α,β),k=0,1,…,N-5. In other words, we have to collocate (5.4) at the (N-4) shifted Jacobi roots xL,N,k(α,β), which immediately yields(5.5)∑j=0NbjD(5)PL,j(α,β)(x)=F(x,∑j=0NbjPL,j(α,β)(x),∑j=0NbjD(1)PL,j(α,β)(x),∑j=0NbjD(2)PL,j(α,β)(x),∑j=0NbjD(3)PL,j(α,β)(x),∑j=0NbjD(4)PL,j(α,β)(x)),
with the boundary conditions (5.2) written in the form(5.6)∑j=0NbjPL,j(α,β)(0)=α0,∑j=1NbjD(1)PL,j(α,β)(0)=α1,∑j=2NbjD(2)PL,j(α,β)(0)=α2,∑j=0NbjPL,j(α,β)(L)=β0,∑j=1NbjD(1)PL,j(α,β)(L)=β1.
This forms a system of (N+1) nonlinear algebraic equations in the unknown expansion coefficients bj(j=0,1,…,N), 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, 31–34].Example 6.1.
Consider the following linear boundary value problem of fifth-order (see [6, 7, 31–34])
(6.1)u(5)(x)-u(x)=f(x),
with boundary conditions
(6.2)u(0)=0,u(1)(0)=1,u(2)(0)=0,u(1)=0,u(1)(1)=-e,
where f is selected such that exact solution is
(6.3)u(x)=x(1-x)ex.Table1 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 x=0.0(0.2)1.0. The numerical results show that SJT method is more accurate than the existing methods for all α,β>-1.Table 1
Absolute errors using SJT method forN=14.
xαβSJT methodVIMHPB-splineVIMADMITMHPM-12-123.1·10-150.0002.0·10-160.0000.0000.0000.0000.0000.00012129.1·10-15-12-121.9·10-150.2002.5·10-162.0·10-101.2·10-32.0·10-102.0·10-102.0·10-102.0·10-1012128.2·10-15-12-121.7·10-160.4001.6·10-158.0·10-103.0·10-38.0·10-108.0·10-108.0·10-108.0·10-1012125.4·10-15-12-123.5·10-160.6002.9·10-152.0·10-96.0·10-32.0·10-92.0·10-92.0·10-92.0·10-912121.3·10-15-12-121.3·10-150.8004.3·10-151.9·10-99.0·10-31.9·10-91.9·10-91.9·10-91.9·10-912122.7·10-15-12-123.5·10-151.0004.8·10-150.0000.0000.0000.0000.0000.00012125.0·10-15Example 6.2.
Consider the following nonlinear boundary value problem of fifth-order (see [6, 7, 31–34])
(6.4)u(5)(x)=e-xy2(x),
with boundary conditions
(6.5)u(0)=0=u(1)(0)=u(2)(0)=1;u(1)=u(1)(1)=e.
The analytic solution for this problem is
(6.6)u(x)=ex.In Table2, we list the results obtained by using the shifted Jacobi collocation (SJC) method with three choices of α,β and one choice of N(N=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 x=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, 31–34].Table 2
Absolute errors using SJC method forN=14.
xαβSJC methodVIMHPB-splineVIMADMITMHPM-12-127.0·10-170.0006.2·10-170.0000.0000.0000.0000.0000.00012125.5·10-17-12-122.2·10-160.2002.2·10-162.0·10-97.2·10-42.0·10-92.0·10-92.0·10-92.0·10-912122.2·10-16-12-1200.4002.2·10-162.0·10-84.6·10-42.0·10-82.0·10-82.0·10-82.0·10-812124.4·10-16-12-122.2·10-160.6004.4·10-163.7·10-84.8·10-43.7·10-83.7·10-83.7·10-83.7·10-812122.2·10-16-12-124.4·10-160.8004.4·10-153.1·10-83.1·10-43.1·10-83.1·10-83.1·10-83.1·10-812124.4·10-16-12-128.8·10-161.00000.0000.0000.0000.0000.0000.00012120


## 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.



---

*Source: 823273-2011-07-06.xml*