Expand Polynomials: Finding Coefficients Using Pascal's Triangle

  • Thread starter Thread starter NotEnuffChars
  • Start date Start date
  • Tags Tags
    Polynomials
Click For Summary
The discussion focuses on expanding the polynomial (a+b)^n using Pascal's Triangle to find coefficients. Participants demonstrate how to derive the expansion for specific values of n, such as n=2 and n=3, and highlight the pattern where the powers of a decrease while those of b increase. The coefficients are represented using the combinatorial notation ^nC_k, which can be calculated either from Pascal's Triangle or using the formula ^nC_k = n!/(k!(n-k)!). A correction is made regarding the general expansion form, emphasizing the correct arrangement of terms. The conversation concludes with an acknowledgment of the importance of understanding the pattern and notation in polynomial expansion.
NotEnuffChars
Messages
9
Reaction score
0

Homework Statement


Expand (a+b)n


Homework Equations





The Attempt at a Solution



Substituting n=2, (a+b)n = a2 + 2ab + b2
Substituting n=3, (a+b)n = a3 + 3a2b + 3ab2 + b3

It's easy to see the powers of a decrease at the same time as the powers of b increase by order 1 each time. Substituting n-1 and n-2 into my attempt at a general form yields

an + k1an-1bn-2 + ... + k2an-2bn-1 + bn

(where k is the co-efficient of a term in the series)

I can use pascals triangle to find the co-efficients quite easily, however I'm struggling to find a pattern that I can write mathematically where I can substitute some value for n and output some value for k.
 
Physics news on Phys.org
We use the term combinatorial denoted by ^nC_k or C(n,k) where n is the power in the expansion and k is the kth coefficient in the expansion, starting from k=0 for the anb0 factor and ending in k=n for the a0bn factor.

You can find the value of each combinatorial by either looking at the nth row in pascals triangle and the kth number across (again, the 1 at the start being k=0) or you can use a calculator...
or... since you're looking for a more mathematical approach to solving each combinatorial:

^nC_k=\frac{n!}{k!(n-k)!}
 
Mentallic said:
We use the term combinatorial denoted by ^nC_k or C(n,k) where n is the power in the expansion and k is the kth coefficient in the expansion, starting from k=0 for the anb0 factor and ending in k=n for the a0bn factor.

You can find the value of each combinatorial by either looking at the nth row in pascals triangle and the kth number across (again, the 1 at the start being k=0) or you can use a calculator...
or... since you're looking for a more mathematical approach to solving each combinatorial:

^nC_k=\frac{n!}{k!(n-k)!}

Very good. Thanks.

What's the norm in writing this as an infinite sum? Do we write

Sigma k=0 to n nCk an-1 bn-2
 
As an infinite sum? I think you mean just a sum :-p

\sum_{k=0}^n^nC_ka^{n-k}b^k
 
Oh by the way, I didn't notice it until you wrote out your sum like that in post #3. You expanded the general case incorrectly -

it's meant to be

a^n+^nC_1a^{n-1}b+^nC_2a^{n-2}b^2+...+^nC_{n-2}a^2b^{n-2}+^nC_{n-1}ab^{n-1}+b^n

Note that ^nC_0=^nC_n=1 and ofcourse a^0=b^0=1 just so you know why the first and last term are simply an and bn respectively.
 
Mentallic said:
As an infinite sum? I think you mean just a sum :-p

\sum_{k=0}^n^nC_ka^{n-k}b^k

Haha, yep. I was thinking to infinity, nicely picked up :biggrin:

Mentallic said:
Oh by the way, I didn't notice it until you wrote out your sum like that in post #3. You expanded the general case incorrectly -

it's meant to be

a^n+^nC_1a^{n-1}b+^nC_2a^{n-2}b^2+...+^nC_{n-2}a^2b^{n-2}+^nC_{n-1}ab^{n-1}+b^n

Note that ^nC_0=^nC_n=1 and ofcourse a^0=b^0=1 just so you know why the first and last term are simply an and bn respectively.

Aah, the a^{n-k} and b^{k} makes sense :D [STRIKE]and the first and last terms made sense already :D[/STRIKE] well, the way I thought about it was just by simply looking at the pattern when I substituted n=2 and n=3. I naturally saw that n will remain on the first and last terms. It got me through (in a kind of a hack) but even better to know the right way about finding the first and last terms in the series. Sometimes leaving off the invisible 1 is misleading.

Thanks heaps for your help.
 
Last edited:
No worries :smile:
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
39
Views
6K