CHAPTER 3 FUZZY RELATION and COMPOSITION. 3.1 Crisp relation 3.1.1 Product set Definition (Product set) Let A and B be two non-empty sets, the product.

Slides:



Advertisements
Similar presentations
CSE115/ENGR160 Discrete Mathematics 04/26/12 Ming-Hsuan Yang UC Merced 1.
Advertisements

Fuzzy Set and Opertion. Outline Fuzzy Set and Crisp Set Expanding concepts Standard operation of fuzzy set Fuzzy relations Operations on fuzzy relations.
Transitive Closure Theorem 1. Let R be a relation on a set A. Then R  is the transitive closure of R. the reachability relation R * of a relation R on.
The Engineering Design of Systems: Models and Methods
5/16/20151 You Never Escape Your… Relations. 5/16/20152Relations If we want to describe a relationship between elements of two sets A and B, we can use.
Chapter 7 Relations : the second time around
Relations binary relations xRy on sets x  X y  Y R  X  Y Example: “less than” relation from A={0,1,2} to B={1,2,3} use traditional notation 0 < 1,
Theory and Applications

Applied Discrete Mathematics Week 10: Equivalence Relations
Logics for Data and Knowledge Representation Introduction to Algebra Chiara Ghidini, Luciano Serafini, Fausto Giunchiglia and Vincenzo Maltese.
Relations: Operations & Properties. Power Sets Set of all subsets of a set A. –A = {1,2} –P(A) = 2 A = { {}, {1}, {2}, {1,2} } We note that each element.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
Properties of Relations In many applications to computer science and applied mathematics, we deal with relations on a set A rather than relations from.
Chapter 4 Relations and Digraphs
CS Discrete Mathematical Structures Mehdi Ghayoumi MSB rm 132 Ofc hr: Thur, 9:30-11:30a Fall 2002KSU - Discrete Structures1.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Lecture 14 Relations CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
An ordered n-tuple is a set of n objects with an order associated with them. If n objects are represented by x 1, x 2,..., x n, then we write the ordered.
INM175 Topic 7 1 Module INM175 Discrete Mathematics Topic 7 Set Theoretic Models.
931102fuzzy set theory chap07.ppt1 Fuzzy relations Fuzzy sets defined on universal sets which are Cartesian products.
Discrete Math for CS Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation.
R. Johnsonbaugh, Discrete Mathematics 5 th edition, 2001 Chapter 2 The Language of Mathematics.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
Relations Relations between sets are like functions, but with a more general definition (given later). presentations: a set, a binary matrix, a graph…
Sets Define sets in 2 ways  Enumeration  Set comprehension (predicate on membership), e.g., {n | n  N   k  k  N  n = 10  k  0  n  50} the set.
Discrete Structures1 You Never Escape Your… Relations.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 8 Relations 歐亞書局.
Language: Set of Strings
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Relations.
Discrete Mathematics Relation.
Relations and their Properties
§ 每周五交作业,作业成绩占总成绩的 10% ; § 平时不定期的进行小测验,占总成绩的 20% ; § 期中考试成绩占总成绩的 20% ;期终考 试成绩占总成绩的 50% § 每周五下午 1 ; 00—3 : 00 ,答疑 § 地点:软件楼 301.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Fall 2002CMSC Discrete Structures1 You Never Escape Your… Relations.
Mathematical Preliminaries
Sets and Subsets Set A set is a collection of well-defined objects (elements/members). The elements of the set are said to belong to (or be contained in)
Relations. Important Definitions We covered all of these definitions on the board on Monday, November 7 th. Definition 1 Definition 2 Definition 3 Definition.
Lecture on Relations 1Developed by CSE Dept., CIST Bhopal.
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
1 Discrete and Combinatorial Mathematics R. P. Grimaldi, 5 th edition, 2004 Chapter 5 Relations and Functions.
4. Relations and Digraphs Binary Relation Geometric and Algebraic Representation Method Properties Equivalence Relations Operations.
Unit II Discrete Structures Relations and Functions SE (Comp.Engg.)
Chapter Relations and Their Properties
Relations Section 9.1, 9.3—9.5 of Rosen Spring 2012
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Relations.
Chapter 8: Relations. 8.1 Relations and Their Properties Binary relations: Let A and B be any two sets. A binary relation R from A to B, written R : A.
RelationsCSCE 235, Spring Introduction A relation between elements of two sets is a subset of their Cartesian products (set of all ordered pairs.
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
Relations and Functions ORDERED PAIRS AND CARTESIAN PRODUCT An ordered pair consists of two elements, say a and b, in which one of them, say a is designated.
CSCI 115 Course Review.
Functions – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Functions Reading: Kolman, Section 5.1.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 41 May 7, 2008.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Chapter 4 Fuzzy Graph and Relation Graph and Fuzzy Graph Graph G  (V, E) V : Set of vertices(node or element) E : Set of edges An edge is pair.
Citra Noviyasari, S.Si, MT
Chapter 3 FUZZY RELATION AND COMPOSITION
Dr. Ameria Eldosoky Discrete mathematics
Cartesian product Given two sets A, B we define their Cartesian product is the set of all the pairs whose first element is in A and second in B. Note that.
CSNB 143 Discrete Mathematical Structures
Chapter 3 Relation and Function Homework 4 For each of the following relations on set A = { 1,2,3,4 }, check each of them whether they are reflexive, irreflexive,
CS201: Data Structures and Discrete Mathematics I
Introduction to Relations and Functions
REVISION Relation. REVISION Relation Introduction to Relations and Functions.
Presentation transcript:

CHAPTER 3 FUZZY RELATION and COMPOSITION

3.1 Crisp relation Product set Definition (Product set) Let A and B be two non-empty sets, the product set or Cartesian product A  B is defined as follows, A  B  {(a, b) | a  A, b  B } extension to n sets A 1  A 2 ...  A n (= )={(a 1,..., a n ) | a 1  A 1, a 2  A 2,..., a n  A n }

3.1 Crisp relation Example 3.1 A  {a 1, a 2, a 3 }, B  {b 1, b 2 } A  B  {(a 1, b 1 ), (a 1, b 2 ), (a 2, b 1 ), (a 2, b 2 ), (a 3, b 1 ), (a 3, b 2 )} Fig 3.1 Product set A  B

3.1 Crisp relation A  A  {(a 1, a 1 ), (a 1, a 2 ), (a 1, a 3 ), (a 2, a 1 ), (a 2, a 2 ), (a 2, a 3 ), (a 3, a 1 ), (a 3, a 2 ), (a 3, a 3 )} Fig 3.2 Cartesian product A  A

3.1 Crisp relation Definition of relation Binary Relation If A and B are two sets and there is a specific property between elements x of A and y of B, this property can be described using the ordered pair (x, y). A set of such (x, y) pairs, x  A and y  B, is called a relation R. R = { (x,y) | x  A, y  B } n-ary relation For sets A 1, A 2, A 3,..., A n, the relation among elements x 1  A 1, x 2  A 2, x 3  A 3,..., x n  A n can be described by n-tuple (x 1, x 2,..., x n ). A collection of such n-tuples (x 1, x 2, x 3,..., x n ) is a relation R among A 1, A 2, A 3,..., A n. (x 1, x 2, x 3, …, x n )  R, R  A 1  A 2  A 3  …  A n

3.1 Crisp relation Domain and Range dom(R) = { x | x  A, (x, y)  R for some y  B } ran(R) = { y | y  B, (x, y)  R for some x  A } R dom (R ) ran(R ) AB f x 1 x 2 x 3 AB y 1 y 2 y 3 Mapping y  f(x) dom(R), ran(R)

3.1 Crisp relation Characteristics of relation (1) One-to-many  x  A, y1, y2  B (x, y1)  R, (x, y2)  R (2) Surjection (many-to-one) f(A)  B or ran(R)  B.  y  B,  x  A, y  f(x) Thus, even if x1  x2, f(x1)  f(x2) can hold. AB y1y1 x y2y2 One-to-many relation (not a function) f x 1 x 2 AB y Surjection

3.1 Crisp relation (3) Injection (into, one-to-one) for all x1, x2  A, x1  x2, f(x1)  f(x2). if R is an injection, (x1, y)  R and (x2, y)  R then x1  x2. (4) Bijection (one-to-one correspondence) both a surjection and an injection. f x 1 AB y 1 x 2 y 2 x 3 y 3 y 4 Injection f x 1 x 2 AB y 1 y 2 x 3 y 3 x 4 y 4 Bijection

3.1 Crisp relation Representation methods of relations (1)Bipartigraph(Fig 3.7) representing the relation by drawing arcs or edges (2)Coordinate diagram(Fig 3.8) plotting members of A on x axis and that of B on y axis Fig 3.8 Relation of x 2 + y 2  4 Fig 3.7 Binary relation from A to B y x

3.1 Crisp relation (3) Matrix manipulating relation matrix (4) Digraph(Fig 3.9) the directed graph or digraph method Rb1b1 b2b2 b3b3 a1a1 100 a2a2 010 a3a3 010 a4a4 001 M R  (m ij ) i  1, 2, 3, …, m j  1, 2, 3, …, n Matrix Fig 3.9 Directed graph

3.1 Crisp relation Operations on relations R, S  A  B (1) Union of relation T  R  S If (x, y)  R or (x, y)  S, then (x, y)  T (2) Intersection of relation T  R  S If (x, y)  R and (x, y)  S, then (x, y)  T. (3) Complement of relation If (x, y)  R, then (x, y)  (4) Inverse relation R -1  {(y, x)  B  A | (x, y)  R, x  A, y  B} (5) Composition T R  A  B, S  B  C, T  S  R  A  C T  {(x, z) | x  A, y  B, z  C, (x, y)  R, (y, z)  S}

3.1 Crisp relation Path and connectivity in graph Path of length n in the graph defined by a relation R  A  A is a finite series of p  a, x 1, x 2,..., x n-1, b where each element should be a R x 1, x 1 R x 2,..., x n-1 R b. Besides, when n refers to a positive integer (1) Relation R n on A is defined, x R n y means there exists a path from x to y whose length is n. (2) Relation R  on A is defined, x R  y means there exists a path from x to y. That is, there exists x R y or x R 2 y or x R 3 y... and. This relation R  is the reachability relation, and denoted as xR  y (3) The reachability relation R  can be interpreted as connectivity relation of A.

3.2 Properties of relation on a single set Fundamental properties 1) Reflexive relation x  A  (x, x)  R or  R (x, x) = 1,  x  A irreflexive if it is not satisfied for some x  A antireflexive if it is not satisfied for all x  A 2) Symmetric relation (x, y)  R  (y, x)  R or  R (x, y) =  R (y, x),  x, y  A asymmetric or nonsymmetric when for some x, y  A, (x, y)  R and (y, x)  R. antisymmetric if for all x, y  A, (x, y)  R and (y, x)  R

3.2 Properties of relation on a single set 3) Transitive relation For all x, y, z  A (x, y)  R, (y, z)  R  (x, z)  R 4) Closure The requisites for closure (1) Set A should satisfy a certain specific property. (2) Intersection between A's subsets should satisfy the relation R. Closure of R the smallest relation R' containing the specific property

3.2 Properties of relation on a single set Example 3.3 The transitive closure (or reachability relation) R  of R for A  {1, 2, 3, 4} and R  {(1, 2), (2, 3), (3, 4), (2, 1)} is R   R  R 2  R 3  … ={(1, 1), (1, 2), (1, 3), (1,4), (2,1), (2,2), (2, 3), (2, 4), (3, 4)} (a) R (b) R  Fig 3.10 Transitive closure

3.2 Properties of relation on a single set Equivalence relation (1) Reflexive relation x  A  (x, x)  R (2) Symmetric relation (x, y)  R  (y, x)  R (3) Transitive relation (x, y)  R, (y, z)  R  (x, z)  R

3.2 Properties of relation on a single set Equivalence classes a partition of A into n disjoint subsets A 1, A 2,..., A n (a) Expression by set(b) Expression by undirected graph Fig 3.11 Partition by equivalence relation  (A/R)  {A 1, A 2 }  {{a, b, c}, {d, e}}

3.2 Properties of relation on a single set Compatibility relation (tolerance relation) (1) Reflexive relation(2) Symmetric relation x  A  (x, x)  R (x, y)  R  (y, x)  R (a) Expression by set (b) Expression by undirected graph Fig 3.12 Partition by compatibility relation

3.2 Properties of relation on a single set Pre-order relation (1) Reflexive relation x  A  (x, x)  R (2) Transitive relation (x, y)  R, (y, z)  R  (x, z)  R hg f d b c e a A (a) Pre-order relation a c b, d e f, h g (b) Pre-order Fig 3.13 Pre-order relation

3.2 Properties of relation on a single set Order relation (1) Reflexive relation x  A  (x, x)  R (2) Antisymmetric relation (x, y)  R  (y, x)  R (3) Transitive relation (x, y)  R, (y, z)  R  (x, z)  R strict order relation (1’) Antireflexive relation x  A  (x, x)  R total order or linear order relation (4)  x, y  A, (x, y)  R or (y, x)  R

3.2 Properties of relation on a single set Ordinal function For all x, y  A (x  y), 1) If (x, y)  R, xRy or x > y,f(x)  f(y) + 1 2) If reachability relation exists in x and y, i.e. if xR  y, f(x) > f(y) b a d c e f g (a) Order relation a d e b cfg (b) Ordinal function Fig 3.14 Order relation and ordinal function

3.2 Properties of relation on a single set Table 3.1 Comparison of relations Property Relation ReflexiveAntireflexiveSymmetricAntisymmetricTransitive Equivalence Compatibility Pre-order Order Strict order

3.3 Fuzzy relation Definition of fuzzy relation Crisp relation membership function  R (x, y)  R : A  B  {0, 1} Fuzzy relation  R : A  B  [0, 1] R = {((x, y),  R (x, y))|  R (x, y)  0, x  A, y  B}  R (x, y) = 1 iff (x, y)  R 0 iff (x, y)  R

3.3 Fuzzy relation (a 1, b 1 )...(a 1, b 2 ) ( a 2, b 1 ) R Fig 3.15 Fuzzy relation as a fuzzy set

3.3 Fuzzy relation Examples of fuzzy relation Example 3.3 Crisp relation R  R (a, c)  1,  R (b, a)  1,  R (c, b)  1 and  R (c, d)  1. Fuzzy relation R  R (a, c)  0.8,  R (b, a)  1.0,  R (c, b)  0.9,  R (c, d)  1.0 a b c d a b c d (a) Crisp relation (b) Fuzzy relation Fig 3.16 crisp and fuzzy relations corresponding fuzzy matrix

3.3 Fuzzy relation Fuzzy matrix 1) Sum A + B  Max [a ij, b ij ] 2) Max product A  B  AB  Max [ Min (a ik, b kj ) ] k 3) Scalar product A where 0   1

3.3 Fuzzy relation Example 3.4

3.3 Fuzzy relation Operation of fuzzy relation 1) Union relation  (x, y)  A  B  R  S (x, y)  Max [  R (x, y),  S (x, y)]   R (x, y)   S (x, y) 2) Intersection relation  R  S (x) = Min [  R (x, y),  S (x, y)] =  R (x, y)   S (x, y) 3) Complement relation  (x, y)  A  B  R (x, y)  1 -  R (x, y) 4) Inverse relation For all (x, y)  A  B,  R -1 (y, x)   R (x, y)

3.3 Fuzzy relation Fuzzy relation matrix

3.3 Fuzzy relation Composition of fuzzy relation For (x, y)  A  B, (y, z)  B  C,  S  R (x, z) = Max [Min (  R (x, y),  S (y, z))] y =  [  R (x, y)   S (y, z)] y M S  R  M R  M S

3.3 Fuzzy relation Example 3.6 => Composition of fuzzy relation

3.3 Fuzzy relation  -cut of fuzzy relation R  = {(x, y) |  R (x, y)  , x  A, y  B} : a crisp relation. Example 3.7

3.3 Fuzzy relation Projection and cylindrical extension for (x, y)  A  B  is a value in the level set; R  is a  -cut relation;  R  is a fuzzy relation Example 3.8

3.3 Fuzzy relation Projection For all x  A, y  B, : projection to A : projection to B Example 3.9

3.3 Fuzzy relation Projection in n dimension Cylindrical extension  C(R) (a, b, c)   R (a, b) a  A, b  B, c  C Example 3.10

3.4 Extension of fuzzy set Extension by relation Extension of fuzzy set x  A, y  B y  f(x) or x  f -1 (y) for y  B if f -1 (y)  Example 3.11 A  {(a 1, 0.4), (a 2, 0.5), (a 3, 0.9), (a 4, 0.6)}, B  {b 1, b 2, b 3 } f -1 (b 1 )  {(a 1, 0.4), (a 3, 0.9)}, Max [0.4, 0.9]  0.9   B' (b 1 )  0.9 f -1 (b 2 )  {(a 2, 0.5), (a 4, 0.6)}, Max [0.5, 0.6]  0.6   B' (b 2 )  0.6 f -1 (b 3 )  {(a 4, 0.6)}   B' (b 3 )  0.6 B'  {(b 1, 0.9), (b 2, 0.6), (b 3, 0.6)}

3.4.2 Extension principle Extension principle  A­­1  A2 ...  Ar ( x 1  x 2 ...  x r )  Min [  A1 (x 1 ),...,  Ar (x r ) ] f(x 1, x 2,..., x r ) : X  Y 3.4 Extension of fuzzy set

3.4.3 Extension by fuzzy relation For x  A, y  B, and B  B  B' (y)  Max [Min (  A (x),  R (x, y))] x  f -1(y) Example 3.12 For b 1 Min [  A (a 1 ),  R (a 1, b 1 )]  Min [0.4, 0.8]  0.4 Min [  A (a 3 ),  R (a 3, b 1 )]  Min [0.9, 0.3]  0.3 Max [0.4, 0.3]  0.4   B' (b 1 )  0.4 For b 2, Min [  A (a 2 ),  R (a 2, b 2 )]  Min [0.5, 0.2]  0.2 Min [  A (a 4 ),  R (a 4, b 2 )]  Min [0.6, 0.7]  0.6 Max [0.2, 0.6]  0.6   B' (b 2 )  0.6 For b 3, Max Min [  A (a 4 ),  R (a 4, b 3 )]  Max Min [0.6, 0.4]  0.4   B' (b 3 )  0.4 B'  {(b 1, 0.4), (b 2, 0.6), (b 3, 0.4)} 3.4 Extension of fuzzy set

Example 3.13 A  {(a 1, 0.8), (a 2, 0.3)} B  {b 1, b 2, b 3 } C  {c 1, c 2, c 3 } B'  {(b 1, 0.3), (b 2, 0.8), (b 3, 0)} C'  {(c 1, 0.3), (c 2, 0.3), (c 3, 0.8)} 3.4 Extension of fuzzy set

3.4.4 Fuzzy distance between fuzzy sets Pseudo-metric distance (1) d(x, x)  0,  x  X (2) d(x 1, x 2 )  d(x 2, x 1 ),  x 1, x 2  X (3) d(x 1, x 3 )  d(x 1, x 2 )  d(x 2, x 3 ),  x 1, x 2, x 3  X + (4) if d(x 1, x 2 )=0, then x 1 = x 2  metric distance Distance between fuzzy sets     ,  d(A, B) (  )  Max[Min (  A (a),  B (b))]   d(a, b) 3.4 Extension of fuzzy set

Example 3.14 A  {(1, 0.5), (2, 1), (3, 0.3)} B  {(2, 0.4), (3, 0.4), (4, 1)}. 3.4 Extension of fuzzy set