Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Fuzzy Sets
Conventional Sets
A set is a collection of things, for example the room
Conventional Sets
Such collection of things are called the Universe of
X
5
Conventional Sets
Operations on Classical Sets
If we have two sets A and B consisting of a collection of
(x belongs to X)
xA
(x belongs to A)
xX
(A is contained in or is equivalent to B)
A=B
(A
B and B
A)
The null set is the set with no elements, and the whole set
Conventional Sets
Operations on Classical Sets: Union
AUB
B
A U B = [x | x A or x B ]
Conventional Sets
Operations on Classical Sets: Intersection
AB
B
A B = [x | x A and x B ]
Conventional Sets
Operations on Classical Sets: Complement
= [x | x A and x X ]
7
Conventional Sets
Operations on Classical Sets: Difference
A|B
B
A | B = [x | x A and x B]
Conventional Sets
Properties of Classical Sets
Commutativity: A U B = B U A; also for the intersection
Associativity: A U (B U C) = (A U B) U C
Distributivity: A U (B C) = (A U B) (A U C)
Transitivity: if A
C, then A
C.
Identity: A U = A
A=
AUX=X
AX=A
9
Conventional Sets
Properties of Classical Sets
Law of Excluded Middle:
AU=X
A=
De Morgans law:
AB=UB
AUB=B
Conventional Sets
Properties of Classical Sets: Example
Consider an arch consists of two members,
Load
11
Conventional Sets
Mapping
If an element x is contained in X and corresponds to an
A(x) =
1, x A
0, x A
X
5
12
Fuzzy Sets
In classic sets, the transition of an element in the
13
Fuzzy Sets
This function maps elements of fuzzy set A to a real
ordered pairs
A = {(x, A(x) |x X}
A discrete and finite fuzzy set is represented as follow
A =
When x is continuous A =
A(x) /x
14
Fuzzy Sets
Example
Score
10
20
30
40
50
60
70
80
90
100
High
.1
.3
.5
.8
Medium
.1
.5
.8
.8
.5
Low
.9
.7
.5
.3
.1
high
medium
low
1.2
1
0.8
0.6
0.4
0.2
0
0
10
20
30
40
50
60
70
80
90
100
15
110
Fuzzy Sets
Example
Score
10
20
30
40
50
60
70
80
90
100
Medium
.1
.5
.8
.8
.5
B = Medium score = {(10, 0), (20, 0), (30, .1), (40, .5), (50,
.8), (60, 1), (70, .8), (80, .5), (90, 0), (100, 0)}
Or B = (30, .1), (40, .5), (50, .8), (60, 1), (70, .8), (80, .5)}
0.5/80
16
Fuzzy Sets
Fuzzy Sets Operations
Union: the membership functions of the union of the two
17
Fuzzy Sets
Fuzzy Sets Operations
Intersection: the membership functions of the intersection
^ B (x)
18
Fuzzy Sets
Fuzzy Sets Operations
Complement: the membership functions of the complement
19
Fuzzy Sets
Fuzzy Sets Operations
The same operations of the classical sets are still valid for
B and B
C, then A
C.
De Morgans law
20
10
Fuzzy Sets
Fuzzy Sets Operations
Two fuzzy sets are equal if and only if A (x) = B (x) for all
x X.
A is a sub set of B: A
x X.
21
Fuzzy Sets
Example
Consider the following two fuzzy sets:
A = { 1/2 + .5/3 + .3/4 + .2/5}
B = {.5/2 + .7/3 + .2/4 + .4/5}
Complement = { 1/1 + 0/2 + .5/3 + .7/4 +.8/5}
Complement B = { 1/1 + .5/2 + .3/3 + .8/4 +.6/5}
Union: A U B = {1/2 + .7/3 + .3/4 +.4/5}
Intersection: A B = {.5/2 + .5/3 + .2/4 +.2/5}
22
11
Fuzzy Sets
Example
Consider the following two fuzzy sets:
A = { 1/2 + .5/3 + .3/4 + .2/5}
B = {.5/2 + .7/3 + .2/4 + .4/5}
Difference A | B = A B = {.5/2 + .3/3 + .3/4 +.2/5}
De Mogans law = A U B = B = { 1/1 + 0/2 + .3/3 +
.7/4 +.6/5}
23
Fuzzy Sets
Normal Fuzzy Set
A fuzzy set A is normal if its maximal degree of membership
is unity (i.e., there must exist at least one x for which A(x)
= 1. On the other hand, non-normal fuzzy sets have
maximum degree of membership less than one
Degree of
Membership
1
Universe of Discourse
24
12
Fuzzy Sets
Support of a Fuzzy Set
Support of a fuzzy set A
(written as supp(A)) is a
(crisp) set of points in X for
which A is positive supp(A)
= { x X | A(x)>0}
Score
10
20
30
40
50
60
70
80
90
100
Medium
.1
.5
.8
.8
.5
Support (B) = Medium score = {30, 40, 50, 60, 70, 80}
25
Fuzzy Sets
Convex Fuzzy Set
A fuzzy set A is convex if and only if it satisfies the
26
13
Fuzzy Sets
-cut of a Fuzzy Set
-cut is defined as a crisp set A (or a crisp interval) for a
, where
27
Fuzzy Sets
-cut of a Fuzzy Set: Example
Consider the score example
Score
10
20
30
40
50
60
70
80
90
100
Medium
.1
.5
.8
.8
.5
0.8
28
14
Fuzzy Sets
Fuzzy Numbers
Fuzzy number is a fuzzy set which is both normal and
Fuzzy Sets
Fuzzy Numbers
30
15
Fuzzy Sets
Resolution Principle
A fuzzy set A can be expanded in terms of its -cuts.
A (x) = ^ A (x); x X
This means that a fuzzy set can be decomposed into A ,
[0, 1].
A(x)
1
2
1
2A2
1A1
A2
A1
X
31
Fuzzy Sets
Resolution Principle: Example
Consider the following fuzzy set:
A = {.1/50 + .3/60 + .5/70 + .8/80 + 1/90 + 1/100}
Using the resolution principle:
A = .1 {1/50 + 1/60 + 1/70 + 1/80 +1/90 + 1/100}
32
16
Fuzzy Sets
Representation Theorem
As opposed to the resolution principle, a fuzzy set A can be
A = U A
1
2
1
A2
A1
X
33
Fuzzy Sets
Representation Theorem: Example
If we are given: A0.1 = {1, 2, 3, 4, 5}, A0.4 = {2, 3, 5}, A0.8 =
1].
A = 0.1 A0.1 + 0.4 A0.4 + 0.8 A0.8 + 1 A1
17
Fuzzy Sets
Extension Principle
Consider a single relationship between one independent
(x)
35
Fuzzy Sets
Extension Principle
The extension principle can be also applied to fuzzy sets.
Given a function f : U
36
18
Fuzzy Sets
Extension Principle: Example
Consider a crisp set A = [0, 1] defined in the universe X =
37
Fuzzy Sets
Extension Principle
The same operations of the classical sets are still valid for
38
19
Fuzzy Sets
Extension Principle: Example
Consider X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; a fuzzy set A =
large2
B = {0.5/36 + 0.7/49 + 0.8/64 + .9/81 + 1/100}
One to one mapping always reserve the membership values
39
Fuzzy Sets
Extension Principle: Example
Consider A = {0.1/-2 + 0.4/-1 + 0.8/0 + 0.9/1 +0.3/2}
(x) = x2 3, using extension principle to find B = (x)
B ={0.1/(4-3)+0.4/(1-3)+0.8/(0-3)+0.9/(1-3)+0.3/(4-3)}
B = {0.1/1 + 0.4/-2 + 0.8/-3 + 0.9/-2 + 0.3/1}
B = {(0.1 V 0.3)/1 + (0.4 V 0.9)/-2 + 0.8/-3}
B = {0.3/1 + 0.9/-2 + 0.8/-3}
40
20
Fuzzy Sets
Extension Principle: Example
0.8
0.9
0.4
0.8
0.3
0.9
(x) = x2 3
0.3
0.1
-3
-2
-1
-3
-2
-1
41
21