Next Article in Journal
Mathematical Analysis and Applications II
Next Article in Special Issue
Bitcoin Analysis and Forecasting through Fuzzy Transform
Previous Article in Journal
Oscillation Results for Higher Order Differential Equations
Previous Article in Special Issue
F-Transform Inspired Weak Solution to a Boundary Value Problem
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Numerical Solution of Ordinary, Interval and Fuzzy Differential Equations by Use of F-Transform

1
Department of Economics and Management, University of Pisa, Via C. Ridolfi, 10, 56124 Pisa (PI), Italy
2
Department of Finance, Faculty of Economics, VŠB—Technical University of Ostrava, Sokolská tr. 33, 70121 Ostrava, Czech Republic
3
DESP, Department of Economics, Society, Politics, University of Urbino Carlo Bo, Via A. Saffi 42, 61029 Urbino, Italy
*
Author to whom correspondence should be addressed.
Axioms 2020, 9(1), 15; https://doi.org/10.3390/axioms9010015
Submission received: 24 November 2019 / Revised: 27 January 2020 / Accepted: 28 January 2020 / Published: 5 February 2020
(This article belongs to the Special Issue Fuzzy Transforms and Their Applications)

Abstract

:
An interesting property of the inverse F-transform f ^ of a continuous function f on a given interval [ a , b ] says that the integrals of f ^ and f on [ a , b ] coincide. Furthermore, the same property can be established for the restrictions of the functions to all subintervals [ a , p k ] of the fuzzy partition of [ a , b ] used to define the F-transform. Based on this fact, we propose a new method for the numerical solution of ordinary differential equations (initial-value ordinary differential equation (ODE)) obtained by approximating the derivative x · ( t ) via F-transform, then computing (an approximation of) the solution x ( t ) by exact integration. For an ODE, a global second-order approximation is obtained. A similar construction is then applied to interval-valued and (level-wise) fuzzy differential equations in the setting of generalized differentiability (gH-derivative). Properties of the new method are analyzed and a computational section illustrates the performance of the obtained procedures, in comparison with well-known efficient algorithms.

1. Introduction

The fuzzy transform (F-transform) of a continuous function f : [ a , b ] R was introduced by Perfilieva in [1,2]. This special fuzzy method is particularly appealing and useful to handle many real-world problems and an extensive research activity has both analyzed its properties and its fields of applications; for the literature related to this paper we refer to, e.g., [3,4,5,6,7,8,9,10,11] and the references therein.
In recent research, attention has been paid to the numerically approximated solutions of ordinary differential equations (ODEs) x · ( t ) = F ( t , x ) of various types. In particular, it is shown that by using the inverse F-transform, it is possible to obtain good approximations of the solution x ( t ) . The methods that use the F-transform are (computationally) superior with respect to other ones such as the second-order Runge–Kutta algorithm or basic multi-step algorithms (see [12,13,14,15,16]). In the final section of this paper, we will present some comments and a preliminary comparative valuation of the proposed methods.
In this paper, we propose a numerical method where the inverse F-transform is used to approximate the derivative x · ( t ) ; the solution x ( t ) is then obtained by exact integration of the approximated derivative: this is allowed by an interesting property which says that the integral of the inverse F-transform of f on [ a , b ] coincides (exactly) with the integral of the function f itself; this idea was presented in a preliminary form in [17].
For an ordinary differential equation, including the case of a system, a global second-order approximation is obtained. Properties of the new method are analyzed and a computational section illustrates the performance of the obtained procedures, in comparison with well-known efficient algorithms.
A similar construction is then applied to interval-valued (IDE) and (level-wise) fuzzy differential equations (FDE) in the setting of generalized differentiability (gH-derivative, see [18,19,20]). IDEs and FDEs are designed to model uncertainty and its propagation in a dynamical setting and it is well known that the fuzzy case can be expressed in terms of a family of IDEs by adopting the level-wise representation of fuzzy numbers and fuzzy-valued functions. For a modern introduction to FDEs under Hukuhara and generalized derivative, we refer to chapter 9 of Bede’s book [21]. The interested reader is also referred to the recent book [22], in particular to chapter 4, and the references therein.
This paper is organized into five sections. In Section 2 we recall some of the basic definitions and properties of the F-transform as contained in [1,2,23]. Then, in Section 3, we describe our approach to the numerical solution of ordinary (and systems of) differential equations with initial conditions, usually referred as Cauchy problem. The F-transform is used to approximate the derivative of the solution to be founded and the unknown function is determined by point-wise by exact integration of the derivative; this section also contains the main properties of the method and a proof of its (global) convergence. Numerical examples and a computational comparison with other well-performing algorithms is presented in Section 4. Section 5 considers the case of interval differential equations and extends the use of F-transform to the numerical solution of IDEs and FDEs under (level-wise) generalized Hukuhara differentiability; in particular, the switching phenomenon is analyzed and rule to manage the switching is proposed and implemented in the proposed procedure. Several computational examples of interval and fuzzy differential equation are presented and discussed in Section 6. Section 7 presents some conclusions and present some ideas for further work.

2. Preliminaries

We briefly recall the basic definitions and properties of the F-transform setting. For all the details, we refer to the papers [1,2,23].
A fuzzy partition ( P , A ) of the compact interval [ a , b ] is defined by a finite decomposition P = { a = p 1 < p 2 < < p n = b } of [ a , b ] with n points and by a family A = { A 1 , A 2 , , A n } of n continuous basic functions A k : [ a , b ] [ 0 , 1 ] with the following properties (the decomposition P is not required to be uniform):
  • A k ( t ) = 0 for t ] p k 1 , p k + 1 [ ( k = 2 , , n 1 ), A 1 ( t ) = 0 for t [ p 1 , p 2 [ , A n ( t ) = 0 for t ] p n 1 , p n ] ;
  • A k ( p k ) = 1 for all k = 1 , 2 , , n and A 1 ( t ) + A 2 ( t ) + + A n ( t ) = 1 for all t [ a , b ] ;
  • for k = 2 , , n 1 , A k is increasing on [ p k 1 , p k ] and decreasing on [ p k , p k + 1 ] , A 1 is decreasing on [ p 1 , p 2 ] , A n is increasing of [ p n 1 , p n ] .
Let us define the following integrals
I 1 = 0 , I 1 + = p 1 p 2 A 1 t d t I k = p k 1 p k A k t d t , I k + = p k p k + 1 A k t d t I n = p n 1 p n A 1 t d t , I n + = 0
and
I k = I k + I k + for k = 1 , , n .
The direct F-transform of f with respect to ( P , A ) is the n-tuple of real numbers F ( P , A ) = ( F 1 , F 2 , , F n ) defined as
F 1 = 1 I 1 p 1 p 2 f ( t ) A k ( t ) d t , F n = 1 I n p 1 p n f ( t ) A k ( t ) d t , F k = 1 I k p k 1 p k + 1 f ( t ) A k ( t ) d t , k = 2 , , n 1
and, obtained from the direct fuzzy transform F ( P , A ) , the inverse F-transform (iF-transform) of f is the function f ( P , A ) : [ a , b ] R given by
f ( P , A ) ( t ) = k = 1 n F k A k ( t ) for t [ a , b ] .
The following properties (see [1]) are the fundamentals of the F-transform setting.
Proposition 1.
(from [1]) If f : [ a , b ] R is a continuous function then;
 1. 
for any positive real ε, there exists a fuzzy partition ( P ε , A ε ) such that the corresponding iF-transform f ( P ε , A ε ) : [ a , b ] R satisfy
f ( t ) f ( P ε , A ε ) ( t ) < ε f o r a l l t [ a , b ] .
 2. 
for all k = 1 , , n ,
F k = f ( P , A ) ( p k )
f ( p k ) = F k + O ( h 2 ) a s h 0
where h = m a x { p k + 1 p k ; k = 1 , , n 1 } .
 3. 
the direct and inverse F-transforms are linear, i.e., for any λ R and for any two continuous functions f , g : [ a , b ] R , with direct F-transforms F ( P , A ) and G ( P , A ) with respect to the same partition ( P , A ) ; then
 3.1. 
the direct F-transforms of λ f and f + g are, respectively, λ F ( P , A ) and F ( P , A ) + G ( P , A ) ,
 3.2. 
the inverse F-transform of λ f and f + g are, respectively, λ f ( P , A ) and f ( P , A ) + g ( P , A ) .
In [10], the following property has been established:
Proposition 2.
Let f , g : [ a , b ] R be continuous functions and let ( P , A ) be a fuzzy partition of [ a , b ] . Then
 (i) 
the iF-transform satisfies
a b f ( P , A ) ( t ) d t = a b f ( t ) d t
 (ii) 
if f ang g have the same direct F-transform components F ( P , A ) = G ( P , A ) , then
a b f t d t = a b g t d t .
It is interesting to observe that a fuzzy partition has a “nesting” property (its proof is immediate):
Proposition 3.
Let ( P , A ) be a fuzzy partition of interval [ a , b ] with P = a = p 1 < p 2 < < p n = b and consider any subinterval [ a , p k ] with k = 2 , , n ; let ( P k , A k ) be the fuzzy partition of [ a , p k ] defined by
P k = { a , p 2 , , p k } A k = { A 1 , , A ˜ k }
where the last basic function A ˜ k is given by the restriction of the basic function A k to the subinterval [ p k 1 , p k ] . The fuzzy partition ( P k , A k ) , k = 1 , 2 , , n is called the k-th nested partition associated with ( P , A ) and clearly ( P n , A n ) = ( P , A ) .
A consequences of the properties above is the following proposition:
Proposition 4.
Let f : [ a , b ] R be a continuous function and let F ( P , A ) = ( F 1 , F 2 , , F n ) T be its F-transform with respect to ( P , A ) . Then, for any k = 2 , , n 1 , the F-transform of the restriction of f to the subinterval [ a , p k ] (with respect to the k-th nested partition ( P k , A k ) ), is given by F ( k ) = ( F 1 , , F k 1 , F ˜ k ) T where only the last component F ˜ k is changed with respect to the components in F ( P , A ) and is given by
F ˜ k = a p k f ( t ) A k ( t ) d t a p k A k t d t .
We have, for all k = 2 , , n 1 (the central summation is assumed to be zero if k = 2 ),
f ( P k , A k ) ( t ) = F 1 A 1 ( t ) + j = 2 k 1 F j A j ( t ) + F ˜ k A ˜ k ( t )
and
a p k f ( t ) d t = F 1 a p k A 1 t d t + j = 2 k 1 F j a p j + 1 A j t d t + F ˜ k a p k A k t d t .
With the notation in (1), equality (10) is written (for k > 1 ) as
a p k f ( t ) d t = F 1 I 1 + + j = 2 k 1 F j I j + F ˜ k I k
and we have:
Proposition 5.
Let f : [ a , b ] R be a continuous function, let ( P , A ) be a uniform fuzzy partition of [ a , b ] with h = b a n 1 and let F ( P , A ) = ( F 1 , F 2 , , F n ) T be the F-transform of f; let also F ( k ) = ( F 1 , , F k 1 , F ˜ k ) T be as in (9) for any k = 2 , , n 1 . Then
I k F ˜ k = h 2 f ( p k ) + O ( h 3 ) a s h 0 I k F k = h f ( p k ) + O ( h 3 ) a s h 0 .
Proof. 
Consider 2 k n 1 . We have I k F ˜ k = p k 1 p k f ( t ) A k ( t ) d t and, by the trapezoidal integration,
I k F ˜ k = h 2 [ f ( p k 1 ) A k ( p k 1 ) + f ( p k ) A k ( p k ) ] + O ( h 3 ) ;
on the other hand, A k ( p k ) = 1 and A k ( p k 1 ) = 0 , so I k F ˜ k = h 2 f ( p k ) + O ( h 3 ) . For the second equality (consider that A k ( p k + 1 ) = 0 ) we have
I k F k = I k F ˜ k + h 2 f ( p k ) + O ( h 3 ) = h 2 f ( p k ) + h 2 f ( p k ) + O ( h 3 ) = h f ( p k ) + O ( h 3 ) .
 □

3. Numerical Solution of Initial-Value ODE by F-Transform

Let us consider the following initial-value ordinary differential equation (ODE):
x · t = f t , x t , t t 0 , t 1 x t 0 = x 0
We assume the usual requirements on function f ( t , x ) that ensure existence and unicity of the solution x ( t ) , t t 0 , t 1 .
We are interested to find an approximation of the final value x ( t 1 ) of the solution x ( t ) . Let ( P , A ) be a fixed (but arbitrary) uniform fuzzy partition of t 0 , t 1 with p 1 = t 0 , p k = p k 1 + h , k = 2 , , n and h = t 1 t 0 n 1 ; let A = A 1 , , A n be the basic functions. Let x · ( P , A ) denote the iF-transform of x · t with (exact) direct F-transform components ( F k ) k = 1 , , n .
In the rest of the paper, we will make use of the following functions and notation: for any basic function A k A , k = 1 , 2 , , n , we will denote by B k the integral function defined by
B k t = t 0 t A k s d s .
The components of the direct F-transform of x · ( t ) will be denoted by F 1 , F 2 , , F n and the inverse F-transform of x · ( P , A ) of is the function
x · ( P , A ) ( t ) = k = 1 n F k A k ( t ) for t [ a , b ] .
The following proposition follows immediately from (10).
Proposition 6.
If the exact values ( F k ) k = 1 , , n of the direct F-transform components of the function t f t , x t on t 0 , t 1 with respect to the fuzzy partition ( P , A ) are known, then the final value x t 1 of the solution of (12) is exactly given by
x t 1 = x 0 + k = 1 n F k I k .
Furthermore, at the intermediate points p k , k = 2 , , n 1 of the decomposition P , we have that the solution x p k is exactly given by
x p k = x 0 + j = 1 k 1 F j I j + F ˜ k I k
Proof. 
By definition, we have
x · ( P , A ) t = k = 1 n F k A k t
and, from property (ii) in Proposition 1, also
t 0 t 1 x · ( P , A ) t d t = t 0 t 1 x · t d t ;
we then obtain
x t 1 = x 0 + t 0 t 1 x · ( P , A ) s d s = x 0 + k = 1 n F k B k t 1 .
By Proposition 2 applied to the derivative function x · t = f t , x t , with ( P , A ) on t 0 , t 1 , and using (1)–(2), we have B j p k = I j and B k p k = I k and the conclusion follows.  □
Remark 1.
Consider that in general we have x ( t ) x 0 + t 0 t x · ( P , A ) ( s ) d s , for t { p 1 , , p n } .
From the properties of F-transform as in Proposition 1 (point 3.) we finally have the following
Proposition 7.
If the exact values ( F k ) k = 1 , , n of the direct F-transform components of the function t f t , x t on t 0 , t 1 with respect to a fuzzy partition ( P , A ) are known, then the solution x t of (12), for all k = 1 , , n 1 , satisfies
x t = x ( P , A , x 0 ) ( p k ) + p k t f s , x s d s , o o r a l l t [ p k , p k + 1 [ ,
where
x ( P , A , x 0 ) ( t ) = x 0 + t 0 t x · ( P , A ) ( s ) d s
Proof. 
Apply the identity x t = x 0 + t 0 p k f s , x s d s + p k t f s , x s d s and (14).  □

3.1. An F-Transform Algorithm for ODE

In view of Propositions 6 and 7, we then need a way to compute or to approximate the direct F-transform components ( F k ) k = 1 , , n of x · t .
By definition, we have that (here p 0 = p 1 and p n + 1 = p n ), for k = 1 , 2 , , n ,
I k F k = p k 1 p k + 1 x · t A k t d t = p k 1 p k + 1 f ( t , x t ) A k t d t I k F ˜ k = p k 1 p k x · t A k t d t = p k 1 p k f ( t , x t ) A k t d t
and, from Proposition 5,
I k F k = h f ( p k , x p k ) + O ( h 3 ) I k F ˜ k = h 2 f ( p k , x p k ) + O ( h 3 ) .
As a final step, substitute x ( p k ) = x 0 + j = 1 k 1 F j I j + F ˜ k I k and obtain, for h 0 ,
I k F k = h f p k , x 0 + j = 1 k 1 F j I j + F ˜ k I k + O ( h 3 )
I k F ˜ k = h 2 f p k , x 0 + j = 1 k 1 F j I j + F ˜ k I k + O ( h 3 ) .
Approximated values G k and G ˜ k of F k and F ˜ k , respectively, can be computed by solving the following equations (we will assume that the sums below will be zero if k = 1 )
I k G k = h f p k , x 0 + j = 1 k 1 G j I j + G ˜ k I k
I k G ˜ k = h 2 f p k , x 0 + j = 1 k 1 G j I j + G ˜ k I k .
To solve Equations (18) and (19) let us write them for different values of k = 1 , , n . The first component G 1 can be determined from the initial condition x · t 0 = f ( t 0 , x ( t 0 ) ) = f ( p 1 , x 0 ) , obtained from I 1 F 1 = h f ( p 1 , x p 1 ) + O ( h 3 ) by ignoring the term O ( h 3 ) :
G 1 = h f ( t 0 , x 0 ) I 1 .
When computing G 2 and G ˜ 2 , the value of G 1 is known, and Equations (18) and (19) become
I 2 G ˜ 2 = h 2 f p 2 , x 0 + G 1 I 1 + G ˜ 2 I 2
I 2 G 2 = h f p 2 , x 0 + G 1 I 1 + G ˜ 2 I 2 .
From the first equation we determine G ˜ 2 and, by substituting into the second, we compute G 2 = 2 I 2 G ˜ 2 / I 2 .
For a general k , the values G 1 , , G k 1 are known and we need to solve Equation (19) only for G ˜ k
I k G ˜ k = h 2 f p k , x 0 + j = 1 k 1 G j I j + G ˜ k I k ;
then we set G k = 2 I k G ˜ k / I k .
Summarizing, we determine the values G ˜ k and G k iteratively from (23) starting with (20). Each Equation (23) has the form of a fixed-point problem for G ˜ k
G ˜ k = h 2 I k f p k , x 0 + j = 1 k 1 G j I j + G ˜ k I k
and can be solved by any zero finder routine or, considering that the system is in (nonlinear) triangular form, by any iterative procedure.
We have the following approximation property for the solution of (12).
Theorem 1.
Let G k = ( G 1 , , G k 1 , G ˜ k ) be solutions of (20)–(23) and define
x G k p k = x 0 + j = 1 k 1 G j I j + G ˜ k I k for k = 1 , 2 , , n .
Then, for the solution x p k of (12) at the points p k , k = 1 , 2 , , n , we have
x p k = x G k p k + O ( k h 3 ) as h 0 , x ( t 1 ) = x G n t 1 + ( t 1 t 0 ) O ( h 2 ) as h 0 .
Proof. 
From (14), (24) and (25) we have
| x p k x G k p k | j = 1 k 1 | F j G j | I j + | F ˜ k G ˜ k | I k = j = 1 k O ( h 3 ) = k O ( h 3 ) as h 0 .
From h = t 1 t 0 n 1 we get n = ( t 1 t 0 ) O ( 1 h ) and n O ( h 3 ) = ( t 1 t 0 ) O ( 1 h ) O ( h 3 ) = ( t 1 t 0 ) O ( h 2 ) as h 0 and the conclusion follows.  □
The last theorem allows development of the following algorithm for the numerical solution of ODE based on F-transform.
Algorithm ODE-FT: Find an approximated final value x ( P , A ) ( t 1 ) of the ODE x · t = f t , x t , t t 0 , t 1 with initial condition x t 0 = x 0 .
 Step 1. 
Choose a uniform fuzzy partition ( P , A ) of t 0 , t 1 with n points p 1 = t 0 , p k = p k 1 + h , k = 2 , , n and h = t 1 t 0 n 1 ; let I k , I k + and I k as in (1)-(2).
 Step 2. 
For k = 1 , 2 , , n , compute the solutions G 1 , , G k 1 , G ˜ k of Equation (23) and define
x ( P , A ) p k = x 0 + j = 1 k 1 G j I j + G ˜ k I k for k = 1 , 2 , , n .
 Step 3. 
The final value x ( P , A ) t 1 (corresponding to p n = t 1 ) is the desired approximation of x ( t 1 ) with x ( t 1 ) x ( P , A ) t 1 = ( t 1 t 0 ) O ( h 2 ) as h 0 .
Theorem 1 ensures that the algorithm ODE-FT is (globally) convergent. Clearly, the convergence of the algorithm ODE-FT assumes that the solutions of Equation (23) are solved with high precision, independent on the number n of points p k of the fuzzy partition; in practice, if the exact solutions G 1 , , G k 1 , G ˜ k are approximated and substituted in the algorithm by quantities G 1 , , G k 1 , G ˜ k , it is required that they are such that G j G j < t o l j for small positive tolerances t o l j < ε and fixed small ε > 0 ; in this case, taking into account that I j 2 h , I j h and consequently j = 1 k 1 | G j G j | I j + | G ˜ k G ˜ k | I k ( 2 k 1 ) ε h = 2 k 1 n 1 ( t 1 t 0 ) ε , the precision of ODE-FT is such that
| x p k x G k p k | j = 1 k 1 | F j G j | I j + j = 1 k 1 | G j G j | I j + | F ˜ k G ˜ k | I k + | G ˜ k G ˜ k | I k = j = 1 k O ( h 3 ) + j = 1 k 1 | G j G j | I j + | G ˜ k G ˜ k | I k as h 0 k O ( h 3 ) + 2 k 1 n 1 ( t 1 t 0 ) ε as h 0
and, for k = n , | x p n x G n p n | ( t 1 t 0 ) O ( h 2 + 2 ε ) as h 0 and n . In the computations reported in this paper, we have solved the fixed-point problems either exactly (in the case of linear differential equations) or, in the nonlinear cases, with a tolerance t o l 10 12 in the absolute difference between two successive iterates of the used equation solver.

3.2. Extension to Systems of ODEs

The extension of the described procedure to solve systems of ordinary differential equations with initial conditions in the form
x . i ( t ) = f i ( t , x 1 ( t ) , , x n ( t ) ) , i = 1 , 2 , , d x i ( t 0 ) = x i , 0 , i = 1 , 2 , , d t [ t 0 , t 1 ]
We can find an approximation of the final value of each function x i ( t 1 ) , i = 1 , 2 , , d , in terms of a fixed fuzzy partition ( P , A ) of t 0 , t 1 , e.g., p 1 = t 0 , p k = p k 1 + h , k = 2 , , n and h = t 1 t 0 n 1 and basic functions A = A 1 , , A n . Let x · i , ( P , A ) denote the iF-transform of x · i t with direct F-transform components ( F i , k ) k = 1 , , n , then, the final value x i t 1 can be obtained, in terms of the components ( F i , k ) k = 1 , , n and the initial condition x i , 0 :
x i , ( P , A ) ( t ) = x 0 + t 0 t x · i , ( P , A ) ( s ) d s = x 0 + k = 1 n F i , k B k t
where B k t = t 0 t A k ( s ) d s , k = 1 , , n .
The direct F-transform components of the functions t f i t , x 1 t , , x d t on t 0 , t 1 with respect to a fuzzy partition ( P , A ) are given, in this case, by d simultaneous systems of equalities (here p 0 = p 1 and p n + 1 = p n ), for k = 1 , 2 , , n ,
I k F i , k = p k 1 p k + 1 x i · t A k t d t = p k 1 p k + 1 f i ( t , x 1 t , , x d t ) A k t d t I k F ˜ i , k = p k 1 p k x i · t A k t d t = p k 1 p k f i ( t , x 1 t , , x d t ) A k t d t
and, for all i = 1 , , d and k = 1 , , n , we obtain, by substituting x i ( p k ) = x i , 0 + j = 1 k 1 F i , j I j + F ˜ i , k I k , for h 0 ,
I k F i , k = h f p k , x 1 , 0 + j = 1 k 1 F 1 , j I j + F ˜ 1 , k I k , , x d , 0 + j = 1 k 1 F d , j I j + F ˜ d , k I k + O ( h 3 )
I k F ˜ i , k = h 2 f p k , x 1 , 0 + j = 1 k 1 F 1 , j I j + F ˜ 1 , k I k , , x d , 0 + j = 1 k 1 F d , j I j + F ˜ d , k I k + O ( h 3 ) .
Approximated values G i , k and G ˜ i , k of F i , k and F ˜ i , k , respectively, are computed by solving the systems of d equations
I k G i , k = h f i p k , x 1 , 0 + j = 1 k 1 G 1 , j I j + G ˜ 1 , k I k , , x d , 0 + j = 1 k 1 G d , j I j + G ˜ d , k I k
I k G ˜ i , k = h 2 f i p k , x 1 , 0 + j = 1 k 1 G 1 , j I j + G ˜ 1 , k I k , , x d , 0 + j = 1 k 1 G d , j I j + G ˜ d , k I k .
The first components G i , 1 , from the initial condition x i · t 0 = f i ( p 1 , x 1 , 0 , , x d , 0 ) , are
G i , 1 = h f i ( t 0 , x 1 , 0 , , x d , 0 ) I 1
and, for k 2 , with the known values G i , 1 , , G i , k 1 , we need to solve the system of d equations for G ˜ i , k
I k G ˜ i , k = h 2 f i p k , x 1 , k + G ˜ 1 , k I k , , x d , k + G ˜ d , k I k , i = 1 , , d
where we have denoted x i , k = x i , 0 + j = 1 k 1 G i , j I j ; finally, we set G i , k = 2 I k G ˜ i , k / I k .
Each system of Equation (29) has the form of a fixed-point problem for G ˜ i , k and can be solved by any zero finder routine or by an iterative procedure similar to the one already described, adapted for the simultaneous case:
G ˜ i , k ( l + 1 ) = h 2 I k f i p k , x 1 , k + G ˜ 1 , k ( l ) I k , , x d , k + G ˜ d , k ( l ) I k , i = 1 , , d .
If G i , k , i = 1 , , d and k = 1 , , n , are the solutions of (28) and (29) and we define
x i , G i , k p k = x i , 0 + j = 1 k 1 G i , j I j + G ˜ i , k I k for k = 1 , 2 , , n , i = 1 , , d ,
then, for the solution x i p k of the system of ODEs at the points p k , k = 1 , 2 , , n , we have
x i p k = x i , G i , k p k + O ( k h 3 ) as h 0 , x i ( t 1 ) = x i , G i , n t 1 + ( t 1 t 0 ) O ( h 2 ) as h 0 .

3.3. The Case of Linear ODE

When the ODE is linear, with f ( t , x ( t ) ) = a ( t ) x ( t ) + b ( t ) , then the algorithm ODE-FT can be simplified considerably, because Equation (23) for G ˜ k is
I k G ˜ k = h 2 a ( p k ) x 0 + j = 1 k 1 G j I j + G ˜ k I k + b ( p k )
and one obtains G 1 from I 1 G 1 = h a ( p 1 ) x 0 + b ( p 1 ) and, for k > 1 ,
G ˜ k = a ( p k ) x 0 + j = 1 k 1 G j I j + b ( p k ) I k 2 h a ( p k ) ;
remark that the denominator can be controlled to be non-zero by choosing an appropriate (small) value of h; in particular when a ( t ) has positive values, in order to have 2 h a ( p k ) > 0 it is sufficient to choose h (or, equivalently, n) such that a ( p k ) < 2 h for all k = 1 , 2 , , n .

4. Computational Results for ODEs

The algorithm ODE-FT described in Section 2 has been implemented in MATLAB and used to solve a series of d-dimensional ODEs with d = 1 , 2 , 3 and 4. For some of them the exact solution x j ( t ) , j = 1 , , d , is available and the performance of our algorithm is evaluated by comparing the found solutions x j , ( P , A ) ( t ) and x j ( t ) at a number M of points t t 1 , t 2 , , t M ; for the problems without exact solutions, the comparison is performed with the solution x j , R K ( t ) found using the well-known Runge–Kutta–Fehlberg (RK) combination of fourth- and fifth-order approximation algorithm available in MATLAB function ode45, one of the possibly best implementations of the explicit RK method with variable step-size adaptation.
The first example proposes a simple (non-trivial) calculation of the erf function (see [24], Problem P6-1)
x ( t ) = e r f ( t ) = 2 π 0 t e s 2 d s , t 0
at points t i = ( i 1 ) / 100 , i = 1 , , 101 by solving the ODE (anti derivative problem)
x . ( t ) = 2 π e t 2 , t [ 0 , 1 ] x ( 0 ) = 0 .
Our solution x ^ i at points t i , that approximates x ( t i ) , is found by applying algorithm ODE-FT successively on each subinterval [ t i , t i + 1 ] , i = 1 , , 100 , starting with the first interval [ t 1 , t 2 ] = [ 0 , 1 100 ] (initial condition x ^ 1 = x ( t 1 ) = 0 to find x ^ 2 x ( t 2 ) ) and continuing by solving (32) on subsequent subintervals [ t i , t i + 1 ] , i = 2 , , 100 , with the initial condition x ( t i ) = x ^ i . On each subinterval, algorithm ODE-FT is applied with a uniform fuzzy partition ( P , A ) , with n = 101 nodes and triangular basic functions A k . We remark that with the decomposition of interval [ 0 , 1 ] into 101 points and a fuzzy partition of each subinterval [ t i , t i + 1 ] , i = 1 , , 100 , with n = 101 nodes, the resulting (fixed) step size for solving (32) on [ 0 , 1 ] is h = 1.0 × 10 4 (and h 2 = 1.0 × 10 8 ).
To compare the found solution with the values obtained using routine erf ( ) in MATLAB, we found the average absolute error 1 101 i = 1 101 | x ^ i erf ( t i ) | = 5.9191 × 10 10 < h 2 ; at the final point t = 1 , we have erf ( 1 ) = 8.427007929497149 × 10 1 and x ^ 101 = 8.427007922578713 × 10 1 with error x ^ 101 erf ( 1 ) = 6.9184 × 10 10 .
To test the validity of the ODE-FT algorithm, we have performed two numerical experiments on two series of ODEs.
For the first experiment, we have chosen five non-trivial problems with known exact solution; this allows comparison of the one obtained by ODE-FT with the exact one.
In the second experiment we solve other five typical well-known ODEs and we compare our solutions with the ones obtained by well-established routines in MATLAB, like ode45 (based on explicit single step Runge–Kutta method of orders 4 and 5 with step-size control), ode113 (a variable-step and variable-order method based on Adams–Bashforth–Moulton discretizations of orders 1 to 13) or ode15i (an implicit variable-step and variable-order solver of orders 1 to 5, particularly efficient for stiff problems).

4.1. ODEs with Known Exact Solutions

The five ODEs for the first experiment are denoted Ex1 (single equation, d = 1 ) and Ex2, Ex3, Ex4, Ex5 (systems of two equations, d = 2 ).
For all the examples, we provide the following MATLAB output:
-
MFT = … number M of points t i where the solution is computed;
-
N = Number of nodes in the partition ( P , A ) ;
-
hstep = … step size h used on each subinterval [ t i , t i + 1 ] , i = 1 , , M F T 1 ;
-
FunctionEvaluations = total number of function evaluations required by algorithm ODE-FT.
-
Final FT value x ( j ) = …(final value found for x ^ j ( t ) at t = t M F T ) , j = 1 , , d ;
-
AveErrFT = Average absolute error 1 M F T i = 1 M F T | x ^ j , i x j ( t i ) | , j = 1 , , d ;
-
MaxErrFT = Maximum absolute error m a x i = 1 , , M F T | x ^ j , i x j ( t i ) | , j = 1 , , d ;
-
Final Exact value x ( j ) = …(final value of x j ( t ) at t = t M F T , j = 1 , , d ;
-
Error in Final value E r r x ( j ) = ( x ^ j ( t M F T ) x j ( t M F T ) , j : 1 , , d )
Problem Ex1 (Logistic equation with unitary carrying capacity): Solution interval is t [ 0 , 1 ] ;
x . = r x ( 1 x ) x ( 0 ) = x 0 .
The exact solution is x 1 ( t ) = 1 1 + 1 x 0 1 e r t ( x 0 = 0.1 , r = 3 ).
The first run with MFT = 101 and N = 2 (corresponding step size h = 0.01 ) produced the following results:
AveErrFT = 3.131431926296436 × 10 6 , MaxErrFT = 8.708952653480040 × 10 6
Final FT: x ( 1 ) = 6.905591487503622 × 10 1 ,
Final Exact: x ( 1 ) = 6.905678577030157 × 10 1 ,
Final Error: Errx( 1) = -8.708952653480040 × 10 6 .
The second run uses MFT = 101 and N = 41, corresponding to a step size h = 0.0025 , produces the following better result, with a final error of the order 5 × 10 9 :
MFT = 101, N = 41, hstep = 2.5 × 10 4 , FunctionEvaluations = 14,798.
AveErrFT = 1.957156456839409 × 10 9 , MaxErrFT = 5.443002715210810 × 10 9 .
Final FT: x ( 1 ) = 6.905678522600129 × 10 1 ,
Final Exact: x ( 1 ) = 6.905678577030157 × 10 1 and
Final Error: Errx( 1) = -5.443002715210810 × 10 9 .
Problem Ex2: (non-autonomous nonlinear system): Solution interval is t [ 0 , 1 ] ;
x . 1 = x 1 t cos ( t ) ( x 2 + 1 ) + sin ( t ) x . 2 = x 1 2 + sec 2 ( t ) t 2 sin 2 ( t ) x 1 ( 0 ) = 0 x 2 ( 0 ) = 0 .
The exact solution is x 1 ( t ) = t sin ( t ) x 2 ( t ) = tan ( t ) .
The solution is first computed using MFT = 101, N = 41, hstep = 2.50 × 10 4 , FunctionEvaluations = 15,988, with the following results:
AveErrFT = 1.0 × 10 7 * (0.057812917960167, 0.117536307911936),
MaxErrFT = 1.0 × 10 7 * (0.208599681972288, 0.491491372045516),
Final FT: x ( 1 ) = 8.414709639479283 × 10 1 , x ( 2 ) = 1.557407773804039 × 10 0 ,
Final Exact: x ( 1 ) = 8.414709848078965 × 10 1 , x ( 2 ) = 1.557407724654902 × 10 0 ,
Final Error: Errx(1) = −2.085996819722880 × 10 8 , Errx(2) = 4.914913720455161 × 10 8
If the step size is reduced to h = 0.00001 the error decreases significantly,
MFT = 1001, N = 101, hstep = 1.0 × 10 5 , FunctionEvaluations = 301,000.
AveErrFT = 1.0 × 10 10 * (0.091807074367543, 0.186150663977414),
MaxErrFT = 1.0 × 10 10 * (0.333676419828066, 0.786386511464343),
Final FT: x ( 1 ) = 8.414709847745289 × 10 1 , x ( 2 ) = 1.557407724733541 × 10 0 .
Problem Ex3 (stiff, linear, see [24], Section 6.5): Solution interval is t [ 0 , 1 2 ] ;
x . 1 = 998 x 1 + 1998 x 2 x . 2 = 999 x 1 1999 x 2 x 1 ( 0 ) = 1 x 2 ( 0 ) = 1 .
The exact solution is x 1 ( t ) = 4 e t 3 e 1000 t x 2 ( t ) = 2 e t + 3 e 1000 t .
The first run uses MFT = 51, N = 11, hstep = 0.001 and FunctionEvaluations = 550, with:
AveErrFT = 1.0 × 10 5 * (0.173411281358034, 0.170428606844124),
MaxErrFT = 1.0 × 10 4 * (0.853912256957301, 0.853928757786893),
Final FT: x ( 1 ) = 2.426122537762081 × 10 1 , x ( 2 ) = −1.213061268881040 × 10 0 ,
Final Exact: x ( 1 ) = 2.426122638850534 × 10 0 , x ( 2 ) = -1.213061319425267 × 10 0 and
Final Error: Errx(1) = −1.010884531638112 × 10 7 , Errx(2) = 5.054422635986100 × 10 8 .
By reducing the step size, i.e., MFT = 501, N = 101, hstep = 0.00001, FunctionEvaluations = 50,500, we obtain:
AveErrFT = 1.0 × 10 7 * (0.459480472441389, 0.459450580577288),
MaxErrFT = 1.0 × 10 5 * (0.919708563218436, 0.919708564739441),
Final FT: x ( 1 ) = 2.426122638840430 × 10 0 , x ( 2 ) = 1.213061319420215 × 10 0 ,
Final Exact: x ( 1 ) = 2.426122638850534 × 10 0 , x ( 2 ) = 1.213061319425267 × 10 0 and
Final Error: Errx(1) = 1.010391770250862 × 10 11 , Errx(2) = 5.051958851254312 × 10 12 .
Problem Ex4: (Lotka–Volterra system, see, e.g., [14]) Solution interval is t [ 0 , 1 ] ;
x . 1 = ( 4 + tan ( t ) ) x 1 e 2 t x 1 x 2 x . 2 = cos ( t ) x 1 x 2 2 x 2 x 1 ( 0 ) = 4 x 2 ( 0 ) = 4 .
The exact solution is x 1 ( t ) = 4 cos ( t ) x 2 ( t ) = 4 e 2 t .
In this case, the first run with MFT = 21, N = 6, hstep = 0.01, FunctionEvaluations = 820, produced:
  • AveErrFT = 1.0 × 10 3 ( 0.788752989084725 , 0.115131629788532 ) ,
  • MaxErrFT = (0.004132636807097, 0.000295217766130),
  • Final FT: x ( 1 ) = 7.407395507530799 × 10 0 , x ( 2 ) = 5.410459151803206 × 10 1 ,
  • Final Exact: x ( 1 ) = 7.403262870723702 × 10 0 , x ( 2 ) = 5.413411329464508 × 10 1 ,
  • Final Error: Errx(1) = 4.132636807097079 × 10 3 , Errx(2) = 2.952177661301736 × 10 4 .
while in the second run with MFT = 201, N = 41, hstep = 1.25 × 10 4 , FunctionEvaluations = 32,200, the results are significantly better:
  • AveErrFT = 1.0 × 10 6 ( 0.113447339005566 , 0.017745086026901 ) ,
  • MaxErrFT = 1.0 × 10 6 ( 0.645177737013114 , 0.046113228457934 ) ,
  • Final FT: x ( 1 ) = 7.403263515901439 × 10 0 , x ( 2 ) = 5.413410868332224 × 10 1 ,
  • Final Exact: x ( 1 ) = 7.403262870723702 e × 10 0 , x ( 2 ) = 5.413411329464508 × 10 1 ,
  • Final Error: Errx(1) = 6.451777370131140 × 10 7 , Errx(2) = 4.611322845793353 × 10 8 .
Problem Ex5: (linear, see [14]) Solution interval is t [ 0 , 1 ] ;
x . 1 = x 1 x 2 + 2 t t 2 t 3 x . 2 = x 1 + x 2 4 t 2 + t 3 x 1 ( 0 ) = 1 x 2 ( 0 ) = 0 .
The exact solution is x 1 ( t ) = e t cos ( t ) + t 2 x 2 ( t ) = e t sin ( t ) t 3 .
The first run is executed with MFT = 11, N = 2, hstep = 0.1, FunctionEvaluations = 20 and produced a solution with
AveErrFT = (0.000949321158793, 0.003176265306333),
MaxErrFT = (0.001690735853275, 0.008258267736959),
Final FT: x ( 1 ) = 2.467003204062610 × 10 0 , x ( 2 ) = 1.279097019441884 × 10 0 ,
Final Exact: x ( 1 ) = 2.468693939915886 × 10 0 , x ( 2 ) = 1.287355287178843 × 10 0 ,
Final Error: Errx(1) = 1.690735853275172 × 10 3 , Errx(2) = 8.258267736958924 × 10 3 .
By reducing the step size to 0.01 (MFT = 11, N = 11, FunctionEvaluations = 110), the errors reduce to AveErrFT = 1.0 × 10 4 ( 0.095673985461337 , 0.317351098208354 ) , MaxErrFT = 1.0 × 10 4 ( 0.171320181454604 , 0.825459662427974 ) .
Finally, using MFT = 101, N = 201, hstep = 5.0000 × 10 5 , FunctionEvaluations = 20,100, the result is
Final FT: x ( 1 ) = 2.468693939487529 × 10 0 , x ( 2 ) = 1.287355285115205 × 10 0 ,
Final Exact: x ( 1 ) = 2.468693939915886 × 10 0 , x ( 2 ) = 1.287355287178843 × 10 0 , with
AveErrFT = 1.0 × 10 9 ( 0.241829418976129 , 0.769468268633189 ) ,
MaxErrFT = 1.0 × 10 8 ( 0.042918868459196 , 0.206363814925226 ) .

4.2. ODEs without Known Closed-Form Solution

The five ODEs for the second experiment are nonlinear d-dimensional systems denoted No1 ( d = 3 ), No2 ( d = 2 ), No3 ( d = 3 ), No4 ( d = 3 ) and No5 ( d = 4 ).
These ODEs are generally considered to be numerically difficult to solve and are frequently used to test ODE solvers, in comparison with existing well-performing procedures. We have executed algorithm ODE-FT using MATLAB in parallel with well-established routines in MATLAB, in particular with routine ode45 (based on explicit single step Runge–Kutta method of orders 4 and 5 with step-size control) and, in one case, with routines ode113 (a variable-step and variable-order method based on Adams–Bashforth–Moulton discretization of orders 1 to 13) and ode15i (an implicit variable-step and variable-order solver of orders 1 to 5, particularly efficient for stiff problems).
Now, as we have explained in Section 2, the performance of algorithm ODE-FT depends essentially on the step size h resulting from the two parameters MFT and N; on the other hand, our simple implementation of ODE-FT does not consider variable step size, designed to control adaptively the local discretization and/or approximation errors. For this reason, we have first executed routine ode45 to compute the solution at an appropriate number M of points t i , i = 1 , 2 , , M and, from the output of ode45, we have computed the number N of nodes for the fuzzy partition in such a way that h F T is of the same order as the optimal step size h o d e 45 determined by ode45. In this way, the two routines produce solutions by using a step size of the same magnitude and the comparison does not depend on this element; for example, suppose that in solving an ODE on time domain [ a , b ] at M uniform points t i , i = 1 , 2 , , M , routine ode45 returns, e.g., an optimal step size h o d e 45 , we then execute algorithm ODE-FT with MFT = M and with N 1 + b a ( M 1 ) h o d e 45 so that h o d e 45 h F T = b a ( M 1 ) ( N 1 ) .
We remark that to determine the step size h F T for ODE-FT, we can freely play with the two parameters MFT and N; in our experiment, in order to balance the number of Equation (29) to solve and the memory requirements, we have limited values of N between 11 and 501, so determining M to obtain the required step size, eventually by increasing M to take N in the range above.
Problem No1: Solution interval is t [ 0 , 5 π ] ;
x . 1 = x 2 x 3 x 1 ( 0 ) = 0 x . 2 = x 1 x 3 x 2 ( 0 ) = 1 x . 3 = 0.51 x 1 x 2 x 3 ( 0 ) = 1
Routine ode45 solves this ODE with optimal step size h o d e 45 = 3.93 × 10 5 and final solution vector x ( 1 ) = 6.946876684 × 10 1 , x ( 2 ) = 7.193115065 × 10 1 , x ( 3 ) = 8.682618339 × 10 1 .
We execute ODE-FT with MFT = 10,001, N = 21 so that hstep = 7.853981633974483 × 10 5 , with final solution x ( 1 ) = 6.946876670 × 10 1 , x ( 2 ) = 7.193115081 × 10 1 , x ( 3 ) = 8.682618346 × 10 1 .
At the MFT points t i where the solution is approximated, the average and the maximum absolute differences between the FT solution and the RK solution for each x ( j ) are:
AveDiffFTRK = 1.0 × 10 9 ( 0.670804140961247 , 0.565236806318909 , 0.252472631608888 ) ,
MaxDiffFTRK = 1.0 × 10 8 ( 0.208394865253148 , 0.161572011325717 , 0.078973372286129 ) ,
See Figure 1 for the graphical representation of the found solutions. For this example, Figure 2 pictures the differences F T ( t ) R K ( t ) between the FT solution and the RK solution for the three components x j ( t ) , j = 1 , 2 , 3 at the MFT points. It is interesting to observe that the differences oscillate in sign, showing that in absolute value the differences are not systematically diverging.
Problem No2: (Van der Pol equations) Solution interval is t [ 0 , 300 ] ;
x . 1 = x 2 x . 2 = μ ( 1 x 1 2 ) x 2 x 1 + a sin ( ω t ) x 1 ( 0 ) = 2 x 2 ( 0 ) = 0 .
The parameters are μ = 50 , a = 3 , ω = π 5 .
This system is considered to be a hard ODE and requires very small step size to determine points where the solution changes suddenly (see Figure 3). To capture this phenomenon, we use M = 30,001. The solution by ode45 has optimal step size h o d e 45 = 2.196 × 10 5 and final solution vector x ( 1 ) = 1.700147566 × 10 0 , x ( 2 ) = 1.819270275 × 10 2 .
With MFT = 30,001, we choose N = 501 to have hstep = 2.0 × 10 5 and ODE-FT finds the final value x ( 1 ) = 1.700150689 × 10 0 , x ( 2 ) = 1.819263248 × 10 2 . The comparison gives AveDiffFTRK = 1.398228278980211 × 10 4 and MaxDiffFTRK = 0.397462807473403.
Problem No3: (Rössler’s equations) Solution interval is t [ 0 , 20 ] ;
x . 1 = x 1 x 3 x 1 ( 0 ) = 1 x . 2 = x 1 + α x 2 x 2 ( 0 ) = 1 x . 3 = β + x 3 ( x 1 γ ) x 3 ( 0 ) = 1
The parameters are α = 0.2 , β = 0.2 , γ = 5.0 .
The third equation is nonlinear, but this problem is considered to be not numerically hard. The solution by ode45 has optimal step size h o d e 45 = 0.00144 and final solution vector x ( 1 ) = 3.722813228 × 10 1 , x ( 2 ) = 7.646204266 × 10 0 , x ( 3 ) = 3.722813233 × 10 1 .
With MFT = 101, we choose N = 41 to have hstep = 0.005 and ODE-FT finds the final value x ( 1 ) = 3.722813228 × 10 1 , x ( 2 ) = 7.646166172 × 10 0 , x ( 3 ) = 3.722813233 × 10 1 . The comparison (see Figure 4) gives
AveDiffFTRK = 1.0 × 10 5 ( 0.025127112474346 , 0.947056407667963 , 0.015362751349660 ) ,
MaxDiffFTRK = 1.0 × 10 4 ( 0.030880110357123 , 0.380942339370804 , 0.039961137723310 ) .
Problem No4: (Lorenz’s system) Solution interval is t [ 0 , 100 ] ;
x . 1 = a ( x 2 x 1 ) x 1 ( 0 ) = 10 x . 2 = x 1 ( b x 3 ) x 1 x 2 ( 0 ) = 20 x . 3 = x 1 x 2 c x 3 x 3 ( 0 ) = 10
The parameters are a = 10 , b = 28.0 , c = 8 3 .
It is well known that this nonlinear system is hard to solve numerically as it exhibits chaotic trajectories. Routine ode45 solves the Lorenz system by optimal step size h o d e 45 = 9.37 × 10 7 and computes the final value x ( 1 ) = 2.480991301578959 × 10 0 , x ( 2 ) = 4.324784533758371 × 10 1 , x ( 3 ) = 2.470283374011438 × 10 1 . Taking M = 30,001 the step size hstep = 1.0 × 10 6 is obtained with N = 1001; the found final value using ODE-FT is x ( 1 ) = 2.453228212514948 × 10 0 , x ( 2 ) = 3.798179329138090 × 10 1 , x ( 3 ) = 2.457087763696305 × 10 1 with AveDiffFTRK = (0.004740929429043, 0.006537238822312, 0.008150973471168) and MaxDiffFTRK = (0.149405722393993, 0.285676182819206, 0.328764820957794). See Figure 5 for the trajectories of components x j ( t ) , j = 1 , 2 , 3 and Figure 6 for the 3D representations of the solutions.
We have also solved this system by a run of ODE-FT with MFT = 30,001, N = 101 and by running the two MATLAB routines ode113 and ode15i; the resulting solutions are visualized in Figure 7 and we see that all the routines tend to generate trajectories with very different behavior for large values of time t.
Problem No5: (Periodic system with period T = 8 , see [24], Section 6.8): Solution interval is t [ 0 , 8 ] ;
x . 1 = x 3 x 1 ( 0 ) = 1 k x . 2 = x 4 x 2 ( 0 ) = 0 x . 3 = α 2 x 1 x 1 2 + x 2 2 3 2 x 3 ( 0 ) = 0 x . 4 = α 2 x 2 x 1 2 + x 2 2 3 2 x 4 ( 0 ) = α 1 + k 1 k
The parameters are k = 0.25 , α = π 4 1 + k 1 k ; we remark that from periodicity, the exact solution has x i ( 8 ) = x i ( 0 ) , i = 1 , , 4 .
The initial condition is x ( 1 ) = 7.50 × 10 1 , x ( 2 ) = 0.0 , x ( 3 ) = 0.0 , x ( 4 ) = 1.013944668993403 .
With MFT = 801, N = 201 and the step size hstep = 5.0 × 10 5 , the final solution found by ODE-FT is x ( 1 ) = 7.500000000000394 × 10 1 , x ( 2 ) = 1.890855 × 10 8 , x ( 3 ) = 1.923939 × 10 8 , x ( 4 ) = 1.013944668993378 , and the one computed by ode45 is x ( 1 ) = 7.499999999999980 × 10 1 , x ( 2 ) = 5.566185 × 10 14 , x ( 3 ) = 5.123376 × 10 14 , x ( 4 ) = 1.013944668993403 ; comparatively (see Figure 8), we get
AveDiffFTRK = 1.0 × 10 8 ( 0.4273611 , 0.3695634 , 0.3303905 , 0.3234898 ) ,
MaxDiffFTRK = 1.0 × 10 7 ( 0.1278607 , 0.18908499 , 0.19239342 , 0.13127243 ) .

5. Interval (Fuzzy) Differential Equations and F-Transform

In this section, we consider interval and fuzzy differential equations in the setting of generalized Hukuhara differentiability as described in [18,19,25]. A preliminary version of this section has been presented as a conference paper in [17].
Compact intervals of real numbers will be denoted by the usual endpoints notation A = [ a , a + ] , B = [ b , b + ] or by the midpoint notation A = ( a ^ ; a ˜ ) , B = ( b ^ ; b ˜ ) where a ^ = 1 2 ( a + a + ) is the midpoint and a ¯ = 1 2 ( a + a ) is the radius (half-length). The set of all compact real intervals will be denoted by K C .
The use of midpoint representation for intervals has been recently adopted to study several topics in the analysis of interval-valued functions, the single variable case (see [26,27] and the references therein), to which the interested reader is referred for a complete description of interval-valued generalized Hukuhara derivative (gH-derivative for short).
Given two intervals A , B K C , the gH-difference is the interval C K C (it always exists and is unique) such that
A g H B = C ( i ) A = B + C o r ( i i ) B = A C .
Using midpoint notation, we have A g H B = ( a ^ b ^ ; | a ˜ b ˜ | ) and (i) is verified if a ˜ b ˜ and C = ( a ^ b ^ ; a ˜ b ˜ ) , (ii) is verified when a ˜ b ˜ and C = ( a ^ b ^ ; b ˜ a ˜ ) . If a ˜ = b ˜ then clearly A g H B = ( a ^ b ^ ; 0 ) = { a ^ b ^ } is a singleton (real number).
Please note that if A i g H B i are gH-differences of the same type for all i = 1 , , n , i.e., all satisfy either (i) or (ii) above, then (see [25])
i = 1 n A i g H B i = i = 1 n A i g H i = 1 n B i .
An interval-valued function F : [ a , b ] K C will be denoted by F ( t ) = [ f ( t ) , f + ( t ) ] or, in equivalent midpoint notation, by F ( t ) = ( f ^ ( t ) ; f ˜ ( t ) ) , for t [ a , b ] .
We will denote by R F the set of fuzzy numbers, i.e. normal, fuzzy convex, upper semi-continuous and compactly supported fuzzy sets defined over the real line R . The α -level set of u (or simply its α -cut) is defined by [ u ] α = { x | x R , u ( x ) α } and, for α = 0 , it is the closure of the support [ u ] 0 = c l { x | x R , u ( x ) > 0 } .
A well-known result (see [21]) allows us to represent a fuzzy number as a pair u = u , u + of functions u , u + : 0 , 1 R , defining the endpoints of the α -cuts as [ u ] α = [ u α , u α + ] = ( u ^ α ; u ˜ α )
We refer to functions u ( . ) and u ( . ) + as the lower and upper branches of u, respectively; the two functions u ^ ( . ) , u ˜ ( . ) are the (level-wise) midpoint and radius functions.
Given fuzzy numbers u , v R F , the level-wise generalized Hukuhara difference (LgH-difference for short) is the family of intervals
u L g H v = [ u ] α g H [ v ] α | α [ 0 , 1 ] .
A fuzzy-valued function F : [ a , b ] R F will have α -cuts denoted by [ F ( t ) ] α = [ f α ( t ) , f α + ( t ) ] or, equivalently, by ( f ^ α ( t ) ; f ˜ α ( t ) ) , for t [ a , b ] . Remark that for each α [ 0 , 1 ] , the functions [ F ] α : [ a , b ] K C defined by [ F ] α ( t ) = [ F ( t ) ] α are properly interval-valued functions and their family (sometimes called their bunch) [ F ] α | α [ 0 , 1 ] gives a unique and equivalent representation of F.
The following definition of generalized derivative can be applied both to interval-valued function or to the level-cuts of a fuzzy-valued function.
Definition 1
([18]). Let t 0 ] a , b [ and h be such that t 0 + h ] a , b [ .
-
If F : [ a , b ] K C is an interval-valued function, its gH-derivative at t 0 is defined to be the limit, if it exists,
F g H ( t 0 ) = lim h 0 F ( t 0 + h ) g H F ( t 0 ) h .
-
If F : ] a , b [ R F is a fuzzy-valued function, its level-wise gH-derivative (LgH-derivative for short) at t 0 is defined to be the family of the gH-derivatives of [ F ] α , if they exist for all α [ 0 , 1 ] , i.e.,
F L g H ( t 0 ) = ( [ F ] α ) g H ( t 0 ) | α [ 0 , 1 ] w h e r e
( [ F ] α ) g H ( t 0 ) = lim h 0 1 h F ( t 0 + h ) α g H F ( t 0 ) α .
For an interval-valued function F : [ a , b ] K C , F ( t ) = [ f ( t ) , f + ( t ) ] , when f ( t ) and f + ( t ) are both differentiable, we can distinguish two cases, corresponding to (i) and (ii) of (33) (see [18])
Definition 2.
Let F : [ a , b ] K C and t 0 ] a , b [ with f α ( t ) and f α ( t ) both differentiable at t 0 . We say that
-
F is (i)-gH-differentiable at t 0 if
( i . ) F g H ( t 0 ) = f ( t 0 ) , f + ( t 0 )
-
F is (ii)-gH-differentiable at t 0 if
( i i . ) F g H ( t 0 ) = [ f + ( t 0 ) , f ( t 0 ) ] .
If F : ] a , b [ R F is a fuzzy-valued function, we define analogously (i)-LgH and (ii)-LgH differentiability of F, with the additional requirement that (38) (or (39), respectively) are valid for all [ F ] α .
As in [18], we say that a point t 0 ] a , b [ is an l-critical point of F if it is a critical point for the length function l e n ( [ F ( t ) ] ) = f + ( t ) f ( t ) . A point t 0 ] a , b [ is a switching point for the gH-differentiability of F, if in any neighborhood V of t 0 there exist points t 1 < t 0 < t 2 such that
type-I switch point): at t 1 (38) holds while (39) does not hold and at t 2 (39) holds and (38) does not hold, or
type-II switch point): at t 1 (39) holds while (38) does not hold and at t 2 (38) holds and (39) does not hold.
Analogous definitions can be given level-wise for a fuzzy-valued function.

5.1. Numerical Interval ODE by F-Transform

An interval differential equation (IDE) with initial condition can be written in the form
x · g H t = F t , x t , t t 0 , t 1 x t 0 = x 0
where F t , x t = [ F t , x t , F + t , x t ] and x t = [ x t , x + t ] are intervals for all t t 0 , t 1 and x 0 = [ x 0 , x 0 + ] is an interval initial value.
The gH-derivative of x t is denoted by
x · g H t = [ x · g H t , x · g H + t ] .
We will approximate x · g H t by the iF-transforms of the two functions x · g H t and x · g H + t on the same fuzzy partition P , A , i.e.,
( x · g H ) ( P , A ) t = j = 1 n F j A j t
( x · g H + ) ( P , A ) t = j = 1 n F j + A j t
where for j = 1 , 2 , , n , using the same notation as in Section 2 with [ a , b ] = [ t 0 , t 1 ] , F j and F j + are the direct F-transforms of ( x · g H ) and ( x · g H + ) .
From the monotonicity properties of F-transform (see [4,10] ), we know that F j F j + (because x · g H t x · g H + t for all t) and we can define the intervals F j = [ F j , F j + ] . Consequently, in terms of interval arithmetic operations, we also have the following approximation of the (interval-valued) inverse F-transform ( x · g H ) ( P , A ) t of x · g H :
( x · g H ) ( P , A ) t = j = 1 n F j A j t .
On the other hand, the following function is well defined:
H ( t ) = t 0 t j = 1 n F j A j s d s = j = 1 n F j B j t , t t 0 , t 1
and H ( t 0 ) = 0 (here 0 stands for the interval [ 0 , 0 ] ). The interval-valued function H ( t ) will play a central role in our method to solve the IDE (40).
For simplicity, define the following interval-valued function
φ ( t ) = j = 1 n F j A j t , t [ t 0 , t 1 ] ;
Clearly, φ is a continuous interval-valued function and, from Theorem 43(i) in [18], the integral function H ( t ) = t 0 t φ ( s ) d s is gH-differentiable with
H g H ( t ) = φ ( t ) , H ( t 0 ) = 0 .
The following property is proved in [17].
Proposition 8.
Consider the function H ( t ) in (43) and define the two interval-valued functions Φ ( t ) and Ψ ( t ) on t 0 , t 1 by
Φ ( t ) = H ( t ) g H ( x 0 )
Ψ ( t ) = H ( t ) + x 0 .
Then
 (1) 
Ψ ( t ) is gH-differentiable with Ψ g H ( t ) = j = 1 n F j A j t and Ψ ( t 0 ) = x 0 .
 (2) 
If all the gH-differences H ( t ) g H ( x 0 ) are of the same type for all t, then Φ ( t ) is gH-differentiable with Φ g H ( t ) = j = 1 n F j A j t and Φ ( t 0 ) = x 0 .
Consequently, if function φ : t 0 , t 1 K C is generated by a fixed fuzzy partition P , A as in (44) and H ( t ) = j = 1 n F j B j t , then we have the following two cases:
(1)
If the intervals F j , j = 1 , , n are such that
φ t = F t , H ( t ) + x 0 for t t 0 , t 1
then Ψ ( t ) defined on t 0 , t 1 as in (46) is a solution of (40).
(2)
If the intervals F j , j = 1 , , n are such that
φ t = f t , H t g H ( x 0 ) for t t 0 , t 1
then Φ ( t ) defined on t 0 , t 1 as in (45) is a solution of (40), provided that all the gH-differences H t g H ( x 0 ) are of the same type for all t t 0 , t 1 .
Remark 2.
From the properties of gH-difference, we have that
Ψ t g H x 0 = H ( t ) Φ t g H x 0 = ( H ( t ) g H ( x 0 ) ) g H x 0 .
It is interesting to observe that function Ψ t is (i)-gH-differentiable at all points, while function Φ t is (i)-gH-differentiable if the differences H ( t ) g H ( x 0 ) are of type (i), i.e., if H ( t ) = Φ t x 0 , and is (ii)-gH-differentiable if the differences H ( t ) g H ( x 0 ) are of type (ii), i.e., if x 0 = Φ t H ( t ) . Consequently, solution
Ψ t = [ Ψ t , Ψ + t ] = ( Ψ ^ t ; Ψ ˜ t )
has always increasing length, but the same is not true for solution
Φ t = [ Φ t , Φ + t ] = ( Φ ^ t ; Φ ˜ t )
in the case where Φ t is (ii)-gH-differentiable.
Finally, let G j and G j + be the O ( h 3 ) approximations, respectively, of F j and F j + similar to (18)–(19); we can see that the interval-valued iF-transform approximation ( x · g H ) ( P , A ) t = j = 1 n G j A j t of x · g H is useful in determining conditions for a switching point.
Indeed, if p k 1 < p k < p k + 1 are three adjacent points of P ( 2 k n 1 ) and we suppose that no switching point exists internally to the two subintervals [ p k 1 , p k ] and [ p k , p k + 1 ] (i.e., possibly, the switching is exactly at p k ) then the solution x ( t ) must satisfy
x ( p k ) g H x ( p k 1 ) = H k L and x ( p k + 1 ) g H x ( p k ) = H k R
where H k L = p k 1 p k x · g H t d t and H k R = p k p k + 1 x · g H t d t .
On the other hand, we have H k L = F k 1 I k 1 + + F k I k and H k R = F k I k + + F k + 1 I k + 1 .
Suppose now that p k is a switching point for the gH-differentiability of x ( t ) . We have two cases:
(I): (i)-to-(ii) switch: x ( t ) is (i)-gH-differentiable on ] p k 1 , p k [ and is (ii)-gH-differentiable on ] p k , p k + 1 [ , i.e., x ( p k ) = x ( p k 1 ) + H k L and x ( p k ) = x ( p k + 1 ) H k R so that x ( p k + 1 ) = ( x ( p k 1 ) + H k L ) g H ( H k R ) , where the difference is of type (i);
(II): (ii)-to-(i) switch: x ( t ) is (ii)-gH-differentiable on ] p k 1 , p k [ and is (i)-gH-differentiable on ] p k , p k + 1 [ , i.e., x ( p k 1 ) = x ( p k ) H k L and x ( p k + 1 ) = x ( p k ) + H k R so that x ( p k + 1 ) = x ( p k 1 ) g H ( H k L ) + H k R , where the difference is of type (i).
Instead, if p k is not a switching point and x ( p k + 1 ) = x ( p k 1 ) + H k L + H k R we have a type (i) solution on ] p k 1 , p k + 1 [ ; or, if x ( p k 1 ) = x ( p k + 1 ) H k L + H k R we have a type (ii) solution on ] p k 1 , p k + 1 [ .
In terms of midpoint notation for intervals, we can summarize the discussion above as follows:
Types of switching points:Let P , A be a fuzzy partition of t 0 , t 1 and p k 1 < p k < p k + 1 ( 2 k n 1 ); let x ( t ) = ( x ^ ( t ) ; x ˜ ( t ) ) be a solution to (40) and H k L = ( H ^ k L , H ˜ k L ) and H k R = ( H ^ k R , H ˜ k R ) be given as in (48). Then, the midpoint values satisfy
x ^ ( p k ) = x ^ ( p k 1 ) + H ^ k L x ^ ( p k + 1 ) = x ^ ( p k 1 ) + H ^ k L + H ^ k R .
Assuming that only p k is eventually a switching point, we have the following four cases
 (a) 
if p k is a (i)-to-(ii) switch, then
x ˜ ( p k ) = x ˜ ( p k 1 ) + H ˜ k L x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) + H ˜ k L H ˜ k R 0
 (b) 
if p k is a (ii)-to-(i) switch, then
x ˜ ( p k ) = x ˜ ( p k 1 ) H ˜ k L 0 x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) H ˜ k L + H ˜ k R 0
 (c) 
if x ( t ) is (i)-gH- differentiable on [ p k 1 , p k + 1 ] , then
x ˜ ( p k ) = x ˜ ( p k 1 ) + H ˜ k L x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) + H ˜ k L + H ˜ k R
 (d) 
if x ( t ) is (ii)-gH- differentiable on [ p k 1 , p k + 1 ] , then
x ˜ ( p k ) = x ˜ ( p k 1 ) H ˜ k L 0 x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) ( H ˜ k L + H ˜ k R ) 0 .
There are no general rules to locate a switching point. Denote by x ( t ) = [ x ( t ) , x + ( t ) ] = ( x ^ ( t ) ; x ˜ ( t ) ) a solution of the IDE (40); if x ( t ) is (i)-gH-differentiable, its length x ˜ ( t ) will not decrease, while x ˜ ( t ) will not increase if x ( t ) is (ii)-gH-differentiable. Some authors have noticed that possibly, the sequence of switching points can be pre-defined a priori, by positioning them in the time domain of the interval differential equation; this is true, at least in principle, provided that the found solution is guaranteed to have exactly them and not other switching points, but such purely exogenous proposal is not fully convincing.
An endogenous way may be preferred, similar to control strategies, to connect the type of gH-differentiability to the evolution of the trajectory. For example, it seems reasonable to locate the switching points depending on how the solution is evolving, by fixing a lower l ( t ) and an upper threshold u ( t ) , say 0 L l ( t ) u ( t ) U and requiring that l ( t ) x ˜ ( t ) u ( t ) for all t; then,
(a)
a (i)-to-(ii) switch is decided at t = p k if the following condition is reached
x ˜ ( p k ) = x ˜ ( p k 1 ) + H ˜ k L u ( p k ) x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) + H ˜ k L + H ˜ k R > u ( p k + 1 )
(b)
a (ii)-to-(i) switch is decided at t = p k if the following condition is reached
x ˜ ( p k ) = x ˜ ( p k 1 ) H ˜ k L l ( p k ) x ˜ ( p k + 1 ) = x ˜ ( p k 1 ) H ˜ k L H ˜ k R < l ( p k + 1 ) .
In some sense, the rule above will control the increasing and decreasing of “uncertainty” in an endogenous way, without any reference to the interval initial condition x 0 or to the interval-valued function F ( t , x ) .
Furthermore, we are essentially free to decide the type of differentiability at the initial point; if the initial length x ˜ 0 is such that L < x ˜ 0 < U , we can start either with a type c) or a type d) and a unique solution is then found by applying the decided switching rule.
A different purely endogenous rule can be obtained by following the increase or decrease of x ˜ ( t ) and trying to intercept points t where the function x ˜ ( t ) has a local maximum (for a (i)-to-(ii) switch) or a local minimum (for a (ii)-to-(i) switch). A necessary condition can be obtained according to the following simple result:
Endogenous criteria for a switching point:Assume that x ( t ) = [ x ( t ) , x + ( t ) ] = ( x ^ ( t ) ; x ˜ ( t ) ) is such that x ( t ) and x + ( t ) are differentiable so that its gH-derivative x · g H ( t ) can be expressed in terms of the derivatives ( x ) ( t ) and ( x + ) ( t ) . Let ( P , A ) be a fuzzy partition of [ t 0 , t 1 ] and let ( x · g H ) ( P , A ) t = k = 1 n F k A k t be the iF-transform of x · g H ( t ) with interval-valued components F k = ( F ^ k ; F ˜ k ) . If p k is a local minimum or maximum of x ˜ ( t ) , then F ˜ k = 0 + O ( h 2 ) .
Proof. 
From the properties of F-transform, we have F k = ( x · g H ) ( p k ) + O ( h 2 ) , F k + = ( x · g H ) + ( p k ) + O ( h 2 ) and, in particular, F ˜ k = x · g H ˜ ( p k ) + O ( h 2 ) . On the other hand, from the differentiability of x ( t ) and x + ( t ) , we have 0 = d d t x ˜ ( t ) ) for t = p k , i.e., ( x + ) ( p k ) ( x ) ( p k ) = 0 . It follows that x · g H ˜ ( p k ) = ( x + ) ( p k ) ( x ) ( p k ) 2 = 0 , i.e., F ˜ k = x · g H ˜ ( p k ) + O ( h 2 ) = 0 + O ( h 2 ) .  □
We then suggest the following (purely endogenous) switching rule.
Switching rule for IDE: Let ( P , A ) be a fuzzy partition of [ t 0 , t 1 ] and suppose we have computed the approximate solution x ( p i ) of IDE (40) at the points t 0 = p 1 < p 2 < < p k with k < n . Assume that h = t 1 t 0 n 1 is sufficiently small and p i = p i 1 + h .
In any case, the midpoint value is computed as x ^ ( p k ) = x ^ ( p k 1 ) + F ^ k 1 I k 1 + + F ^ k I k .
(1)
If x ( p k ) is computed according to (i)-gH-differentiability on [ p k 1 , p k ] , i.e., x ˜ ( p k ) = x ˜ ( p k 1 ) + F ˜ k 1 I k 1 + + F ˜ k I k and if F ˜ k = O ( h 2 ) , then p k is assumed to be a (i)-to-(ii) switch and the next iteration is performed according to (ii)-gH-differentiability.
(2)
If x ( p k ) is computed according to (ii)-gH-differentiability on [ p k 1 , p k ] , i.e., x ˜ ( p k ) = x ˜ ( p k 1 ) F ˜ k 1 I k 1 + F ˜ k I k and if F ˜ k = O ( h 2 ) , then p k is assumed to be a (ii)-to-(i) switch and the next iteration is performed according to (i)-gH-differentiability.
In our computations, the test F ˜ k = O ( h 2 ) is performed by the condition F ˜ k < ε for a small tolerance ε > 0 (say ε [ 10 3 , 10 5 ] ).

5.2. Numerical Procedure for IDE

We are now ready to summarize the proposed procedure to solve the IDE (40) on [ t 0 , t 1 ] , based on F-transform of the gH-derivative x · g H t .
Chose a uniform fuzzy partition P , A with n > 2 points P = t 0 = p 1 < < p n = t 1 and basic functions A = A 1 , , A n .
From the properties of the F-transforms on P k , A k , we have
p 1 p k x · g H t d t = j = 1 k 1 p 1 p k F j A j t d t + p 1 p k F ˜ k A ˜ k t d t
for all k = 2 , , n , where
F ˜ k = p k 1 p k x · g H t A k t d t p k 1 p k A k t d t .
With the introduced notation, we solve (40) by the following procedure, assuming that no switching point exists on p k 1 , p k and x 0 is the given initial condition.
Algorithm IDE-FT: Find an approximated final value x ( P , A ) ( t 1 ) of the IDE x · g H t = F t , x t , t t 0 , t 1 with initial condition x t 0 = x 0 .
Step 1.
Chose one of the two models (45) or (46) to start with, say M e t h = 1 for (i)-gH-differentiability (increasing length) and M e t h = 2 for (ii)-gH-differentiability (decreasing length); chose a positive tolerance ε > 0 to test for switching; chose n > 2 , set h = t 1 t 0 n 1 so that p j = t 0 + ( j 1 ) h for j = 1 , , n and chose a family A of basic functions.
Step 2.
Compute F 1 = f t 0 , x 0 . Set H = F 1 I 1 + , y = x 0 .
Step 3.
For k = 2 , 3 , , n , the interval-valued components F ˜ k , F k are first approximated iteratively by finding F ˜ k as a fixed point
F ˜ k = h I k f p k , y + H + F ˜ k I k if M e t h = 1
or
F ˜ k = h I k f p k , y + H + F ˜ k I k g H ( x 0 ) if M e t h = 2
and F k = 2 I k F ˜ k / I k . Set the new solution interval value for t = p k as
x ( p k ) = y + H + F k I k if M e t h = 1 H + F k I k g H ( y ) if M e t h = 2
Step 4.
(Test for a switching at p k ) If F ˜ k < ε , then p k is declared to be a switch of gH-differentiability: if so, exchange the value of M e t h from 1 to 2 or from 2 to 1; set H = f ( p k , x ( p k ) ) I k + , y = x ( p k ) . If instead F ˜ k > ε , then p k is not a switch: in this case, update H to H + F k I k , without changing M e t h .
Step 5.
Continue from step 3 with next k, until the final point t 1 is reached.

5.3. Application to Fuzzy Differential Equations

If the fuzzy-valued function φ : [ a , b ] R F is gH-differentiable with respect to t, or if it is level-wise gH-differentiable, we can approximate its gH-derivative φ g H or its LgH-derivative φ L g H by a family of interval-valued iF-transforms, parametrized with α [ 0 , 1 ] , in terms of its α -cuts (consider that A j ( x ) 0 for all x and all j)
[ φ g H ( x ) ] α ( P , A ) = j = 1 n F j , α A j ( x ) = j = 1 n F j , α A j ( x ) , j = 1 n F j , α + A j ( x ) .
The F-transform of φ g H is then obtained by the family of F-transforms of the lower and upper functions ( φ g H ) j , α ( x ) and ( φ g H ) j , α + ( x ) :
F j , α = a b ( φ g H ) j , α ( x ) A j ( x ) d x a b A j ( x ) d x , j = 1 , 2 , , n F j , α + = a b ( φ g H ) j , α + ( x ) A j ( x ) d x a b A j ( x ) d x , j = 1 , 2 , , n .
and, considering that each A j is a continuous non-negative function, we can obtain an approximation of φ ( x ) by
φ ( x ) g H φ ( a ) = a x φ g H ( t ) d t = j = 1 n φ g H ( x j ) a x A j ( t ) d t .
Consider now an FDE in gH-derivative form
φ g H ( x ) = f ( x , φ ( x ) ) for x [ x 1 , x q ] φ ( x 1 ) = φ 1 ;
we approximate φ g H ( x ) = j = 1 q φ g H ( x j ) B j ( x ) and substituting the condition φ g H ( x ) = f ( x , φ ( x ) ) into the approximation, we obtain
φ g H ( x ) = j = 1 q f ( x , φ ( x ) ) A j ( x ) ;
Integrating with given initial condition φ ( x 1 ) = φ 1 we obtain
φ ( x ) g H φ 1 = x 1 x f ( t , φ ( t ) ) d t
and, at the points x j P , defining φ j = φ ( x j ) , j = 2 , , q ,
φ 2 g H φ 1 = f ( x 1 , φ 1 ) I 1 + + f ( x 2 , φ 2 ) I 2 and , for j = 3 , , n φ j g H φ 1 = l = 1 j 1 f ( x l , φ l ) ( I l + I l + ) + f ( x j , φ ( x j ) ) I j .
These are (generally nonlinear) non-differential fuzzy equations of the form
φ j g H φ 1 = c j 1 + f ( x j , φ j ) I j , j = 2 , 3 , , n
where when solving for φ j , the fuzzy numbers φ 1 , φ 2 , , φ j 1 are determined in previous steps and the fuzzy quantity
c j 1 = l = 1 j 1 f ( x l , φ l ) ( I l + I l + )
is known.
If we search for a (i)-gH-differentiable solution, the fuzzy equation for φ j is
φ j = φ 1 + c j 1 + f ( x j , φ j ) I j ;
if we search for a (ii)-gH-differentiable solution, the fuzzy equation for φ j is
φ 1 = φ j + ( c j 1 f ( x j , φ j ) I j ) .
In terms of α -cuts, they can be written (for α [ 0 , 1 ] or α { α 1 , α 2 , , α p } )
φ j , α = φ 1 , α + c j 1 , α + f α ( x j , φ j , α , φ j , α + ) I j φ j , α + = φ 1 , α + + c j 1 , α + + f α + ( x j , φ j , α , φ j , α + ) I j
and
φ 1 , α = φ j , α + ( c j 1 , α + f α + ( x j , φ j , α , φ j , α + ) I j ) φ 1 , α + = φ j , α + + ( c j 1 , α f α ( x j , φ j , α , φ j , α + ) I j )
respectively.

6. Computational Results for Interval and Fuzzy Differential Equations

For all problems we use M = 10 , 001 as the number of points t i where the solution is computed and n = 11 as the number of nodes in the partition ( P , A ) ; it results that the step size of the method to solve the differential equation on [ a , b ] ] is h = b a ( M 1 ) ( n 1 ) = b a 100 , 000 .
The number of α -cuts is N α = 11 so that the LgH-differentiable solutions are computed for all α i 1 N α 1 | i = 1 , 2 , , N α ; remark that the interval-valued solutions corresponding to the α -cuts are independent each other. In particular, the family of interval-valued solutions does not always form a fuzzy-valued function.
Problem IDE1: Solution interval is t [ 0 , 2 ] ; functions a and b are a ( t ) = 2 sin ( 2 π t ) cos ( 2 π t ) and b ( t ) = t | 2 t | 2 and the equations,
[ x . L g H ( t ) ] α = a ( t ) [ x ( t ) ] α + b ( t ) x ( 0 ) = x 0 .
The fuzzy initial condition is given in terms of the α -cuts of x 0 , [ x 0 ] α = [ 1 + 0.5 α , 3 α ] , α [ 0 , 1 ] , with support [ 1 , 3 ] and core [ 1.5 , 2 ] .
In this case, the interval-valued solutions for the different values of α form a fuzzy-valued function, i.e., the family of IDEs (parametrized with α [ 0 , 1 ] ) solve the corresponding FDE.
For the two runs with Meth = 1 and Meth = 2, the step size is h = 2.000 × 10 5 . The solution intervals (initial and final) and the solution intervals at the internal switching points are inserted in the following tables, for three values of α = 0 , 0.5 , 1 .
Starting with Meth = 1, i.e., by an increasing-length solution (see Figure 9), the algorithm finds seven switching points at t w S w = 0.25 , 0.5 , 0.75 , 1 , 1.25 , 1.5 , 1.75 (see Table 1).
Starting with Meth = 2, i.e., by a decreasing-length solution (see Figure 10), we find the same seven switching points (but with different interval values) as reported in Table 2.
It seems remarkable that in this example, the two solutions are different, but share the same value at some of the switching points; indeed, denoting x 1 and x 2 the solution found with Meth = 1 and Meth = 2, we have that x 1 ( 0.5 ) = x 2 ( 0.5 ) , x 1 ( 1 ) = x 2 ( 1 ) , x 1 ( 1.5 ) = x 2 ( 1.5 ) while the solutions are not equal at all other points.
Problem IDE2: Solution interval is t [ 0 , 3 2 π ] ; function c ( t ) = c o s ( t ) ( 1 s i n ( t ) ) and two (symmetric) fuzzy numbers A, B are given with α -cuts [ A ] α = [ 0.4 + 0.3 α , 0.4 0.3 α ] , [ B ] α = [ 0.5 + 0.5 α , 0.5 0.5 α ] , α [ 0 , 1 ] ; the fuzzy differential equation is, level-wise,
x . L g H ( t ) = A x ( t ) g H c ( t ) B x ( 0 ) = x 0
where A x ( t ) and c ( t ) B are obtained by standard interval operations and g H is gH-difference; the interval initial condition in terms of α -cuts is [ x 0 ] α = [ 1 + α , 1 α ] , α [ 0 , 1 ] , with support [ 1 , 1 ] and core { 0 } .
In this case, the step size is h = 4.712 × 10 5 . The computations are performed with 11 α -cuts; in the next two tables we insert the results obtained with Meth = 1 and Meth = 2 for a subset of the computed α -cuts.
Remark the important fact that in this example, the switching points change in position for different values of α (see Figure 11 and Figure 12 and Table 3 and Table 4. Viewing the solution function as fuzzy-valued, it is not gH-differentiable and there exist three switching regions.
Problem FDE1: Solution interval is t [ 0 , 1 2 ] ;
x . g H ( t ) = 1 2 x ( t ) + 2 sin ( 3 t ) x ( 0 ) = x 0
where [ x 0 ] α = [ 1 + α , 1 α ] , α [ 0 , 1 ] .
The step size in this case is h = 4.000 × 10 5 .
The solution found with both Meth = 1 and Meth = 2 are fuzzy-valued with lengths of the α -cuts all increasing (Meth = 1, Figure 13) or all decreasing (Meth = 2, Figure 14) and there are no switching points.
The α -cuts of the initial condition x 0 and the final fuzzy solution for Meth = 1 and Meth = 2 are inserted in Table 5.
Problem FDE2: Solution interval is t [ 0 , 4 π ] ;
x . g H ( t ) = sin ( t ) x ( t ) x ( 0 ) = x 0
with [ x 0 ] α = [ 1 + α , 1 α ] , α [ 0 , 1 ] . In this case, the step size is h = 1.257 × 10 4 .
The fuzzy solution is periodic with period T = 2 π . For both Meth = 1 and Meth = 2, there are three internal switching points at t w S w = π , 2 π , 3 π , where the length of x . g H is zero and the length of the solution x ( t ) is maximal (at t w = π , 3 π ) or minimal (at t w = 2 π .) At points t = 2 π and t = 4 π the solution coincides with the initial condition (see Figure 15 and Figure 16).

7. Concluding Comments and Further Work

In this paper, we see that the F-transform approximation setting allows good numerical procedures to solve ordinary differential equations (ODEs) and to approach the numerical solution of interval and fuzzy differential equations. The computational comparison of the proposed ODE-FT method with other well-known and well behaving numerical routines available in MATLAB, such as ode45, ode15i or ode113, positions F-transform among the most promising mathematical tools for the approximation of functions.
One of our conclusions is then that developing numerical procedures based on F-transform is a promising area of research, anticipated by some successes in recent research such as [13,14,15,16]; a complete comparison of (and between) the various F-transform-based proposed methods and our approach was not a scope of our study, where we have chosen standard well-performing routines as benchmarks and we have evaluated algorithm ODE-FT with the same and sufficiently small step size h on typical (including hard) ODEs. Two of the examples in Section 4 are also presented in [14], where the quantity MSE (mean squared error of approximate solution and the exact one) is computed. Ex4 is Example 1 in [14] and Ex5 is Example 3 in [14]. The best MSE quantities obtained by [14] and by ODE-FT are reported in Table 6:
It seems that in general, the different algorithms behave similarly, at least for the chosen step size h = 0.1 and h = 0.01 (consider that such h is a big one and values around h = 0.00001 or less are more adequate for a comparison, as suggested, e.g., by the values used in routine ode45 that chooses h dynamically). Possibly, more efficient and elaborated implementations of the proposed algorithms will require some additional analysis of F-transform properties to allow variable-order and/or step-size control.
As a tool for numerical solution of interval (IDEs) and fuzzy (FDEs) differential equations in terms of gH-derivative, the F-transform allows an immediate approach to handle the switching phenomenon, a still open problem in this area. This approach is obtained by the application of Equation (43) and proposition 8, which is possible because the interval-valued function H ( t ) offers an approximation of the interval solution x ( t ) at all points t [ t 0 , t 1 ] and not only at the discretized points p k , as usual in the (explicit) single- or multi-step ODE solvers.
Further research can be planned in the design and experimentation of efficient numerical procedures to solve real-world applications. In this direction, a possible improvement in the approximation can be obtained by higher-order F d -transform (see [11] for recent results of its properties), by introducing local polynomials or, more generally, local parametric functions F k t ; θ in place of constant direct components F k (coefficients of the polynomials or parameters θ R d are then estimated by least squares). In these cases, the inverse F-transform of a function f ( t ) on [ a , b ] has the form f ( P , A ) d ( t ) = k = 1 n F k ( t ; θ ( k ) ) A k ( t ) , with estimated parameters θ ( k ) for the k-th direct component. It is worth to remark that the same integral property used in this paper for the standard F-transform f ( P , A ) ( t ) is also valid for f ( P , A ) d ( t ) , i.e.,
a b f ( t ) d t = a b f ( P , A ) d ( t ) d t = k = 1 n a b F k ( t ; θ ( k ) ) A k ( t ) d t .
It should be interesting to see if higher-order F-transform approximations will be able to generate high orders O ( h q ) , q > 2 of convergence, and to obtain possibly increasing orders q by increasing d (two numeric schemes of order q = 2 based on the F 2 -transform are obtained in [16]).
Similar results can be obtained by considering the discrete F-transform f ( P , A ) ( t j ) on a data set of points S = ( t j , f j ) , j = 1 , 2 , , m ; the integrals are substituted by summations and we have (see [10])
j = 1 m f ( P , A ) ( t j ) = j = 1 m f j .
Finally, it is worth mentioning the possibility of applying the ideas presented in this paper to the numerical solution of other kinds of differential and integral equations, such as delay differential equations (e.g., [28]), differential equations on time scales, fractional differential equations ([29]) and implicit differential algebraic equations (DAE, see, e.g., [30,31]); a general DAE with additional constraints, on an interval [ t 0 , t 1 ] is expressed in the form
F t , x ( t ) , x · t = 0 G t , x ( t ) = 0 H t , x ( t ) 0 x t 0 = x 0 .
In this cases, the discretization of [ a , b ] by a fuzzy partition ( P , A ) and the substitution of x · t and x ( t ) with the functions x · ( P , A ) ( t ) and x ( P , A , x 0 ) ( t ) at points p k P will transform the DAE into a standard feasibility problem, consisting of finding feasible solutions for the transformed system at points p k , k = 1 , , n .

Author Contributions

All authors contributed equally to the final version of this paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

Davide Radi gratefully acknowledges the support of the Czech Science Foundation (GACR) under project [20-16701S] and the VŠB-TU Ostrava under the SGS project SP2020/11.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Perfilieva, I. Fuzzy Transforms: Theory and Applications. Fuzzy Sets Syst. 2006, 157, 993–1023. [Google Scholar] [CrossRef]
  2. Perfilieva, I. Fuzzy Transforms: A challenge to conventional transform. In Advances in Images and Electron Physics; Hawkes, P.W., Ed.; Elsevier Academic Press: Cambridge, CA, USA, 2007; Volume 147, pp. 137–196. [Google Scholar]
  3. Coroianu, L.; Stefanini, L. General approximation of fuzzy numbers by F-transform. Fuzzy Sets Syst. 2016, 288, 46–74. [Google Scholar] [CrossRef]
  4. Coroianu, L.; Stefanini, L. Properties of fuzzy transform obtained from Lp minimization and a connection with Zadeh’s extension principle. Inf. Sci. 2019, 478, 331–354. [Google Scholar] [CrossRef]
  5. Guerra, M.L.; Stefanini, L. Quantile and expectile smoothing based on L1-norm and L2-norm fuzzy transforms. Int. J. Approx. Reason. 2019, 107, 17–43. [Google Scholar] [CrossRef]
  6. Perfilieva, I.; de Baets, B. Fuzzy transforms of monotone functions with applications to image compression. Inf. Sci. 2010, 180, 3304–3315. [Google Scholar] [CrossRef]
  7. Perfilieva, I.; Novak, V.; Dvorak, A. Fuzzy transform in the analysis of data. Int. J. Approx. Reason. 2008, 48, 36–46. [Google Scholar] [CrossRef] [Green Version]
  8. Stefanini, L. Fuzzy Transform with Parametric LU-Fuzzy Partitions. In Computational Intelligence in Decision and Control; Ruan et Al, D., Ed.; World Scientific: Singapore, 2008; pp. 399–404. [Google Scholar]
  9. Stefanini, L. Fuzzy Transform and Smooth Functions. In Proceedings of the IFSA-EUSFLAT 2009 Conference, Lisbon, Portugal, 20–24 July 2009; pp. 579–584. [Google Scholar]
  10. Stefanini, L. F-Transform with Parametric Generalized Fuzzy Partitions. Fuzzy Sets Syst. 2011, 180, 98–120. [Google Scholar] [CrossRef]
  11. Zeinali, M.; Alikhani, R.; Shahmorad, S.; Bahrani, F.; Perfilieva, I. On the structural properties of Fm-transform with applications. Fuzzy Sets Syst. 2018, 342, 32–52. [Google Scholar] [CrossRef]
  12. Ahmad, M.Z.; Hasan, M.K.; de Baets, B. Analytical and numerical solutions of fuzzy differential equations. Inf. Sci. 2013, 236, 156–167. [Google Scholar] [CrossRef]
  13. Kasasbeh, H.A.L.; Perfilieva, I.; Ahmad, M.Z.; Yahya, Z.R. New Fuzzy Numerical Methods for Solving Cauchy Problems. Appl. Syst. Innov. 2018, 1, 15. [Google Scholar] [CrossRef] [Green Version]
  14. Kasasbeh, H.A.L.; Perfilieva, I.; Ahmad, M.Z.; Yahya, Z.R. New Approximation Methods Based on Fuzzy Transform for solving SODEs: I. Appl. Syst. Innov. 2018, 1, 29. [Google Scholar] [CrossRef] [Green Version]
  15. Kasasbeh, H.A.L.; Perfilieva, I.; Ahmad, M.Z.; Yahya, Z.R. New Approximation Methods Based on Fuzzy Transform for solving SODEs: II. Appl. Syst. Innov. 2018, 1, 30. [Google Scholar] [CrossRef] [Green Version]
  16. Khastan, A.; Perfilieva, I.; Alijani, Z. A new fuzzy approximation method to Cauchy problems by fuzzy transform. Fuzzy Sets Syst. 2016, 288, 75–95. [Google Scholar] [CrossRef]
  17. Radi, D.; Stefanini, L. Fuzzy Differential Equations by F-Transform. In Proceedings of the NAFIPS 2015 Annual Meeting, Redmond, WA, USA, 17–19 August 2015; pp. 384–389. [Google Scholar]
  18. Bede, B.; Stefanini, L. Generalized differentiability of fuzzy-valued functions. Fuzzy Sets Syst. 2013, 230, 119–141. [Google Scholar] [CrossRef] [Green Version]
  19. Stefanini, L.; Bede, B. Generalized Hukuhara differentiability of interval-valued functions and interval differential equations. Nonlinear Anal. 2009, 71, 1311–1328. [Google Scholar] [CrossRef] [Green Version]
  20. Stefanini, L.; Bede, B. Generalized fuzzy differentiability with LU-parametric representation. Fuzzy Sets Syst. 2014, 257, 184–203. [Google Scholar] [CrossRef] [Green Version]
  21. Bede, B. Mathematics of Fuzzy Sets and Fuzzy Logic; Springer: Berlin, Germany, 2013. [Google Scholar]
  22. Gomes, L.T.; de Barros, L.C.; Bede, B. Fuzzy Differential Equations in Various Approaches; Springer: Berlin, Germany, 2015. [Google Scholar]
  23. Stefanini, L. A generalization of Hukuhara difference and division for interval and fuzzy arithmetic. Fuzzy Sets Syst. 2010, 161, 1564–1584. [Google Scholar] [CrossRef]
  24. Forsythe, G.E.; Malcolm, M.A.; Moler, C.B. Computer Methods for Mathematical Computations; Prentice-Hall: Englewood Cliffs, NJ, USA, 1977. [Google Scholar]
  25. Stefanini, L.; Arana-Jimenez, M. Karush-Kuhn-Tucker conditions for interval and fuzzy optimization in several variables under total and directional generalized differentiability. Fuzzy Sets Syst. 2019, 362, 1–34. [Google Scholar] [CrossRef]
  26. Stefanini, L.; Guerra, M.L.; Amicizia, B. Interval Analysis and Calculus for Interval-Valued Functions of a Single Variable. Part I: Partial Orders, gH-derivative, Momotonicity. Axioms 2019, 8, 113. [Google Scholar] [CrossRef] [Green Version]
  27. Stefanini, L.; Sorini, L.; Amicizia, B. Interval Analysis and Calculus for Interval-Valued Functions of a Single Variable. Part II: Extremal Points, Convexity, Periodicity. Axioms 2019, 8, 114. [Google Scholar] [CrossRef] [Green Version]
  28. Tomasiello, S. An alternative use of fuzzy transform with application to a class of delay differential equations. Int. J. Comput. Math. 2017, 94, 1719–1726. [Google Scholar] [CrossRef]
  29. Stamova, I.M.; Stamov, G.T. Functional and Impulsive Differential Equations of Fractional Order—Qualitative Analysis and Applications; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  30. Ascher, U.M.; Petzold, L.R. Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations; SIAM: Philadelphia, PA, USA, 1998. [Google Scholar]
  31. Kunkel, P.; Mehrmann, V. Differential-Algebraic Equations—Analysis and Numerical Solution; European Mathematical Society: Zürich, Switzerland, 2006. [Google Scholar]
Figure 1. Problem No1: The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. The two solutions are highly coincident at all points.
Figure 1. Problem No1: The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. The two solutions are highly coincident at all points.
Axioms 09 00015 g001
Figure 2. Problem No1: Differences F T ( t ) R K ( t ) between the FT solution and the RK solution for the three components x j ( t ) , j = 1 , 2 , 3 . The two solutions coincide up to precision 10 9 .
Figure 2. Problem No1: Differences F T ( t ) R K ( t ) between the FT solution and the RK solution for the three components x j ( t ) , j = 1 , 2 , 3 . The two solutions coincide up to precision 10 9 .
Axioms 09 00015 g002
Figure 3. Problem No2 (Van der Pol): The two components x j ( t ) , j = 1 , 2 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. Remark the eight jumps of the solution from positive to negative values or vice versa.
Figure 3. Problem No2 (Van der Pol): The two components x j ( t ) , j = 1 , 2 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. Remark the eight jumps of the solution from positive to negative values or vice versa.
Axioms 09 00015 g003
Figure 4. Problem No3 (Rössler system):The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored.
Figure 4. Problem No3 (Rössler system):The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored.
Axioms 09 00015 g004
Figure 5. Problem No4 (Lorenz system): The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. Remark that this system, with the given values of parameters, exhibits a strong sensitivity to changes in initial conditions and the numerical solutions are a famous example of chaotic trajectory.
Figure 5. Problem No4 (Lorenz system): The three components x j ( t ) , j = 1 , 2 , 3 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored. Remark that this system, with the given values of parameters, exhibits a strong sensitivity to changes in initial conditions and the numerical solutions are a famous example of chaotic trajectory.
Axioms 09 00015 g005
Figure 6. Problem No4 (Lorenz system): 3D representations of the solutions obtained by ODE-FT (left) and ode45 (right); they appear to be coincident to graphical precision.
Figure 6. Problem No4 (Lorenz system): 3D representations of the solutions obtained by ODE-FT (left) and ode45 (right); they appear to be coincident to graphical precision.
Axioms 09 00015 g006
Figure 7. Problem No4 (Lorenz system): The three components x j ( t ) , j = 1 , 2 , 3 are obtained also by routines ode15i (cyan color) and ode113 (green color); FT solution is red-colored, RK solution is blue-colored. Remark that differences between the solutions of this system are essentially due to very small differences in the solutions found by the different methods.
Figure 7. Problem No4 (Lorenz system): The three components x j ( t ) , j = 1 , 2 , 3 are obtained also by routines ode15i (cyan color) and ode113 (green color); FT solution is red-colored, RK solution is blue-colored. Remark that differences between the solutions of this system are essentially due to very small differences in the solutions found by the different methods.
Axioms 09 00015 g007
Figure 8. Problem No5 (Periodic system): The four components x j ( t ) , j = 1 , 2 , 3 , 4 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored and the two coincide at graphical precision.
Figure 8. Problem No5 (Periodic system): The four components x j ( t ) , j = 1 , 2 , 3 , 4 are displayed in the order from top to bottom; FT solution is red-colored, RK solution is blue-colored and the two coincide at graphical precision.
Axioms 09 00015 g008
Figure 9. Problem IDE1, Meth = 1: Level-wise LgH-differentiable solution (left) and its LgH-derivative (right). There are seven switching points which are in the same position for all level α and correspond to the values of t where the gH-derivative is 0.
Figure 9. Problem IDE1, Meth = 1: Level-wise LgH-differentiable solution (left) and its LgH-derivative (right). There are seven switching points which are in the same position for all level α and correspond to the values of t where the gH-derivative is 0.
Axioms 09 00015 g009
Figure 10. Problem IDE1, Meth = 2: Level-wise LgH-differentiable solution (left) and its LgH-derivative (right). There are seven switching points which are in the same position for all level α and correspond to the values of t where the gH-derivative is 0.
Figure 10. Problem IDE1, Meth = 2: Level-wise LgH-differentiable solution (left) and its LgH-derivative (right). There are seven switching points which are in the same position for all level α and correspond to the values of t where the gH-derivative is 0.
Axioms 09 00015 g010
Figure 11. Problem IDE2, Meth = 1: Level-wise LgH-differentiable solution (left) and its LgH- derivative (right). For all α -cuts, there are three switching points which are not in the same position for the levels α (left); on right, the LgH-derivatives are represented.
Figure 11. Problem IDE2, Meth = 1: Level-wise LgH-differentiable solution (left) and its LgH- derivative (right). For all α -cuts, there are three switching points which are not in the same position for the levels α (left); on right, the LgH-derivatives are represented.
Axioms 09 00015 g011
Figure 12. Problem IDE2, Meth = 2: Level-wise LgH-differentiable solution (left) and its LgH- derivative (right). For all α -cuts, there are one or three switching points which are not in the same position for the levels α (left); the LgH-derivative is represented on the right picture.
Figure 12. Problem IDE2, Meth = 2: Level-wise LgH-differentiable solution (left) and its LgH- derivative (right). For all α -cuts, there are one or three switching points which are not in the same position for the levels α (left); the LgH-derivative is represented on the right picture.
Axioms 09 00015 g012
Figure 13. Problem FDE1, Meth = 1: Fuzzy-valued gH-differentiable solution (left) and its gH- derivative (right). There are no switching points.
Figure 13. Problem FDE1, Meth = 1: Fuzzy-valued gH-differentiable solution (left) and its gH- derivative (right). There are no switching points.
Axioms 09 00015 g013
Figure 14. Problem FDE1, Meth = 2: Fuzzy-valued gH-differentiable solution (left) and its gH-derivative (right). For all α -cuts, there are no switching points.
Figure 14. Problem FDE1, Meth = 2: Fuzzy-valued gH-differentiable solution (left) and its gH-derivative (right). For all α -cuts, there are no switching points.
Axioms 09 00015 g014
Figure 15. Problem FDE2, Meth = 1: gH-differentiable solution (left) and its gH-derivative (right). There are three switching points, in the same position for all α -cuts.
Figure 15. Problem FDE2, Meth = 1: gH-differentiable solution (left) and its gH-derivative (right). There are three switching points, in the same position for all α -cuts.
Axioms 09 00015 g015
Figure 16. Problem FDE2, Meth = 2: gH-differentiable solution (left) and its gH-derivative (right). There are three switching points, in the same position for all α -cuts.
Figure 16. Problem FDE2, Meth = 2: gH-differentiable solution (left) and its gH-derivative (right). There are three switching points, in the same position for all α -cuts.
Axioms 09 00015 g016
Table 1. (Interval-valued problem IDE1-a): For three values of α 0 , 0.5 , 1 , the seven switching points t w corresponding to Meth=1 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] .
Table 1. (Interval-valued problem IDE1-a): For three values of α 0 , 0.5 , 1 , the seven switching points t w corresponding to Meth=1 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] .
α = 0.00Initial value = [1.0, 3.0]
tw = 0.25X(tw) = [1.2026308981, 3.5476701109]
tw = 0.50X(tw) = [1.0961169068, 3.0961169068]
tw = 0.75X(tw) = [1.4006060055, 3.7456452183]
tw = 1.00X(tw) = [1.3078549504, 3.3078549504]
tw = 1.25X(tw) = [1.6663651377, 4.0114043505]
tw = 1.50X(tw) = [1.5195929939, 3.5195929939]
tw = 1.75X(tw) = [1.8643402451, 4.2093794579]
Final value = [1.61570990, 3.61570990]
α = 0.50Initial value: [1.25, 2.50]
tw = 0.25X(tw) = [1.4957607997, 2.9614103077]
tw = 0.50X(tw) = [1.3461169068, 2.5961169068]
tw = 0.75X(tw) = [1.6937359071, 3.1593854151]
tw = 1.00X(tw) = [1.5578549504, 2.8078549504]
tw = 1.25X(tw) = [1.9594950393, 3.4251445473]
tw = 1.50X(tw) = [1.7695929939, 3.0195929939]
tw = 1.75X(tw) = [2.1574701467, 3.6231196547]
Final value = [1.86570990, 3.11570990]
α = 1.00Initial value: [1.50, 2.00]
tw = 0.25X(tw) = [1.7888907013, 2.3751505045]
tw = 0.50X(tw) = [1.5961169068, 2.0961169068]
tw = 0.75X(tw) = [1.9868658087, 2.5731256119]
tw = 1.00X(tw) = [1.8078549504, 2.3078549504]
tw = 1.25X(tw) = [2.2526249409, 2.8388847441]
tw = 1.50X(tw) = [2.0195929939, 2.5195929939]
tw = 1.75X(tw) = [2.4506000483, 3.0368598515]
Final value: [2.11570990, 2.61570990]
Table 2. (Interval-valued problem IDE1-b): For three values of α 0 , 0.5 , 1 , the seven switching points t w corresponding to Meth=2 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] .
Table 2. (Interval-valued problem IDE1-b): For three values of α 0 , 0.5 , 1 , the seven switching points t w corresponding to Meth=2 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] .
α = 0.00Initial value = [1.0, 3.0]
tw = 0.25X(tw) = [1.5222863012, 3.2280147078]
tw = 0.50X(tw) = [1.0961169068, 3.0961169068]
tw = 0.75X(tw) = [1.7202614085, 3.4259898152]
tw = 1.00X(tw) = [1.3078549504, 3.3078549504]
tw = 1.25X(tw) = [1.9860205408, 3.6917489475]
tw = 1.50X(tw) = [1.5195929939, 3.5195929939]
tw = 1.75X(tw) = [2.1839956481, 3.8897240548]
Final value: [1.61570990, 3.61570990]
α = 0.50Initial value: [1.25, 2.50]
tw = 0.25X(tw) = [1.6955454266, 2.7616256808]
tw = 0.50X(tw) = [1.3461169068, 2.5961169068]
tw = 0.75X(tw) = [1.8935205340, 2.9596007882]
tw = 1.00X(tw) = [1.5578549504, 2.8078549504]
tw = 1.25X(tw) = [2.1592796662, 3.2253599204]
tw = 1.50X(tw) = [1.7695929939, 3.0195929939]
tw = 1.75X(tw) = [2.3572547736, 3.4233350278]
Final value: [1.86570990, 3.11570990]
α = 1.00Initial value: [1.50, 2.00]
tw = 0.25X(tw) = [1.8688045521, 2.2952366537]
tw = 0.50X(tw) = [1.5961169068, 2.0961169068]
tw = 0.75X(tw) = [2.0667796594, 2.4932117611]
tw = 1.00X(tw) = [1.8078549504, 2.3078549504]
tw = 1.25X(tw) = [2.3325387917, 2.7589708934]
tw = 1.50X(tw) = [2.0195929939, 2.5195929939]
tw = 1.75X(tw) = [2.5305138991, 2.9569460007]
Final value: [2.11570990, 2.61570990]
Table 3. (Interval-valued problem IDE2-a): For five values of α 0 , 0.2 , 0.4 , 0.6 , 0.8 , the three switching points t w corresponding to Meth=1 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] . If α = 1 , the solution is single-valued and no switching point exists.
Table 3. (Interval-valued problem IDE2-a): For five values of α 0 , 0.2 , 0.4 , 0.6 , 0.8 , the three switching points t w corresponding to Meth=1 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] . If α = 1 , the solution is single-valued and no switching point exists.
α = 0.00Initial value = [−1.0, 1.0]
tw = 1.7954 × 10 1 X(tw) = [−1.0090673275 × 10 1 , 1.0090673275 × 10 1 ]
tw = 2.5918 × 10 0 X(tw) = [−5.0989773431 × 10 1 , 5.0989773431 × 10 1 ]
tw = 4.3297 × 10 0 X(tw) = [−8.9894395242 × 10 1 , 8.9894395242 × 10 1 ]
Final value: [−8.35571783 × 10 1 , 8.35571783 × 10 1 ]
α = 0.20Initial value: [−8.00 × 10 1 , 8.00 × 10 1 ]
tw = 2.7944 × 10 1 X(tw) = [−8.1796697089 × 10 1 , 8.1796697089 × 10 1 ]
tw = 2.5810 × 10 0 X(tw) = [−4.6779933026 × 10 1 , 4.6779933026 × 10 1 ]
tw = 4.3542 × 10 0 X(tw) = [−7.9775755945 × 10 1 , 7.9775755945 × 10 1 ]
Final value: [−7.52396593 × 10 1 , 7.52396593 × 10 1 ]
α = 0.40Initial value: [−6.00 × 10 1 , 6.00 × 10 1 ]
tw = 3.7935 × 10 1 X(tw) = [−6.2502008124 × 10 1 , 6.2502008124 × 10 1 ]
tw = 2.5579 × 10 0 X(tw) = [−4.0293011585 × 10 1 , 4.0293011585 × 10 1 ]
tw = 4.3844 × 10 0 X(tw) = [−6.7059314969 × 10 1 , 6.7059314969 × 10 1 ]
Final value: [−6.41450486 × 10 1 , 6.41450486 × 10 1 ]
α = 0.60Initial value: [−4.00 × 10 1 , 4.00 × 10 1 ]
tw = 4.8538 × 10 1 X(tw) = [−4.2690473012 × 10 1 , 4.2690473012 × 10 1 ]
tw = 2.5174 × 10 0 X(tw) = [−3.0871431900 × 10 1 , 3.0871431900 × 10 1 ]
tw = 4.4226 × 10 0 X(tw) = [−5.0673707018 × 10 1 , 5.0673707018 × 10 1 ]
Final value: [−4.91260393 × 10 1 , 4.91260393 × 10 1 ]
α = 0.80Initial value: [−2.00 × 10 1 , 2.00 × 10 1 ]
tw = 6.0271 × 10 1 X(tw) = [−2.2003436269 × 10 1 , 2.2003436269 × 10 1 ]
tw = 2.4500 × 10 0 X(tw) = [−1.7731361249 × 10 1 , 1.7731361249 × 10 1 ]
tw = 4.4716 × 10 0 X(tw) = [−2.9073091262 × 10 1 , 2.9073091262 × 10 1 ]
Final value: [−2.85325600 × 10 1 , 2.85325600 × 10 1 ]
α = 1.00Initial value: [ 0.00, 0.00]
Final value: [0.00000000 × 10 0 , 0.00000000 × 10 0 ]
Table 4. (Interval-valued problem IDE2-b): For five values of α 0 , 0.2 , 0.4 , 0.6 , 0.8 , the switching points t w corresponding to Meth=2 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] . The number of switching points changes with α and if α = 1 , the solution is single-valued and no switching point exists.
Table 4. (Interval-valued problem IDE2-b): For five values of α 0 , 0.2 , 0.4 , 0.6 , 0.8 , the switching points t w corresponding to Meth=2 are given in the first column; the second column contains the interval-valued solution X ( t w ) = [ x α ( t w ) , x α + ( t w ) ] . The number of switching points changes with α and if α = 1 , the solution is single-valued and no switching point exists.
α = 0.00Initial value = [−1.0, 1.0]
tw = 1.9321 × 10 1 X(tw) = [−9.8998479170 × 10 1 , 9.8998479170 × 10 1 ]
Final value: [−3.50656260 × 10 0 , 3.50656260 × 10 0 ]
α = 0.20Initial value: [−8.00 × 10 1 , 8.00 × 10 1 ]
tw = 3.0866 × 10 1 X(tw) = [−7.7947575655 × 10 1 , 7.7947575655 × 10 1 ]
Final value: [−1.87166877 × 10 0 , 1.87166877 × 10 0 ]
α = 0.40Initial value: [−6.00 × 10 1 , 6.00 × 10 1 ]
tw = 4.2600 × 10 1 X(tw) = [−5.7091483288 × 10 1 , 5.7091483288 × 10 1 ]
tw = 3.0348 × 10 0 X(tw) = [−9.5345951680 × 10 1 , 9.5345951680 × 10 1 ]
tw = 4.2887 × 10 0 X(tw) = [−8.4078653821 × 10 1 , 8.4078653821 × 10 1 ]
Final value: [−8.90550965 × 10 1 , 8.90550965 × 10 1 ]
α = 0.60Initial value: [−4.00 × 10 1 , 4.00 × 10 1 ]
tw = 5.4899 × 10 1 X(tw) = [−3.6865624377 × 10 1 , 3.6865624377 × 10 1 ]
tw = 2.7506 × 10 0 X(tw) = [−5.2242232939 × 10 1 , 5.2242232939 × 10 1 ]
tw = 4.5230 × 10 0 X(tw) = [−3.3741623443 × 10 1 , 3.3741623443 × 10 1 ]
Final value: [−3.44451472 × 10 1 , 3.44451472 × 10 1 ]
α = 0.80Initial value: [−2.00 × 10 1 , 2.00 × 10 1 ]
tw = 6.8094 × 10 1 X(tw) = [−1.7696972113 × 10 1 , 1.7696972113 × 10 1 ]
tw = 2.5277 × 10 0 X(tw) = [−2.1957335579 × 10 1 , 2.1957335579 × 10 1 ]
tw = 4.6445 × 10 0 X(tw) = [−8.1718701678e−02, 8.1718701678e−02]
Final value: [−8.21485320e−02, 8.21485320e−02]
α = 1.00Initial value: [0.00, 0.00]
Final value: [0.00000000 × 10 0 , 0.00000000 × 10 0 ]
Table 5. (Fuzzy-valued problem FDE1): For eleven values of α i 1 10 | i = 1 , , 10 , the table contains the interval level-wise initial condition (column 2), the final interval value with Meth = 1 (column 3) and the final interval value with Meth = 2.
Table 5. (Fuzzy-valued problem FDE1): For eleven values of α i 1 10 | i = 1 , , 10 , the table contains the interval level-wise initial condition (column 2), the final interval value with Meth = 1 (column 3) and the final interval value with Meth = 2.
α Initial ConditionFinal solution (Meth = 1)Final solution (Meth = 2)
0.0[−1.0000 × 10 0 , 1.0000 × 10 0 ][−7.9066 × 10 0 , 6.8715 × 10 0 ][−6.5292 × 10 1 , −3.8225 × 10 1 ]
0.1[−9.0000 × 10 1 , 9.0000 × 10 1 ][−7.1677 × 10 0 , 6.1326 × 10 0 ][−6.3939 × 10 1 , −3.9579 × 10 1 ]
0.2[−8.0000 × 10 1 , 8.0000 × 10 1 ][−6.4288 × 10 0 , 5.3937 × 10 0 ][−6.2586 × 10 1 , −4.0932 × 10 1 ]
0.3[−7.0000 × 10 1 , 7.0000 × 10 1 ][−5.6899 × 10 0 , 4.6548 × 10 0 ][−6.1232 × 10 1 , −4.2285 × 10 1 ]
0.4[−6.0000 × 10 1 , 6.0000 × 10 1 ][−4.9510 × 10 0 , 3.9158 × 10 0 ][−5.9879 × 10 1 , −4.3639 × 10 1 ]
0.5[−5.0000 × 10 1 , 5.0000 × 10 1 ][−4.2121 × 10 0 , 3.1769 × 10 0 ][−5.8526 × 10 1 , −4.4992 × 10 1 ]
0.6[−4.0000 × 10 1 , 4.0000 × 10 1 ][−3.4732 × 10 0 , 2.4380 × 10 0 ][−5.7172 × 10 1 , −4.6345 × 10 1 ]
0.7[−3.0000 × 10 1 , 3.0000 × 10 1 ][−2.7343 × 10 0 , 1.6991 × 10 0 ][−5.5819 × 10 1 , −4.7699 × 10 1 ]
0.8[−2.0000 × 10 1 , 2.0000 × 10 1 ][−1.9954 × 10 0 , 9.6022 × 10 1 ][−5.4465 × 10 1 , −4.9052 × 10 1 ]
0.9[−1.0000 × 10 1 , 1.0000 × 10 1 ][−1.2565 × 10 0 , 2.2132 × 10 1 ][−5.3112 × 10 1 , −5.0405 × 10 1 ]
1.0[0.0000 × 10 0 , 0.0000 × 10 0 ][−5.1759 × 10 1 , −5.1759 × 10 1 ][−5.1759 × 10 1 , −5.1759 × 10 1 ]
Table 6. For the two ODE problems in example Ex4 and Ex5, using different step-sizes, the table contains the computed MSE for the two solution-variables x 1 ( t ) and x 2 ( t ) , obtained by ODE-FT and Scheme II in [14].
Table 6. For the two ODE problems in example Ex4 and Ex5, using different step-sizes, the table contains the computed MSE for the two solution-variables x 1 ( t ) and x 2 ( t ) , obtained by ODE-FT and Scheme II in [14].
Example/(Algorithm, Step Size) MSE ( x 1 ) MSE ( x 2 )
Ex4/(Scheme II in [14], h = 0.01) 2.241 × 10 2 3.775 × 10 4
Ex4/(ODE-FT, h = 0.01) 1.865 × 10 6 2.027 × 10 6
Ex5/(Scheme II in [14], h = 0.1) 1.721 × 10 5 4.102 × 10 5
Ex5/(ODE-FT, h = 0.1) 1.242 × 10 6 1.685 × 10 5
Ex5/(ODE-FT, h = 0.01) 1.264 × 10 10 2.693 × 10 9

Share and Cite

MDPI and ACS Style

Radi, D.; Sorini, L.; Stefanini, L. On the Numerical Solution of Ordinary, Interval and Fuzzy Differential Equations by Use of F-Transform. Axioms 2020, 9, 15. https://doi.org/10.3390/axioms9010015

AMA Style

Radi D, Sorini L, Stefanini L. On the Numerical Solution of Ordinary, Interval and Fuzzy Differential Equations by Use of F-Transform. Axioms. 2020; 9(1):15. https://doi.org/10.3390/axioms9010015

Chicago/Turabian Style

Radi, Davide, Laerte Sorini, and Luciano Stefanini. 2020. "On the Numerical Solution of Ordinary, Interval and Fuzzy Differential Equations by Use of F-Transform" Axioms 9, no. 1: 15. https://doi.org/10.3390/axioms9010015

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop