1Introduction
Fractional differential equations (FDEs) are applied across a broad range of fields due to their ability to model complex systems with memory, hereditary, and non-local behaviors. These equations are resulted from many physical or chemical problems like heat conduction, motion of a large thin plate in a Newtonian fluid, viscoelasticity, diffusion wave, process of cooling a semi-infinite body by radiation, phenomena in electromagnetic, electrochemistry, material science, acoustic and so on [1,2,3,4]. Fractional-order differential equations are more appropriate for modeling physical and chemical process than integer-order differential equations and most realistic FDEs do not have exact solutions, so approximation and numerical techniques must be used. In particular, FDEs with 1/2-order derivative or 3/2-order derivative are especially important since they describe the frequency-dependent damping materials quite satisfactorily.
In literature, different numerical or analytical approaches have been applied for FDEs or other functional equations which can be used for FDEs and the interested reader can refer to [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29] in order to know kinds of these methods, their modifications, their applications and their importance.
A relaxation oscillator is defined as a type of oscillator which is in fact based on the behavior of a physical system’s return to equilibrium after being disturbed [5,30,31]. The relaxation-oscillation equation is the primary equation of both relaxation and oscillation processes [5]. Fractional relaxation-oscillation equation broadens the scope of classical relaxation and oscillation models by capturing systems with inherent memory, delayed responses, or anomalous damping and diffusion behaviors.
The relaxation equation in standard form can be expressed as [5]
(1)
{{d\psi } \over {dx}} + A\psi = f\left( x \right),
in which A indicates E/c where E is the elastic modulus, c the viscosity coefficient, and f (x) indicates E multiplying the strain rate. As f (x) = 0, the analytic solution can be obtained as
(2)
\psi \left( x \right) = C{e^{ - Ax}},
in which C is a constant obtained by the given initial condition.
The oscillation equation in standard form is given by [5]
(3)
{{{d^2}\psi } \over {d{x^2}}} + A\psi = f\left( x \right),
in which A is equal to k/m = w where k is stiffness coefficient, m the mass and w the angular frequency. As f (x) = 0, we obtain the following analytical solution as
(4)
\;\psi \left( x \right) = C{\rm{cos}}\sqrt {Ax} + D{\rm{sin}}\sqrt {Ax} ,
in which C and D are constants obtained by the given initial conditions.
Now, we consider the following fractional differential equation with initial conditions which is occurred in applied problems
(5)
{D^\alpha }\psi \left( x \right) + A\psi \left( x \right) = f\left( x \right),\;\;\;\;x > 0
(6)
\matrix{{{\psi ^{\left( k \right)}}\left( 0 \right) = 0,} & {\left( {k = 0,1, \cdots ,n - 1} \right)} \cr }
in which A is a constant and n − 1 < α ≤ n, n ∈ N. When 0 < α ≤ 2, this equation is known as relaxation-oscillation equation [1]. In case 0 < α ≤ 1, the model characterizes the relaxation with the power law attenuation [32, 33]. In case 1 < α ≤ 2, the model describes the damped oscillation with viscoelastic intrinsic damping of oscillator [32, 33]. Applications of this model can be found in electrical model of the heart, spruce-budworm interactions, modeling cardiac pacemakers, predator-prey system [32,33,34,35,36,37]. Below are some of the other key fields and specific applications of this model.
Physics [38, 39]
Quantum Mechanics: The fractional relaxation-oscillation equation is applied to quantum systems that exhibit non-Markovian behavior, where memory effects are critical. This includes quantum oscillators and phenomena such as anomalous diffusion and quantum tunneling.
Nonlinear Dynamics and Chaos: In systems where nonlinear oscillations and chaotic dynamics occur, fractional relaxation-oscillation models are used to describe more complex temporal evolution, capturing both relaxation and oscillatory behavior.
Biological Systems and Medicine [40, 41]
Cardiac Dynamics: The fractional relaxation-oscillation equation is used to model the heart’s electrical activity, particularly in the case of abnormal rhythms or arrhythmias. The fractional approach captures the memory-like behavior in cardiac tissue.
Neuroscience: In modeling the dynamics of neurons, fractional equations describe the propagation of action potentials and oscillatory behavior in neuronal circuits, particularly in the brain’s response to stimuli.
Electrical and Electronic Engineering [42, 43]
Circuit Design: In electrical circuits that exhibit fractional behavior, such as those involving supercapacitors or materials with fractional-order impedance, the fractional relaxation-oscillation equation helps model transient behavior more accurately.
Signal Processing: The equation is employed in filter designs where signals exhibit relaxation-oscillation characteristics, especially in biomedical signal processing, such as modeling EEG or ECG signals.
Mechanical Engineering [1, 44]
Vibration Analysis: Fractional relaxation-oscillation equations are used to model systems with viscoelastic damping, such as mechanical systems with rubber components or smart materials. These models capture the relaxation and oscillation behavior with memory effects.
Control Systems: In control systems where feedback loops involve memory or hereditary effects, such as in robotics and automation, fractional relaxation-oscillation models provide more accurate control system performance.
Civil Engineering [44, 45]
Structural Dynamics: The fractional relaxation-oscillation equation is used to model structures that exhibit viscoelastic behavior, such as buildings with seismic dampers. It helps capture both the relaxation and oscillatory response of the structure under dynamic loads like earthquakes.
Fracture Mechanics: In fracture mechanics, the fractional equation models the propagation of cracks in materials with memory effects, such as concrete or composites.
Chemistry and Materials Science [41, 46]
Viscoelastic Materials: In chemistry and materials science, the fractional relaxation-oscillation equation is used to describe the behavior of viscoelastic materials, such as polymers or gels, which exhibit both relaxation and oscillation in response to stress.
Diffusion in Porous Media: Fractional models are used to study relaxation and oscillatory behaviors in chemical reactions or diffusion processes within porous media, capturing the anomalous diffusion seen in materials like catalysts or membranes.
Finance and Economics [45, 47]
Economic Cycles: The fractional relaxation-oscillation equation is applied to model economic cycles, capturing both the oscillatory nature of market trends and the memory effects that influence economic behavior.
Option Pricing and Financial Derivatives: In financial modeling, this equation helps in better representing markets that exhibit memory and non-Markovian behaviors, which are critical in modeling financial derivatives and options.
Ecology and Environmental Science [46, 48]
Population Dynamics: Fractional relaxation-oscillation models describe the growth and oscillations in population sizes over time, incorporating the effects of memory and hereditary behaviors in species interactions.
Pollution Dispersion: These models are used to describe the oscillatory and relaxation effects seen in the dispersion of pollutants, particularly in complex environments like air or water systems with feedback loops.
In this paper, we propose a simple and effective approach to solve fractional relaxation-oscillation equation founded on a new type of Taylor expansion (See [14, 23,24,25,26,27,28,29, 49,50,51,52,53,54]). In this method, the fractional relaxation-oscillation equation is transformed into a Volterra integral equation and then the Taylor polynomial of degree m for unknown function and repeated integration are employed to reduce the resulting integral equation into a linear equations system with respect to unknown function and its derivatives. The significant advantage of this method aside from its dependability and practicality is that an approximation of order m matches the precise solution if the precise solution is a polynomial function of degree at most m.
This paper is constructed as follows. Some basic concepts of fractional calculus are reviewed in Section 2. The method is presented in Section 3. An error analysis is provided by Section 4. Eight illustrative applications are made in Section 5. Some preliminary conclusions are given in Section 6.
2Review of some basic concepts
We review some fundamental ideas and characteristics of the fractional calculus that we will be using later.
Definition 1.
A real function ϕ (x), x > 0, is said to be in the space Cµ, µ ∈ R if there exists a real number p (> µ), such that ϕ (x) = xpϕ1(x), where ϕ1(x) ∈ C[0,∞), and it is said to be in the space
C_\mu ^n
if ϕ (n) ∈ Cµ, n ∈ N.
Definition 2.
The Riemann-Liouville fractional integral operator of order α ≥ 0, of a function ϕ ∈ Cµ, µ ≥ −1, is considered as follows
(7)
J^\alpha \phi \left( x \right) = {1 \over {{\rm{\Gamma }}\left( \alpha \right)}}\int_0^x {\left( {x - t} \right)^{\alpha - 1} } \phi \left( t \right)dt,\;\;\;\;\alpha > 0,\;\;\;\;x > 0,
(8)
{J^0}\phi \left( x \right) = \phi \left( x \right).
Definition 3.
The Caputo fractional derivative of ϕ (x) is considered as follows
(9)
D_{\rm{*}}^\alpha \phi \left( x \right) = J^{n - \alpha } \left( {{{d^n } \over {dx^n }}\phi \left( x \right)} \right) = {1 \over {{\rm{\Gamma }}\left( {n - \alpha } \right)}}\mathop \int \nolimits_0^x {\rm{}}(x - t)^{n - \alpha - 1} \phi ^{\left( n \right)} \left( t \right)dt,
for n − 1 < α ≤ n,
n ∈ N, x > 0,
\phi \in C_{ - 1}^n
.
Definition 4.
The Riemann-Liouville fractional derivative of ϕ (x) is considered as follows
(10)
{D^\alpha }\phi \left( x \right) = {{{d^n}} \over {d{x^n}}}\left( {{J^{n - \alpha }}\phi \left( x \right)} \right),
for n − 1 < α ≤ n, n ∈ N, x > 0,
\phi \in C_{ - 1}^n
.
3Description of the method
As mentioned in Section 1, we consider the fractional relaxation-oscillation equation as follows:
(11)
{D^\alpha }\psi \left( x \right) + A\psi \left( x \right) = f\left( x \right),\;\;\;\;x > 0
(12)
\matrix{{\psi \left( 0 \right) = 0,} & {\psi '\left( 0 \right) = 0,} \cr }
where A is a constant and 0 < α ≤ 2. In equation (11), Dαψ (x) indicates Riemann-Liouville fractional derivative of order α. In order to describe the method, we consider two cases as 0 < α ≤ 1 and 1 < α ≤ 2, for simplicity.
Case I
0 < α ≤ 1.
According to definition (10), equation (11) is rewritten as
(13)
{d \over {dx}}\left( {{J^{1 - \alpha }}\psi \left( x \right)} \right) + A\psi \left( x \right) = f\left( x \right).
By using definition (8), the aforementioned equation is equivalent to
(14)
{d \over {dx}}\left( {{1 \over {{\rm{\Gamma }}\left( {1 - \alpha } \right)}}\mathop \smallint \nolimits_0^x {\rm{}}(x - t)^{ - \alpha } \psi \left( t \right)dt} \right) + A\psi \left( x \right) = f\left( x \right).
In the following, integrating both side of equation (14) from 0 to x, leads to
(15)
{1 \over {{\rm{\Gamma }}\left( {1 - \alpha } \right)}}\mathop \smallint \nolimits_0^x {\rm{}}(x - t)^{ - \alpha } \psi \left( t \right)dt + A\mathop \smallint \nolimits_0^x {\rm{}}\psi \left( t \right)dt = f_{\left( 0 \right)} \left( x \right),
where
(16)
f_{\left( 0 \right)} \left( x \right) = \mathop \smallint \nolimits_0^x {\rm{ }}f\left( t \right)dt.
Hence we convert the fractional relaxation-oscillation equation (11) under initial condition (12) into a Volterra integral equation. To approximately solve the obtained Volterra integral equation, we reduce it into a linear equations system with respect to unknown function and its derivatives. To realize this goal, it is supposed that the solution ψ (t) is m + 1 times continuously differentiable on the interval I, that is to say ψ ∈ Cm+1(I). Therefore, for ψ ∈ Cm+1(I), we can express unknown function ψ (t) in terms of the Taylor expansion of order m at an arbitrary point x ∈ I as follows.
(17)
\psi \left( t \right) = \psi \left( x \right) + \psi '\left( x \right)\left( {t - x} \right) + \cdots + {1 \over {m!}}{\psi ^{\left( m \right)}}\left( x \right){(t - x)^m} + {E_m}\left( {t,x} \right),
in which Em(t,x) is the bound of Lagrange error as
(18)
{E_m}\left( {t,x} \right) = {{{\psi ^{\left( {m + 1} \right)}}\left( \delta \right)} \over {\left( {m + 1} \right)!}}{(t - x)^{m + 1}},
for some point δ between x and t. Generally, the Lagrange error bound Em(t,x) gets sufficiently small as m grows enough provided that ψ (m+1)(x) is a uniformly bounded function. It is important to note that the Lagrange error bound becomes zero for a polynomial function of maximum degree m, thus the above Taylor expansion of order m is equal to exact solution. With due attention to aforesaid hypothesis, by omitting the last bound of Lagrange error, we approximately expand ψ (t) as
(19)
\psi \left( t \right) \approx \mathop \sum \limits_{k = 0}^m \,{\psi ^{\left( k \right)}}\left( x \right){{{{(t - x)}^k}} \over {k!}}.
Replacing the truncated series (19), for unknown function ψ (t), into (15) leads to
(20)
{1 \over {{\rm{\Gamma }}\left( {1 - \alpha } \right)}}\mathop \sum \limits_{k = 0}^m {{\left( { - 1} \right)^k } \over {k!}}\psi ^{\left( k \right)} \left( x \right)\mathop \smallint \nolimits_0^x {\rm{}}(x - t)^{k - \alpha } dt + A\mathop \sum \limits_{k = 0}^m {\rm{}}{{\left( { - 1} \right)^k } \over {k!}}\psi ^{\left( k \right)} \left( x \right)\mathop \smallint \nolimits_0^x {\rm{}}(x - t)^k dt = f_{\left( 0 \right)} \left( x \right),
which can be expressed simply as follows
(21)
{v_{00}}\left( x \right)\psi \left( x \right) + {v_{01}}\left( x \right)\psi '\left( x \right) + \cdots + {v_{0m}}\left( x \right){\psi ^{\left( m \right)}}\left( x \right) = {f_{\left( 0 \right)}}\left( x \right),
where
(22)
\matrix{{{v_{0k}}\left( x \right) = {{{{\left( { - 1} \right)}^k}{x^{k - \alpha + 1}}} \over {\left( {k - \alpha + 1} \right){\rm{\Gamma }}\left( {1 - \alpha } \right)k!}} + {{{{\left( { - 1} \right)}^k}A{x^{k + 1}}} \over {k!\left( {k + 1} \right)}},\;} & {k = 0, \cdots ,m.} \cr }
In essence, equation (11) was converted into an mth-order linear ordinary differential equation involving ψ (x) and its derivations up to order m. Next, our goal is to solve a linear equations system to determine ψ (x),···, ψ (m)(x). To accomplish this aim, we require other m additional linear equations involving ψ (x) and its derivatives up to order m which obtain by repeated integration of both sides of equation (15) m times as
(23)
\;{1 \over {{\rm{\Gamma }}\left( {1 - \alpha } \right)}}\mathop \int \nolimits_0^x \,\mathop \int \nolimits_t^x {{{{\left( {x - s} \right)}^{i - 1}}} \over {\left( {i - 1} \right)!}}{{\psi \left( t \right)} \over {{{\left( {s - t} \right)}^\alpha }}}dsdt + A\mathop \int \nolimits_0^x {{{{\left( {x - t} \right)}^i}} \over {\left( i \right)!}}\psi \left( t \right)dt = {f_{\left( i \right)}}\left( x \right),
where
(24)
\;\matrix{{{f_{\left( i \right)}}\left( x \right) = \mathop \int \nolimits_0^x {{{{\left( {x - t} \right)}^i}} \over {\left( i \right)!}}f\left( t \right)dt,} & {i = 1, \cdots ,m.} \cr }
Taylor expansion is applied again and after replacing (19), for unknown function ψ (t), into (23) we obtain
(25)
\matrix{{{1 \over {\Gamma \left( {1 - \alpha } \right)}}\mathop \sum \limits_{k = 0}^m {{{{\left( { - 1} \right)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)\mathop \int \nolimits_0^x \,\mathop \int \nolimits_t^x {{{{\left( {x - s} \right)}^{i - 1}}} \over {\left( {i - 1} \right)!}}{{\left( {x - t} \right)}^k}{{\left( {s - t} \right)}^{ - \alpha }}dsdt} \hfill \cr { + A\mathop \sum \limits_{k = 0}^m {{{{\left( { - 1} \right)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)\mathop \int \nolimits_0^x {{{{\left( {x - t} \right)}^{k + i}}} \over {\left( i \right)!}}dt = {f_{\left( i \right)}}\left( x \right),\;\;\;\;\;\;\,\;i = 1, \cdots ,m,} \hfill \cr }
or equivalently
(26)
\matrix{{{v_{i0}}\left( x \right)\psi \left( x \right) + {v_{i1}}\left( x \right)\psi '\left( x \right) + \cdots + {v_{im}}\left( x \right){\psi ^{\left( m \right)}}\left( x \right) = {f_{\left( i \right)}}\left( x \right),} & {i = 1, \cdots ,m,} \cr }
where
(27)
\matrix{{{v_{ik}}\left( x \right) = {{{{\left( { - 1} \right)}^k}{x^{k + i - \alpha + 1}}} \over {\left( {k + i - \alpha + 1} \right){\rm{\Gamma }}\left( {i + 1 - \alpha } \right)k!}} + {{{{\left( { - 1} \right)}^k}A{x^{k + i + 1}}} \over {k!i!\left( {k + i + 1} \right)}},} & {k = 0, \cdots ,m.} \cr }
In this way, equations (21) and (26) make a system of linear equations involving ψ (x),···, ψ (m)(x). Now, we use the following notation for the resulting system
(28)
{\bf{V}}\left( x \right){\rm{\Psi }}\left( x \right) = F\left( x \right),
where
(29)
{\bf{V}}\left( x \right) = \left[ {\matrix{{{v_{00}}\left( x \right)} & {{v_{01}}\left( x \right)} & \cdots & {{v_{0m}}\left( x \right)} \cr {{v_{10}}\left( x \right)} & {{v_{11}}\left( x \right)} & \cdots & {{v_{1m}}\left( x \right)} \cr \vdots & \vdots & \ddots & \vdots \cr {{v_{m0}}\left( x \right)} & {{v_{m1}}\left( x \right)} & \cdots & {{v_{mm}}\left( x \right)} \cr } } \right],
(30)
\matrix{{{\bf{F}}\left( x \right) = \left[ {\matrix{{{f_{\left( 0 \right)}}\left( x \right)} \cr {{f_{\left( 1 \right)}}\left( x \right)} \cr \vdots \cr {{f_{\left( m \right)}}\left( x \right)} \cr } } \right],} & {{\bf{\Psi }}\left( x \right) = } & {\left[ {\matrix{{\psi \left( x \right)} \cr {\psi '\left( x \right)} \cr {\psi ''\left( x \right)} \cr \vdots \cr {{\psi ^{\left( m \right)}}\left( x \right)} \cr } } \right]} \cr }
In the sequel, an approximate solution of equation (11) can be achieved by applying the conventional approach to the system (28).
Case II
1 < α ≤ 2.
According to definition (10), equation (11) is rewritten as
(31)
{{{d^2}} \over {d{x^2}}}\left( {{J^{2 - \alpha }}\psi \left( x \right)} \right) + A\psi \left( x \right) = f\left( x \right).
By using definition (8), the aforementioned equation is equivalent to
(32)
{{{d^2}} \over {d{x^2}}}\left( {{1 \over {{\rm{\Gamma }}\left( {2 - \alpha } \right)}}\mathop \int \nolimits_0^x {{\left( {x - t} \right)}^{1 - \alpha }}\psi \left( t \right)dt} \right) + A\psi \left( x \right) = f\left( x \right).
In the following, integrating both side of equation (32) twice from 0 to x, leads to
(33)
{1 \over {{\rm{\Gamma }}\left( {2 - \alpha } \right)}}\mathop \int \nolimits_0^x {\left( {x - t} \right)^{1 - \alpha }}\psi \left( t \right)dt + A\mathop \int \nolimits_0^x \left( {x - t} \right)\psi \left( t \right)dt = {f_{\left( 0 \right)}}\left( x \right),
where
(34)
{f_{\left( 0 \right)}}\left( x \right) = \mathop \int \nolimits_0^x \left( {x - t} \right)f\left( t \right)dt.
Hence we convert the fractional relaxation-oscillation equation (11) under initial conditions (12) into a Volterra integral equation. To approximately solve the resulting Volterra integral equation, we reduce it into a linear equations system with respect to ψ (x),···, ψ (m)(x).
Toward this end, using a procedure analogous to the case I, replacing the truncated series (19), for unknown function ψ (t), into (33) leads to
(35)
{1 \over {{\rm{\Gamma }}\left( {2 - \alpha } \right)}}\mathop \sum \limits_{k = 0}^m {{{{\left( { - 1} \right)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)\mathop \int \nolimits_0^x {\left( {x - t} \right)^{k + 1 - \alpha }}dt + A\mathop \sum \limits_{k = 0}^m {{{{\left( { - 1} \right)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)\mathop \int \nolimits_0^x {\left( {x - t} \right)^{k + 1}}dt = {f_{\left( 0 \right)}}\left( x \right).
or equivalently
(36)
{v_{00}}\left( x \right)\psi \left( x \right) + {v_{01}}\left( x \right)\psi '\left( x \right) + \cdots + {v_{0m}}\left( x \right){\psi ^{\left( m \right)}}\left( x \right) = {f_{\left( 0 \right)}}\left( x \right),
where
(37)
\matrix{{{v_{0k}}\left( x \right) = {{{{\left( { - 1} \right)}^k}{x^{k - \alpha + 2}}} \over {\left( {k - \alpha + 2} \right){\rm{\Gamma }}\left( {2 - \alpha } \right)k!}} + {{{{\left( { - 1} \right)}^k}A{x^{k + 2}}} \over {k!\left( {k + 2} \right)}},} & {k = 0, \cdots ,m.} \cr }
In equation (36), ψ (k)(x), for k = 0,···, m are unknown functions. To find these unknown functions, we treat equation (36) as a linear equation in terms of ψ (x),···, ψ (m)(x). As a result, we require m additional linear equations involving ψ (x) and its derivatives up to order m. These required equations are derived by repeated integration of both sides of equation (33) m times as shown below
(38)
{1 \over {{\rm{\Gamma }}\left( {2 - \alpha } \right)}}\mathop \int \nolimits_0^x \mathop \int \nolimits_t^x {{{{\left( {x - s} \right)}^{i - 1}}} \over {\left( {i - 1} \right)!}}{{\psi \left( t \right)} \over {{{\left( {s - t} \right)}^{\alpha - 1}}}}dsdt + A\mathop \int \nolimits_0^x {{{{\left( {x - t} \right)}^{i + 1}}} \over {\left( {i + 1} \right)!}}\psi \left( t \right)dt = {f_{\left( i \right)}}\left( x \right),
where
(39)
\matrix{{{f_{\left( i \right)}}\left( x \right) = \mathop \int \nolimits_0^x {{{{\left( {x - t} \right)}^{i + 1}}} \over {\left( {i + 1} \right)!}}f\left( t \right)dt,} & {i = 1, \cdots ,m.} \cr }
Replacing (19) for ψ (t) into (38), we obtain
(40)
\matrix{{{1 \over {\Gamma \left( {2 - \alpha } \right)}}\sum\limits_{k = 0}^m {{{{{( - 1)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)} \int_0^x {\int_0^x {{{{{(x - s)}^{i - 1}}} \over {\left( {i - 1} \right)!}}{{\left( {x - t} \right)}^k}{{\left( {s - t} \right)}^{1 - \alpha }}dsdt} } } \hfill \cr { + A\sum\limits_{k = 0}^m {{{{{( - 1)}^k}} \over {k!}}{\psi ^{\left( k \right)}}\left( x \right)} \;\int_0^x {{{{{(x - t)}^{k + i + 1}}} \over {\left( {i + 1} \right)!}}dt = {f_{\left( i \right)}}\left( x \right)} ,\;\;\;\;\;\;\;\;\;\;\;\;i = 1, \cdots ,m,} \hfill \cr }
or equivalently
(41)
\matrix{{{v_{i0}}\left( x \right)\psi \left( x \right) + {v_{i1}}\left( x \right)\psi '\left( x \right) + \cdots + {v_{im}}\left( x \right){\psi ^{\left( m \right)}}\left( x \right) = {f_{\left( i \right)}}\left( x \right),} & {i = 1, \cdots ,m,} \cr }
where
(42)
\eqalign{ & \matrix{ {{v_{ik}}\left( x \right) = {{{{\left( { - 1} \right)}^k}{x^{k + i - \alpha + 2}}} \over {\left( {k + i - \alpha + 2} \right){\rm{\Gamma }}\left( {i + 2 - \alpha } \right)k!}} + {{{{\left( { - 1} \right)}^k}A{x^{k + i + 2}}} \over {k!\left( {i + 1} \right)!\left( {k + i + 2} \right)}},} & {k = 0, \cdots ,m.} \cr } \cr & \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\; \cr}
Hence, a system of linear equations with respect to ψ (x),···, ψ (m)(x) is constructed by equations (36) and (41). The system acquired is indicated by
(43)
\;\;\;\;{\bf{V}}\left( x \right){\rm{\Psi }}\left( x \right) = F\left( x \right),
where
(44)
{\bf{V}}\left( x \right) = \left[ {\matrix{ {{v_{00}}\left( x \right)} & {{v_{01}}\left( x \right)} & \cdots & {{v_{0m}}\left( x \right)} \cr {{v_{10}}\left( x \right)} & {{v_{11}}\left( x \right)} & \cdots & {{v_{1m}}\left( x \right)} \cr \vdots & \vdots & \ddots & \vdots \cr {{v_{m0}}\left( x \right)} & {{v_{m1}}\left( x \right)} & \cdots & {{v_{mm}}\left( x \right)} \cr } } \right],\;\;
(45)
{\bf{F}}\left( x \right) = \left[ {\matrix{ {{f_{\left( 0 \right)}}\left( x \right)} \cr {{f_{\left( 1 \right)}}\left( x \right)} \cr \vdots \cr {{f_{\left( m \right)}}\left( x \right)} \cr } } \right], {\bf{Y}}\left( x \right) = \left[ {\matrix{ {\psi \left( x \right)} \cr {\psi '\left( x \right)} \cr {\psi ''\left( x \right)} \cr \vdots \cr {{\psi ^{\left( m \right)}}\left( x \right)} \cr } } \right].
Finally, by solving the resulting system an approximate solution of equation (11) is obtained.
4Error analysis
The error analysis of the proposed method is fully discussed in [49,50,51,52,53,54,55,56,57,58,59,60,61] and reviewed here for mth-order approximating solution of relaxation-oscillation equation (5).
The exact solution ψ (t) is supposed to be infinitely differentiable on the interval I; thus we can expand ψ (t) as an uniformly convergent Taylor series in I as the following.
(46)
\psi \left( t \right) = \mathop \sum \limits_{k = 0}^\infty {\psi ^{\left( k \right)}}\left( x \right){{{{\left( {t - x} \right)}^k}} \over {k!}}.
Applying the suggested technique outlined in Section 2, relaxation-oscillation equation (5) is converted into the following equivalent infinitely linear equations system with respect to unknowns ψ (k)(x),k = 0,1,···,
(47)
{\rm{V}}{\bf{\Psi }} = {\rm{F}},
where
(48)
\matrix{ {{\bf{V}} = \mathop {{\rm{lim}}}\limits_{n \to \infty } {{\bf{V}}_{nn}},} & {{\bf{\Psi }} = \mathop {{\rm{lim}}}\limits_{n \to \infty } {{\bf{\Psi }}_n},} & {{\bf{F}} = \mathop {{\rm{lim}}}\limits_{n \to \infty } {F_n},} \cr }
in which Vnn, Ψn, and Fn, as demonstrated in the part before, are described as
(49)
\matrix{ {{{\bf{V}}_{nn}} = {{\left[ {{v_{ij}}\left( x \right)} \right]}_{\left( {n + 1} \right) \times \left( {n + 1} \right)}}\,\,\,,} & {{{\bf{\Psi }}_n} = {{\left[ {{\psi ^{\left( i \right)}}\left( x \right)} \right]}_{\left( {n + 1} \right) \times 1}}\,\,\,\,,} & {{{\bf{F}}_n} = {{\left[ {{f_{\left( i \right)}}\left( x \right)} \right]}_{\left( {n + 1} \right) \times 1}}.} \cr } \;\;
Thus, under the solvability conditions of the obtained system (47) and putting B = V−1 the solution of this system is uniquely indicated as
(50)
{\bf{\Psi }} = {\bf{BF}}.
The relation (50) is rewritten in a matrix form as
(51)
\left[ {\matrix{ {{{\bf{\Psi }}_n}} \cr {{{\bf{\Psi }}_\infty }} \cr } } \right] = \left[ {\matrix{ {{{\bf{B}}_{nn}}} & {{B_{n\infty }}} \cr {{{\bf{B}}_{\infty n}}} & {{B_{\infty \infty }}} \cr } } \right]\left[ {\matrix{ {{{\bf{F}}_n}} \cr {{{\bf{F}}_\infty }} \cr } } \right].
Thus, it can be realized that the vector Ψn which is composed of the first n + 1 elements of the exact solution vector Ψ must satisfy the subsequent relation
(52)
{{\bf{\Psi }}_n} = {{\bf{B}}_{nn}}{{\bf{F}}_n} + {{\bf{B}}_{n\infty }}{{\bf{F}}_\infty }.
Based on the suggested method in Section 3, the unique solution of system VΨ = F is represented as
(53)
{\widetilde {\bf{\Psi }}_n} = {\bf{V}}_{nn}^{ - 1}{{\bf{F}}_n},
where
{{\bf{\tilde \Psi }}_n}
is a notation for approximate solution which is replaced by Ψn for convenience.
Subtracting (53) from (52) leads to
(54)
{{\bf{\Psi }}_n} - {{\bf{\tilde \Psi }}_n} = {{\bf{D}}_{nn}}{{\bf{F}}_n} + {{\bf{B}}_{n\infty }}{{\bf{F}}_\infty },
where
{{\bf{D}}_{nn}} = {{\bf{B}}_{nn}} - {\bf{V}}_{nn}^{ - 1}
.
As we now extend the right side of equation (54), we can express the first element of the vector at the left side of (54) as
(55)
\psi \left( x \right) - \widetilde \psi \left( x \right) = \mathop \sum \limits_{j = 0}^n {d_{0,j}}\left( x \right){f_{\left( j \right)}}\left( x \right) + \mathop \sum \limits_{j = n + 1}^\infty {b_{0,j}}\left( x \right){f_{\left( j \right)}}\left( x \right),
where di,j(x) and bi,j(x) are the elements of Dnn and Bn∞, respectively. So, based on the Cauchy-Schwarz inequality the following relation is resulted
(56)
\left| {\psi \left( x \right) - \widetilde\psi \left( x \right)} \right| \le \left( {\mathop \sum \limits_{j = 0}^n {\rm{}}\left| {d_{0,j} \left( x \right)} \right|^2 } \right)^{{1 \over 2}} \left( {\mathop \sum \limits_{j = 0}^n {\rm{}}\left| {f_{\left( j \right)} \left( x \right)} \right|^2 } \right)^{{1 \over 2}} + \left( {\mathop \sum \limits_{j = n + 1}^\infty {\rm{}}\left| {b_{0,j} \left( x \right)} \right|^2 } \right)^{{1 \over 2}} \left( {\mathop \sum \limits_{j = n + 1}^\infty {\rm{}}\left| {f_{\left( j \right)} \left( x \right)} \right|^2 } \right)^{{1 \over 2}}.
It must be noted that as limn→∞ Dnn = 0 and limn→∞ Bn∞ = 0, then limn→∞ |ψ (x) −ψ̃ (x)| = 0.
5Applications
This section is devoted to illustrate the efficiency of the technique for some specific applications of the fractional equations for which the exact solutions are known in advance and the procedure leads to an exact solution. Our obtained results are compared with the some existing methods and superiority of our proposed method is confirmed.
5.1Application 1.
Consider the following fractional relaxation-oscillation equation [15]
(57)
{D^\alpha }\psi \left( x \right) + \psi \left( x \right) = {{2{x^{2 - \alpha }}} \over {{\rm{\Gamma }}\left( {3 - \alpha } \right)}} - {{{x^{1 - \alpha }}} \over {{\rm{\Gamma }}\left( {2 - \alpha } \right)}} + {x^2} - x,
with initial and boundary conditions given as
(58)
\eqalign{ & \matrix{ {\psi \left( 0 \right) = 0,} & {0< \alpha \le 1.} \cr } \cr & \;\;\;\; \cr}
According to definition (10), for
\alpha = {1 \over 2}
, equation (57) is rewritten as
(59)
{1 \over {\sqrt \pi }}{d \over {dx}}\mathop \int \nolimits_0^x {{\psi \left( t \right)} \over {\sqrt {x - t} }}dt + \psi \left( x \right) = {{8{x^{{3 \over 2}}}} \over {3\sqrt \pi }} - {{2{x^{{1 \over 2}}}} \over {\sqrt \pi }} + {x^2} - x.
Using the proposed process in this paper, we integrate both sides of equation (59) and obtain the following Volterra integral equation
(60)
\;{1 \over {\sqrt \pi }}\mathop \int \nolimits_0^x {{\psi \left( t \right)} \over {\sqrt {x - t} }}dt + \mathop \int \nolimits_0^x \psi \left( t \right)dt = {{16{x^{{5 \over 2}}}} \over {15\sqrt \pi }} - {{4{x^{{3 \over 2}}}} \over {3\sqrt \pi }} + {{{x^3}} \over 3} - {{{x^2}} \over 2},
which is solved by the proposed method. Using the first-order Taylor expansion
(61)
\psi \left( t \right) \approx \psi \left( x \right) + \psi '\left( x \right)\left( {t - x} \right),
we have the following first-order approximate solution as
(62)
{\psi _1}\left( x \right) = {{x\left( {175\pi x\left( {5x - 6} \right) + 256\left( {32x - 35} \right) + 60\sqrt \pi \sqrt x \left( {87x - 98} \right)} \right)} \over {70\left( {128 + 84\sqrt \pi \sqrt x + 15\pi x} \right)}}.
Moreover, if the second-order Taylor expansion
(63)
\psi \left( t \right) \approx \psi \left( x \right) + \psi '\left( x \right)\left( {t - x} \right) + {1 \over 2}y''\left( x \right){(t - x)^2},
is applied, results in the second-order approximate solution as
(64)
{\psi _2}\left( x \right) = {x^2} - x,
which is the exact solution. It is worth mentioning that the Mathematica command ‘LinearSolve’ is employed to solve the resulting system after transforming equation (57) into a linear equations system.
The absolute errors between the exact solution, its approximations, and the results from [15] are presented in Table 1. As seen in the table, the accuracy of our results is highly satisfactory. The second-order approximate solution matches the exact solution, as anticipated, since an mth-order approximation will yield the exact solution when the exact solution is a polynomial of degree up to m.
Table 1
Absolute errors of application 1 for
\alpha = {1 \over 2}
.
| x | Method in [15] | Suggested method | Suggested method |
|---|
|
|---|
| |ψExact – −ψEuler | m = 1 | m = 2 |
|---|
|
|---|
| 0.1 | 1.96 × 10−4 | 9.47835 × 10−4 | 0 |
| 0.2 | 2.12 × 10−4 | 3.92452 × 10−3 | 0 |
| 0.3 | 1.93 × 10−4 | 9.04525 × 10−3 | 0 |
| 0.4 | 1.58 × 10−4 | 1.63858 × 10−2 | 0 |
| 0.5 | 1.07 × 10−4 | 2.60039 × 10−2 | 0 |
| 0.6 | 4.70 × 10−5 | 3.79465 × 10−2 | 0 |
| 0.7 | 1.90 × 10−5 | 5.22532 × 10−2 | 0 |
| 0.8 | 9.10 × 10−5 | 6.89581 × 10−2 | 0 |
| 0.9 | 1.68 × 10−4 | 8.80911 × 10−2 | 0 |
| 1.0 | 2.49 × 10−4 | 1.09679 × 10−1 | 0 |
This application was addressed in [15] and resolved by fractional Euler’s method as a generalization of the classical Euler’s method with h = 0.001.
5.2Application 2.
Consider the following Bagley-Torvik equation [16, 17]
(65)
\psi ''\left( x \right) + {D^{{3 \over 2}}}\psi \left( x \right) + \psi \left( x \right) = 2 + 4\sqrt {{x \over \pi }} + {x^2},
with initial conditions
(66)
\matrix{ {\psi \left( 0 \right) = 0,} & {\psi '\left( 0 \right) = 0.} \cr }
The exact solution of the equation is ψ (x) = x2.
According to definition (10), for
\alpha = {3 \over 2}
, equation (65) is rewritten as
(67)
\psi ''\left( x \right) + {1 \over {\sqrt \pi }}{{{d^2}} \over {d{x^2}}}\mathop \int \nolimits_0^x {{\psi \left( t \right)} \over {\sqrt {x - t} }}dt + \psi \left( x \right) = 2 + 4\sqrt {{x \over \pi }} + {x^2}.
Based on the proposed method, by integrating both sides of equation (67) twice, we have
(68)
\psi \left( x \right) + {1 \over {\sqrt \pi }}\mathop \int \nolimits_0^x {{\psi \left( t \right)} \over {\sqrt {x - t} }}dt + \mathop \int \nolimits_0^x \left( {x - t} \right)\psi \left( t \right)dt = {x^2} + {{16{x^{{5 \over 2}}}} \over {15\sqrt \pi }} + {{{x^4}} \over {12}}.
Consequently, to solve the obtained integral equation we apply the first-order Taylor expansion
(69)
\psi \left( t \right) \approx \psi \left( x \right) + \psi '\left( x \right)\left( {t - x} \right),
which results in the following first-order approximate solution as
(70)
{\psi _1}\left( x \right) = {{25200\pi {x^2} + 56000\sqrt \pi {x^{{5 \over 2}}} + 32768{x^3} + 2800\pi {x^4} + 4400\sqrt \pi {x^{{9 \over 2}}} + 245\pi {x^6}} \over {70\left( {360\pi + 816\sqrt \pi \sqrt x + 512x + 30\pi {x^2} + 68\sqrt \pi {x^{{5 \over 2}}} + 5\pi {x^4}} \right)}},
and if the second-order Taylor expansion
(71)
\psi \left( t \right) \approx \psi \left( x \right) + \psi '\left( x \right)\left( {t - x} \right) + {1 \over 2}\psi ''\left( x \right){(t - x)^2},
is applied, results in the second-order approximate solution as
(72)
{\psi _2}\left( x \right) = {x^2},
which is the exact solution.
The obtained absolute errors between the exact values and its approximate solutions at equidistant points in [0,1] are shown in Table 2. From Table 2, one can find that the accuracy of obtained results is quite satisfactory and the second-order approximation yields the exact solution, as anticipated.
Table 2
Absolute errors of application 2 for
\alpha = {3 \over 2}
.
| x | m = 1 | m = 2 |
|---|
|
|---|
| 0.1 | 7.96634 × 10−5 | 0 |
| 0.2 | 4.32073 × 10−4 | 0 |
| 0.3 | 1.13436 × 10−3 | 0 |
| 0.4 | 2.21276 × 10−3 | 0 |
| 0.5 | 3.67007 × 10−3 | 0 |
| 0.6 | 5.49867 × 10−3 | 0 |
| 0.7 | 7.68955 × 10−3 | 0 |
| 0.8 | 1.02393 × 10−2 | 0 |
| 0.9 | 1.31560 × 10−2 | 0 |
| 1.0 | 1.64640 × 10−2 | 0 |
This application was solved using the collocation method and the collocation-shooting approach, respectively, in [16, 17]. In Table 3, we display the highest absolute errors from Refs. [16, 17].
Table 3
The maximum of the absolute errors in [16, 17].
| Method in [16] | Method in [17] |
|---|
|
|---|
| 0.44 × 10−7 | 7.22 × 10−12 |
5.3Application 3.
Consider the following fractional relaxation-oscillation equation [18]
(73)
{D^\alpha }\psi \left( x \right) + 3\psi \left( x \right) = 3{x^3} + {8 \over {{\rm{\Gamma }}\left( {0.5} \right)}}{x^{1.5}},
with initial conditions
(74)
\matrix{ {\psi \left( 0 \right) = 0,} & {\psi '\left( 0 \right) = 0.} \cr }
For α = 1.5, the precise solution is ψ (x) = x3. By using m = 1,2,3, we may derive the approximations based on the suggested method. Table 4 contains a list of the obtained absolute errors. Furthermore, the results obtained in [18] are shown in Table 5. From Table 4, We note that, as anticipated, the third-order approximate solution provides the precise solution, and the precision of our results is quite good.
Table 4
Absolute errors of application 3 for α = 1.5.
| x | m = 1 | m = 2 | m = 3 |
|---|
|
|---|
| 0.1 | 1.61568 × 10−4 | 2.16231 × 10−5 | 0 |
| 0.2 | 1.29155 × 10−3 | 1.72617 × 10−4 | 0 |
| 0.3 | 4.37732 × 10−3 | 5.80789 × 10−4 | 0 |
| 0.4 | 1.04941 × 10−2 | 1.37156 × 10−3 | 0 |
| 0.5 | 2.08974 × 10−2 | 2.66859 × 10−3 | 0 |
| 0.6 | 3.71081 × 10−2 | 4.59691 × 10−3 | 0 |
| 0.7 | 6.09707 × 10−2 | 7.28893 × 10−3 | 0 |
| 0.8 | 9.46758 × 10−2 | 1.08933 × 10−2 | 0 |
| 0.9 | 1.40749 × 10−1 | 1.55858 × 10−2 | 0 |
| 1.0 | 2.02012 × 10−1 | 2.15812 × 10−2 | 0 |
Table 5
Absolute errors of application 3 for α = 1.5 in [18].
| x | N = 3 | N = 5 | N = 7 | N = 9 |
|---|
|
|---|
| 0.1 | 2.2655 × 10−5 | 8.68960 × 10−10 | 1.67093 × 10−10 | 3.65474 × 10−14 |
| 0.3 | 3.4118 × 10−4 | 1.60361 × 10−6 | 1.67093 × 10−10 | 4.21589 × 10−14 |
| 0.5 | 6.3397 × 10−4 | 9.63817 × 10−7 | 1.06212 × 10−9 | 9.14555 × 10−13 |
| 0.7 | 1.6705 × 10−4 | 1.71558 × 10−7 | 7.03957 × 10−10 | 8.21475 × 10−14 |
| 0.9 | 5.5043 × 10−4 | 8.98678 × 10−7 | 1.92731 × 10−10 | 1.32512 × 10−13 |
This application was used in [18] and has been solved based on the first kind of Bessel functions collocation method.
5.4Application 4.
Consider the fractional differential equation [18]
(75)
\psi ''\left( x \right) - 2\psi '\left( x \right) + {D^\alpha }\psi \left( x \right) + \psi \left( x \right) = {x^3} - 6{x^2} + 6x + {{16} \over {5\sqrt \pi }}{x^{2.5}},
with initial conditions
(76)
\matrix{ {\psi \left( 0 \right) = 0,} & {\psi '\left( 0 \right) = 0.} \cr }
The exact solution is ψ (x) = x3 for α = 0.5. Using the process described in Section 3, we determine the approximate solutions of equation (75) by putting m = 1,2,3. As expected, the present approximate result is identical to the exact value when m = 3, since the true solution ψ (x) is a polynomial function of degree 3. The obtained absolute errors are listed in Table 6. Furthermore, the results obtained in [18] are shown in Table 7.
Table 6
Absolute errors of application 4 for α = 0.5.
| x | m = 1 | m = 2 | m = 3 |
|---|
|
|---|
| 0.1 | 1.83884 × 10−7 | 1.67374 × 10−8 | 0 |
| 0.2 | 8.57564 × 10−7 | 2.45555 × 10−7 | 0 |
| 0.3 | 1.52024 × 10−5 | 5.48380 × 10−7 | 0 |
| 0.4 | 4.06132 × 10−5 | 2.33971 × 10−6 | 0 |
| 0.5 | 4.92393 × 10−5 | 2.08813 × 10−5 | 0 |
| 0.6 | 7.41184 × 10−4 | 8.73476 × 10−5 | 0 |
| 0.7 | 3.30409 × 10−3 | 2.70423 × 10−4 | 0 |
| 0.8 | 1.04898 × 10−2 | 6.99303 × 10−4 | 0 |
| 0.9 | 2.76795 × 10−2 | 1.59673 × 10−3 | 0 |
| 1.0 | 6.47880 × 10−2 | 3.32226 × 10−3 | 0 |
Table 7
Absolute errors of application 4 for α = 0.5 in [18].
| x | N = 3 | N = 5 | N = 7 |
|---|
|
|---|
| 0.1 | 1.8769 × 10−4 | 2.98543 × 10−7 | 8.029610 × 10−10 |
| 0.3 | 9.7022 × 10−4 | 3.84222 × 10−6 | 3.057123 × 10−9 |
| 0.5 | 2.6184 × 10−3 | 7.27991 × 10−6 | 6.018712 × 10−9 |
| 0.7 | 3.4247 × 10−3 | 1.24040 × 10−6 | 9.156311 × 10−9 |
| 0.9 | 6.9465 × 10−3 | 1.75728 × 10−5 | 9.754413 × 10−9 |
This application was used in [18] and has been solved based on the first kind of Bessel functions collocation method.
5.5Application 5.
Consider the following fractional differential equation [19]
(77)
\psi ''\left( x \right) + 0.5{D^{0.5}}\psi \left( x \right) + \psi \left( x \right) = 2 + x\left( {{1 \over {{\rm{\Gamma }}\left( {2.5} \right)}}{x^{0.5}} + x} \right),
with initial and boundary conditions given as
(78)
\matrix{ {\psi \left( 0 \right) = 0,} & {\psi '\left( 0 \right) = 0,} \cr }
which the exact solution is ψ (x) = x2. Employing the approach described in Section 3, we determine the approximate solutions of equation (77) by putting m = 1,2. The obtained absolute errors and the results obtained in [19] are listed in Table 8. It is evident that our findings are quite satisfying and that, as predicted, the exact answer is obtained from the second-order approximate solution.
Table 8
Absolute errors of application 5 for
\alpha = {1 \over 2}
.
| x | Method in [19] | Suggested method m = 1 | Suggested method m = 2 |
|---|
|
|---|
| 0.125 | 2.78 × 10−3 | 1.39 × 10−5 | 0 |
| 0.250 | 8.95 × 10−3 | 1.81 × 10−4 | 0 |
| 0.375 | 2.06 × 10−3 | 7.90 × 10−4 | 0 |
| 0.500 | 3.81 × 10−3 | 2.21 × 10−3 | 0 |
| 0.625 | 3.79 × 10−3 | 4.72 × 10−3 | 0 |
| 0.750 | 8.62 × 10−3 | 8.50 × 10−3 | 0 |
| 0.875 | 7.19 × 10−3 | 1.34 × 10−2 | 0 |
| 1.000 | 2.90 × 10−3 | 1.92 × 10−2 | 0 |
The cubic splines method was used to solve this case, which was mentioned in [19].
5.6Application 6.
Consider the following fractional relaxation-oscillation equation [20]
(79)
{D^\alpha }\psi \left( x \right) = {8 \over 3}\sqrt {{{{x^3}} \over \pi }} - 2\sqrt {{x \over \pi }} ,
with initial and boundary conditions given as
(80)
\matrix{ {\psi \left( 0 \right) = 0,} & {0< \alpha \le 1.} \cr }
When α = 0.5, the exact solution is ψ (x) = x2 − x. The approximate solutions of equation (79) are found in the following by setting m = 1,2 and applying the procedure outlined in Section 3. Table 9 lists the absolute errors that were acquired as well as the findings from [20]. It is evident that our results are quite satisfactory and that, as predicted, the exact answer is obtained from the second-order approximate solution.
Table 9
Absolute errors of application 6 for
\alpha = {1 \over 2}
.
| x | (Method in [20]) |ψExact −ψFFDM| | Suggested method m = 1 | Suggested method m = 2 |
|---|
|
|---|
| 0.1 | 1.49 × 10−4 | 8.57143 × 10−4 | 0 |
| 0.2 | 2.19 × 10−4 | 3.42857 × 10−3 | 0 |
| 0.3 | 2.72 × 10−4 | 7.71429 × 10−3 | 0 |
| 0.4 | 3.17 × 10−4 | 1.37143 × 10−2 | 0 |
| 0.5 | 3.57 × 10−4 | 2.14286 × 10−2 | 0 |
| 0.6 | 3.93 × 10−4 | 3.08571 × 10−2 | 0 |
| 0.7 | 4.26 × 10−4 | 4.20000 × 10−2 | 0 |
| 0.8 | 4.56 × 10−4 | 5.48571 × 10−2 | 0 |
| 0.9 | 4.85 × 10−4 | 6.94286 × 10−2 | 0 |
| 1.0 | 5.12 × 10−4 | 8.57143 × 10−2 | 0 |
This application is given in [20] and solved by fractional finite difference method (FFDM) with h = 0.01.
5.7Application 7.
Consider the following fractional relaxation-oscillation equation [20]
(81)
{D^\alpha }\psi \left( x \right) + \psi \left( x \right) = {x^2} + {2 \over {{\rm{\Gamma }}\left( {3 - \alpha } \right)}}{x^{2 - \alpha }},
with initial and boundary conditions given as
(82)
\matrix{ {\psi \left( 0 \right) = 0,} & {0< \alpha \le 1.} \cr }
For α = 0.5, the precise solution is ψ (x) = x2. By putting m = 1,2, we apply the procedure outlined in this study to derive the approximate solutions of equation (81). Table 10 lists the absolute errors that were acquired as well as the findings from [20]. It is evident that, as would be expected, the exact answer comes from the second-order approximate solution.
Table 10
Absolute errors of application 7 for
\alpha = {1 \over 2}
.
| x | (Method in [20]) |ψExact −ψFFDM| | Suggested method m = 1 | Suggested method m = 2 |
|---|
|
|---|
| 0.1 | 1.16 × 10−4 | 9.47835 × 10−4 | 0 |
| 0.2 | 1.56 × 10−4 | 3.92452 × 10−3 | 0 |
| 0.3 | 1.81 × 10−4 | 9.04525 × 10−3 | 0 |
| 0.4 | 2.00 × 10−4 | 1.63858 × 10−2 | 0 |
| 0.5 | 2.15 × 10−4 | 2.60039 × 10−2 | 0 |
| 0.6 | 2.27 × 10−4 | 3.79465 × 10−2 | 0 |
| 0.7 | 2.37 × 10−4 | 5.22532 × 10−2 | 0 |
| 0.8 | 2.46 × 10−4 | 6.89581 × 10−2 | 0 |
| 0.9 | 2.54 × 10−4 | 8.80911 × 10−2 | 0 |
| 1.0 | 2.61 × 10−4 | 1.09679 × 10−1 | 0 |
This application is given in [20] and solved by fractional finite difference method (FFDM) with h = 0.01.
5.8Application 8.
Consider the following fractional relaxation-oscillation equation [21]
(83)
\matrix{ {{D^{{1 \over 2}}}\psi \left( x \right) + \psi \left( x \right) = \sqrt x + {{\sqrt \pi } \over 2},} & {\psi \left( 0 \right) = 0.} \cr }
The exact solution of this problem is
\psi \left( x \right) = \sqrt x
. We employ the proposed method in this paper to obtain the approximate solutions of equation (83) by setting m = 5,···, 10. The maximum of the absolute errors is shown on [0,1] in Table 11. This problem has been solved in [21] by using Legendre-collocation scheme that was considered in [22] and we present the results in Table 12.
Table 11
The maximum of the absolute errors for application 8.
| m | Maximal Errors |
|---|
|
|---|
| 5 | 2.27804 × 10−3 |
| 6 | 1.51433 × 10−3 |
| 7 | 1.06370 × 10−3 |
| 8 | 7.79340 × 10−4 |
| 9 | 5.90323 × 10−4 |
| 10 | 4.59348 × 10−4 |
Table 12
Approximation errors of Legendre-collocation scheme proposed in [22] for application 8.
| N | Maximal Errors |
|---|
|
|---|
| 5 | 0.0221 |
| 10 | 0.0067 |
| 15 | 0.0033 |
| 20 | 0.0019 |
6Conclusion
In this paper, we introduced an approximate method to solve the fractional relaxation-oscillation equation. The proposed approach transformed the relaxation-oscillation equation into a Volterra integral equation. By applying the Taylor expansion for the unknown function and repeated integration method, the integral equation was reduced to a linear equations system involving the unknown function and its derivatives. The resulting system was then solved using a standard method. The main contribution of the proposed technique is that the approximation of order m is exact if the exact solution is a polynomial of degree up to m.