Combined Fractional Variational Problems of Variable Order and Some Computational Aspects
Dina Tavares, Ricardo Almeida, Delfim F. M. Torres

TL;DR
This paper extends fractional variational calculus to include higher-order derivatives and time delays, deriving new optimality conditions and demonstrating computational methods with Chebfun.
Contribution
It introduces generalized fractional variational problems with variable order derivatives and delays, providing new theoretical optimality conditions and computational approaches.
Findings
Derived higher-order integration by parts formula for variable order Caputo derivatives
Established necessary optimality and transversality conditions for delayed functionals
Illustrated results with examples and computational methods using Chebfun
Abstract
We study two generalizations of fractional variational problems by considering higher-order derivatives and a state time delay. We prove a higher-order integration by parts formula involving a Caputo fractional derivative of variable order and we establish several necessary optimality conditions for functionals containing a combined Caputo derivative of variable fractional order. Because the endpoint is considered to be free, we also deduce associated transversality conditions. In the end, we consider functionals with a time delay and deduce corresponding optimality conditions. Some examples are given to illustrate the new results. Computational aspects are discussed using the open source software package Chebfun.
| Exact Value | Approximation | Error | |
|---|---|---|---|
| 0.1 | 1.019223177296953e-04 | 1.019223177296974e-04 | -2.046431600566390e-18 |
| 0.2 | 0.001702793965464 | 0.001702793965464 | -2.168404344971009e-18 |
| 0.3 | 0.009148530806348 | 0.009148530806348 | 3.469446951953614e-18 |
| 0.4 | 0.031052290994593 | 0.031052290994592 | 9.089951014118469e-16 |
| 0.5 | 0.082132144921157 | 0.082132144921157 | 6.522560269672795e-16 |
| 0.6 | 0.185651036003120 | 0.185651036003112 | 7.938094626069869e-15 |
| 0.7 | 0.376408251363662 | 0.376408251357416 | 6.246059225389899e-12 |
| 0.8 | 0.704111480975332 | 0.704111480816562 | 1.587694420379648e-10 |
| 0.9 | 1.236753486749357 | 1.236753486514274 | 2.350835082154390e-10 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Combined Fractional Variational Problems
of Variable Order and Some Computational Aspects††thanks: This is a preprint of a paper whose final and definite form is with Journal of Computational and Applied Mathematics, ISSN: 0377-0427. Submitted 15-Feb-2017; Revised 17-Apr-2017; Accepted 21-Apr-2017.
Dina Tavaresa,b
Ricardo Almeidab
Delfim F. M. Torresb
(*a**ESECS, Polytechnic Institute of Leiria, 2411–901 Leiria, Portugal
b**Center for Research and Development in Mathematics and Applications (CIDMA), Department of Mathematics, University of Aveiro, 3810–193 Aveiro, Portugal)
Abstract
We study two generalizations of fractional variational problems by considering higher-order derivatives and a state time delay. We prove a higher-order integration by parts formula involving a Caputo fractional derivative of variable order and we establish several necessary optimality conditions for functionals containing a combined Caputo derivative of variable fractional order. Because the endpoint is considered to be free, we also deduce associated transversality conditions. In the end, we consider functionals with a time delay and deduce corresponding optimality conditions. Some examples are given to illustrate the new results. Computational aspects are discussed using the open source software package Chebfun.
Keywords: fractional calculus of variations, variable fractional order, high-order derivatives, time delay, computational approximation.
Mathematics Subject Classification 2010: 26A33; 34A08; 49K05.
1 Introduction
Fractional Calculus (FC) is an extension of the integer-order calculus that considers derivatives of any real or complex order [15, 30]. FC was born in 1695 with a letter that L’Hôpital wrote to Leibniz, where the derivative of order is suggested [26]. Since then, many mathematicians, like Laplace, Riemann, Liouville, Abel, among others, contributed to the development of this subject. One of the first applications of fractional calculus was due to Abel in his solution to the tautochrone problem [2]. Different forms of fractional operators have been introduced along time, like the Riemann–Liouville, the Riesz or the Caputo fractional derivatives. For new kinds of fractional derivatives with nonsingular kernels, see [1]. In this paper, we are interested on the combined Caputo derivative [21], which is a convex combination of the left Caputo fractional derivative of order and the right Caputo fractional derivative of order .
In recent times, FC had an increasing of importance due to its applications in various fields, not only in mathematics, but also in physics, engineering, chemistry, biology, finance and other areas of science [18, 23, 27, 32, 33]. In some of these applications, if we compare with the usual integer-order calculus, FC is better to describe the hereditary and memory properties of materials and processes. More interesting possibilities arise when one considers the order of the fractional integrals and derivatives not constant during the process but depending on time. One such fractional calculus of variable order was introduced in 1993 by Samko and Ross [31]. Afterwards, several mathematicians obtained important results about variable order fractional calculus, see, for instance, [7, 24, 29]. Here, we consider the combined Caputo fractional derivative of a function with variable order, defined by with . Some numerical approximate formulas for such fractional calculus have been proposed, see, for example, [17, 35].
The Fractional Calculus of Variations (FCV) deals with the optimization of functionals that depend on some fractional operator [4, 20, 22]. The fundamental problem is to find functions that extremize (minimize or maximize) such a functional. Although FCV was born only twenty years ago, with the 1996–1997 works of Riewe in mechanics [28], in ours days, this is a strong field of mathematics: see, e.g., [5, 6, 21, 22, 36]. The main goal of our work is to generalize the results obtained in [34] by considering higher-order and time delay variational problems with a Lagrangian depending on a combined Caputo derivative of variable fractional order, subject to boundary conditions at the initial time .
The outline of the paper is as follows. In Section 2, we review the necessary notions on fractional calculus and prove an integration by parts formula, involving a higher-order Caputo fractional derivative of variable order (see Theorem 2.7). In Section 3, we obtain higher-order Euler–Lagrange equations and transversality conditions for the generalized variational problems with a Lagrangian depending on a combined Caputo derivative of variable fractional order (Theorem 3.1). Then, in Section 4, we deduce necessary optimality conditions when the Lagrangian depends on a time delay. Some illustrate examples are presented in Section 5. We end with Section 6 of conclusion and an appendix with our MATLAB code.
2 Fractional calculus of variable order
In this section, we review some concepts about the operators that are used in the sequel. For more information about the theory of fractional calculus, see, for example, [15, 30].
The Gamma function is an extension of the factorial to real numbers, while the Beta function is defined by , . For numerical computations, we have used MATLAB [19] and Chebfun [38]. Both functions and are available in Matlab through the commands gamma(t) and beta(t,u), respectively. This second function satisfies the property .
Motivated by Definitions 2.3 and 2.5 of [20], we present here the concepts of higher-order fractional derivatives of Riemann–Liouville and Caputo. Let and be a function of class . The fractional order is a continuous function of two variables, .
Definition 1** (Higher-order Riemann–Liouville fractional derivatives).**
The left and right Riemann–Liouville fractional derivatives of order are defined by
[TABLE]
and
[TABLE]
respectively.
In our work, we use both Riemann–Liouville and Caputo definitions. The emphasis is, however, in Caputo fractional derivatives.
Definition 2** (Higher-order Caputo fractional derivatives).**
The left and right Caputo fractional derivatives of order are defined by
[TABLE]
and
[TABLE]
respectively.
Remark 1*.*
Definitions 1 and 2, for the particular case of order between 0 and 1, can be found in [20]. They seem to be new for the higher-order case.
Chebfun is a MATLAB software system that overloads MATLAB’s discrete operations for matrices to analogous continuous operations for functions and operators [38]. Using Definition 2, we implemented in Chebfun two functions leftCaputo(x,alpha,a,n) and rightCaputo(x,alpha,b,n) that approximate, respectively, the higher-order Caputo fractional derivatives and : see Appendix A.1. Follows two illustrative examples.
Example 2.1**.**
Let and with . In this case, , and . We have and , obtained in Matlab with our Chebfun functions as follows:
- a = 0; b = 1; n = 1; alpha = @(t,tau) t.^2/2; x = chebfun(@(t) t.^4, [a b]); LC = leftCaputo(x,alpha,a,n); RC = rightCaputo(x,alpha,b,n); LC(0.6) ans = 0.1857 RC(0.6) ans = -1.0385
See Figure 1 for a plot with other values of and .
Example 2.2**.**
In Example 2.1, we have used the polynomial . It is worth mentioning that our Chebfun implementation works well for functions that are not a polynomial. For example, let . In this case, we just need to change
- x = chebfun(@(t) t.^4, [a b]);
in Example 2.1 by
- x = chebfun(@(t) exp(t), [a b]);
to obtain
- LC(0.6) ans = 0.9917 RC(0.6) ans = -1.1398
See Figure 2 for a plot with other values of and .
Now, we define the generalized fractional integrals for variable order.
Definition 3** (Riemann–Liouville fractional integrals).**
The left and right Riemann–Liouville fractional integrals of order are defined respectively by
[TABLE]
and
[TABLE]
Our Chebfun definitions of the Riemann–Liouville fractional integrals are given in Appendix A.2. Here we illustrate their use.
Example 2.3**.**
Let and with . In this case, , and . We have and , obtained in Matlab with our Chebfun functions as follows:
- a = 0; b = 1; n = 1; alpha = @(t,tau) (t.^2+tau.^2)/4; x = chebfun(@(t) t.^2, [0,1]); LFI = leftFI(x,alpha,a); RFI = rightFI(x,alpha,b); LFI(0.6) ans = 0.2661 RFI(0.6) ans = 0.4619
Other values for and are plotted in Figure 3.
Remark 2*.*
From Definition 3, it follows that
[TABLE]
and
[TABLE]
Next, we obtain higher-order Caputo fractional derivatives of a power function. This allows us to show the effectiveness of our computational approach, that is, the usefulness of polynomial interpolation in Chebyshev points in fractional calculus of variable order. In Lemma 2.4, we assume that the fractional order depends only on the first variable: , where is a given function.
Lemma 2.4**.**
Let with . Then,
[TABLE]
Proof.
As , if we differentiate it times, we obtain
[TABLE]
Using Definition 2 of the left Caputo fractional derivative, we get
[TABLE]
Now, we proceed with the change of variables . Using the Beta function , we obtain that
[TABLE]
The proof is complete. ∎
Example 2.5**.**
Let us revisit Example 2.1 by choosing and with . Table 1 shows the approximated values obtained by our Chebfun function leftCaputo(x,alpha,a,n) and the exact values computed with the formula given by Lemma 2.4. Table 1 was obtained using the following MATLAB code:
- format long a = 0; b = 1; n = 1; alpha = @(t,tau) t.^2/2; x = chebfun(@(t) t.^4, [a b]); exact = @(t) (gamma(5)./gamma(5-alpha(t))).t.^(4-alpha(t)); approximation = leftCaputo(x,alpha,a,n); for i = 1:9 t = 0.1i; E = exact(t); A = approximation(t); error = E - A; [t E A error] end
For our next result, we assume that the fractional order depends only on the second variable: , where is a given function. The proof is similar to that of Lemma 2.4, and so we omit it here.
Lemma 2.6**.**
Let with . Then,
[TABLE]
Computational experiments similar to those of Example 2.5, obtained by substituting Lemma 2.4 by Lemma 2.6 and our leftCaputo routine by the rightCaputo one, reinforce the validity of our computational methods.
When dealing with variational problems, one key property is integration by parts. In the following theorem, such formulas are proved for integrals involving higher-order Caputo fractional derivatives of variable order.
Theorem 2.7** (Integration by parts).**
Let and be two functions. Then,
[TABLE]
and
[TABLE]
Proof.
Considering the definition of left Caputo fractional derivative of order , we obtain
[TABLE]
Using Dirichelet’s formula, we rewrite it as
[TABLE]
Using the (usual) integrating by parts formula, we get that (3) is equal to
[TABLE]
Integrating by parts again, we obtain
[TABLE]
If we repeat this process times more, we get
[TABLE]
The second relation of the theorem for the right Caputo fractional derivative of order follows directly, from the first, by Caputo–Torres duality [9]. ∎
Remark 3*.*
If we consider in Theorem 2.7 the particular case when , then the fractional integration by parts formulas take the following well-known forms
[TABLE]
and
[TABLE]
(see, e.g., [25, Theorem 3.2]).
Remark 4*.*
If is such that for all , then the higher-order formulas of fractional integration by parts given by Theorem 2.7 can be rewritten as
[TABLE]
The next step is to consider a linear combination of the previous fractional derivatives.
Definition 4** (Higher-order combined fractional derivatives).**
Let be the variable fractional order, a vector, and . The higher-order combined Riemann–Liouville fractional derivative of at is defined by
[TABLE]
Analogously, the higher-order combined Caputo fractional derivative of at is defined by
[TABLE]
See our Chebfun computational code for the higher-order combined fractional Caputo derivative in Appendix A.3. Here we illustrate how to use it in MATLAB.
Example 2.8**.**
Let , and , . We have , and . For , we have :
- a = 0; b = 1; n = 1; alpha = @(t,tau) (t.^2 + tau.^2)/.4; beta = @(t,tau) (t + tau)/3; x = chebfun(@(t) t, [0 1]); gamma1 = 0.8; gamma2 = 0.2; CC = combinedCaputo(x,alpha,beta,gamma1,gamma2,a,b,n); CC(0.4) ans = 0.7144
3 Variational problems with higher-order derivatives
Given , let denote the linear subspace of such that exists and is continuous on the interval for all . We endow with the norm
[TABLE]
Consider the following problem of the calculus of variations: minimize functional ,
[TABLE]
over all subject to boundary conditions , , , for fixed . Here the terminal time and terminal state are both free. For all , and is a vector. The terminal cost function is at least of class . For simplicity of notation, we introduce the operator defined by . We assume that the Lagrangian is a function of class . Along the work, we denote by , , the partial derivative of the Lagrangian with respect to its th argument.
Now, we can rewrite functional (4) as
[TABLE]
In the sequel, we need the auxiliary notation of the dual fractional derivative:
[TABLE]
In [34], we obtained fractional necessary optimality conditions that every local minimizer of functional , with , must fulfill. Here, we generalize [34] to arbitrary values of , .
Theorem 3.1** (Necessary optimality conditions for (4)).**
Suppose that gives a minimum to functional (5) on . Then, satisfies the following fractional Euler–Lagrange equations:
[TABLE]
on the interval , and
[TABLE]
on the interval . Moreover, satisfies the following transversality conditions:
[TABLE]
Proof.
The proof is an extension of the one found in [34]. Let be a perturbing curve and an arbitrarily chosen small change in . For a small number , if is a solution to the problem, we consider an admissible variation of of the form , and then, by the minimum condition, we have that . The constraints imply that all admissible variations must fulfill the conditions for all . We define function on a neighborhood of zero by
[TABLE]
The derivative is
[TABLE]
Hence, a necessary condition for to be a local minimizer of is given by , that is,
[TABLE]
Considering the second addend of the integral function (9), for , we get
[TABLE]
Integrating by parts (see Theorem 2.7), and since , we obtain that
[TABLE]
Unfolding these integrals, and considering the fractional operator with , then the previous term is equal to
[TABLE]
Now, consider the general case , . Then,
[TABLE]
Unfolding these integrals, we obtain
[TABLE]
Substituting all the relations into equation (9), we obtain that
[TABLE]
The fractional Euler–Lagrange equations (6)–(7) and the transversality conditions (8) follow by application of the fundamental lemma of the calculus of variations (see, e.g., [39]), for appropriate choices of variations. ∎
4 Variational problems with time delay
In this section, we consider fractional variational problems with time delay. As mentioned in [37], “We verify that a fractional derivative requires an infinite number of samples capturing, therefore, all the signal history, contrary to what happens with integer order derivatives that are merely local operators. This fact motivates the evaluation of calculation strategies based on delayed signal samples”. This subject has already been studied for constant fractional order [3, 8, 13, 14]. However, for a variable fractional order, it is, to the authors’ best knowledge, an open question. We also refer to the works [10, 11, 16, 40], where fractional differential equations are considered with a time delay. For simplicity of presentation, we consider fractional orders . Using similar arguments, the problem can be easily generalized for higher-order derivatives. Let and define the vector . For the domain of the functional, we consider the set
[TABLE]
Let be the functional defined by
[TABLE]
subject to the boundary condition for all , where is a given (fixed) function. Again, we assume that the Lagrangian and the payoff term are differentiable functions and we denote, for , , , where .
Theorem 4.1** (Necessary optimality conditions for (11)).**
Suppose that gives a local minimum to functional (11) on . If , then satisfies
[TABLE]
for , and
[TABLE]
for . Moreover, satisfies
[TABLE]
If , then Eq. (12) is replaced by the two following ones:
[TABLE]
for , and
[TABLE]
for .
Proof.
Consider variations of the solution , where is such that for all , and are two reals. If we define , then , that is,
[TABLE]
First, suppose that . In this case, since
[TABLE]
and on , this term vanishes in (17) and we obtain Eq. (5) of [34]. The rest of the proof is similar to the one presented in [34, Theorem 3.1], and we obtain (12)–(14). Suppose now that . In this case, we have that
[TABLE]
Next, we evaluate the integral
[TABLE]
For the first integral, integrating by parts, we have
[TABLE]
For the second integral, in a similar way, we deduce that
[TABLE]
Replacing the above equalities into (17), we prove that
[TABLE]
By the arbitrariness of in and of , we obtain Eqs. (13)–(16). ∎
5 Examples
We provide two illustrative examples. Example 5.1 is covered by Theorem 3.1 while Example 5.2 illustrates Theorem 4.1.
Example 5.1**.**
Let be a polynomial of degree . If are the fractional orders, then since for all . Consider
[TABLE]
subject to the initial constraints and , . Observe that, for all , and . Therefore, , . Also, the first transversality condition reads as
[TABLE]
which is verified at . Thus, function and the final time satisfy the necessary optimality conditions of Theorem 3.1. We also remark that one has
[TABLE]
for any curve , which attains a minimum value at . Since , we conclude that is the (global) minimizer of .
Example 5.2**.**
Let , be a function of class , and . Define as
[TABLE]
subject to the condition for all . In this case, we can easily verify that satisfies all the conditions in Theorem 4.1, because , , and that it is actually the (global) minimizer of the problem.
6 Conclusion
We studied two different types of fractional variational problems of variable order: of higher-order and with a time delay. Necessary optimality conditions of Euler–Lagrange type for such functionals, containing a combined Caputo derivative of variable fractional order, were established. To solve such fractional differential equations, we presented a numerical method to deal with the fractional operators, based on the open source software package Chebfun. Examples were discussed in order to illustrate the new findings and the computational aspects of the work.
Appendix A Chebfun code
Chebfun is an open source software package that “aims to provide numerical computing with functions” in MATLAB [19]. For the mathematical underpinnings of Chebfun, we refer the reader to [38]. For the algorithmic backstory of Chebfun, we refer to [12]. In this appendix, we provide our own Chebfun code for the variable order fractional calculus.
A.1 Higher-order Caputo fractional derivatives
The following code implements operator (1):
function r = leftCaputo(x,alpha,a,n) dx = diff(x,n); g = @(t,tau) dx(tau)./(gamma(n-alpha(t,tau)).*(t-tau).^(1+alpha(t,tau)-n)); r = @(t) sum(chebfun(@(tau) g(t,tau),[a t],’splitting’,’on’),[a t]); end
Similarly, we have defined (2) with Chebfun in MATLAB as follows:
function r = rightCaputo(x,alpha,b,n) dx = diff(x,n); g = @(t,tau) dx(tau)./(gamma(n-alpha(tau,t)).(tau-t).^(1+alpha(tau,t)-n)); r = @(t) (-1).^n . sum(chebfun(@(tau) g(t,tau),[t b],’splitting’,’on’),[t b]); end
For examples on the use of functions leftCaputo and rightCaputo, see Examples 2.1 and 2.2.
A.2 Riemann–Liouville fractional integrals
Follows our Chebfun/MATLAB code corresponding to Definition 3. The leftFI.m file is given by
function r = leftFI(x,alpha,a) g = @(t,tau) x(tau)./(gamma(alpha(t,tau)).*(t-tau).^(1-alpha(t,tau))); r = @(t) sum(chebfun(@(tau) g(t,tau),[a t],’splitting’,’on’),[a t]); end
while the rightFI.m file reads
function r = rightFI(x,alpha,b) g = @(t,tau) x(tau)./(gamma(alpha(tau,t)).*(tau-t).^(1-alpha(tau,t))); r = @(t) sum(chebfun(@(tau) g(t,tau),[t b],’splitting’,’on’),[t b]); end
See Example 2.3.
A.3 Higher-order combined fractional Caputo derivative
The combined Caputo derivative, as the names indicates, combines both left and right Caputo derivatives, that is, we make use of functions provided in Appendix A.1:
function r = combinedCaputo(x,alpha,beta,gamma1,gamma2,a,b,n) lc = leftCaputo(x,alpha,a,n); rc = rightCaputo(x,beta,b,n); r = @(t) gamma1 .* lc(t) + gamma2 .* rc(t); end
See Example 2.8 for the use of function combinedCaputo.
Acknowledgments. This work is part of first author’s Ph.D., which is carried out at the University of Aveiro under the Doctoral Programme Mathematics and Applications of Universities of Aveiro and Minho. It was supported by Portuguese funds through the Center for Research and Development in Mathematics and Applications (CIDMA), and The Portuguese Foundation for Science and Technology (FCT), within project UID/MAT/04106/2013. Tavares was also supported by FCT through the Ph.D. fellowship SFRH/BD/42557/2007. The authors are grateful to two anonymous referees for helpful comments and suggestions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Abdeljawad T, Baleanu D. Integration by parts and its applications of a new nonlocal fractional derivative with Mittag-Leffler nonsingular kernel. J. Nonlinear Sci. Appl. (10) 3 (2017) 1098–1107. ar Xiv:1607.00262
- 2[2] Abel N. Solution de quelques problèmes à l’aide d’intégrales définies. Mag. Naturv. (1) 2 (1823) 1–127.
- 3[3] Almeida R. Fractional variational problems depending on indefinite integrals and with delay. Bull. Malays. Math. Sci. Soc. (39) 4 (2016) 1515–1528. ar Xiv:1512.06752
- 4[4] Almeida R, Pooseh S, Torres DFM. Computational methods in the fractional calculus of variations. Imp. Coll. Press, London, 2015.
- 5[5] Almeida R, Torres DFM. Calculus of variations with fractional derivatives and fractional integrals. Appl. Math. Lett. (22) (2009) 1816–1820. ar Xiv:0907.1024
- 6[6] Askari H, Ansari A. Fractional calculus of variations with a generalized fractional derivative. Fract. Differ. Calc. (6) (2016) 57–72.
- 7[7] Atanackovic TM, Pilipovic S. Hamilton’s principle with variable order fractional derivatives. Fract. Calc. Appl. Anal. (14) (2011) 94–109.
- 8[8] Baleanu D, Maaraba T, Jarad F. Fractional variational principles with delay. J. Phys. A (41) 31 (2008) 315403, 8 pp.
