Approximate solutions of one dimensional systems with fractional derivative
Abstract
Ver preprint.
Full text
Approximate solutions of one dimensional systems with fractional derivative A. Ferrari1, M. Gadella2, L.P. Lara3, E. Santillan Marcus4 1Departamento de Matem´atica, CONICET-Universidad Nacional de Rosario Av. Pellegrini 250, 2000 Rosario, Argentina. 2Departamento de F´ısica Te´orica, At´omica y Optica and IMUVA, Universidad de Valladolid, 47011 Valladolid, Spain. 3Instituto de F´ısica Rosario, CONICET-UNR, Bv. 27 de Febrero, S2000EKF Rosario, Santa Fe, Argentina 4Departamento de Matem´atica, Universidad Nacional de Rosario, Av. Pellegrini 250, 2000 Rosario, Argentina. February 28, 2020 Abstract The fractional calculus is useful to model non-local phenomena. We construct a method to evaluate the fractional Caputo derivative by means of a simple explicit quadratic segmentary interpolation. This method yields to numerical resolution of ordinary fractional differential equations. Due to the non-locality of the fractional derivative, we may establish an equivalence between fractional oscillators and ordinary oscillators with a dissipative term. 1 Introduction The study of fractional derivatives for its application in classical and quantum physics has lately received a lot of attention [1–3]. Needless to say that one of the simplest and most studied of those systems is the one dimensional harmonic oscillator. Thus, it would be a good point of departure in the study of systems with fractional derivative, a task which has been carried out in [4]. Damped oscillator with fractional derivative has been also the objective of some studies, see [5]. Some extensions of the theory to other classical systems have been proposed, see for instance [6] and references therein, or in [8]. In many of these papers, it was noted an analogy between a fractional oscillator and a classical oscillator with a damping term. This could be an idea to be exploited in order to 1
model quantum systems with dissipation, in which the second derivative of the wave function in the Schr¨odinger equation be replaced by a fractional derivative, see [7]. The present work has been inspired by the article by Narahari et. al. [9], where in addition to the study of the one dimensional harmonic oscillator with fractional derivative, they give a comparison with an equivalent dissipative oscillator described on the phase plane and analyze the stability of the solution. Along the present manuscript, we show that it may be possible the determination of a time interval in which the solution of a fractional one dimensional oscillator may be approximated by the solution of a one dimensional ordinary equation with a dissipative term. The idea could be described by using a very simple example. Let us consider the Caputo derivative Dα 0, defined in (1) below, and the fractional differential equation Dα 0x(t) = 0, with 1 < α ≤2 and initial conditions x(0) = 0 and ˙x(0) = −1. The solution is x(t) = −t. Then, let us consider the equation ¨z(t) = −p˙z(t), p > 0. The goal is the determination of a value of psuch that the solution of this equation with initial conditions z(0) = 0 and ˙z(0) = −1, i.e., the same initial conditions imposed to the fractional equation, be approximated by the solution of the fractional equation over a finite time interval. This is clear, since the solution of the equation on z(t) is z(t) = 1 p(−1 + e−pt). Therefore, on a time interval 0 < t < τ, with τ= 1/p, we have z(t) = −t+o(t2). In this sense of having similar approximate solutions on a finite interval, we say that the fractional and the dissipative equations are equivalent. Here, we want to extend this idea. Observe that in our notion of equivalence, we have discarded the asymptotic regime. This is essentially due to two reasons: i.) for large values of time, the fractional oscillator does not show oscillations; ii.) the behaviour of the oscillator from a strictly physical point of view, whether linear or non-linear but particularly the latter, has interest for finite times only. Its asymptotic behaviour is not measurable and has a mathematical interest only, and it is not the object of our study. The present paper is organized as follows: On Section 2, we construct a method to obtain approximate solutions of fractional differential equations, with fractional Caputo derivative to be defined there, based on segmentary interpolation. This kind of interpolation has been used successfully to obtain approximate solutions of ordinary differential equations [13]. On Section 3, we apply this method to the fractional linear oscillator and to some other simple examples and make estimations on its precision. We compare results with those obtained replacing the fractional oscillator by the ordinary oscillator with a dissipative term. We present a similar analysis by replacing the equation of the oscillator by the van der Pol equation on Section 4. We close this paper with some concluding remarks. 2 Caputo fractional derivative and its evaluation by segmentary interpolation Let αbe a real positive number and denote by n=dαethe smaller integer bigger than α. Let us define the Caputo fractional derivative, Dα a, of a ntimes differentiable function of real variable, x(t), as [10] 2
Dα ax(t) = 1 Γ(n−α)Zt a x(n)(s) (t−s)α−n+1 ds , (1) where x(n)(s) means the n-th derivative of the function x(s). Our objective, as mentioned at the header of the present section, is an evaluation of (1) using segmentary interpolation. Here, we consider that 0 < α < 1, so that the only choice for nis n= 1, and this will be the case for some of our applications. Segmentary interpolation is a standard tool of wide use in the approximation of solutions of differential equations [12]. Let us sketch the method here for completeness, using an approach that has been used in previous articles by our group [13,14]. Let [a, b] be a compact interval in the real axis R. At regular intervals, we select nnodes, a=t0< t1<· · · < tn=b, with tk−tk−1=h, for all k= 1,2, . . . , n, so that kn =b−a. Let x(t) : [a, b]7−→ Cbe a continuous function and use the notation xk:= x(tk) and Ik:= [tk−1, tk] , for all k= 1,2, . . . , n. Then, a quadratic segmentary interpolator S(t) for the function x(t), is a continuous function S(t) : [a, b]7−→ C, with first continuous derivative, such that 1.- On each interval of the form Ik= [tk−1, tk], k= 1,2, . . . , n, we have that S(t)≡Pk(t), where Pk(t) is a polynomial of order two, depending on the given interval. 2.- The function S(t) interpolates x(t), in the sense that for any of the nodes {tk}, one has that Pk(tk−1) = xk−1, Pk(tk) = xk, k = 1,2, . . . , n . (2) The condition on the continuity of the derivative S0(t) implies that P0 k(tk) = P0 k+1(tk), k = 1,2, . . . , n −1.(3) Thus, the construction of the segmentary interpolator S(t) relies in the construction of the interpolating polynomials Pk(t). We propose the following form for the interpolating polynomials: For each of the intervals Ik, let us define, Pk(t) = pk(t) + ak(t−tk−1)(t−tk),(4) with pk(t) = t−tk−1 hxk−t−tk hxk−1,(5) and the complex coefficients akare given by ak= n X j=0 ck,j xj.(6) We still need to determine the values of the ck,j, which are 3
cj,k = (−1)k h2η1,if j= 0 , (−1)k+1 h2(2η1+η2),if j= 1 , (−1)k+j h2(ηj−1+ 2ηj+ηj+1),if 1 < j < n −1, (−1)k+n−1 h2(2ηn−2+ηn−1),if j=n−1, (−1)k+n h2ηn−1,if j=n , (7) where ηj=j/n if j≤k−1 and ηj=j/n −1 if j > k −1. Taking into account that S(t) is an approximation of x(t), on each of the nodes tkthe Caputo fractional derivative (1) is approximated by Dα ax(tk)≈1 Γ(1 −α) k X j=1 Ztj tj−1 P0 j(s) (tk−s)αds , k = 1,...,n. (8) Then, on each of the intervals Ik, we have that P0 k(t) = αkt+βk, with αk= 2ak, βk=xk−xk−1 h−ak(2tk−1+h),(9) and, consequently, equation (8), takes the following form: Dα ax(tk)≈1 Γ(1 −α) k X j=1 eck,j αj+e dk,j βj.(10) The new coefficients eck,j and e dk,j are given by eck,j =Ztj tj−1 s ds (tk−s)α,e dk,j =Ztj tj−1 ds (tk−s)α,(11) which obviously depend solely of the partition. It is customary to choose a=x0= 0, which obviously does not restrict generality. Since the integrals in (11) are easily solvable and we know expressions for αjand βj, we can write the right hand side in (10) as Dα ax(tk)≈1 (−1 + α)(−2 + α) Γ(1 −α) k X j=1 γk,j αj,(12) where, γk,j = [h(−j+k)]−α[h(1 −j+k)]−αnh(−1 + j−k) [h(−j+k)]α ×[−2h(−2 + j+k) + h(−3 + 2j)α−2(−2 + α)tj−1] −h(j−k) [h(1 −j+k)]α[−2h(−1 + j+k) + h(−1 + 2j)α−2(−2 + α)tj−1]o.(13) 4
This is a quite simple and workable receipt to obtain, once x(t) is given, the values of its Caputo fractional derivative at the nodes tk, so that we have an estimation of this fractional derivative. It is interesting to remark that, due to the linear dependence on {xn}of the coefficients αj= 2ajgiven in (6), then, the derivative Dα ax(tk) in (12) can be explicitly determined from x(t). A simple remark in relation with the dependence of the proposed method on the initial conditions. This is that the approximation for the determination of the Caputo derivative by means of the proposed quadratic spline is independent on any fixed initial condition. This means that all manipulations from equation (1) to (11) are certainly independent from the initial conditions. To illustrate the approximation (8) to the Caputo derivative, we have proceed with our calculations assuming a=x0= 0. Since we have taken xk=x0+hk, the choice x0= 0 gives a simple form for the coefficients in equations (9) and (11). A choice with x06= 0 would give more complicated expressions for these coefficients, with the result that calculations become more cumbersome without adding anything of interest to our results. 2.1 A type of differential equations with fractional derivative Let x(t) : [a, b]7−→ Rmbe a differentiable real function of the real variable tand f(t, x) : [a, b]×Rm7−→ Rm. In addition, we assume that x(t∗) = x∗, where t∗is one of the nodes {tk}, a≤t∗≤b, and 0 < α < 1. Then, let us consider the following fractional differential equation: Dα ax(t) = f(t, x(t)) .(14) The objective is to obtain an approximation for the solution of equation (14) under the condition x(t∗) = x∗. We already know how to obtain the identity (14) in the nodes tk. Take these nodes with the exception of t∗. Then, (14) provides of an algebraic system of equations where the indeterminates are {xj,k}m,n j=1,k=0 with xj,k := xj(tk) and xj,k 6=x∗ j=xj(t∗). This algebraic system may or may not be linear depending on the form of f(t, x(t)) and is of order (mn)×(mn). A numerical solution of this system could be obtained by whatever method, which gives a segmentary solution S(t), which is given once one has obtained the coefficients akdefined in (6). In the particular case in which f(t, x(t)) contains an eigenvalue λand fbe linear with respect to (λ, x) this algebraic system is linear and homogeneous. The eigenvalue is determined in the usual way. As the reader may easily understand, this method is more general than the usual way to obtain a solution knowing an initial value, since now t∗could be any node. In particular, the restriction to the solution that replaces the initial value condition could be imposed at t∗, and this represents a great advantage when compared with the shooting method worked out in [11,15]. 3 The fractional linear oscillator A simple example of an equation of the type (14) is the linear oscillator with the fractional derivative, which is defined as 5
Dα 0x(t) = −ω2x(t).(15) As in the standard harmonic oscillator the constant ω2=k/m, where mis the oscillator mass and ka constant, αbeing the order of derivation that in the present case we assume to be 1< α ≤2. Using the definition (1), taking into account that for some differentiable function f(t) (in our case f(t) = x(t) or f(t) = ˙x(t), where the dot means first derivative), we have that lim α→0+ 1 Γ(α+ 1) tαf(0) = f(0) ,(16) and that nis either 2 or 3, we may integrate by parts (15) using (1), which gives the following integral version of (2): x(t) = x(0) + ˙x(0) −ω2 Γ(−α)Zt 0 (t−s)−α−1x(s)ds . (17) The general solution has the form x(t) = c1Eα,1(−ω2tα) + c2t Eα,2(−ω2tα),(18) where Eα,β(z) is the so called Mittag-Leffler function Eα,β(z) = ∞ X k=0 zk Γ(αk +β).(19) Thus, in order to obtain a particular solution, we have to impose some initial conditions. For instance, if we choose x(0) = 1 and ˙x(0) = 0, the solution to (17) with these initial conditions is given by x(t) = Eα,1(−ω2tα).(20) Let us find a particular numerical solution to the fractional linear oscillator, using the method introduced in Section 2.1. We have to choose a particular value for ωand the simplest possibility is ω= 1. This is developed in the forthcoming subsection. 3.1 Some numerical estimations. First of all, it is not the objective here to give explicit expressions for the approximate solutions for the studied examples. It is not difficult to plot these solutions for different values of n. Let us start with equation (15) with ω= 1 on the interval 0 ≤t≤1, with 0 < α < 1 and initial condition x(0) = 1. As seen above, this equation has exact solution given by xexact(t) = Eα,1(−tα) [10]. The objective is now an estimation on the precision of the proposed method. As customary, this precision is measured by using the following parameter: en(α) = Z1 0 [xexact(t)−xn(t)]2dt , (21) Here, nis the number of sub-intervals Inin which we partite [0,1], the number of nodes being n+ 1. The dependence of this parameter on αshows that the smaller is the value of 6
α, or equivalently the closer is αto zero, the lower is the precision and, therefore, the slower is the convergence to the exact value. However, we do not observe significative variations on the precision when we increase the value of n, i.e., as we make the sub-intervals smaller and smaller. n en(0.1) en(0.5) en(0.9) 5 7.4 10−31.7 10−32.0 10−4 10 3.0 10−34.9 10−42.8 10−5 20 1.1 10−31.4 10−45.9 10−6 40 3.0 10−43.7 10−51.3 10−6 Table 1.- Values of the precision in terms of nand α. This can be seen in Table 1, where we have chosen values of nranging from 5 to 40. The values of αstudied are 0.1, 0.5 and 0.9. Let us study the precision of the method with another example different from the fractional oscillator, yet an equation of the form (14). Here, we have chosen, D1/2 0x(t) = sin x(t),(22) on the interval [0,1], with the initial condition x(1) = 5/2, which was already studied in [11], where the integration was performed by means of the iterative shot method. Contrarily to the previous example, here we do not know an exact solution. The way out is to define the precision as en=Z1 0 [D1/2 0xn(t)−sin xn(t)]2dx , (23) where nis again the number of intervals and xn(t) is the interpolating function for the studied case. After integration and using the boundary condition, we obtain x(0). Along with (23), we introduce another parameter that measures the convergence and that we denote as er%. It represents the relative variation between the value of y(0), obtained for a given value of n, and the value given for the precedent value of nas listed on Table 2. Table 2 is just a sample of numerous numerical examples we have performed. This sample is significative, as it manifest an obvious convergence and shows that the result obtained for a small number of nodes is satisfactory. n y(0) er%en 5 1.74895 −− 1.8 10−2 10 1.73812 0.5 7.4 10−3 20 1.73326 0.3 2.6 10−3 30 1.73166 0.09 1.1 10−3 40 1.73085 0.05 5.6 10−4 7
Table 2: Values of y(0), er% and enfor a given value of n Finally, we have performed another reliability test, which was the use of the value of y(0) obtained numerically as initial value and evaluate the value of y(1). In all cases, we have recovered the value y(1) = 5/2. 3.2 Damped oscillator with entire derivative. As is well known, the damped oscillator with entire derivative is given by m¨y(t) + p˙y(t) + ky(y)=0,(24) where m,pand kare constants. Here, we assume that p > 0. For p= 0, the limit for α7−→ 2−in (15) should give the solution y(t) for (24), which we denote here as limα→2−x(t) = y(t). The solution x(t) is damped oscillatory on the transitory regime only [1,9,10]. Based on these notions, we propose the following Ansatz: For each given 1< α ≤2, there exists p > 0such that the solution x(t)of (15) with αis a good approximation of the solution y(t)of (24) with p, in the transitory regime. Using this Ansatz, let us obtain an approximate solution y(t) for (24) such that this and its corresponding solution x(t) for (15) fulfil the conditions y(0) = x(0) and ˙y(0) = ˙x(0). This is: y(t) = exp −p mt(c−exp(−∆t) + c+exp(∆t)) ,(25) where, ∆ = p(p/m)2−4ω2, λ±=−p±∆ 2, c±=±λ∓ ∆,(26) where ω2was given in (15). Then, the point is the determination of the value of pbeing given the value of α, or equivalently the determination of a function p=p(α), in application to our Ansatz. This is an optimal control problem. We have to find the optimal solution, which minimizes the following functional: E(α) := 1 TZT 0 [x(t)−y(t)]2dt , (27) where Tis some time scale in which the amplitude of the oscillations are reduced by a factor of 1/T. On the interval [0, T], the transitory regime, we compare the solutions of the fractional derivative x(t) and of the damped oscillator y(t). The functional E(α) measures the deviation between x(t) and y(t). Then, go back to (20) and note that the function Eα,1(−ω2tα) is not asymptotically oscillating as t7−→ 0. This permits us to choose a value of T, although not small, not very high either. Numerical experiments have shown that the choice T= 20 is appropriate. Let us give some numerical results. On Table 3, we give the dependence between values of α,p(α) and E(α) for the values k=m= 1 and n= 50. 8
α p E 1.10 1.140 6.4 10−3 1.30 0.891 5.7 10−3 1.50 0.668 4.7 10−3 1.70 0.433 3.3 10−3 1.90 0.152 1.1 10−3 1.95 0.754 4.3 10−4 2 0 0 Table 3: Comparison between the values of α,pand E, for T= 20, k=m= 1 and n= 50. An explicit expression of the function p(α) may be obtained by the least-square method and this gives p(α) = 1.49409 + 0.056127 α−0.401446 α2. This is depicted on Figure 2. On Figure 1, we represent the usual behaviour in the transitory regime for x(t) and y(t), when we choose α= 1.7 and n= 50. It is interesting to remark that numerical experiments show that p(α) does not depend on any choice of initial values. 3.3 Non-linear oscillator Following the discussion on the damped oscillator, we present a similar problem given by the following non-linear oscillator: Dα 0x(t) = y(t), Dα 0y(t) = −sin x(t),(28) with 0 < α ≤1. Let us choose the initial values given by x(0) = 1 and y(0) = 0. Clearly, for small oscillations equation (28) becomes equation (15) with the replacement α→2α. Again, this is a non-linear problem having no analytic solution for αnon-integer. Then, we proceed by analogy with the damped oscillator. In this case, we consider the following system involving entire derivatives only: ˙z(t) = w(t),˙w(t) = −pw(t)−sin z(t), p > 0.(29) On the transitory regime, we compare the solutions of systems (28) and (29) under the conditions z(0) = x(0) = 1 and w(0) = y(0) = 0. To do this, we need the previous determination of p(α), which we assume that minimizes the following quadratic dispersion: E(α) = 1 TZT 0 {[xn(t)−z(t)]2+ [yn(t)−w(t)]2}dt . (30) Obviously, this expression generalizes (27). Again, we adjust the value of Tby numerical experiments, which show that T= 20 is, again, a convenient choice. On Table 4, we give some values for the dependence between α,p(α) and E(α) after the choice T= 20 and n= 50. 9
the integrals yielded by the use of the above mentioned definitions is analytic in all cases. Thus, one straightforwardly obtains the corresponding formula (12) valid for all of these choices on the definition of fractional derivative. Then, we integrate the differential equations of the type (14) following the route designed on Section 2.1. Acknowledgements This research has been financed by the Projects No. ING 19/i 402 and ING 80020180100064 of the Universidad Nacional de Rosario, the Spanish MINECO (Project No. MTM2014-57129) and the Junta de Castilla y Le´on (Project Nos. BU229P18 and VA137G18). References [1] A. Kilbas, H. Srivastava, J. Trujillo. Theory and Applications of Fractional differential equations, Elsevier, Amsterdam (2006). [2] R. Herrmann, Fractional Calculus: An Introduction for Physicists. World Scientific, (2011). [3] V.V. Uchaikin, Fractional derivatives for physicists and engineers. Volume I Background and theory volume, Volume II Applications. Berlin Heidelberg: Springer Science & Business Media (2013). [4] F. Mainardi, Fractional relaxation-oscillation and fractional diffusion-wave phenomena, Chaos, Solitons and Fractals, 7(9), 1461-1477 (1996). [5] F. Olivar-Romero, O. Rosas-Ortiz, Fractional driven damped oscillator, J. Phys. Conf. Ser., 839, 012010 (2017). [6] F. Olivar-Romero, O. Rosas-Ortiz, Transition from the Wave Equation to Either the Heat or the Transport Equations through Fractional Differential Expressions, Symmetry, 10, 524 (2018). [7] F. Olivar-Romero, O. Rosas-Ortiz, Factorization of the quantum fractional oscillator, J. Phys. Conf. Ser., 698, 012025 (2016). [8] Can Evren Yarman, Approximating fractional derivative of Faddeeva function, Gaussian function, and Dawson’s integral, Math. Met. Appl. Scie., DOI: 10.1002/mma.5679 (2019). [9] B.N. Narahari Archar, J.W. Hanneken, T. Enck, T. Clarke, Dynamics of the fractional oscillator, Physica A, 297, 361-367 (2001). [10] K. Diethelm, The Analysis of Fractional Differential Equations. An Application Oriented Exposition Using Differential Operators of Caputo Type, Springer Verlag, Berlin (2010). [11] K. Diethelm, W. McLean, Volterra integral equations and fractional calculus: do neighboring solutions intersect?, Journal of Integral Equations and Applications, 24 (1), 25-37 (2012). 16
[12] E. Hairer, S.P. Nørsett and G. Wanner, Solving Ordinary Differential Equations I, Springer, Berlin and New York, 1993. [13] M. Gadella, L.P. Lara, A study of periodic potentials based in quadratic splines, Int. J. Mod. Phys. C, 29, 1850067 (2018). [14] A. Ferrari, L.P. Lara, E Santillan-Marcus, Convergence analysis and parity conservation of a new form of quadratic splines, arXiv:1906.10559v1 (2019). [15] H. Demir, Y. Balturk, On numerical solutions of fractional order boundary value problem with shooting method, ITM Web of Conferences, 13, 01032 (2017). [16] B. van der Pol, On relaxation equations, The London, Edinburgh and Dublin Phil. Mag. & J. of Sci., 2 (7), 978-992 (1927). [17] S. Strogatz, Nonlinear Dynamics and Chaos, CRC Press, Taylor and Francis, Boca Raton, London and New York, 2015. [18] M. Farkas, Periodic Motions, Springer, New York and Berlin (1994). [19] Z. Guo, A.Y.T. Leung, H.X. Yang, Oscillatory region and asymptotic solution of fractional van der Pol oscillator via residue harmonic balance technique, Apply Mathematical Modelling, 35, 3918-3925 (2011). [20] P. Deuflhard, Newton Methods for Nonlinear Problems, Springer, Berlin, 2006. [21] E. Ahmed, A. El-Sayed, A.A. El-Saka, On some Routh-Hurwitz conditions for fractional order differential equations and their applications in Lorenz, R¨ossler, Chua and Chen systems, Phys. Lett. A, 358, 1-4 (2006). 17