0
$\begingroup$

Let $X$ and $Y$ be disjoint sets containing $p$ and $q$ elements respectively, and let the set $Z$ be defined as $Z\bigcup Y$. Find the number of subsets $S$ of $Z$ that contains $m$ elements and also has the property that $S\bigcap X$ has $n$ elements.

What I've tried is:

Total elements in $Z$ is $p+q$, so subsets containing $m$ elements is $C(p+q,m)m!$ where $C$ denotes combination.

How to include $n $ elements interesection ?

Thankyou

$\endgroup$
1
  • $\begingroup$ Hint: first choose the $n$ elements of $S$ which are in $X$, and then choose the $m-n$ elements which are in $Y$. $\endgroup$ Commented Feb 7, 2019 at 17:33

1 Answer 1

1
$\begingroup$

To construct such a subset, we must take $n$ elements fom $X$ and $m-n$ elements from $Y$, so the number of such subsets is

$$\binom{|X|}{n} \cdot \binom{|Y|}{m-n}$$

$\endgroup$
1
  • $\begingroup$ Thanks a lot, I got it! $\endgroup$
    – Henam
    Commented Feb 7, 2019 at 17:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .