Professional Documents
Culture Documents
Solution:
• Many-to-One relation
o Example: R = {(1, d) (2, d), (3, e), (4, f),
(5, f)}
• Many-to-Many relation
o Example: R = {(1, a) (1, b), (2, b), (3, a),
(3, c)}
Properties of a Relation
Example:
• Is R reflexive?
• A = {1,2,3}
• R1 ={(1,1),(1,2),(2,1)}
• R2 ={(1,1), (1,2), (1,3), (2,1), (2,2), (3,3)}
Reflexive, if for all a ∈ A, (a,a) ∈ R
Solution:
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
Example:
• Is R symmetric?
• A = {1,2,3}
• R1 ={(1,1),(1,2),(2,1)}
• R2 ={(1,1), (1,2), (1,3), (2,2), (3,3)}
Symmetric, if for all a,b ∈ A, (a,b) ∈ R holds, (b,a) ∈ R
must also hold Solution:
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
Example:
• Is R transitive?
• A = {1, 2, 3,}
• R1 = {(1, 2), (2, 3), (1, 3)}
Transitive, if for all a,b,c ∈ A, whenever (a, b) ∈ R holds
and (b, c) ∈ R, (a,c) ∈ R must also hold Solution:
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
References:
Cabero, J., Lopez, R., Salamat, L. & Sta. Maria, A. (2010). Discrete mathematics 1. Quad Alpha Centrum Bldg., 125 Pioneer Street, Mandaluyong City:
National Book Store.
Inverse relation and function. (n. d.) Retrieved from http://www.mhhe.com/math/devmath/streeter/ia/graphics/streeter5ia/ch11/others/strI_11.1.pdf
Relations. (n. d.) Retrieved from http://www.utdallas.edu/~praba/Relations.ppt
Relations. (n. d.) Retrieved from http://slideplayer.com/slide/8350534/
Relation and function. (n. d.) Retrieved from https://stillreyes.weebly.com/uploads/3/0/7/6/30761739/4_-_relation_and_function.pptx.
Relations and their properties. (n. d.) Retrieved from http://courses.ics.hawaii.edu/ReviewICS241/morea/relations/Relations-QA.pdf
Representing relations. (n. d.) Retrieved from http://courses.ics.hawaii.edu/ReviewICS241/morea/relations/Relations3-QA.pdf
Representing relations. (n. d.) Retrieved from https://www.cs.virginia.edu/~asb/teaching/cs202-spring07/slides/17-representing-relations.ppt
Types of relations - One-to-One, One-to-Many, Many-to-One and Many-to-Many. (n. d.) Retrieved from
http://www.kwiznet.com/p/takeQuiz.php?ChapterID=10906&CurriculumID=48&Num=8.7