#### Abstract

A formulation for the fractional Legendre functions is constructed to find the solution of the fractional Riccati equation. The fractional derivative is described in the Caputo sense. The method is based on the Tau Legendre and path following methods. Theoretical and numerical results are presented. Analysis for the presented method is given.

#### 1. Introduction

Recently, many papers on fractional boundary value problems have been studied extensively. Several forms of them have been proposed in standard models, and there has been significant interest in developing numerical schemes for their solutions. Several numerical techniques are used to solve such problems such as Laplace and Fourier transforms [1, 2], Adomian decomposition and variational iteration methods [3, 4], eigenvector expansion , differential transform and finite differences methods [6, 7], power series method , collocation method , and wavelet method [10, 11]. Many applications of fractional calculus on various branches of science such as engineering, physics, and economics can be found in [12, 13]. Considerable attention has been given to the theory of fractional ordinary differential equations and integral equations [14, 15]. Additionally, the existence of solutions of ordinary and fractional boundary value problems using monotone iterative sequences has been investigated by several authors .

We consider the Riccati equation with fractional orders of the form where , and are continuous functions on and   is a constant.

Riccati equation with fractional order has been discussed by many researchers using different techniques such as collocation method based on Muntz polynomials , homotopy perturbation method , and series solution method .

In this paper we study the Tau-path following method for solving the Riccati equation with fractional order. We organize this paper as follows. In Section 2, we present basic definitions and results of fractional derivatives. We extend basic results to path following method for the fractional case. In Section 3, we introduce the fractional-order Legendre Tau method with path following method for solving the Riccati equation with fractional order. In Section 4, we present some numerical results to illustrate the efficiency of the presented method. Finally, we conclude with some comments in the last section.

#### 2. Preliminaries

In this section, we review the definition and some preliminary results of the Caputo fractional derivatives, as well as, the definition of the fractional-order Legendre functions and their properties.

Definition 1. The Riemann-Liouville fractional integral operator of order on the usual Lebesgue space is given by where is the Euler Gamma function, see [12, 24].

For any , and , the following properties hold:(1) exists for any ,(2), (3) , (4).

Definition 2. The Caputo fractional derivative of order is defined by provided that the integral exists, where and is the integer part of the positive real number .

The Caputo fractional derivative satisfies the following properties for and :(1), (2), (3), (4), where is constant,(5), (6), where are constants.

The basic concept of this paper is the Legendre polynomials. For this reason, we study some of their properties.

Definition 3. The Legendre polynomials are the eigenfunctions of the Sturm-Liouville problem

Among the properties of the Legendre polynomials we list the following properties:(1), where ,(2), for ,(3).

In order to use these polynomials on the interval , we define the shifted Legendre polynomials by . Using the change of variable , has the following properties:(1), (2), for ,(3) and .

The analytic closed form of the shifted Legendre polynomials of degree is given by

One of the common and efficient methods for solving fractional differential equations of order is using the series expansion of the form . For this reason, we define the fractional-order Legendre function by . Using the properties of the shifted Legendre polynomials and the change of variable , it is easy to show that(1), (2), for ,(3) and ,(4) and .

In addition, are orthogonal functions with respect to the weight function on with

The closed form of is given by

Using properties (4) and (5) of the Caputo fractional derivative, one can see that

In the next theorem, we state one of the main properties of the fractional Legendre functions which will be used later in this paper.

Theorem 4. For any nonnegative integers and , where

Proof. For any nonnegative integers and , where
For the proof of this case, see . Using the change of variables and , we obtain the result of the theorem.

Another important result which will facilitate applying the Tau method for fractional case is given in Theorem 5.

Theorem 5. Let and be a piecewise continuous function on . Then, can be written in the infinite expansion as , where and .

Proof. If and is a piecewise continuous function on ,  converges uniformly to on , see . Let by Since is a bijective continuous function, converges uniformly to on . The value of follows from the orthogonality relation of with respect to the weight function on
Theorem 6 gives the relation between the coefficient of the series solution of and the coefficients of the series expansion of .

Theorem 6. Let and be a piecewise continuous function on . Then, converges uniformly on to , where

Proof. Let for . From Theorem 5, converges uniformly to on Since and is a piecewise continuous function on , and converges uniformly to on . Thus, converges uniformly to on which gives the result of the theorem. The value of follows from the orthogonality relation of with respect to the weight function on .

#### 3. Fractional-Order Legendre Tau-Path Following Method

In this section, we present a numerical method for solving problem (1)-(2). We use the fractional-order Legendre Tau method to discretize problem (1)-(2). The result is a nonlinear system. The initial guess that is used in the standard methods for solving the produced nonlinear system is one of the challenges. To overcome this problem, we use the path following method. Approximate the solution , , , , and in terms of the fractional-order Legendre functions as follows: Thus, can be approximated by where is given by Theorem 6. For , the residual is given by which can be written as or where for , and for . Using Theorem 4, we can rewrite the residual as Since we are interested in the first terms only, we ignore higher order terms and we rewrite the residual as Orthogonalize the residual with respect to the fractional-order Legendre function as follows where . Therefore, (25) leads to the elementwise equation Therefore, we can write (26) as a system of nonlinear equations in unknowns as where , and means the transpose of the matrix.

From the initial condition (2), one can see that or where . From systems (27) and (29), we obtain a system of nonlinear equations in unknowns where by and .

The standard methods for solving system (30), such as secant method and Newton method, need a good initial guess which is not available. To overcome this problem, we look for another method which does not depend on the initial guess. The promise technique is the path following method which is described as follows. From (23), we can see that the function is the sum of three terms. Two of them are linear systems which are and . The third term is nonlinear system which is Thus, we can rewrite as where and are two matrices and is a nonlinear function of Hence, system (30) can be written as where is matrix and is a nonlinear function of given by . Define the function by Thus, satisfies the following properties(1), (2), (3).

It is worth to mention that is a nonsingular matrix since is the system produced by the following problem: which has a unique solution. Hence, it follows from the implicit function theorem that there is a smooth curve for some open interval containing zero such that , and for all . Consider the solution (parametrized for convenience with respect to arc length) such that . The solution curve should be either diffeomorphic to the circle or to the real line. Since the solution point is unique for , it follows that cannot be closed, and hence, it is diffeomorphic to the real line. Since is a smooth curve, is bounded for Moreover, the curve reaches the level after a finite arc length . This means, , and hence, is the zero of . Thus, we can take . For more details about the proof, . To apply path following method numerically, we differentiate (36) to get which implies that is orthogonal to all rows of Thus, for all ,(1), (2), where is the Euclidean norm,(3).

We use the predictor-corrector method to numerically trace the curve . The predictor step is the Euler-predictor which is given by where is a point along the curve , and is a fixed step size. The corrector step is the Gauss-Newton corrector which is given by where . For more details, see . Thus, we will start from and then generate the sequence We stop our procedure at when the last component of and the last component of We can write as . Thus, will be the approximate solution to the system (33).

#### 4. Numerical Results

In this section, we implement the Tau-Path following method to the nonlinear fractional Riccati differential equations. Two examples of nonlinear fractional Riccati differential equations are solved to show the efficiency of the presented method.

Example 7. Consider the following initial value problem :
The matrices in (33) are
It is easy to see that which means is nonsingular. Define the error by
Then, the absolute maximum of the error for different values of are given in Table 1 for .
The exact solution when is . The graphs of the approximate solution when and the graph of the exact solution when are given in Figure 1.

Example 8. Consider the following initial value problem :
The matrices in (33) are
It is easy to see that which means is nonsingular. Define the error by
Then, the absolute maximum of the error for different values of is given in Table 2 for .
The exact solution when is where is the Bessel function of first kind. The graphs of the approximate solution when and the exact solution when are given in Figure 2.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors would like to express their appreciation for the valuable comments of the reviewers. The authors also would like to express their sincere appreciation to United Arab Emirates University for the financial support of Grant no. COS/IRG-15/14.