HOME JOURNALS CONTACT

Journal of Applied Sciences

Year: 2011 | Volume: 11 | Issue: 7 | Page No.: 1143-1149
DOI: 10.3923/jas.2011.1143.1149
A New Method for Computing Continuous Functions with Fuzzy Variable
M. Z. Ahmad, M. K. Hasan and B. De Baets

Abstract: This study proposes a new method for computing f(U) where f is a real continuous function and U is a fuzzy interval. The computation of f(U) is performed by incorporating optimisation technique into Zadeh’s extension principle. By discretising α up to n finite numbers, a set of n closed and bounded intervals is obtained. Here, the computation of f on closed and bounded intervals is the same idea of solving unconstrained optimisation problems. For every finite numbers of α, if the function to be optimised is unimodal, the authors apply Brent’s method. One of the main advantages of using this method is that it does not require the calculation of derivative. In case where f is reduced to monotone or to a straight line, the optimal solutions are obtained at the endpoints of intervals. This new strategy gives better results and requires only few function evaluations. An example is provided to illustrate the effectiveness of the proposed method.

Fulltext PDF Fulltext HTML

How to cite this article
M. Z. Ahmad, M. K. Hasan and B. De Baets, 2011. A New Method for Computing Continuous Functions with Fuzzy Variable. Journal of Applied Sciences, 11: 1143-1149.

Keywords: Fuzzy set, discretisation, fuzzy interval, optimisation and zadeh`s extension principle

INTRODUCTION

Fuzzy set theory has witnessed an exponential development since its introduction in 1965 (Zadeh, 1965), both from the theoretical and applied point of view. One of the most fundamental principles of fuzzy set theory is Zadeh’s extension principle. It provides a general way of extending a real function of one or more variables to a function accepting fuzzy sets on the real line as arguments. In general, the practical use of Zadeh’s extension principle can be quite complicated. Of particular interest is the case of continuous functions and fuzzy intervals as arguments. In that case, the extension principle can be performed in a parallel manner, by computing the α-cuts of the output, which turns out to be a fuzzy interval as well. This observation allows researcher to carry over interval arithmetic to fuzzy interval arithmetic. If the function is monotone, then the endpoints of the output can be determined quite easily, as is for instance the case for the addition of fuzzy intervals. However, the difficulty arises when the function is non-monotone. In that case, the computation of the α-cuts is not an easy task (Chalco-Cano et al., 2009).

In the literature, research on computational methods proposes several approaches to fulfil the requirements of Zadeh’s extension principle. For instance, Kaufmann and Gupta (1991) have described an analytical method based on α-cuts and interval arithmetic. Unfortunately, the results are not completely satisfying. This is because the use of direct interval arithmetic to obtain the output of some continuous functions of fuzzy variable can lead to overestimation into the results of computation. The main drawback of using the direct interval arithmetic is that the formalism cannot represent the dependency among variables (Makino and Berz, 1999). Considering different occurrences of the same variable as independent can lead to repetition of some numerical computations. Then, there exist possible errors into computation. Eventually, the errors may produce approximations that are wider than the correct one (Bonarini and Bontempi, 1994).

Due to this, many researchers have proposed some other techniques such as the requisite constraint (Klir, 1997), the fuzzy weighted average (Dong and Wong, 1987; Yang et al., 1993), the vertex method (Dong and Shah, 1987), the transformation method (Hanss, 2002) and the spline approximation method (Chalco-Cano et al., 2009). However, the proposed methods increased computational complexity when applied to non-monotone functions as well. To overcome this deficiency, a new technique with better accuracy and low computational complexity should be investigated.

PRELIMINARIES

In this section, the basic idea of fuzzy sets will be introduced and some important concepts will be explained.

Fuzzy sets: The notion of a fuzzy set is an extension of that of a classical or crisp set. Let X be a set of objects, called the universe, whose generic elements are denoted by x. Membership in a subset A of X can be viewed as a characteristic function, or membership function A : X→ {0, 1} such that:

(1)

The set {0, 1} is called the valuation set. If the valuation set is allowed to be the real unit interval [0, 1], then A is called a fuzzy subset of X or simply a fuzzy set in X. In this case, A(x) is interpreted as the degree of membership of the element x in the fuzzy set A.

Definition 1: Let A be a fuzzy set defined on . The support of A is the crisp set of all points on such that the membership degree of A is non-zero, that is:

(2)

Definition 2: Let A be a fuzzy set defined on . The core of A is the crisp set of all points on such that the membership degree of A is 1, that is:

(3)

Definition 3: Let A be a fuzzy set defined on . A is called a fuzzy interval if:

A is normal: There exists x0 such that A(x0) = 1
A is convex: for all x, y ∈ and, 0≤ λ ≤ 1 it holds that:


A is upper semi-continuous: for any x0, it holds that:


is a compact subset of .

The α-cut of a fuzzy interval A, with 0 <α≤1 is the crisp set:

(4)

For a fuzzy interval A, its α-cuts are closed intervals in ; we denote them by:

(5)

Definition 4: A fuzzy interval A is called a triangular fuzzy interval if its membership function has the following form:

(6)

and its α-cuts are simply:

(7)

This definition asserts that the triangular fuzzy number A is defined by three numbers a < b < c where the core of the triangle is at x = b and its support is the interval (a, b). In this study the authors write A(a, b, c) for a triangular fuzzy interval. The set of all fuzzy intervals is denoted by F().

Fuzzy interval arithmetic: In this subsection, the authors recall fuzzy interval arithmetic and present some of its operations. Arithmetic operations of fuzzy interval arithmetic are extensions of the operations of interval arithmetic introduced by Moore (1966).

Consider two fuzzy intervals A and B. The basic arithmetic operations of A and B are defined as follows:

Addition:


Subtraction:


Multiplication:

where


Division:

with where

The extension principle: It is useful to define functions on fuzzy sets. Any crisp function can be extended to take fuzzy set as its argument by applying Zadeh’s extension principle (Zadeh, 1965). Let f be a function from X to Y. Given a fuzzy set A in X and want to find a fuzzy set B = f(A) in Y that is induced by f. If f is a monotone then B = f(A) can be determined as follow:

(8)

It is clear that Eq. 8 can be easily calculated by determining the membership at the endpoints of the α-cuts of A. However, in general, the process of finding the fuzzy set B = f(A) is more complicated and cannot be implemented in a practical way. For example, if f is a non-monotone, then the problem arises when two or more distinct points in X are mapped to the same point in Y. If this is the case, the above Eq. may take two or more different values. This requires a new extension of Eq. 8 as enlisted below:

(9)

where,

The Eq. 9 is called Zadeh’s extension principle. Roman-Flores et al. (2001) have shown that if f: X→Y is a continuous function, then f: F(X) →F(Y) is a well-defined function and:

(10)

for all α∈[0, 1] and A∈F(X).

MATERIALS AND METHODS

The dependency problem: The standard operations of fuzzy interval arithmetic provide a manageable way to compute functions of fuzzy variable. However, the same fuzzy variable is considered independently in its operations. This characteristic can lead to overestimation in computation. To show this shortcoming, the authors give the following example.

Consider the triangular fuzzy interval U(-2, 0, 2). The corresponding α-cuts of U are [U]α = [-2+2α, -2α+2] for α∈[0, 1]. The authors take the function f: defined by f(x) = x+x2 and want to find f(U). There are two common ways to obtain f(U). First, the authors apply the straightforward fuzzy interval arithmetic:

(11)

where,

and:

If α = 0, the solution is:

(12)

For the second approach, the authors use Zadeh’s extension principle by assuming that the variable U is independent:

(13)

For α = 0, the solution is therefore:

(14)

Unfortunately, the both solutions are not the correct range of f(x) for all x∈[U]0 . To get the correct range of f(x), the authors define the right hand side of Eq. 13 as one single expression and from that the authors use Zadeh’s extension principle and not part by part. By referring to the example discussed above and applying this idea to it then the new solution is:

(15)

which is the correct range of f(x) for all x∈[U]0.

Discretisation of fuzzy intervals: There are two ways of discretising a fuzzy interval. Researchers can discretise either on the variable domain or on the membership value (Dong and Shah 1987). In this study, the authors concern the latter approach. One of the reasons is that the peak point, at which the membership degree is 1, is guaranteed to be included in the discretised counterparts. But this cannot be sure for any discretisation on the variable domain.

First, the authors discretise α∈[U]0 up to n finite numbers with length Δα = 1/(n–1) . Hence, a set α is obtained as follow:

(16)

where,

and αn = 1 for i = 2, 3 ... , n. Let A be a fuzzy interval with α-cuts denoted by:

for α∈[0, 1]. By discretising α up to n finite numbers, the authors get the following set of intervals:

(17)

For the different α-cuts of fuzzy interval A the following holds:

(18)

for i = 1, 2, ..., n-1. It is clear that the α-cuts of fuzzy interval A are connected. This means that the lower value of α will give wider intervals compared to the higher value of α. For each:

can be constructed as the union of sub-intervals according to the following Eq:

(19)

for all with . (Fig. 1).

Let f: be a continuous function. Given a fuzzy interval A in and the authors want to find a fuzzy interval B = f(A) induced by f through Zadeh’s extension principle. The authors compute:

(20)

at each level of αi for i = 1, 2, ..., n according to the following Eq:

(21)

(22)

for i = 1, 2, ..., n-1. Here; and are the minimum and maximum values at points and , respectively. The points and are defined as Eq. 23 and 24, respectively:

(23)

and:

(24)

The optimisation problems in Eq. 21 and 22 will be performed by using Brent’s method (Brent, 2002).

Fig. 1: α-discretisation of a fuzzy interval

The goals are to find the minimum:

and the maximum:

such that:

and:

for all:

In order to increase the speed during computation, the authors propose a new strategy to find the minimum and the maximum values over the interval:

The authors start from the highest value of α and continue downward until the smallest value of α is reached. For instance, at αi, there are three optimisation problems to be solved (Eq. 21 and 22). However, the second optimisation problem can be omitted since it has already been solved at αi+1. For this, the authors only consider the first and the third optimisation problems. By taking the minimum (maximum) of all results of the optimisation problems, a new minimum value (a new maximum value) is obtained. The minimum (maximum) at αi can be similar to or smaller (bigger) than the minimum (maximum) found at αi+1, depending on the function under consideration. This process is repeated for all levels of α. Consequently, a set of intervals which finally turns out to be a fuzzy interval is obtained as enlisted in the following Eq:

(25)

Here:

where, and are defined as in Eq. 21 and 22, respectively.

Next, the authors introduce the following two errors:

Definition 5: Let be a continuous function. Given a fuzzy interval A on . The Horizontal-Error of B = f(A) is given by:

(26)

where,

are the α-cuts of analytical solution and approximation soultion, respectively.

Definition 6: Let be a continuous function. Given a fuzzy interval A on . The Vertical-Error of B= f(A )is given by:

(27)

i = 1, 2 , ... , n, where, and are the membership values of analytical solution and and are the membership values of approximation solution.

Numerical example: In this section, the authors use the proposed method to illustrate the computation of Zadeh’s extension principle for a continuous function.

Fig. 2: Fuzzy interval U

Fig. 3: Function Handle

Fig. 4: Comparison between analytical solution (solid line) and its approximation (circle mark)

Fig. 5: Elapsed CPU time (sec)

The authors consider the following triangular fuzzy interval U defined by:

(28)

The α-cuts of U are given by:

(29)

The authors take the function defined by:

(30)

and compute f(U) = (U)2 through optimisation technique. Please note that the function f is unimodal defined over the interval [-2, 1]. It has an extreme point at x = 0. From Zadeh’s extension principle, the analytical solution is given by:

Table 1: Approximation errors

Table 2: Number of function evaluations

(31)

The graphs of U, f(x) and f(U) are depicted in Fig. 2, 3 and 4, respectively. In Fig. 4, the authors compare the approximation solution with the analytical solution obtained via Zadeh’s extension principle. The authors observe that the approximation solution equals to the analytical solution. The approximation errors (up to four decimal digits) are listed in Table 1.

In term of computational complexity, the authors observe that the total number of function evaluations required in this example is lower than the total number of function evaluations required in the transformation method (Table 2). In general, one can say that if the number of α is large, then the method proposed in this study offers a significantly better complexity.

Furthermore, the execution time (in elapsed CPU seconds) for the different numbers of α is mentioned in Fig. 5. It is consistent with the total number of function evaluations since the execution time increases as α increases.

CONCLUSION

The authors have presented a new method for computing a function that takes a fuzzy interval as its arguments. The main advantage of the proposed method is that it does not need a large computer memory and the speed up in computation is guaranteed. Moreover, it does not need information about derivative of a function. In the future, this proposed method will be incorporated into classical numerical methods for solving differential equations with fuzzy initial values.

ACKNOWLEDGMENTS

This research was co-funded by the Ministry of Higher Education of Malaysia (MOHE) and partially supported by Universiti Malaysia Perlis (UniMAP) under the programme “Skim Latihan Akademik IPTA (SLAI)”.

REFERENCES

  • Bonarini, A. and G. Bontempi, 1994. A qualitative simulation approach for fuzzy dynamical models. ACM Trans. Modelling Comput. Simulation, 4: 285-313.
    Direct Link    


  • Brent, R.P., 2002. Algorithms for Minimization without Derivatives. Prentice-Hall, New Jersey


  • Chalco-Cano, Y., M.T. Mizukoshi, H. Roman-Flores and A. Flores-Franulic, 2009. Spline approximation for Zadeh`s extension. Int. J. Uncertainty Fuzziness Knowledge-Based Syst., 17: 269-280.
    Direct Link    


  • Dong, W.M. and F.S. Wong, 1987. Fuzzy weighted average and implementation of the extension principle. Fuzzy Sets Syst., 21: 183-199.
    CrossRef    


  • Dong, W. and H.C. Shah, 1987. Vertex method for computing functions of fuzzy variables. Fuzzy Sets Syst., 24: 65-78.
    CrossRef    


  • Hanss, M., 2002. The transformation method for the simulation and analysis of systems with uncertain parameters. Fuzzy Sets Syst., 130: 277-289.
    CrossRef    


  • Kaufmann, A. and M.M. Gupta, 1991. Introduction to Fuzzy Arithmetic: Theory and Applications. 2nd Edn., Van Nostrand Reinhold, New York, ISBN: 1850328811


  • Klir, G.J., 1997. Fuzzy arithmetic with requisite constraints. Fuzzy Sets Syst., 91: 165-175.
    CrossRef    


  • Makino, K. and M. Berz, 1999. Efficient control of the dependency problem based on taylor model methods. Reliable Comput., 5: 3-12.
    CrossRef    


  • Moore, R.E., 1966. Interval Analysis. Prentice-Hall, Englewood Cliffs, New Jersey, USA


  • Roman-Flores, H., L. Barros and R. Bassanezi, 2001. A note on Zadeh`s extension principle. Fuzzy Sets Syst., 117: 327-331.
    CrossRef    


  • Yang, H.Q., H. Yao and J.D. Jones, 1993. Calculating functions on fuzzy numbers. Fuzzy Sets Syst., 55: 273-283.
    CrossRef    


  • Zadeh, L.A., 1965. Fuzzy sets. Inform. Control, 8: 338-353.
    CrossRef    Direct Link    

  • © Science Alert. All Rights Reserved