Fuzzy Set Notes
Fuzzy Set Notes
Introduction:
The word “fuzzy” means “vaguness (ambiguity)”.Fuzziness occurs when the
boundary of a piece of information is not clear-cut.
Ex: Words like young, tall, good or high are fuzzy. There is no single
quantitative value which defines the term young.
For some people, age 25 is young, and for others, age 35 is young. The concept
young has no clean boundary. Age 35 has some possibility of being young and
usually depends on the context in which it is being considered. Fuzzy sets are an
extension of the classical notion of set (known as a Crisp Set).
Crisp set: A set is a well-defined collection of objects. The term well defined
helps us to discriminate members and non-members of the set. A set in which
we can discriminate members or non-members is called a crisp set. Thus our
classical set is a crisp set. Crisp set theory can also be studied via
characteristics function.
Characteristics function: Let U be a fixed non-empty set, to be called
universal set or universe of discourse or simply domain.
A function ( ) * + ( ) { is called
characteristics function.
Fuzzy set: The concept of fuzzy set is an extension of the concept of crisp set.
Let X is a universal set. A fuzzy set „A‟ in X is a set of ordered pairs such that
A=*( ( )) + ( )
( ).
We also write , - . Here .
Note:
2. A= ⁄ ⁄ ⁄ ∑ ( )
Note that summation means union i.e. we write all elements together.
Important definition:
1. Core of a fuzzy set: Let A be a fuzzy set. Then the set
* ( ) + is called core of the fuzzy set A. It is denoted by core (A).
2. Support of a fuzzy set: Let A be fuzzy set on X. The set
* ( ) + is called support of A and is denoted by supp(A) or S(A).
Thus supp(A) = * ( ) +.
The point (element) ( ) is called crossover point.
Example (3): Let X=* + and
A=*( )( )( )( )( )( ) ( )( )+
i.e. A=*( )( )( )( )( ) ( )+
Then Supp(A)= * + and x = c is a crossover point.
|Young|=1+1+0.8+0.5+0.2+0.1=3.6
| |
||Young||= | |
= 36
then
|Young|=1+1+0.8+0.5+0.2+0.1=3.6
| |
||Young||= | |
= 36
1. Empty fuzzy set: A fuzzy set A is empty iff µA(x) = 0 for all x . .In other
words A fuzzy set A is called empty if degree of membership if zero for all the
members of the fuzzy sets.
i
2 .Universal fuzzy set: A fuzzy set A is called universal iff µA(x) = 1 for all
x . In other words A fuzzy set A is called universal if degree of membership
if one for all the members of the fuzzy sets.
3. Equal fuzzy sets: Two fuzzy sets A and B are said to be equal, if µA(x) =
µB(x) for all x . It is expressed as follows A(x) = B(x), if and only if µA(x)=
µB(x).
Note: Two fuzzy sets A and B are said to be unequal, if µA(x) ≠ µB(x) for at
least x .
Example (12): A = {(x1,0.1),(x2,0.2),(x3,0.3),(x4,0.4)}
B = {(x1, 0. 1),(x2,0.5),(x3,0.3),(x4,0.6)}
As µA(x) ≠ µB(x) for different x , therefore A ≠ B .
4. Complement (Absolute Complement) of fuzzy set: The
complement of a fuzzy set is denoted by Ā or AC and defined
Ā ={(x, µĀ (x)), x ϵ X } where membership function is given by
µĀ(x) = 1- µA(x) for all x ϵ X
5. Relative compliment of fuzzy set: The relative complement of a fuzzy
set A with respect to fuzzy set B is denoted by B-A and defined as
B-A= {(x, µB-A (x)), x ϵ X }
where µB-A(x) = µB(x)- µA(x) for all x ϵ X , provided µB(x) ≥ µA(x).
Example (13): A = {(x1,0.1),(x2,0.2),(x3,0.5),(x4,0.6)}
B = {(x1,0.3),(x2,0.5),(x3,0.7),(x4,0.9)} then
Ā= {(x1, 1- 0.1),(x2,1- 0.2),(x3,1- 0.5),(x4,1- 0.6)}
i.e. Ā={(x1,0.9),(x2,0.8),(x3, 0.5),(x4,0.4)} and
B-A ={(x1,0.3- 0.1),(x2,0.5-0.2),(x3,0.7-0.5),(x4,0.9-0.6)}
i.e. B-A={(x1,0.2),(x2,0.3),(x3,0.2),(x4,0.3)}
Example (14): A = {(x 1 , 0.5),(x 2 ,0.7),(x 3 ,0)}
Complement A c = {(x 1 ,0.5),(x 2 ,0.3),(x 3 ,1)}
Because μ A c (x 1 ) =1- μ A (x 1 ) = 1 – 0.5 = 0.5
μ A c (x 2 ) = 0.3 and μ A c (x 3 ) = 1.
6. Union of fuzzy sets: Let A and B are two fuzzy sets, the union of A and B is
denoted by AUB and is defined as
AUB = {(x, µAUB(x)), x ϵ X }
where the membership function μ A U B (x) = max (μ A (x), μ B (x)).
11. Algebraic sum of two fuzzy sets: The Algebraic sum of two fuzzy
sets Aand B for all x ϵ X, is denoted by A+B and defined as follows
A+B = {(x,µA+B (x)) / x ϵ X } Where µA+B(x) = µA(x)+µB(x) - µA(x).µB(x)
Example (23): If A = {(x1,0.1),(x2,0.2),(x3,0.3),(x4,0.4)}
and B ={(x1,0.5),(x2,0.7),(x3,0.8),(x4,0.9)}
Now A+B= {(x1, 0.55),(x2,0.76),(x3,0.86),(x4,0.94)}
Because μ A + B (x 1 ) = μ A (x 1 )+μ B (x 1 ) - μ A (x 1 ).μ B (x 1 )
= 0.5+0.1 - ( 0.5)(0.1)=0.55
Similarly μ A+ B (x 2 ) = 0.76 and μ A + B (x 3 ) = 0.86 and μ A + B (x 4 )=0.94.
12. Bounded sum of two fuzzy sets: The bounded sum of two fuzzy sets
A and B for all x ϵ X, is denoted by A ⊕ B and defined as follows
A ⊕ B=
Find .
Solution: The of fuzzy set A is the crisp set of all
elements with atleast membership grade .
Thus * ( ) +
=* +, =* +, =* +, =* +
Example (29): Let X be set of ages = { 5,10,20,30,40,50,60,70}
Fuzzy set “ infant” A={ 0,0,0,0,0,0,0,0}
Fuzzy set “ Young” B={ , ,0.8,0.5,0.2,0. ,0,0}
Fuzzy set “ Old” C ={ 0,0,0. ,0.2,0.4,0.6,0.8, }
Find A U B, A ∩ B, A U (B ∩ C) , B U C, B∩ C
Solution: By definition AUB = {(x, max (μ A (x), μ B (x))) / x ϵ X }
AUB = {1, 1, 0,8 , 0.5, 0.2, 0. 1, 0 , 0}
Also A∩B ={(x, min{µA(x), µB(x)) / x ϵ X }
A∩B= {0, 0, 0 , 0, 0, 0, 0 , 0}=A
Now B∩ C= {0, 0, 0.1, 0.2, 0.2, 0. 1, 0 , 0}
A U (B ∩ C) = {0, 0, 0. , 0.2, 0.2, 0. , 0 , 0}
B U C ={ 1,1,0.8,0.5,0.4,0.6,0.8,1}.
( ) ( ) ( )
( )
Check (i) A U ( ̅∩B) = AUB (ii) A∩ ̅ (iii) AU ̅
(iv) De Morgan‟s laws
Solution: *( ( )) +={. / }
*( )( )( )( )( )( )+
*( ( )) +={. -
/ }
*( )( )( )( )( )( )+
*( ( )) +={. / }
( - )
*( )( )( )( )( )( )+
(i) ̅ *( ( )) +
=*(0, -0 ),( , -0.33 ),(2, -0.5 ),(3, -0.6),(4, -0.667), (5, -0.7 4 )+
=*(0, ),( ,0.667 ),(2,0.5 ),(3,0.4),(4,0.33), (5,0.286 )+
̅∩B = {(x, min{ - µA(x), µB(x}) / x ϵ X }
=*(0, ),( ,0.5 ),(2,0.25 ),(3,0. 25),(4,0.0625), (5,0.03 25 )+
A U ( ̅∩B) ={(x, max{µA(x), ̅ (x)}) / x ϵ X }
=*(0, ),( ,0.5 ),(2,0.5 ),(3,0.6),(4,0.667), (5,0.7 4 )+ -----(1)
AUB = {(x, max{µA(x), (x)}) / x ϵ X }
=*(0, ),( ,0.5 ),(2,0.5 ),(3,0.6),(4,0.667), (5,0.7 4 )+ ----- (2)
Equation (1) and (2) gives A U ( ̅∩B) = AUB
(ii) A∩ ̅ *( * ( ) ( )+) +
=*(0 0 ),( ,0.33 ),(2,0.5 ),(3,0.4),(4,0.33), (5,0.286 )+
(iii) AU ̅ *( * ( ) ( )+) +
=*(0 ),( ,0.667 ),(2,0.5 ),(3,0.6),(4,0.667), (5,0.7 4 )+
(iv) To verify De Morgan‟s law i.e. to show
(a) ̅̅̅̅̅̅ ̅ ̅ and ̅̅̅̅̅̅ ̅ ̅
( ) ̅ *( ( )) +
=*(0, - ),( , -0.5 ),(2, -0. 5 ),(3, -0. 25),(4, -0.625), (5, -0.03 25 )+
=*(0,0 ),( ,0.5 ),(2,0. 5 ),(3,0. 5),(4,0. 5), (5,0. 5 )+
By definition ̅̅̅̅̅̅ {(x, 1- max{µA(x), (x)}) / x ϵ X }
=*(0,0 ),( ,0.5 ),(2,0.5 ),(3,0.4),(4,0.33), (5,0.286 )+ -----(3)
̅ ̅ {(x, min{1- µA(x), 1- µB(x}) / x ϵ X }
*(0,0 ),( ,0.5 ),(2,0.5 ),(3,0.4),(4,0.33), (5,0.286 )+ -----(4)
From equation (3) and (4) we get ̅̅̅̅̅̅ ̅ ̅
{ }
and
{ }
(iii) ̅ *( ( )) +={ }
A∩ ̅ *( * ( ) ( )+) + ={ }
(iii) AU ̅ *( * ( ) ( )+) + ={ }
{ }
And
{ }
-
Solution:
X ( )
0 0
1 0.5
2 0.66
3 0.75
4 0.8
5 0.833
6 0.857
7 0.875
8 0.888
9 0.9
10 0.91
Thus, scalar cardinality of A is | | ∑ ( )
* ( ) +
={1,2,3,4,5,6,7,8,9,10}.
15. Cartesian product of two fuzzy sets: The Cartesian product of fuzzy
sets A and B, is the fuzzy set C denoted by AX B and is defined as
( )
C= AXB= { ( )
}, where µC(x) = min{µA(a),µB(b)}.
Example (36): If A={ 0.2/ x1 , 0.3/ x2, 0.5/ x3} and B={0.5/ y1 , 0.6/ y2, 0.7/ y3
then find
Solution:
⁄( ) ⁄( ) ⁄( ) ⁄( ) ⁄( )
⁄( ) ⁄( ) ⁄( ) ⁄( )
* + * + * +
AXB = ⁄( ) ⁄( ) ⁄( )
* + * + * +
⁄( ) ⁄( ) ⁄( )
⁄( ) ⁄( ) ⁄( ) ⁄( ) ⁄( ) ⁄( )
i.e. AXB ={((3,5), 0.4) , ((3,6), 0.4), ((5,5), 1) , ((5,6), 0.6) ((7,5), 0.6), ((7,6),
0.6)}
Example (38): If A={(x1,0.2),(x2,0.3),(x3,0.5),(x4,0.6)}
B={(y1,0.8),(y2,0.6),(y3,0.3)} min{µA(x1),µB(y1)} = min{0.2,0.8} = 0.2
min{µA(x1),µB(y2)} = min{0.2,0.6} = 0.2
min{µA(x1),µB(y3)} = min{0.2,0.3} = 0.2
min{µA(x2),µB(y1)} = min{0.3,0.8} = 0.3
min{µA(x2),µB(y2)} = min{0.3,0.6} = 0.3
min{µA(x2),µB(y3)} = min{0.3,0.3} = 0.3
min{µA(x3),µB(y1)} = min{0.5,0.8} = 0.5
min{µA(x3),µB(y2)} = min{0.5,0.6} = 0.5
min{µA(x3),µB(y3)} = min{0.5,0.3} = 0.3
min{µA(x4),µB(y1)} = min{0.6,0.8} = 0.6
min{µA(x4),µB(y2)} = min{0.6,0.6} = 0.6
min{µA(x4),µB(y3)} = min{0.6,0.3} = 0.3
[ ]
⁄( ) ⁄( ) ⁄( ) ⁄( ) ⁄( )
⁄( )
from A to B given by R= ⁄( ) ⁄( ) ⁄( )
⁄( ) ⁄( ) ⁄( ) ⁄( )
MR=[ ] MS =[ ]
[ ]
[ ]
̅ [ ]
Composition of fuzzy relations: Suppose R is fuzzy relation from on A×
B and S is fuzzy relation from on B× C.Then their composition is denoted by
μ (a,c) , ( ( )) ( )-
Now μ ( , ) , ( ) ( ) ( )-
( )
μ ( , ) , ( ) ( ) ( )-
, -
μ ( , ) , ( ) ( ) ( )-
( )
μ ( , ) , ( ) ( ) ( )-
, -
Now ̅ *( ( )) + *( )( )+
A∩ ̅ *( * ( ) ( )+) + *( )( )+
|A∩ ̅|=0.2+ 0.4 = 0.6
A ̅ {( * ( ) ( )+) } *( )( )+
|A ̅|=0.8+ 0.2 = 1
A ̅ {( * ( ) ( )+) } , -
Hence E(A) =
Practice problem
1.: Given A= and . Find the bounded sum and
Bounded difference