Sets, Relations and Functions (Beyond Advanced) Practice: A relation R from A= 1,2,3,4 to B= a,b,c is a subset of A B . How many relations R from A…
Question
A relation from to is a subset of . How many relations from to have domain equal to and range equal to (every element of is related to at least one element of , and every element of is related to at least one element of )?
Answer
Answer: 2161
Hint
Count relations whose values lie inside a chosen -element part of (each element of picks a non-empty subset of it), then use inclusion-exclusion on the missed elements of .
Solution
If all images must lie within a given -element subset of and every element of has at least one image, each element of picks a non-empty subset of that -set: relations.
Inclusion-exclusion over the elements of missing from the range: .
The domain condition alone gives ; subtracting only the three single misses without adding back gives .
More questions from Sets, Relations and Functions (Beyond Advanced) Practice
- Let N= 1,2,3, and R= (x,y):x,y N, 2x+3y=60 . If R -1 = (y,x):(x,y) R , then n(R)+n(R R -1…
- How many symmetric relations on the set 1,2,3,4 contain exactly 6 ordered pairs?
- Let A= x Z:|x| 4 and B= y Z:|y-1| 3 . The number of ordered pairs (x,y) A B such that x…
- Let A= 1,2, ,12 and let R= (a,b) A A: a divides b . Which of the following statements…
- A relation from a set A to a set B is any subset of A B . There are exactly 2 12…
- How many equivalence relations on the set 1,2,3,4,5,6 contain the pair (3,4) but do not…
- Which of the following is/are equivalence relations?
- A relation R on A= 1,2,3,4,5,6,7 is drawn as a directed graph: an arrow from a to b means…
- How many equivalence relations on 1,2,3,4,5,6,7 have exactly 3 equivalence classes, with…
- On A= 1,2, ,12 let R= (a,b) A A: |a-b|=4 or |a-b|=6 . The smallest number of ordered…
- Let X= 1,2,3 and consider relations on the power set P(X) . Which of the following…
- The number of relations on 1,2,3,4 that are symmetric and transitive but not reflexive is
Practise the full set: Sets, Relations and Functions — Beyond Advanced