Professional Documents
Culture Documents
Operations on Sets
Cartesian Products
Composition of relations
Equivalence properties
Relations
Logic
Approximate reasoning
Rule-based systems
Nonlinear Simulation
Classification
Pattern Recognition
Control
Crisp Relation
Two degree of relationship
Completely related
Not related
Fuzzy Relation
On an infinite number of degree of
relationship
Between the extremes of “completely related”
and “not related”.
CARTESIAN PRODUCT
An ordered sequence of r elements,
(a1, a2, a3,……ar)
For crisp sets A1, A2, A3, …..Ar
The set of all r-tuples (a1, a2, a3,……ar)
a1A1, a2A2, ……….. arAr
Ar = A1× A2, × A3 × ….. × Ar
Example 3.1
A ={0,1}
B={ a,b,c }
Find the various Cartesian products of these two sets.
A×B={(0,a),(0,b),(0,c),(1,a),(1,b),(1,c)}
B×A={(a,0),(a,1),(b,0),(b,1),(c,0),(c,1)}
A×A=A2={(0,0),(0,1),(1,0),(1,1)}
B×B=B2={(a,a), (a,b), (a,c), (b,a), (b,b), (b,c), (c,a), (c,b),
(c,c)}
Crisp Relations
An r-ary relation over A1, A2, A3, …..Ar
For r=2, A1× A2
Cartesian product of two universe X and Y
X×Y={(x,y)/ xX, yY}
Strength of this relation by characteristic
function, x
xX×Y(x,y)= 1 (x,y)X×Y
0 (x,y)X×Y
Relation Matrix
The universe or sets are finite
a b c
1 1 1 1
R = 21 1 1
3 1 1 1
2 b
3 c
xX×Y(x,y)= 1 (x,y)X×Y
0
(x,y)X×Y
Example 3.2
A ={0, 1}
B={ a, b, c }
Find the various Cartesian products of these two sets.
Answer
A×B={(0,a),(0,b),(0,c),(1,a),(1,b),(1,c)}
B×A={(a,0),(a,1),(b,0),(b,1),(c,0),(c,1)}
A×A=A2={(0,0),(0,1),(1,0),(1,1)}
B×B=B2={(a,a), (a,b), (a,c), (b,a), (b,b), (b,c), (c,a), (c,b),
(c,c)}
Example 3.3
Relations can also be defined for continuous universes. The continuous relation is
defined by
R={(x,y)/ y≥2x, xX, y Y}
Give the function-theoretic form using the characteristics function.
Answer
Using the characteristics function as
1, y 2x
X R ( x y)
0, y 2x
0 x
Cardinality of Crisp Relations
Suppose n elements of the universe X are related to m
elements of the universe of Y.
IF the cardinality of X is nX and the cardinality of Y is
nY,
R n X Yofthe
the cardinality n X relation
nY
( n X nY )
P( X Y of
The cardinality ) the Y ) 2 set
nP ( Xpower
Operation on Crisp Relations
0 0 0 0 1 1 1 1
0 0 1
0 0 1 1 1
E
0 0 0 0 1 1 1 1
0 0 0 0 1 1 1 1
Function-theoretic Operations
Union R S R S ( x, y ) : R S ( x, y ) max R ( x, y ), S ( x, y )
Containment R S R ( x, y ) : R ( x, y ) S ( x, y )
Identity O and X E
Properties of Crisp Relations
Commutativity, associativity, distributivity, involution,
idempotency
Composition
Let R be a relation from universe X to universe Y and
S be a relation from universe Y to universe Z
Find the relation T from universe X to universe Z
T RS
1. Max-min Composition
T ( x, z ) R ( x, y ) S ( y, z )
yY
2. Max-product Composition
T RS
T ( x, z ) R ( x, y ) S ( y, z )
yY
For the Sagittal diagram shown in the following figure, the
relation R and S is define as
R ( X 1 , Y1 ), ( X 1 , Y3 ), ( X 2 , Y4 )
S (Y1 , Z 2 ), (Y3 , Z 2 )
Find the relation T that relates elements from universe X to
universe Z.
X Y Z
X1 Y1 Z1
X2 Y2 Z2
X3 Y3
Y4
Answer
The relation T ( X 1 , Z 2 )
Max-min composition operator
A system comprising several chains placed together in a parallel fashion.
Each chain comprises a number of chain links.
If this system is placed in a tensile test machine and a large tensile force
is exerted, the chain would break at its weakest link.
The minimum () strength of all links in the chain governs the strength
of the overall chain.
Weaker chains would break with an increasing load until the strongest
chain was left alone.
The maximum () strength of all the chains in the chain system would
govern the overall strength of the chain system.
Each chain in the system is analogous to the min operation in the max-
min composition, and the overall chain system strength is analogous to
the max operation in the max-min composition.
y1 y2 y3 y4 z1 z2 Y4
y1 0 1
x1 1 0 1 0 y
R x2 0 0 0 1 S 2 0 0
y3 0 1
x3 0 0 0 0 y3 0 0
Union R S ( x, y ) max R ( x, y ), S ( x, y )
Intersection R S ( x, y ) min R ( x, y ), S ( x, y )
Complement R ( x, y ) 1 R ( x, y )
Containment R S R ( x, y ) S ( x, y )
Properties of Fuzzy Relations
Commutativity, associativity, distributivity, involution, idempotency
De Morgan’s laws
Excluded middle Laws do not hold
R R E
R R
where
= the null relation
E = the complete relation
Fuzzy Cartesian Product and Composition
Pr X 2 ( A)
( x2 ) max max A ( x1 , x2 ) x2 X 2
x1 X 1
x2
x2 A1A2
1
1
x1 x1
Interactive Fuzzy set Non-interactive Fuzzy set
Example 3.7
In the armature control of the DC shunt motor, flux is maintained at some constant
value: the motor speed N is proportional to the back electromagnetic force E b. If Rse
is decreased, the armature current I a increases. On the other hand, as I a is increased
the motor speed N increases. Suppose the membership functions for series
resistance, armature current and motor speed are given in terms of % of their
respective rated values and in rpm, i.e.
0.3 0.7 1.0 0.2
R (% se)
se
30 60 100 120
0.2 0.4 0.6 0.8 1.0 0.1
I a (%a)
20 40 60 80 100 120
0.33 0.67 1.0 0.15
N (rpm)
500 1000 1500 1800
If fuzzy relation R relates series resistance to armature current and S is used to
relate armature current to motor speed, find these relations. Using the operation
of composition, compute the relation T to be used to relate series resistance to
motor speed.
Answer
The operations needed to develop these relations are ( two cross products and
one composition) as follows.
R Rse I a
S Ia N
T RS
Using Cartesian product, 500 1000 1500 1800
20 40 60 80 100 120 20 0.2 0.2 0.2 0.15
40 0.33 0.4 0.4 0.15
30 0.2 0.3 0.3 0.3 0.3 0.1
S 60 0.33 0.6 0.6 0.15
R 60 0.2 0.4 0.6 0.7 0.7 0.1 80 0.33 0.67 0.8 0.15
100 0.2 0.4 0.6 0.8 1.0 0.1 100 0.33 0.67 1.0 0.15
120 0.2 0.2 0.2 0.2 0.2 0.1 120 0.1 0.1 0.1 0.1
HW GM HP NHA MLG
Answer
Using max-min composition,
HW GM HP
RR , B PC 0.4 0.5 0.5
GR 0.4 0.5 0.8
TOLERANCE AND EQUIVALENT
RELATIONS
Relations can be used in graph theory.
The useful properties are
1. Reflexivity : Every vertex in the graph originates a single loop.
2. Symmetry : For every edge pointing from vertex i to vertex j, there are an
edge pointing in the opposite direction.
3. Transitivity : For every pair of edges, one pointing from vertex i to
vertex j and the other from vertex j to vertex k, there is a edge
pointing from vertex i directly to vertex k.
1
1 1
2 3 2 3
2 3
( xi , x j ) R ( x j , xi ) R
2. Symmetry :
or R ( xi , x j ) R ( x j , xi )
3. Transitivity : ( xi , x j ) R and ( x j , xi ) R ( xi , xk ) R
or R ( xi , x j ) and R ( x j , xk ) 1 R ( xi , xk ) 1
Answer
1
This relation is reflexive and symmetric. R1
4 5 dose not have properties of transitivity because
2 3 ( x1 , x2 ) R1 ( x2 , x5 ) R1 but ( x1 , x5 ) R1
Answer (continuous)
1 1 0 0 1
1 1 0 0 1
R1 R1 0 0 1 0 0 R
0 0 0 1 0
1 1 0 0 1
4 5
2 3
2. Symmetry : R ( xi , x j ) R ( x j , xi )
R ( xi , x j ) 1 and R ( x j , xk ) 2 R ( xi , xk )
3. Transitivity :
where min1 , 2
Any fuzzy relation, R1, that has properties of reflexivity and
symmetry can be reformed into a fuzzy equivalence relation by
at most (n-1) compositions. That is
R1n 1 R1 R1 ....... R1 R
Example 3.11
Suppose, in a biotechnology experiment, five potentially new
strains of bacteria have been detected in the area around an
anaerobic corrosion pit on a new aluminum-lithium alloy. To
eliminate the biocorrosion caused by the bacteria, the five strains
must be categorized. In a pair wise comparison, the following
similarity relation R1 is developed. Is this relation be transitive.
How to composite this relation to get equivalent relation?
1 0.8 0 0 .1 0 .2
0.8 1 0.4 0 0 .9
R1 0 0.4 1 0 0
0 .1 0 0 1 0 .5
0.2 0.9 0 0.5 1
Answer
This relation is reflexive and symmetric. However it is not
transitive because
R ( x1 , x2 ) 0.8 R ( x2 , x5 ) 0.9 0.8
but R ( x1 , x5 ) 0.2 min(0.8,0.9)
After one composition is completed,
1 0.8 0.4 0.2 0.8
0.8 1 0.4 0.5 0.9
R1 R1 R1 0.4
2
0.4 1 0 0.4
0.2 0.5 0 1 0.5
0.8 0.9 0.4 0.5 1
where transitivity still does not result,
R ( x1 , x2 ) 0.8 0.5 and R ( x2 , x4 ) 0.5 but R ( x1 , x4 ) 0.2 min( 0.8,0.5)
2 2 2
Answer
Taking the cosine amplitude
k 1 xik x jk
m
ri , j where i, j 1,2,3,...., n
m
x2
k 1 ik
m
k 1
x 2
jk
Answer
For i=1 and j=2,
0.3 0.2 0.6 0.4 0.1 0.4 0.34
ri , j 0.836
0.3 2
0.6 2 0.12 0.2 2 0.4 2 0.4 2 0.46 0.36
ri , j k 1
where i, j 1,2,3,...., n
max xik x jk
m
k 1
Example 3.13
Recalculate example 3.12 by using max-min method.
min(0.3,0.2), min(0.6,0.4), min(0.1,0.4) 0.2 0.4 0.1 0.538
3
ri , j k 1