Intelligent Systems II · TEE · papers

Q2(b) Fuzzy Cartesian product and composition [10]

Final examination · 17 Apr 2024

Actual historical paper ·100 marks attempted /140 offered · Q1 compulsory + any four of Q2–Q7. Source defects and solution assumptions are explicitly identified.

Question. Q2(b) [10 marks · 2024-04-17]

A={1/low + 0.2/medium + 0.6/high}; B={0.9/positive + 0.3/zero + 0.8/negative}. (1) Find R=A×B. (2) With C={0.3/low + 0.4/medium + 0.6/high}, find S=C×B. (3) Find S∘R using max–min composition.

Answer

Given

A, B, C memberships as printed. Rows of R/S: low, medium, high; columns: positive, zero, negative.

To find

Both Cartesian-product matrices and a carefully stated interpretation of the requested composition.

Formula and why it applies

The usual fuzzy Cartesian product uses minimum, not ordinary multiplication. Max–min composition combines a row with a column: take each matching minimum, then the maximum.

R_{ij}=\min(A_i,B_j),\quad S_{ij}=\min(C_i,B_j),\quad T_{ij}=\max_k\min(R_{ik},S_{kj})LaTeX: R_{ij}=\min(A_i,B_j),\quad S_{ij}=\min(C_i,B_j),\quad T_{ij}=\max_k\min(R_{ik},S_{kj})

Solution

Step 1. Build R one row at a time
A rowMin with 0.9Min with 0.3Min with 0.8
1min(1,0.9)=0.9min(1,0.3)=0.3min(1,0.8)=0.8
0.2min(0.2,0.9)=0.2min(0.2,0.3)=0.2min(0.2,0.8)=0.2
0.6min(0.6,0.9)=0.6min(0.6,0.3)=0.3min(0.6,0.8)=0.6
R=\begin{bmatrix}0.9&0.3&0.8\\0.2&0.2&0.2\\0.6&0.3&0.6\end{bmatrix}LaTeX: R=\begin{bmatrix}0.9&0.3&0.8\\0.2&0.2&0.2\\0.6&0.3&0.6\end{bmatrix}
Step 2. Build S the same way
C rowMin with 0.9Min with 0.3Min with 0.8
0.3min(0.3,0.9)=0.3min(0.3,0.3)=0.3min(0.3,0.8)=0.3
0.4min(0.4,0.9)=0.4min(0.4,0.3)=0.3min(0.4,0.8)=0.4
0.6min(0.6,0.9)=0.6min(0.6,0.3)=0.3min(0.6,0.8)=0.6
S=\begin{bmatrix}0.3&0.3&0.3\\0.4&0.3&0.4\\0.6&0.3&0.6\end{bmatrix}LaTeX: S=\begin{bmatrix}0.3&0.3&0.3\\0.4&0.3&0.4\\0.6&0.3&0.6\end{bmatrix}
Step 3. State the R-then-S index convention and calculate all nine cells

Here S∘R means apply R first, then S, so use row R and column S.

Output cellCompare every matching middle indexTake the largest result
(1, 1)min(0.9, 0.3) = 0.3, min(0.3, 0.4) = 0.3, min(0.8, 0.6) = 0.6max(0.3, 0.3, 0.6) = 0.6
(1, 2)min(0.9, 0.3) = 0.3, min(0.3, 0.3) = 0.3, min(0.8, 0.3) = 0.3max(0.3, 0.3, 0.3) = 0.3
(1, 3)min(0.9, 0.3) = 0.3, min(0.3, 0.4) = 0.3, min(0.8, 0.6) = 0.6max(0.3, 0.3, 0.6) = 0.6
(2, 1)min(0.2, 0.3) = 0.2, min(0.2, 0.4) = 0.2, min(0.2, 0.6) = 0.2max(0.2, 0.2, 0.2) = 0.2
(2, 2)min(0.2, 0.3) = 0.2, min(0.2, 0.3) = 0.2, min(0.2, 0.3) = 0.2max(0.2, 0.2, 0.2) = 0.2
(2, 3)min(0.2, 0.3) = 0.2, min(0.2, 0.4) = 0.2, min(0.2, 0.6) = 0.2max(0.2, 0.2, 0.2) = 0.2
(3, 1)min(0.6, 0.3) = 0.3, min(0.3, 0.4) = 0.3, min(0.6, 0.6) = 0.6max(0.3, 0.3, 0.6) = 0.6
(3, 2)min(0.6, 0.3) = 0.3, min(0.3, 0.3) = 0.3, min(0.6, 0.3) = 0.3max(0.3, 0.3, 0.3) = 0.3
(3, 3)min(0.6, 0.3) = 0.3, min(0.3, 0.4) = 0.3, min(0.6, 0.6) = 0.6max(0.3, 0.3, 0.6) = 0.6
T=\begin{bmatrix}0.6&0.3&0.6\\0.2&0.2&0.2\\0.6&0.3&0.6\end{bmatrix}LaTeX: T=\begin{bmatrix}0.6&0.3&0.6\\0.2&0.2&0.2\\0.6&0.3&0.6\end{bmatrix}
Step 4. Distinguish the other common notation convention

If your course writes S∘R as the matrix product with S on the left, the index result is instead:

\begin{bmatrix}0.3&0.3&0.3\\0.4&0.3&0.4\\0.6&0.3&0.6\end{bmatrix}LaTeX: \begin{bmatrix}0.3&0.3&0.3\\0.4&0.3&0.4\\0.6&0.3&0.6\end{bmatrix}

For a correctly typed relation between the input universes, compose R with the inverse relation Sᵀ; the row/column labels then match:

R\circ S^T=\begin{bmatrix}0.3&0.4&0.6\\0.2&0.2&0.2\\0.3&0.4&0.6\end{bmatrix}LaTeX: R\circ S^T=\begin{bmatrix}0.3&0.4&0.6\\0.2&0.2&0.2\\0.3&0.4&0.6\end{bmatrix}
Final answer. R and S are shown above. The R-then-S index result is [[0.6,0.3,0.6],[0.2,0.2,0.2],[0.6,0.3,0.6]]. The source needs a domain or convention clarification.