Combinatorics-binomial expansion?

  • Thread starter Thread starter pupeye11
  • Start date Start date
  • Tags Tags
    Expansion
pupeye11
Messages
99
Reaction score
0

Homework Statement



Let A(x) = \sum_{k>=0}a_{k}x^k and B(x) = \sum_{k>=0}b_{k}x^k show that:
A(X)B(X) = \sum_{k>=0}(\sum_{i=0}a_{i}b_{k-i})x^k

The second sum sign in the answer should be from i=0 to k.


The Attempt at a Solution



I factored out like terms and then multiplied them together and got

\sum_{k>=0}x^k(a_{k}b_{k}) then if i={0,1,2,...,k} we would get

\sum_{k>=0}x^k(\sum_{i=0}a_{i}b_{k-i})

I am guessing this is wrong?
 
Physics news on Phys.org
Maybe I'm wrong, but isn't this by definition? What is your definition of polynomial multiplication?
 
to be honest i am not sure, i am quite lost in this class
 
Which class, and from where did this question come? It's possible all you're supposed to say is that a term with xk clearly appears iff you multiply a term with xi by a term with xk-i, which gives you a coefficient of akbk-i. Combining like terms gives you the sum...
 
It's an Intro to Combinatorics class and its from some homework that covers Binomial coefficients, the binomial theorem, and Newtons binomial theorem. That is the sections I believe the answer should come from out of all the choices I have. If you don't agree with that I can tell you the other sections we have covered for this homework.
 
I also don't get how your idea would work. I start with the two x^k therefor i never multiplied a x^i by an x^{k-i} so the coefficient wouldn't come about that way?
 
When you multiply two polynomials, you need to combine their individual terms in every way possible, so you will need to multiply the aixi by bk-ixk-i sometime. It's possible for ai or bk-i to be 0.
 
pupeye11 said:
I also don't get how your idea would work. I start with the two x^k therefor i never multiplied a x^i by an x^{k-i} so the coefficient wouldn't come about that way?
It's often helpful to expand the summations to see what you're actually doing and where you're going wrong in your calculations. For example, suppose you had

A(x) = \sum_{k=0}^3 a_k x^k = a_0 + a_1 x + a_2 x^2 + a_3 x^3

B(x) = \sum_{k=0}^3 b_k x^k = b_0 + b_1 x + b_2 x^2 + b_3 x^3

Then

A(x)B(x) = (a_0 + a_1 x + a_2 x^2 + a_3 x^3)(b_0 + b_1 x + b_2 x^2 + b_3 x^3)

From this, you can see your first step of factoring like terms doesn't work in that there will be no terms that look like akbkxk except for k=0. Also, if you multiply it out, you should see a pattern for the coefficients in the final series.
 
alright, so if i expand A(x) i'll get something like

A(X) = a_{0}+a_{1}x+a_{2}x^2+...+a_{k}x^k?

then i do the same for B(X) and multiply them together?
 
  • #10
Yes.
 
  • #11
Ok, I got that answer then. The second part of the question says to use this result to find the coefficient of x^5 in the expansion of \frac{(x+y)^9}{1-x} and I do not get how the answer to the previous part is supposed to help me...
 
  • #12
Use A(x)=1/(1-x) and B(x)=(x+y)9. It looks like the book expects you to know how to write A(x) as a series.
 
  • #13
Well A(x)=\frac{1}{1-x}=1+x+x^2+x^3+.... So this coefficient from x^5 is just going to be 1 but I don't know how to get the one from B(x)? Unless its not looking for the specific number which I would think that the coefficient would then be written as a_{1}b_{4}x^5. Would that be the solution to this problem?
 
  • #14
Remember you are have a sum, of which a1b4 is certainly one part, but not all. Likely the book is looking for an expression involving y; you can find the coefficients for B(x) using binomial coefficients.
 
  • #15
Ok then, so I can use Newton's binomial Theorem to find that

\sum_{k=0} nCr(9,5) x^5y^4 = 126 x^5y^4. Then I would have to add that 1 to give me 127 correct?
 
  • #16
The summation sign you have there should not be there. Indeed, in (x+y)9, the coefficient in front of the x5 term is 9C5y4 (note the y in the expression). However, why would you add 1? Take a look again at the formula from the first part.
 
  • #17
Alright I understand the B(X) part. The one would be added because when we change A(X) into the series the x^5 has a coefficient of one. Does it not?
 
  • #18
I suggest, along the lines of vela's advice, to multiply out

(a0 + a1x + a2x2 + a3x3 + a4x4 + a5x5)(b0 + b1x + b2x2 + b3x3 + b4x4 + b5x5).​

See what pattern you can spot. It should help you get a feel for what the formula for multiplication is really saying.
 
  • #19
When I multiplied that out the pattern I saw is the same one from before, that a_{i}b_{k-i}... sorry I really am not getting this. I understand that 126 is part of it though...
 
  • #20
Yes, so what are b0 through b5 in B(x) = (x+y)9?
 
  • #21
Would it be another 126 or am I completely lost now? :|
 
  • #22
Can you expand (x+y)9 via the binomial theorem? There will be coefficients in front of x0, x1, ..., x9. These correspond to the b0 to b9 of B(x), of which only b0 to b5 are needed in calculating the final coefficient you need. (Why?)
 
Last edited:
  • #23
It would really help if you post your attempts in sufficient detail rather than just ask seemingly random questions. It's hard to figure out where you're getting stuck, and we sometimes have to guess as to what you mean (like I have no idea what the 126 refers to). Keep in mind we don't know what you've tried, so even though a question may make complete sense to you, it doesn't to us.
 
  • #24
It is because the coefficient that I am looking for is the one that is in front of x^5. So I would need the coefficients from all ones before and including x^5? Meaning that not only do I use nCr(9,5)=126 but add nCr(9,4)=126, nCr(9,3)=84. nCr(9,2)=36, nCr(9,1)=9, and nCr(9,0)=1. So those together give me 382?
 
  • #25
So my last question is, is it really (x+y)9 and not something like (x+1)9?
 
  • #26
it is definitely (x+y)^9
 
  • #27
You can't just add the numerical coefficients then because the coefficients bk will contain different powers of y. For instance, b1=(9c1)y8 while b2=(9c2)y7.
 
  • #28
Alright, that makes sense. Since I am looking for the coefficient of x^5 the answer would then be 9c5 y^4 = 126y^4?
 
  • #29
No, that would be the coefficient of x5 in B(x), not A(x)B(x). You'll still have a sum of the cross terms; you just can't simplify the sum.
 
  • #30
Ok, so then for A(X)=\frac{1}{1-x}=1+x^2+x^3+x^4+x^5+... the coefficient of x^5 is 1. If all we care about are when we have x^5 wouldn't the coefficient of A(X)B(X) just be 126y^4 times 1?
 
  • #31
No, because, for example, the x2 term in A(x) and the x3 term in B(x) will combine to contribute to the x5 term in A(x)B(x).

By the way, don't you see a contradiction in the answer you just gave, 126y^4, and the formula you verified earlier, which is a sum of a bunch of terms?
 
Last edited:
  • #32
Yeah, I forgot about the sum... But if I was working with just B(x) then my answer would be 126y^4 but since I have A(x) I need to multiply together. Is there a theorem in combinatorics that makes this easy or do I just need to do it the long way?
 
  • #33
Well, there's the formula you verified earlier.
 
  • #34
That is kind of the problem, I get that if I use the formula I'll have something that looks like this

\sum_{k>=0}(\sum_{i=0}^{k}a_{1}b_{4})x^5. How does this give me a number for a coefficient? Or do I take the coefficient at a_{1} and b_{4} and multiply them together. Then after doing that for all the combinations that create x^5 do I add them all together?
 
  • #35
How did you get this
pupeye11 said:
\sum_{k>=0}(\sum_{i=0}^{k}a_{1}b_{4})x^5
from this
pupeye11 said:
A(X)B(X) = \sum_{k>=0}(\sum_{i=0}a_{i}b_{k-i})x^k

The second sum sign in the answer should be from i=0 to k.
 
  • #36
Yes, that came from the one you just copied and put above.
 
  • #37
I'm asking how you got the first from the second because they're inconsistent.

Expand this summation for k=5:

\sum_{i=0}^k a_i b_{k-i}

What do you get?
 
  • #38
a_{0}b_{5}+a_{1}b_{4}+a_{2}b_{3}+a_{3}b_{2}+a_{4}b_{1}+a_{5}b_{0}
 
  • #39
Right, and that sum of six terms is the coefficient of the x5 term in A(x)B(x). In this case, all the ai's are equal to 1. What are bi's equal to?
 
  • #40
The b_{i}'s are going to be b_{5}=nCr(9,5), b_{4}=nCr(9,4),b_{3}=nCr(9,3),b_{2}=nCr(9,2),b_{1}=nCr(9,1),b_{0}=nCr(9,0)?
 
  • #41
Not quite. Remember, the coefficient of xk includes everything that multiplies xk when you expand (x+y)9.
 
  • #42
Are you trying to say I need the corresponding y's in there too, like b5 would have a y^4 and b4 would have a y^5, so on so forth? Otherwise I am not following you on this one.
 
  • #43
Yes, exactly.
 
  • #44
Alright so the answer will be nCr(9,5)y^4+nCr(9,4)y^5+nCr(9,3)y^6+nCr(9,2)y^7+nCr(9,1)y^8+nCr(9,0)y^9 right? and thank you for all your help!
 
  • #45
Yup, that's it. Good work!
 
Back
Top