Fuzzy Relations
Fuzzy Relations
Note :
(1) A × B ƒ= B × A
(2) |A × B| = |A| × |B|
(3)A × B provides a mapping from a ∈ A to b ∈ B.
Complement:
R(x, y ) = 1 − R(x, y )
Example:
Suppose, R(x, y ) and S(x, y ) are the two relations define over
two crisp sets x ∈ A and y ∈ B
01 0 00
0 1 0
0 0 1 0
R = and S = 0 1 0 0 ;
Debasis Samanta (IIT Kharagpur) 000 1
06.02.2018
0 0 10
6 / 64
000 0 0 0 01
Find the following:
1 R∪
2 S
R∩
3 S
R
Max-Min Composition
Given the two relation matrices R and S, the max-min composition is
defined as T = R ◦ S ;
5)}
1
1 3 5
1 01 0 3 1
R= 3 00 1 and S=
5 00 0 5
1 01
3 0 10
Using max-min composition R ◦ 1
S= 5 0 0
Soft Computing Applications
0
Fuzzy
relations
Fuzzy relation is a fuzzy set defined on the Cartesian product of
crisp set X1, X2, ..., Xn
Here, n-tuples (x1, x2, ..., xn) may have varying degree
of memberships within the relationship.
The membership values indicate the strength of the relation
between the tuples.
Debasis Samanta (IIT Kharagpur)
Example: 06.02.2018 9 / 64
Suppose
A is a fuzzy set on the universe of discourse X with µA(x )|x ∈ X
B is a fuzzy set on the universe of discourse Y with µB (y )|y ∈
Y
Then R = A × B ⊂ X × Y ; where R has its membership function given
by µR (x, y ) = µA×B (x, y ) = min{µ A (x ), µB (y ) }
Debasis Samanta (IIT Kharagpur) 06.02.2018 10 / 64
Example :
A = {(a 1 , 0.2), (a2, 0.7), (a3, 0.4)}and B = {(b 1 , 0.5), (b2,
0.6)}
a1 0.2b10.2 b2
R=A×B = a2 0.5 0.6
a3 0.4 0.4
Complement:
µR (a, b) = 1 − µR (a, b)
Composition
µR◦S = maxy ∈Y {min(µ R (x, y ), µS (y,
T =R◦ S
z))}
Soft Computing Applications
Operations on Fuzzy relations:
Examples
Example:
X = (x1, x2, x3); Y = (y1, y2); Z = (z1, z2, z3);
y1 y2
R= x1
x2 0.50.2
0.10.9
x3 0.8 0.6
z1
Debasis Samanta (IIT Kharagpur) 06.02.2018 12 / 64
Σ Σ
1
z.6
2
S= y2 z3
0.5
y 0 0.7
z2 z3z0.4
1
0.8 0.9
0.4 0.5
x1 0.5
R◦ S= x2 0.5 0.8 0.9
x3 0.6 0.6 0.7
µR◦S (x1, y1 ) = max {min(x 1 , y1), min(y1, z1), min(x1, y2), min(y2,
z 1 )}
= max {min(0.5, 0.6), min(0.1, 0.5)}
Soft Computing = max {0.5, 0.1} = 0.5 and
Applications
Fuzzy relation : An
example
Consider the following two sets P and D, which represent a set of
paddy plants and a set of plant diseases. More precisely
P = {P 1 , P2, P3, P 4 } a set of four varieties of paddy plants
D = {D 1 , D2, D3, D 4 } of the four various diseases affecting the
plants
Debasis Samanta (IIT Kharagpur) In addition to these, also consider another set S = {S 1 , S2, S3, S 4 }
06.02.2018 13 / 64
2D Membership functions : Binary fuzzy
relations
(Binary) fuzzy relations are fuzzy sets A × B which map each element
in A × B to a membership grade between 0 and 1 (both inclusive).
Note that a membership function of a binary fuzzy relation can be
depicted with a 3D plot.
(x, y)
Debasis Samanta (IIT Kharagpur) 06.02.2018 17 / 64
Important: Binary fuzzy relations are fuzzy sets with two dimensional
MFs and so on.
2D membership function : An
example
x
Suppose, X = {3, 4, 5 } and Y = {3, 4, 5, 6,
7}, then
3 4 5 6 7
0.5 0.75
3 0 0.25
R= 4 0 0 1.0
5 0 0 0.25 0.5
0.75
0 0.25
0.5
Problems to
ponder:
Hint:
For queries
Email: sonam.e11002@cumail.in