edited by
18,513 views
54 54 votes

Let $U=\{1,2, \ldots, n\},$ where $n$ is a large positive integer greater than $1000.$ Let $k$ be a positive integer less than $n$. Let $A, B$ be subsets of $U$ with $|A|=|B|=k$ and $A \cap B=\emptyset$. We say that a permutation of $U$ separates $A$ from $B$ if one of the following is true.

  • All members of $A$ appear in the permutation before any of the members of $B$.
  • All members of $B$ appear in the permutation before any of the members of $A$.

How many permutations of $U$ separate $A$ from $B?$ 

  1. $n!$ 
  2. $\left(\begin{array}{c}n \\ 2 k\end{array}\right)(n-2 k)$ !
  3. $\left(\begin{array}{c}n \\ 2 k\end{array}\right)(n-2 k) !(k !)^{2}$
  4. $2\left(\begin{array}{c}n \\ 2 k\end{array}\right)(n-2 k) !(k !)^{2}$

5 Answers

35 35 votes

Instead of taking variables lets take a small example to first understand the question, once that’s done, the solutions would seem pretty intuitive!

Let n = 6

U = {1,2,3,4,5,6}

A = {1,2} and B = {4,5}

Here k = 2 and A ^ B = phi



Now, coming to the solution,

Step 1 : We first select 2k elements from n elements for creating A and B i.e $nC2k$

Step 2 : Elements in A and B can permute amongst themselves respectively so $k! * k!$ i.e $nC2k * k! * k!$

Step 3 : Now there can be two cases – AB and BA i.e $nC2k * k! * k! * 2$

Step 4 : The remaining elements (n-2k) can arrange in any way so $(n-2k)!$ i.e $nC2k * k! * k! * 2 * (n-2k)!$



Thus, our solution becomes Option D.

1 flag:
✌ Low quality (Blanca 1 “Interpreted incorrectly”)
17 17 votes

$$\text{initial perumutation : 1 2 3 4 } \dots \text{ n-1 n}$$

Construction

  1. Select $n \ –\  2k$ elements out of the initial permutation lets call them separator elements (elements which dont belong to either A or B)
  2. Now out of remaining $2k$ elements
    1. we will select the first k remaining elements to belong to set A (due to condition all Ai must be before Bi)
    2. we will select the last k remaining elements to belong to set B
    3. we will do the vice versa also
  3. permute the the separator elements
  4. permute the elements of A(within A) and B(within B)

Ans becomes $$\text{doing the construction for A,B and B,A}$$

=$$2 \times \binom{n}{n-2k} \times 1 \times 1 \times (n-2k)! \times k! \times k!$$

the factors 1,1 are because there is only way to pick the elements which are supposed belong to A,B respectively as shown in construction 

7 7 votes
Option D

|A|=|B|=k

elements of A followed by elements of B => k!k!

elements of B followed by elements of A => k!k!

1 → number of permutations of 2k elements of A and B = 2k!k! ways

this will create 2k+1 positions for the rest of n-2k elements.

p objects can be placed in q places such that each place can have 0 to p objects in C(p+q-1, q-1) ways

2 → there for n-2k elements can be placed in 2k+1 positions in C(n-2k+2k+1-1, 2k+1-1) = C(n, 2k) ways.

3 → Also these n-2k elements can also be permuted => (n-2k)!

So total number of permutations of U which separates A from B = 2(k!)(k!)C(n, 2k)(n-2k)!, which is option D
7 7 votes

Answer: Option D

$U = \{1,2,3..n\}$

$n > 1000$ (does not matter,given as you do not put value of $n$ and compute)

$|A| = |B| = k < n$

$A \cap B = \phi$

From $n$, you have to select $2k$ elements for places of A and B => $\binom{n}{2k}$

Rest $n-2k$ element can permute between themselves => $(n - 2k)!$

From $2k$ elements, we have $2$ options

(i) all elements of $A$ come before $B$ => $k!.k!$ (all elements of $A$ and $B$ can permute between themselves)

or

(ii) all elements of $B$ come before $A$ => $k!.k!$

hence, $k!.k! + k!.k! = 2(k!)(k!)$

Now multiplying them all,

$= C(n, 2k) * (n - 2k)! * 2(k!)(k!)$

edited by
1 1 vote

 

Option (D) is correct.

It is a very easy question, unlike its first impression.

Given,

n > 1000 and k < n.

also, |A| = |B| = k and A∩B  = ∅ which means n should be an even number.

To, follow the permutation rules we have to take all the members of A first and then B or vice-versa from U.

So, typically the number of permutations is coming as, |A| ! * |B| ! * 2 = 2 * ($|A|!)^{2}$ .

edited by
Answer:
Position:
Show:

Related questions

51 51 votes
6 answers 6 answers
13.4k
13.4k views
Misbah Ghaya asked Nov 29, 2016
13,422 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
43 43 votes
6 answers 6 answers
16.7k
16.7k views
Kathleen asked Sep 23, 2014
16,690 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
51 51 votes
8 answers 8 answers
17.2k
17.2k views
Kathleen asked Sep 14, 2014
17,161 views
A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetiti...
24 24 votes
4 4 answers
17.2k
17.2k views
admin asked Feb 15, 2023
17,221 views
The Lucas sequence $L_{n}$ is defined by the recurrence relation:\[L_{n}=L_{n-1}+L_{n-2}, \quad \text { for } \quad n \geq 3,\]with $L_{1}=1$ and $L_{2}=3$.Which one of t...