Professional Documents
Culture Documents
Solution
A X B = { (2, 2), (2, 5), (4, 2), (4, 5), (6, 2), (6, 5)}
Example 2
Consider the sets C= {a,b,c,d} and E= {1, 2}. Write
the cross – product C X E.
Solution
C X E = { (a, 1), (b, 1), (c, 1), (d, 1), (a, 2), (b, 2), (c, 2), (d, 2)}
Example 3
Consider the sets A= {2,3,5}, B= {5} and C= {a, b}.
Write the cross – product A X B X C.
Solution
A X B X C = { (2,5,a), (2,5,b), (3,5,a), (3,5,b), (5,5,a), (5,5,b)}
Relation
Given two arbitrary sets A and B, a relation from
A to B is a subset of A X B. A relation on A is a
subset of A X A.
a. one-to-one
b. one-to-many
c. many-to-one
d. many-to-many
Example
Consider the sets A= {2,4,6} and B= {2, 5}.
A X B = { (2, 2), (2, 5), (4, 2), (4, 5), (6, 2), (6, 5)}
Find the elements of the following relations.
a. R1= {(x,y) | x < y}
b. R2= {(x,y) | y < x}
c. R3= {(x,y) | y = x}
Answer:
• Verbally
• Equations or formulas
• Diagrams
Example 1