You are on page 1of 21

Lecture 10

 Membership functions fuzzy sets


 Operations of fuzzy sets
 Fuzzy Properties
 Summary

1
MF Formulation
 x a c  x 
trimf ( x ; a , b , c )  max min  ,  , 0
Triangular MF:  b a c b 

 x a d  x 
Trapezoidal MF: trapmf ( x ; a , b , c , d )  max min  , 1,  , 0
 b a d c 

2
1  x c 
  
Gaussian MF: gaussmf ( x ; a , b , c )  e 2  

1
Generalized bell MF: gbellmf ( x ; a , b , c )  2b
x c
1
b
1
Sigmoidal MF sigmf ( x ; a , b , c ) 
1  e a ( x  c ) 2
MF Formulation

3
 Triangular membership function
a, b and c represent the x coordinates of the three
vertices of µA(x) in a fuzzy set A (a: lower boundary and
c: upper boundary where membership degree is zero, b:
the centre where membership degree is 1)

µA(x)
if x  a
1
0 
xa 
 if a  x  b 
 
 A ( x)   b  a 
c  x if b  x  c 
c  b 
0
 if x  c 
 0 a c
x
b

4
Operations of fuzzy sets
The classical set theory developed in the late 19th
century by Georg Cantor describes how crisp sets can
interact. These interactions are called operations.

5
Cantor’s sets
Not A
B

A A
A

Complement Containment

A B A
A B

Intersection Union 6
 Complement
Crisp Sets: Who does not belong to the set?
Fuzzy Sets: How much do elements not belong to
the set?
The complement of a set is an opposite of this set.
For example, if we have the set of tall men, its
complement is the set of NOT tall men. When we
remove the tall men set from the universe of
discourse, we obtain the complement. If A is the
fuzzy set, its complement ØA can be found as
follows:
mØA(x) = 1 - mA(x)
7
8
9
 Containment
Crisp Sets: Which sets belong to which other sets?
Fuzzy Sets: Which sets belong to other sets?
Similar to a Chinese box, a set can contain other
sets. The smaller set is called the subset. For
example, the set of tall men contains all tall men;
average men is a subset of tall men. However, the
tall men set is just a subset of the set of men. In
crisp sets, all elements of a subset entirely belong to
a larger set. In fuzzy sets, however, each element
can belong less to the subset than to the larger set.
Elements of the fuzzy subset have smaller
memberships in it than in the larger set.
10
11
 Intersection
Crisp Sets: Which element belongs to both sets?
Fuzzy Sets: How much of the element is in both sets?
In classical set theory, an intersection between two
sets contains the elements shared by these sets. For
example, the intersection of the set of tall men and
the set of fat men is the area where these sets
overlap. In fuzzy sets, an element may partly
belong to both sets with different memberships. A
fuzzy intersection is the lower membership in both
sets of each element. The fuzzy intersection of two
fuzzy sets A and B on universe of discourse X:
mAÇB(x) = min [mA (x), mB (x)] = mA (x) Ç mB(x),
where xÎX
12
13
 Union
Crisp Sets: Which element belongs to either set?
Fuzzy Sets: How much of the element is in either set?
The union of two crisp sets consists of every element
that falls into either set. For example, the union of
tall men and fat men contains all men who are tall
OR fat. In fuzzy sets, the union is the reverse of the
intersection. That is, the union is the largest
membership value of the element in either set. The
fuzzy operation for forming the union of two fuzzy
sets A and B on universe X can be given as:
mAÈ B(x) = max [mA (x), mB(x)] = mA (x) È mB(x),
where xÎX 14
15
Operations of fuzzy sets
 ( x)  ( x)
B
1 1 A
A
0 0
x x
B
1 1 A
Not A
0 0
Complement x Containment x

 ( x)  ( x)

1 1
AB AB
0 0
x x
1 AB 1
AB
0 0
x x
Intersection Union
16
Equality
A=B  mA (x) = mB(x),

17
Fuzzy Properties

18
19
20
Example
A={(a,1),(b,0.6),(c,0.4)}
B={(a,0.5),(b,0.8),(c,0.3)}
C={(a,0.2),(b,0.4),(c,0.9)}
Calculate:
AUB=
A^B=
┐A=A’=
AUA’=
A^A’=
AUBUC=
A^B^C= 21

You might also like