Question #26938

If set S has n elements how many subsets have an even # of elements?

Expert's answer

Question 1.

If set SS has nn elements, how many subsets have an even number of elements?

Solution.

For any 0kn0\leq k\leq n the number of kk-element subsets of an nn-element set is (nk)\binom{n}{k}. Hence, the number of the sets having an even number of elements is

(n0)+(n2)++(n2m),\binom{n}{0}+\binom{n}{2}+\cdots+\binom{n}{2m},

where 2m2m is the maximal even number which does not exceed nn.

We know that the number of all the subsets is

(n0)+(n1)++(nn)=(1+1)n=2n.\binom{n}{0}+\binom{n}{1}+\cdots+\binom{n}{n}=(1+1)^{n}=2^{n}.

Since

(n0)(n1)+(n2)+(1)n(nn)=(11)n=0,\binom{n}{0}-\binom{n}{1}+\binom{n}{2}-\cdots+(-1)^{n}\binom{n}{n}=(1-1)^{n}=0,

then

(n0)+(n2)+=(n1)+(n3)+,\binom{n}{0}+\binom{n}{2}+\cdots=\binom{n}{1}+\binom{n}{3}+\ldots,

so the number of the subsets consisting of an even number of elements coincides with the number of the subsets consisting of an odd number of elements. Thus, both of these numbers equal 122n=2n1\frac{1}{2}\cdot 2^{n}=2^{n-1}, n>0n>0. If n=0n=0, i. e. SS is empty, then there is only one subset of SS and it has even number (zero) of elements.

Answer:

\[ \begin{cases}1,&\text{if }n=0,\\

2^{n-1},&\text{if }n>0.\end{cases} \]


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS