Unit 6: Fuzzy Relations, Similarity & Compatibility
Comprehensive mathematical theory of fuzzy relations on Cartesian products X × Y: fuzzy relation matrices, domain, range, height, and inverse relations R^{-1}, Max-Min (sup-min) and Max-Product (sup-product) compositions, properties of associativity and distributivity, fuzzy equivalence and similarity relations (reflexivity, symmetry, max-min transitivity), the algorithm for computing transitive closures R_T = R ∪ R^2 ∪ ... ∪ R^{n-1}, compatibility (tolerance) relations, α-compatibility classes, and similarity quotient partitions.
§6.1 Crisp vs Fuzzy Relations on Cartesian Products $X \times Y$ & Membership Matrices
1. From Classical to Fuzzy Relations
A classical binary relation $R$ between two sets $X$ and $Y$ is a subset of the Cartesian product $X \times Y$: an ordered pair $(x, y)$ is either related ($(x, y) \in R$) or not ($(x, y) \notin R$). In fuzzy set theory, associations between entities often possess intermediate strengths (e.g. "x is much larger than y", "patient x strongly exhibits symptom y").
Definition 6.1 (Fuzzy Binary Relation): A fuzzy binary relation $R$ from universe $X$ to universe $Y$ is a fuzzy subset of the Cartesian product $X \times Y$, characterized by a bivariate membership function:
where $\mu_R(x, y)$ denotes the degree of association, correlation, or relationship between $x \in X$ and $y \in Y$.
2. The Fuzzy Relation Matrix
When $X = \{x_1, \dots, x_m\}$ and $Y = \{y_1, \dots, y_n\}$ are finite sets, a fuzzy relation $R$ is represented by an $m \times n$ membership matrix $M_R = (r_{ij}) \in [0, 1]^{m \times n}$:
where $r_{ij} = \mu_R(x_i, y_j) \in [0, 1]$.
§6.2 Domain, Range, Height, and Inverse of Fuzzy Relations
1. Fundamental Geometric Metrics of Fuzzy Relations
Definition 6.2 (Domain, Range, and Height): Let $R$ be a fuzzy relation on $X \times Y$ with membership function $\mu_R(x, y)$.
- Domain of $R$: The fuzzy subset $\text{dom}(R)$ on $X$ defined by:
- Range of $R$: The fuzzy subset $\text{ran}(R)$ on $Y$ defined by:
- Height of $R$: The supremum membership grade over the entire product space:
If $h(R) = 1$, the relation is normal; otherwise it is subnormal.
2. The Inverse Fuzzy Relation $R^{-1}$
Definition 6.3 (Inverse Relation): The inverse of a fuzzy relation $R$ on $X \times Y$ is a fuzzy relation $R^{-1}$ (or $R^T$) on $Y \times X$ defined by:
In matrix notation: $M_{R^{-1}} = (M_R)^T$ (the matrix transpose).
Properties of Inversion:
- $(R^{-1})^{-1} = R$ (Involution).
- $(R \cup S)^{-1} = R^{-1} \cup S^{-1}$.
- $(R \cap S)^{-1} = R^{-1} \cap S^{-1}$.
- $(R \circ S)^{-1} = S^{-1} \circ R^{-1}$ (Reversal of composition order).
§6.3 Max-Min and Max-Product Compositions of Fuzzy Relations
1. Composition of Fuzzy Relations
Let $R$ be a fuzzy relation on $X \times Y$ and let $S$ be a fuzzy relation on $Y \times Z$. We seek the composite relation $T = R \circ S$ that relates elements $x \in X$ directly to $z \in Z$ through the intermediate universe $Y$.
Definition 6.4 (Max-Min Composition): The Max-Min (sup-min) composition of $R$ and $S$, denoted $R \circ S$, is a fuzzy relation on $X \times Z$ defined by:
For finite sets with matrices $M_R = (r_{ik})$ and $M_S = (s_{kj})$:
Definition 6.5 (Max-Product Composition): The Max-Product (sup-product) composition, denoted $R \odot S$, is defined by:
In matrix form:
2. Algebraic Properties of Composition
1. Associativity:
2. Distributivity over Union:
3. Monotonicity:
4. Non-Distributivity over Intersection: In general:
(Equality holds only under strict full-rank conditions).
§6.4 Fuzzy Equivalence and Similarity Relations, Transitive Closures
1. Axioms of Similarity Relations
A classical equivalence relation partitions a set into disjoint equivalence classes. Zadeh (1971) generalized this to fuzzy sets via similarity relations:
Definition 6.6 (Fuzzy Similarity Relation): A fuzzy relation $R$ on $X \times X$ is called a similarity relation (or fuzzy equivalence relation) if it satisfies:
- Reflexivity: $\mu_R(x, x) = 1$ for all $x \in X$. (Diagonal entries of $M_R$ are all 1).
- Symmetry: $\mu_R(x, y) = \mu_R(y, x)$ for all $x, y \in X$. ($M_R = M_R^T$).
- Max-Min Transitivity: $R \circ R \subseteq R$, meaning:
2. The Transitive Closure $R_T$
If a relation $R$ is reflexive and symmetric but fails transitivity, its transitive closure $R_T$ (or $R^\infty$) is the smallest similarity relation containing $R$.
Theorem 6.1 (Algorithm for Transitive Closure): Let $R$ be a reflexive and symmetric fuzzy relation on a finite set $X$ with $|X| = n$. The powers under max-min composition satisfy the monotonic inclusion chain:
There exists a finite integer $k \le n - 1$ such that:
The relation $R_T = R^{n-1}$ is guaranteed to be max-min transitive!
§6.5 Compatibility (Tolerance) Relations, $\alpha$-Compatibility Classes and Partitions
1. Compatibility (Tolerance) Relations
In many practical domains (psychology, clustering, image segmentation), similarity cannot satisfy transitivity. (E.g.: A is similar to B, B is similar to C, but A is completely dissimilar to C).
Definition 6.7 (Compatibility Relation): A fuzzy relation $R$ on $X \times X$ is called a compatibility (or tolerance) relation if it is:
- Reflexive: $\mu_R(x, x) = 1$.
- Symmetric: $\mu_R(x, y) = \mu_R(y, x)$.
(Transitivity is NOT required).
2. $\alpha$-Cuts of Similarity Relations and Quotients
Theorem 6.2 (Partitions via Similarity $\alpha$-Cuts): Let $R$ be a similarity relation on $X$. For every $\alpha \in (0, 1]$, the crisp $\alpha$-cut $R_\alpha$ is a classical crisp equivalence relation on $X$. Therefore, $R_\alpha$ induces a true partition of $X$ into disjoint equivalence classes:
As $\alpha$ increases from 0 to 1, the partitions form a nested hierarchical tree of clusters (dendrogram)!
Rigorous Tiered Solved Examination Problems
Step-by-step unskipped derivations, complete proofs, and verification across Foundational, Advanced, and Honors tiers.
Consider two fuzzy relations $R$ and $S$ on $X \times X$ where $X = \{x_1, x_2, x_3\}$, defined by the membership matrices:
- Compute the Max-Min composition matrix $M_{R \circ S}$.
- Compute the Max-Product composition matrix $M_{R \odot S}$.
- Verify that $M_{R \odot S} \le M_{R \circ S}$ entrywise.
1. Max-Min Composition $M_{R \circ S}$
- Row 1:
- $t_{11} = \max(\min(0.6, 0.4), \min(0.8, 0.9), \min(0.3, 0.3)) = \max(0.4, 0.8, 0.3) = 0.8$
- $t_{12} = \max(\min(0.6, 0.5), \min(0.8, 0.2), \min(0.3, 0.8)) = \max(0.5, 0.2, 0.3) = 0.5$
- $t_{13} = \max(\min(0.6, 0.7), \min(0.8, 0.6), \min(0.3, 0.1)) = \max(0.6, 0.6, 0.1) = 0.6$
- Row 2:
- $t_{21} = \max(\min(0.2, 0.4), \min(0.7, 0.9), \min(0.9, 0.3)) = \max(0.2, 0.7, 0.3) = 0.7$
- $t_{22} = \max(\min(0.2, 0.5), \min(0.7, 0.2), \min(0.9, 0.8)) = \max(0.2, 0.2, 0.8) = 0.8$
- $t_{23} = \max(\min(0.2, 0.7), \min(0.7, 0.6), \min(0.9, 0.1)) = \max(0.2, 0.6, 0.1) = 0.6$
- Row 3:
- $t_{31} = \max(\min(0.5, 0.4), \min(0.4, 0.9), \min(0.1, 0.3)) = \max(0.4, 0.4, 0.1) = 0.4$
- $t_{32} = \max(\min(0.5, 0.5), \min(0.4, 0.2), \min(0.1, 0.8)) = \max(0.5, 0.2, 0.1) = 0.5$
- $t_{33} = \max(\min(0.5, 0.7), \min(0.4, 0.6), \min(0.1, 0.1)) = \max(0.5, 0.4, 0.1) = 0.5$
2. Max-Product Composition $M_{R \odot S}$
- Row 1:
- $p_{11} = \max(0.6 \times 0.4, 0.8 \times 0.9, 0.3 \times 0.3) = \max(0.24, 0.72, 0.09) = 0.72$
- $p_{12} = \max(0.6 \times 0.5, 0.8 \times 0.2, 0.3 \times 0.8) = \max(0.30, 0.16, 0.24) = 0.30$
- $p_{13} = \max(0.6 \times 0.7, 0.8 \times 0.6, 0.3 \times 0.1) = \max(0.42, 0.48, 0.03) = 0.48$
- Row 2:
- $p_{21} = \max(0.2 \times 0.4, 0.7 \times 0.9, 0.9 \times 0.3) = \max(0.08, 0.63, 0.27) = 0.63$
- $p_{22} = \max(0.2 \times 0.5, 0.7 \times 0.2, 0.9 \times 0.8) = \max(0.10, 0.14, 0.72) = 0.72$
- $p_{23} = \max(0.2 \times 0.7, 0.7 \times 0.6, 0.9 \times 0.1) = \max(0.14, 0.42, 0.09) = 0.42$
- Row 3:
- $p_{31} = \max(0.5 \times 0.4, 0.4 \times 0.9, 0.1 \times 0.3) = \max(0.20, 0.36, 0.03) = 0.36$
- $p_{32} = \max(0.5 \times 0.5, 0.4 \times 0.2, 0.1 \times 0.8) = \max(0.25, 0.08, 0.08) = 0.25$
- $p_{33} = \max(0.5 \times 0.7, 0.4 \times 0.6, 0.1 \times 0.1) = \max(0.35, 0.24, 0.01) = 0.35$
3. Verification of Inequality
Comparing element by element:
Since $a b \le \min(a, b)$ for all $a, b \in [0, 1]$, each term in the maximum is smaller. Thus $M_{R \odot S} \le M_{R \circ S}$ holds strictly everywhere. $\blacksquare$
Let $X = \{1, 2, 3, 4\}$ and let $R$ be a compatibility relation on $X$ given by the matrix:
- Verify that $R$ is reflexive and symmetric.
- Check whether $R$ is max-min transitive by evaluating $(R \circ R)_{13}$.
- Compute the powers $R^2$ and $R^3$ under max-min composition.
- Determine the transitive closure $R_T$ and show the stopping criterion $R^k = R^{k+1}$.
- Find the partition classes induced by the similarity cuts $(R_T)_{0.5}$ and $(R_T)_{0.75}$.
1. Reflexivity and Symmetry
- Reflexivity: The diagonal entries are $r_{11} = r_{22} = r_{33} = r_{44} = 1.0$. (Reflexive).
- Symmetry: $r_{12} = r_{21} = 0.7$, $r_{14} = r_{41} = 0.3$, $r_{23} = r_{32} = 0.8$, $r_{34} = r_{43} = 0.5$, $r_{13} = r_{31} = 0$, $r_{24} = r_{42} = 0$. (Symmetric). $\blacksquare$
2. Failure of Transitivity
Consider $x=1, y=2, z=3$:
However, $r_{13} = 0.0 < 0.7$. Thus $R \circ R \not\subseteq R$, so $R$ is NOT transitive. $\blacksquare$
3. Computation of $R^2 = R \circ R$
Compute $M_{R^2}$:
- $(R^2)_{13} = \max(\min(1, 0), \min(0.7, 0.8), \min(0, 1), \min(0.3, 0.5)) = \max(0, 0.7, 0, 0.3) = 0.7$
- $(R^2)_{14} = \max(\min(1, 0.3), \min(0.7, 0), \min(0, 0.5), \min(0.3, 1)) = \max(0.3, 0, 0, 0.3) = 0.3$
- $(R^2)_{24} = \max(\min(0.7, 0.3), \min(1, 0), \min(0.8, 0.5), \min(0, 1)) = \max(0.3, 0, 0.5, 0) = 0.5$
All other entries update to:
4. Computation of $R^3 = R^2 \circ R$
Evaluating $M_{R^3}$:
- Entry $(1, 4)$:
All other entries remain stable:
Now compute $R^4 = R^3 \circ R$: Computing all entries reveals $M_{R^4} = M_{R^3}$. Since $R^3 = R^4$, the stopping criterion is reached at $k = 3 \le 4 - 1$. The transitive closure is:
5. Partitions Induced by $\alpha$-Cuts of $R_T$
- For $\alpha = 0.75$:
Only entries $\ge 0.75$ are connected: $r_{23} = r_{32} = 0.8 \ge 0.75$. Equivalence classes:
Partition: $X / (R_T)_{0.75} = \{ \{1\}, \{2, 3\}, \{4\} \}$.
- For $\alpha = 0.50$:
Every pair has relation grade $\ge 0.50$: All 4 elements merge into a single universal cluster:
Let $R$ be a fuzzy similarity relation on a non-empty universe $X$.
- Prove rigorously that for every $\alpha \in (0, 1]$, the crisp $\alpha$-cut $R_\alpha$ is a classical crisp equivalence relation on $X$ (reflexive, symmetric, and transitive).
- For any two levels $\alpha_1 < \alpha_2$, prove that the partition $X / R_{\alpha_2}$ is a refinement of the partition $X / R_{\alpha_1}$ (i.e. every block in $X / R_{\alpha_2}$ is contained in a block of $X / R_{\alpha_1}$).
- Show by explicit counterexample that if $R$ is only max-product transitive ($\mu_R(x, z) \ge \sup_y (\mu_R(x, y) \cdot \mu_R(y, z))$), then $R_\alpha$ is NOT necessarily transitive in the classical sense.
1. Proof that $R_\alpha$ is a Crisp Equivalence Relation
Let $R$ be a similarity relation on $X$ (reflexive, symmetric, max-min transitive). Let $\alpha \in (0, 1]$. Recall:
A. Reflexivity:
Since $R$ is reflexive, $\mu_R(x, x) = 1$ for all $x \in X$. Since $\alpha \le 1$, $\mu_R(x, x) \ge \alpha$, so $(x, x) \in R_\alpha$ for all $x \in X$.
B. Symmetry:
Suppose $(x, y) \in R_\alpha$. Then $\mu_R(x, y) \ge \alpha$. By symmetry of $R$, $\mu_R(y, x) = \mu_R(x, y) \ge \alpha$. Thus $(y, x) \in R_\alpha$.
C. Transitivity:
Suppose $(x, y) \in R_\alpha$ and $(y, z) \in R_\alpha$. Then $\mu_R(x, y) \ge \alpha$ and $\mu_R(y, z) \ge \alpha$. By max-min transitivity of $R$:
Substituting the inequalities:
Therefore:
Hence $R_\alpha$ is reflexive, symmetric, and transitive, meaning it is a classical crisp equivalence relation. $\blacksquare$
2. Proof of Nested Partition Refinement
Let $\alpha_1 < \alpha_2$. By cut monotonicity (Theorem 3.1):
Let $[x]_{\alpha_2}$ be an equivalence class in $X / R_{\alpha_2}$, and let $y \in [x]_{\alpha_2}$. Then $(x, y) \in R_{\alpha_2}$. Since $R_{\alpha_2} \subseteq R_{\alpha_1}$, $(x, y) \in R_{\alpha_1}$, which means $y \in [x]_{\alpha_1}$. Therefore:
Every equivalence class of $X / R_{\alpha_2}$ is a subset of an equivalence class of $X / R_{\alpha_1}$. Thus, the partition at the higher threshold $\alpha_2$ is a strict refinement of the partition at $\alpha_1$. $\blacksquare$
3. Counterexample for Max-Product Transitivity
Suppose $R$ satisfies max-product transitivity:
Consider universe $X = \{1, 2, 3\}$ and relation:
Check max-product transitivity for $(1, 3)$:
Since $\mu_R(1, 3) = 0.65 \ge 0.64$, max-product transitivity is satisfied!
Now choose cut level $\alpha = 0.70$:
- $(1, 2) \in R_{0.7}$ because $\mu_R(1, 2) = 0.8 \ge 0.70$.
- $(2, 3) \in R_{0.7}$ because $\mu_R(2, 3) = 0.8 \ge 0.70$.
- However, $(1, 3) \notin R_{0.7}$ because $\mu_R(1, 3) = 0.65 < 0.70$!
Therefore:
The crisp cut $R_{0.7}$ is NOT transitive! This highlights that max-min transitivity is the UNIQUE composition law that preserves classical equivalence partitions across all $\alpha$-cuts! $\blacksquare$