Quote:
Originally Posted by htata123 Hi, another question that requires generating functions;
We select an odd number of people from a group of n people, to serve on a committee. Then we select an even number of people from this committee to serve on a subcommittee. (Zero is an even number too). In how many different ways can we do this?
Thanks in advance for any help i can get. |
It's no entirely clear whether you want a generating function for the answer or just need to use generating function techniques in deriving the answer. I'm going to assume the latter.
The first committee can be selected in

ways, and then the subcommittee can be selected in

ways; so the total number of ways the committee and subcommittee can be selected is

.
Let's start by finding f(x), the ordinary power series generating function for the number of ways to select the committee. From the binomial theorem,

.... (1), and

.... (2)
Subtracting (2) from (1) and dividing by 2, we have
![(1/2) \; [(1+x)^n - (1-x)^n] = \sum_{i \; odd}\binom{n}{i} x^n = f(x) (1/2) \; [(1+x)^n - (1-x)^n] = \sum_{i \; odd}\binom{n}{i} x^n = f(x)](http://www.mathhelpforum.com/math-help/latex2/img/77f68886a1613ede00bd2a227f83a81d-1.gif)
.... (3)
Let

; then
Using the same trick to isolate the even powers of y that we used to find f, but this time adding instead of subtracting, we have
![(1/2) \; [f(1+y) + f(1-y)] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j} y^j (1/2) \; [f(1+y) + f(1-y)] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j} y^j](http://www.mathhelpforum.com/math-help/latex2/img/2bfef23c46a640e888515c6dbd51cd67-1.gif)
.
Let y = 1; then
![(1/2) \; [f(2) + f(0)] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j} (1/2) \; [f(2) + f(0)] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j}](http://www.mathhelpforum.com/math-help/latex2/img/9a340f07aa6f4644fd334bdde66f846a-1.gif)
.
Substituting from (3),
![(1/4) \; [3^n - (-1)^n] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j} (1/4) \; [3^n - (-1)^n] = \sum_{i \; odd} \sum_{j \;even} \binom{n}{i} \binom{i}{j}](http://www.mathhelpforum.com/math-help/latex2/img/929372b7171efcd1100f34d7d0a063ce-1.gif)
,
i.e, the total number of ways to select the committee and subcommittee is
![(1/4) \; [3^n - (-1)^n] (1/4) \; [3^n - (-1)^n]](http://www.mathhelpforum.com/math-help/latex2/img/e43f2d587fec2a0cc5d5e9858b55d3b2-1.gif)
.