Q.1.5

Question

Determine the number of vectors (x1, ... , xn),such that each xiis either 0or1 andi=1nxik.



Step-by-Step Solution

Verified
Answer

There are m=knn!m!(n-m)!different ways.

1Step 1 Given Information.

The number of vectors x1,,xnis either 0 or 1andi=1nxik.

2Step 2 Explanation.

The condition i=1nxikholds if and only if the vector x=x1,,xnhas kor more components equal to1.

Let us fix that the vector shall have exactly mcomponents equal to1. Therefore, we can arrange this collection of ones and zeros in n ! different ways. But, because we do not want to count twice the permutations of zeros and ones among ourselves, we should divide by m !(m-k)!

The result follows by considering all mbetween kandn.

3Step 3 Explanation.

There are m=knn!m!(n-m)!different ways.