Computational Method For Fuzzy Arithmetic Operations
Computational Method For Fuzzy Arithmetic Operations
DAFFODIL INTERNATIONAL UNIVERSITY JOURNAL OF SCIENCE AND TECHNOLOGY, VOLUME 4, ISSUE 1, JANUARY 2009
Abstract: In this paper, a computer implementation to evaluate the arithmetic operations on two fuzzy numbers with linear membership functions has been developed. The fuzzy arithmetic approached by the interval arithmetic is used here. The algorithm of the developed method with a numerical example is also provided. Using this method four basic arithmetic operations between any two TFNs can be evaluated without complexity. Keywords: Fuzzy arithmetic, Fuzzy number, Membership Function, Interval arithmetic, cut.
1 Introduction
The fuzzy numbers were introduced by [1] and frequently arise in decision making, control theory, fuzzy systems and approximate reasoning problems. The fuzzy arithmetic was developed by several later authors, e.g. [2 4]. In recent years some research on the application of the fuzzy set theory [5] in education, based on the concepts of fuzzy numbers and fuzzy arithmetic has begun e.g., [6, 7]. Fuzzy numbers are also used in statistics, computer programming, engineering (especially communications), and experimental science. In calculations generally for computational efficiency many applications limit the membership functions of the fuzzy numbers to triangular or trapezoidal fuzzy numbers. Using the inverse function [4] the implementation of arithmetic operations on fuzzy numbers is computationally complex and the implementation of the extension principle [5] is equivalent to solving a nonlinear programming problem. A direct, fast and accurate way of computing the arithmetic operations on fuzzy numbers has
engaged researchers and students of many fields and became the motivation to produce the proposed computational method. The users can evaluate the exact form of the membership functions of the resultant fuzzy numbers in a simple and accurate implementation on computer using MATHEMATICA. In this paper the triangular fuzzy numbers (TFN) are considered. The fuzzy arithmetic approached by interval arithmetic for fuzzy numbers has been used in this paper. In recent times [8] proposed a method using spreadsheet to evaluate the arithmetic operations on fuzzy numbers and [9] proposed a method using MATHEMATICA to evaluate the multiplication on fuzzy numbers. In this paper the method proposed in [9] is extended for all the four basic arithmetic operations on fuzzy numbers and evaluate the exact forms of the membership functions of the fuzzy results.
DAFFODIL INTERNATIONAL UNIVERSITY JOURNAL OF SCIENCE AND TECHNOLOGY, VOLUME 4, ISSUE 1, JANUARY 2009
19
where a b c d , f is increasing and rightcontinuous function on [a, b], and g is decreasing and left-continuous function on [c, d]. If b = c then A is a fuzzy number otherwise it is known as fuzzy interval. When
f ( x) = xa ba
and
g ( x) =
dx d c
the fuzzy
numbers by their -cuts and employ interval arithmetic to the -cuts. Consider two arbitrary fuzzy numbers A and B, and let denote any of the four arithmetic operations. Then, for each (0, 1], the -cut of A B is defined in terms of the -cuts of A and B by the formula ( A B ) = A B (2) which is not applicable when is division and 0 B for any (0,1] . Once the -cuts
number A is a trapezoidal fuzzy number. When f and g are as before and b = c then A is a triangular fuzzy number (TFN).
A(x) 1
number A B is readily expressed by the decomposition theorem of fuzzy sets as, (3) A B = ( A B ).
[0,1]
Since every fuzzy set is uniquely represented by its -cuts and these are closed intervals of real numbers, arithmetic operations on fuzzy numbers can defined in terms of arithmetic operation on closed intervals of real numbers which are described in the next section.
4 Interval Arithmetic
The arithmetic operations for intervals [11, 12], based on the respective real arithmetic operations at the extremes of the intervals are defined as follows, Let T = [a, b] and S = [c, d] be two closed intervals of real numbers, then T S = {x: there is some y in T, and some z in S, such that x = y z}, where is the arithmetic operations except division (/), which is not defined if 0 S . The arithmetic operations on intervals are defined in the ends of their intervals, as is shown below [11], Addition (+): T + S = [ a , b ] + [ c, d ] = [ a + c, b + d ] Subtraction (): T - S = [ a , b ] [c, d ] = [ a d , b c ] Multiplication (.): T . S = [a, b]. [c, d] = [min{ac, ad, bc, bd}, max{ac, ad, bc, bd}] More precisely the extremes of the multiplied interval is provided in the following table 1. Division (/):
a a b b [a, b] /[c, d ] = [min( , , , ), c d c d a a b b max( , , , )] , provided 0 [c, d ] . c d c d
b=c
The TFN A is denoted by A =< a, b, d > . The -cuts of the TFN A are [a + (b a ), d (d b)] , [0,1] (1)
The extremes of the resultant interval are given in the following table 2.
20
Table 1 Table for computing the extremes of the product of two closed intervals
If = Subtraction, Then
T = [ a, b] 0ab
a0b
ab0
TS [ac, bd] [bc, bd] [bc, ad] [ad, cd] [min(ad, bc), max(ac, bd)] [bc, ac] [ad, bc] [ad, ac] [bd, ac]
( A B) = [ A1 B2 , A2 B1 ] by Section
4 and go to Step2.
Step 2. Using backward transformation technique, compute the membership functions of (A B)(x) in terms of x for x [ ( A B )1 (0), ( A B )1 (1)] and
x [ ( A B) 2 (0), ( A B ) 2 (1)] respectively.
Table 2 Table for computing the extremes of the division of two closed intervals
If = Division and 0 [ B1 , B2 ] Then go to Step3 Else Output Division is not defined End If. If = Multiplication [9] Then go to Step3 Step 3. Define functions to compute the extremes ( A B)1 , ( A B ) 2 of ( A B) , for [m, n] in terms of , m, n. Step 4. Define functions using backward transformation technique, which compute the membership functions of (A B)(x) in terms of x for x [ ( A B )1 (m), ( A B )1 (n)] and
x [ ( A B ) 2 (m), ( A B) 2 ( n)] respectively.
T = [a, b] 0ab
S = [ c, d ] 0<cd cd<0
T/S
a b [ , ] d c b a [ , ] d c a b [ , ] c c b a [ , ] d d a b [ , ] c d b b [ , ] c d
a0b
0<cd cd<0
ab0
0<cd cd<0
Step 5. Let K1 = Min{A(0), B(0)} and K2 = Max{A(0), B(0)}. If = Division go to Step 5. If = Multiplication [9] go to Step 6. Step 6. Case1. If K1 = 0 or K2 = 1 Compute (A/B)(x) for 0 < < 1 . Case2. If 0 < K1 < 1 Compute (A/B)(x) for 0 < < K1 K 1 < < 1 respectively.
and
B = [ B1 , B2 ] in terms of .
Step 7. Case1. If K1 = 0 and 0 < K2 < 1 Compute (A.B)(x) for 0 < < K 2 , and K 2 < < 1 respectively. Case2. If (K1 = 0 and K2 = 1) or K2 = 0 Compute (A.B)(x) for 0 < < 1 . Case3. If K1 > 0 and 0 < K2 < 1 0 < < K1 , Compute (A.B)(x) for K1 < < K 2 and K 2 < < 1 respectively. Case4. If K1 = 1.
DAFFODIL INTERNATIONAL UNIVERSITY JOURNAL OF SCIENCE AND TECHNOLOGY, VOLUME 4, ISSUE 1, JANUARY 2009
21
Compute (A.B)(x) for 0 < < 1 . Case5. If 0 < K1 < 1 and K2 = 1 Compute (A.B)(x) by Case3
6 Numerical Example
Consider two TFNs with membership functions
x +1 2 , 1 x 1 3 x A( x) = , 1 x 3 , 2 0, otherwise x 1 2 , 1 x 3 5 x , 3 x 5 and B( x) = 2 0, otherwise
1 0.8 0.6 0.4 0.2
-10
-8
-6
-4
-2
A(x) B(x)
-4
-2
-20
-10
10
20
30
10
12
22
1 0.8 0.6 0.4 0.2
-1
-0.5
0.5
1.5
7 Conclusions
This paper presents a direct, fast and accurate way of computing the arithmetic operations on fuzzy numbers as well as the analytic form of the resultant membership functions. The implementation proposed by [8] is limited in finding the membership grade of a particular number, provides no information about the resultant fuzzy number (e.g. the shape, the support etc.), while in [9] the authors implemented the method only for the multiplication of two TFNs with linear membership function. This paper is the extension of [9], where the implementation for addition, subtraction and division of two TFNs is provided. Users can evaluate the four basic arithmetic operations between any two TFNs without complexity and even plot the membership function of the resultant fuzzy number to take any further decisions (e.g., shape, support, -cuts etc.).
[5] L.A. Zadeh, Fuzzy Sets, Information and Control, Vol. 8, 1965, pp. 338-353. [6] Chih-Huang Wang, Shy-Ming Chen, Appraising the performance of high school teachers based on fuzzy number arithmetic operations, Soft Comput., Vol. 12, 2008, pp. 919-934. [7] Law CK, Using fuzzy numbers in education grading system, Fuzzy Sets Syst., Vol. 83, No. 3, 1996, pp. 311-323. [8] P.S. Kechagias, Basil K. Papadopoulos, Computational method to evaluate fuzzy arithmetic operations, Applied Mathematics and Computations, Vol. 185, 2007, pp. 169-177. [9] Sanwar Uddin Ahmad and Thowhida Akther, Multiplication of Fuzzy Numbers Using Mathematica, Daffodil Int. Univ. J. of Sc. & Tech., Vol. 3, Issue 1, pp 32 35, 2008. [10] G.J.Klir, B.Yuan, Fuzzy Sets and Fuzzy Logic: Theory and Applications, Prentice-Hall PTR, Upper Saddlie River, 1995. [11] Moore, R. E., Interval Analysis, Prentice Hall, New Jersey, 1966. [12] Oliveira, P. W. de., Fundamentos de Matemtica Intervalar, 1a ed. Instituto de Informtica da UFRGS: SAGRA-Luzzato, 1997.
Thowhida Akther has received her MS in Applied Mathematics and B.Sc (hons) in Mathematics from University of Dhaka. Now she is working as a Lecturer under the Department of CSE, CIS & CS in Daffodil International University, Dhaka. Her interested field of research includes Numerical Methods, Operations Research and Fuzzy Mathematics.
References
[1] L. A. Zadeh, The Concept of linguistic variable and its applications to approximate reasoning, Inform. Sci. Vol. 8, 1975, pp. 199-251. [2] M. MizuMoto, K. Tanaka, The four operations on fuzzy numbers, Syst. Compute. Controls, Vol. 7, 1976, pp. 73-81. [3] D. Dubois, H. Prade, Operation on fuzzy numbers, Int. J. Syst. Sci., Vol. 9, 1978, pp. 613626. [4] R. R. Yager, On the lack of inverses in fuzzy arithmetic, Fuzzy Sets Syst., Vol. 4, 1980, pp. 7382.
Sanwar Uddin Ahmad has completed MS in Applied Mathematics and B.Sc (hons) in Mathematics from University of Dhaka. Now he is working as a Lecturer in the Department of Mathematics, University of Dhaka. His areas of research are Operations Research, Fuzzy Mathematics and Group Theory.