Binary Relations Between Sets A and B: Quick Question

  • Thread starter Thread starter ktheo
  • Start date Start date
  • Tags Tags
    Relations
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
ktheo
Messages
51
Reaction score
0

Homework Statement



True or False: Given that A = {a,b,c} and B={0,1,2,3,4}, there are 32768 binary relations from A to B

I assume there is some simple way to tell how many relations there are given two different sets, but I don't know it. Factorials? Powers? I'm not sure what.
 
Physics news on Phys.org
ktheo said:

Homework Statement



True or False: Given that A = {a,b,c} and B={0,1,2,3,4}, there are 32768 binary relations from A to B

I assume there is some simple way to tell how many relations there are given two different sets, but I don't know it. Factorials? Powers? I'm not sure what.

A "binary relation from A to B" is formally a subset of [itex]A \times B[/itex], so the number of such relations is the number of subsets of [itex]A \times B[/itex].
 
ktheo said:

Homework Statement



True or False: Given that A = {a,b,c} and B={0,1,2,3,4}, there are 32768 binary relations from A to B

I assume there is some simple way to tell how many relations there are given two different sets, but I don't know it. Factorials? Powers? I'm not sure what.

Try and work it out. How many total ordered pairs are there in AxB? Now each ordered pair can either be in the relation or not.