100% found this document useful (1 vote)
977 views43 pages

Chapter (3) : Classical Relations and Fuzzy Relations

This chapter introduces classical and fuzzy relations. Classical relations represent mappings between sets through subsets of Cartesian products, while fuzzy relations represent mappings through membership functions. Key concepts covered include Cartesian products, relation matrices, identity/universal relations, relational operations and properties, and equivalence/tolerance relations. Fuzzy relations generalize classical relations by allowing degrees of membership between 0 and 1 rather than binary membership.

Uploaded by

Kay Khine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
977 views43 pages

Chapter (3) : Classical Relations and Fuzzy Relations

This chapter introduces classical and fuzzy relations. Classical relations represent mappings between sets through subsets of Cartesian products, while fuzzy relations represent mappings through membership functions. Key concepts covered include Cartesian products, relation matrices, identity/universal relations, relational operations and properties, and equivalence/tolerance relations. Fuzzy relations generalize classical relations by allowing degrees of membership between 0 and 1 rather than binary membership.

Uploaded by

Kay Khine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 43

Chapter (3)

CLASSICAL RELATIONS
AND FUZZY RELATIONs
Objective

• Develops the ideas of fuzzy relations as a means of mapping


fuzziness from one universe to another.
• Uses comparisons with classical relations in developing and
illustrating fuzzy relations.
• Illustrates methods to determine the unmerical alues contained
within a specific class of fuzzy relations.
CLASSICAL RELATIONS AND FUZZY
RELATIONS
• This chapter introduces the notion of a relation as the basic idea
behind numerous operations on sets such as Cartesian products,
composition of relations, and equivalence properties.
• Like a set, a relation is of fundamental importance in all
engineering, science, and mathematically based fields.
• Relations are intimately involved in logic, approximate
reasoning, rule based systems, nonlinear simulation, synthetic
evaluation, classification, pattern recognition, and control.
• Relations represent mappings for sets just as mathematical
functions do; Relations are also very useful in representing
connectives in logic .
CARTESIAN PRODUCT

• An ordered sequence of r elements, written in the form (a 1, a2, a3, . . . , ar), is called an ordered r-tuple.
• For crisp sets A1,A2, . . . ,Ar, the set of all r-tuples (a1, a2, a3, . . . , ar), where a1 ∈ A1,a2 ∈ A2, and ar ∈ Ar, is called the Cartesian product of A 1,A2, . . . ,Ar, and is denoted byA1 × A2 ×···×Ar.
(The Cartesian product of two or more sets is not the same thing as the arithmetic product of two or more sets.)
Example 3.1. The elements in two sets A and B are given
as A = {0, 1} and B = {a, b, c}.Various Cartesian
products of these two sets can be written as shown:

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
• A subset of the Cartesian product A1 × A2×···×Ar is called an r-
ary relation over A1,A2, . . . ,Ar.
• The most common case is for r = 2; the relation is a subset of
the Cartesian product A1 × A2 (i.e., a set of pairs, the first
coordinate of which is from A1 and the second from A2). This
subset of the full Cartesian product is called a binary relation
from A1 into A2.
• If three, four, or five sets are involved in a subset of the full
Cartesian product, the relations are called ternary, quaternary,
and quinary.
Cartesian product
The Cartesian product of two universes X and Y is determined as

X × Y = {(x, y) | x ∈ X, y ∈ Y}

which forms an ordered pair of every x ∈ X with every y∈Y,


forming unconstrained matches between X and Y. That is, every
element in universe X is related completely to every element in
universe Y.
Strength
• The strength of this relationship between ordered pairs of elements
in each universe is measured by the characteristic function, denoted
χ,
• where a value of unity is associated with complete relationship and a
value of zero is associated with no relationship )i.e.,
Relation matrix

• When the universes, or sets, are finite the relation can be


represented by a matrix, called a relation matrix.

•An r-ary relation can be represented by an r-dimensional relation


matrix.
•Binary relations can be represented by two-dimensional matrices.
Example: An example of the strength of relation for the
unconstrained case
X ={1, 2, 3} and Y = {a, b, c}.
Constrained Crisp Relations
• A more general crisp relation, R, exists when matches
between elements in two universes are constrained.

• Again, the characteristic function is used to assign


values of relationship in the mapping of the Cartesian
space X × Y to the binary values of (0, 1):
Identity relation, Universal relation
•Special cases of the constrained and the unconstrained Cartesian
product for sets where r = 2 (i.e., for A2) are called the identity
relation and the universal relation.
•For example, for A = {0, 1, 2} the universal relation, denoted UA,
and the identity relation, denoted IA, are found to be

UA = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0),(2, 1), (2, 2)}
IA = {(0, 0), (1, 1), (2, 2)}
Example 3.3. Relations can also be defined for continuous
universes. Consider, for example, the continuous relation defined
by the following expression:
R = {(x, y) | y ≥ 2x, x ∈ X, y ∈ Y}
which is also given in function-theoretic form using the
characteristic function as
Graphically, this relation is equivalent to
the shaded region shown
Cardinality of Crisp Relations
• Suppose n elements of the universe X are related (paired) to m
elements of the universe Y.If the cardinality of X is nX and the
cardinality of Y is nY, then the cardinality of the relation, R,
between these two universes is nX×Y = nX ∗ nY.
• The cardinality of the power set describing this relation, P(X ×
Y), is then
nP(X×Y)= 2 (nXnY)
Operations on Crisp Relations

The function-theoretic operations for the two crisp relations (R,S) can be define
Properties of Crisp Relations

• The properties of commutativity, associativity, distributivity,


involution, and idempotency all hold for crisp relations just as
they do for classical set operations.
• Moreover, De Morgan’s principles and the excluded middle
axioms also hold for crisp (classical) relations. The null
relation, O, and the complete relation, E, are analogous to the
null set, ∅, and the whole set, X, respectively, in the set-
theoretic case.
Composition
Let R be a relation that relates or maps, elements from universe X
to universe Y, and let S be relation that relates or maps, elements
from universe Y to universe Z.
R = {(x1, y1), (x1, y3), (x2, y4)}
S = {(y1, z2), (y3, z2)}
Two Composition Operation

•The max–min composition is defined by the set-theoretic and


membership function-theoretic expressions

•max–product (sometimes called max–dot) composition


Fuzzy Relations
• Fuzzy relations also map elements of one universe, X, to those
of another universe, Y, through the Cartesian product of the
two universes.
• However, the ‘‘ strength’’ of the relation between ordered pairs
of the two universes is not measured with the characteristic
function, but rather with a membership function expressing
various ‘‘ degrees ’’ of strength of the relation on the unit
interval [0,1].
• Hence, a fuzzy relation is a mapping from the Cartesian space
X × Y to the interval [0,1], where theHence, a fuzzy relation is
a mapping from the two universes, or
Cardinality of Fuzzy Relations
• Since the cardinality of fuzzy sets on any universe is infinity,
the cardinality of a fuzzy relation between two or more
universes is also infinity.
Operations on Fuzzy Relations
Properties of Fuzzy Relations
• „the properties of commutativity , associativity, distributivity
,involution , idempotency and De Morgan’s principles all hold for
fuzzy relations.

• the null relation, O, and the complete relation, E, are analogous


to the null set and the whole set in set-theoretic form.

• excluded middle axioms doesn’t hold.


Fuzzy Cartesian Product and Composition
Let be a fuzzy set on universe X and be a fuzzy set on
universe Y, then the Cartesian product between fuzzy set and
will result in a fuzzy relation ,which is contained within the full
Cartesian product space

Where the fuzzy relation has membership function


Fuzzy Composition
Fuzzy max-min composition

Fuzzy max-product composition

Neither crisp nor fuzzy compositions are commutative in general


Max-Min Composition

• A fuzzy relation defined on X an Z.


• R: fuzzy relation defined on X and Y.
• S: fuzzy relation defined on Y and Z.
• R 。 S: the composition of R and S.
A fuzzy relation defined on X an Z.
Max-Product Composition

• A fuzzy relation defined on X an Z.


• R: fuzzy relation defined on X and Y.
• S: fuzzy relation defined on Y and Z.
• R 。 S: the composition of R and S.
A fuzzy relation defined on X an Z.
Find max-product composition?

Calculate Example 3.7 and 3.9


Tolerance and Equivalence
Relations
• When a relation is reflexive every vertex in the graph originates
a single loop.
• If a relation is symmetric, then in the graph for every edge
pointing from vertex i to vertex j (i,j = 1, 2, 3), there is an edge
pointing in the opposite direction, i.e., from vertex j to vertex i.
• When a relation is transitive, then for every pair ofedges in the
graph, one pointing from vertex i to vertex j and the other from
vertex j to vertex k (i,j,k = 1, 2, 3), there is an edge pointing
from vertex i directly to vertex k, (e.g., an arrow from vertex 1
to vertex 2, an arrow from vertex 2 to vertex 3, and an arrow
from vertex 1 to vertex 3).
Three-vertex graphs for properties

Three-vertex graphs for properties of (a)reflexivity (b)symmetry (c)transitivity


Crisp Equivalence Relation

• A relation R on a universe X can also be thought of as a relation


from X to X.
• The relation R is an equivalence relation if it has the following
three properties:
• (1)reflexivity,
• (2) symmetry, and
• (3) transitivity.
Equivalence Relation Example
Crisp Tolerance Relation

• A tolerance relation R (also called a proximity relation) on a


universe X is a relation that exhibits only the properties of
reflexivity and symmetry.
• A tolerance relation, R, can be reformed into an equivalence
relation by at most (n − 1) compositions with itself, where n is
the cardinal number of the set defining R, in this case X, i.e.,
Five-vertex graph of equivalence relation(reflexive, symmetric, and
transitive)
Five-vertex graph of equivalence relation(reflexive, symmetric, and
transitive)
Fuzzy tolerance and equivalence relations
• A fuzzy relation on a single universe X is also a relation from
X to X.
• It is a fuzzy equivalence relation if the following properties for
matrix relations define it:

You might also like