Online Course Discussion Forum

Please help me on MC-II A Combinatoric homework questions.

 
 
Picture of Yoyo Yang
Please help me on MC-II A Combinatoric homework questions.
by Yoyo Yang - Sunday, January 27, 2019, 11:00 AM
 

Hello people!

When I was doing homework problems 7.24 and 7.25, I didn't really understand the problems. Is it okay if someone explains it a little bit more? Thank you!

Have a good day!

Yoyo =^w^=


 
Picture of David Reynoso
Re: Please help me on MC-II A Combinatoric homework questions.
by David Reynoso - Monday, January 28, 2019, 11:51 AM
 

On 24 we want to associate to each number in the set $A$ a subset of $B$. Note $A$ has exactly $2^n$ elements, and since $B$ has $n$ elements, there are also $2^n$ subsets of $B$ (for each element in $B$ it is either on the subset or it is not). The hint says "think of the elements of A written in binary", so for example to take $5\in A$, since $5 = 2^2 + 1 = 101_2$ and you can associate the subset of $B$ $\{1, 3\}$, since it has a $1$ in the first and third positions (from right to left) when written in binary. Can you do this with each of the numbers of $A$?

On 25 we want to show that counting the number of ways to put $n$ identical balls into $k$ different boxes is the same as counting the number of non-negative solutions to $a_1 + a_2 + \cdots a_k = n$. Can you think of a rule that assigns a way to arrange the balls with a solution to the equation (and vice versa)?

Picture of Yoyo Yang
Re: Please help me on MC-II A Combinatoric homework questions.
by Yoyo Yang - Monday, January 28, 2019, 6:13 PM
 

Thank you Mr. David! Have a good day!

-Yoyo