You are on page 1of 5

Practice Exercise #1:

 Find the domains and ranges of the relation R below:


o {(-1,2), (2,51), (1,3), (8,22), (9,51)}
Domain: {-1,1,2,8,9}
Range: {2,3,22,51}
o {(-5,6), (21,-51), (11,93), (81,202), (19,51)}
Domain: {-5,11,19,21,81}
Range: {-51,6,51,93,202}
o {(🎗,🛫), (🛩, 🛰), (🚇,🚲), (❓,🛡), (🚲,🚍), (🏭,🏗), (🏝,🛣)}
Domain: { 🎗, 🛩, 🚇, ❓, 🚲, 🏭, 🏝 }
Range: { 🛫, 🛰, 🚲, 🛡, 🚍, 🏗, 🛣 }
o From A = {2,3,4} and B = {3,4,5,6} where R is a relation from A to B defined
by a | b, “a divides b”, (a,b)R
Domain: {2,3,4}
Range: {3,4,6}
R = (2,4), (2,6), (3,6), (4,4)

Practice Exercise #2:


 If the relation R between two (2) sets A and B is R = {(1,a), (3,d), (4,g), (1,h)}, find
A and B and draw the arrow diagram and table.
o R = {(1,a), (3,d), (4,g), (1,h)}

a
1 d
3 g
4 h

A B
R 1 3 4
a x
d x
g x
h x

Practice Exercise #3:


 Draw the arrow diagram and name the relation below:
o R = {(1,2), (1,4), (1,6), (2,2), (2,4), (2,6), (3,2), (3,4), (3,6)}

1 2

2 4

3 6

Domain: {1,2,3}
Range: {2,4,6}
Many to Many

o R = {(x,a), (x,b), (y,c), (y,d), (z,e)}

a
x
b
y
c
z
d
Domain: {x,y,z}
Range: {a,b,c,d,e}
One to Many

o R = {(1,a), (2,b), (3,c), (4,c), (5,c)}

2 a

3 b

4 c

Domain: {1,2,3,4,5}
Range: {a,b,c}
Many to One

o R = {(1,2), (3,4), (5,6)}

1 2
3 4
5 6
Domain: {1,3,5}
Range: {2,4,6}
One to One

Practice Exercise #4:


 Draw the directed graph of each of the following relations defined by the set of
ordered pairs
o R = (1,2), (1,3), (1,4), (2,3), (2,4), (3,4)

1 2

4 3

o R = (1,1), (1,4), (2,2), (3,3), (4,1)

-
1 2
3
4

o R = (1,2), (1,3), (1,4), (2,1), (2,3), (2,4), (3,1), (3,2), (3,4), (4,1), (4,2), (4,3)

1 2

o 3
4
o R = (2,4), (3,1),
(3,2), (3,4)

1 2

You might also like