Unit 3: Fuzzy Relations
Unit 3: Fuzzy Relations
Fuzzy Relations
Fuzzy relations and operations on fuzzy relations are the key to the
thorough understanding of fuzzy inference. Their study, therefore,
is indispensable.
Chrysler Voyager
Toyota Corolla
Mercedes C
Opel Vectra
Ford Focus
VW Passat
Volvo V40
Mazda 6
BMW 3
Alice 1 0 0 0 0 0 0 0 0
Bob 0 0 0 1 0 0 0 0 0
Christine 0 0 0 0 0 0 0 1 0
Daniel 0 1 1 0 0 0 0 0 0
Eva 0 0 0 1 0 0 0 0 0
Martin 1 0 0 0 0 0 0 0 0
Sylvia 0 0 1 0 0 0 0 0 1
Thomas 0 0 1 0 1 0 0 0 0
Christine
Thomas
Daniel
Martin
Sylvia
Alice
Bob
Eva
Alice 0 0 0 0 0 0 0 1
Bob 0 0 0 0 0 0 0 0
Christine 0 0 0 1 0 1 0 0
Daniel 0 0 1 0 0 0 0 0
Eva 0 0 0 0 0 0 0 0
Martin 0 0 1 0 0 0 1 0
Sylvia 0 0 0 0 0 1 0 0
Thomas 1 0 0 0 0 0 0 0
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1 1 0 0 0 0 0 0
2 1 1 1 0 0 0 0 0
3 0 1 1 1 0 0 0 0
4 0 0 1 1 1 0 0 0
5 0 0 0 1 1 1 0 0
6 0 0 0 0 1 1 1 0
7 0 0 0 0 0 1 1 1
8 0 0 0 0 0 0 1 1
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1 0 0 0 0 0 0 0
2 0 1 0 0 0 0 0 0
3 0 0 1 0 0 0 0 0
4 0 0 0 1 0 0 0 0
5 0 0 0 0 1 0 0 0
6 0 0 0 0 0 1 0 0
7 0 0 0 0 0 0 1 0
8 0 0 0 0 0 0 0 1
Q x y
R r s t u
r 0 0
a 1 0 1 0
s 1 0
b 1 1 0 0
t 1 1
c 0 0 0 1
u 0 1
R ◦ Q =?
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1 1 0 0 0 0 0 0
2 1 1 1 0 0 0 0 0
3 0 1 1 1 0 0 0 0
4 0 0 1 1 1 0 0 0
5 0 0 0 1 1 1 0 0
6 0 0 0 0 1 1 1 0
7 0 0 0 0 0 1 1 1
8 0 0 0 0 0 0 1 1
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1 0 0 0 0 0 0 0
2 0 1 0 0 0 0 0 0
3 0 0 1 0 0 0 0 0
4 0 0 0 1 0 0 0 0
5 0 0 0 0 1 0 0 0
6 0 0 0 0 0 1 0 0
7 0 0 0 0 0 0 1 0
8 0 0 0 0 0 0 0 1
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1 1 1 1 1 1 1 1
2 0 1 1 1 1 1 1 1
3 0 0 1 1 1 1 1 1
4 0 0 0 1 1 1 1 1
5 0 0 0 0 1 1 1 1
6 0 0 0 0 0 1 1 1
7 0 0 0 0 0 0 1 1
8 0 0 0 0 0 0 0 1
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 0 0 0 0 1 1 1 1
2 0 0 0 0 0 1 1 1
3 0 0 0 0 0 0 1 1
4 0 0 0 0 0 0 0 1
5 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
Preordering:
reflexive and transitive
Weak Ordering:
reflexive, transitive, and complete
Equivalence Relation:
reflexive, symmetric, and transitive
Ordering:
reflexive, antisymmetric, and transitive
Linear Ordering:
reflexive, antisymmetric, transitive, and complete
Strict Ordering:
irreflexive, asymmetric, and transitive
Christine
Thomas
Daniel
Martin
Sylvia
Alice
Bob
Eva
Alice 1.0 0.0 0.0 0.3 0.5 0.1 0.0 1.0
Bob 0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0
Christine 0.5 0.3 1.0 1.0 0.0 1.0 0.7 0.3
Daniel 0.3 0.2 1.0 1.0 0.5 0.0 0.2 0.5
Eva 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Martin 0.8 0.8 1.0 0.9 0.4 0.9 1.0 0.6
Sylvia 0.2 0.3 0.5 0.5 0.4 1.0 0.9 0.0
Thomas 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Q x y
R r s t u
r 0.3 0.4
a 1.0 0.2 0.9 0.2
s 1.0 0.6
b 0.8 1.0 0.0 0.2
t 0.9 0.8
c 0.0 0.3 0.2 0.9
u 0.3 1.0
R ◦TM Q =? R ◦TL Q =?
X = Y = {1, . . . , 8}
1 2 3 4 5 6 7 8
1 1.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0
2 0.5 1.0 0.5 0.0 0.0 0.0 0.0 0.0
3 0.0 0.5 1.0 0.5 0.0 0.0 0.0 0.0
4 0.0 0.0 0.5 1.0 0.5 0.0 0.0 0.0
5 0.0 0.0 0.0 0.5 1.0 0.5 0.0 0.0
6 0.0 0.0 0.0 0.0 0.5 1.0 0.5 0.0
7 0.0 0.0 0.0 0.0 0.0 0.5 1.0 0.5
8 0.0 0.0 0.0 0.0 0.0 0.0 0.5 1.0
Let (T, S, N ) be a De Morgan triple and let Ē denote the classical equality.
R is T -transitive if and only if R ◦T R ⊆ R
R ∪S Ē is reflexive
R ∩T {N Ē is irreflexive
R ∩T R−1 and R ∪S R−1 are symmetric
R ∩T {N R−1 is T -asymmetric if T (x, N (x)) = 0 holds (first law of
excluded middle)
R ∪S {N R−1 is strongly complete if S(x, N (x)) = 1 holds (second law
of excluded middle)
T -Preordering:
reflexive and T -transitive
Weak T -Ordering:
reflexive, T -transitive, and strongly complete
T -Equivalence Relation:
reflexive, symmetric, and T -transitive
Strict T -Ordering:
irreflexive, T -asymmetric, and T -transitive
R r s t u
a 1 0 1 0
b 1 1 0 0
c 0 0 0 1
R0 = {(x, y) | x ∈ A};
R0 = {(x, y) | y ∈ B};
R 1 2 3 4 5 6 7 8
1 1 1 1 1 1 1 1 1
2 0 1 1 1 1 1 1 1
3 0 0 1 1 1 1 1 1
4 0 0 0 1 1 1 1 1
5 0 0 0 0 1 1 1 1
6 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