1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
Above we see the beginning of Pascal's Triangle, that is of great assistance is working out the coefficients of the terms in the binomial expansion of (a+b)n for various positive integer values of n. The first line corresponds to n=0, then n=1, n=2 and so on. For example:(a+b)4=a4+4a3b+6a2b2+4ab3+b4
A common mistake that's made by beginner's is to write the following:(a+b)n=an+bn
What is regarded as a mistake actually turns out to true for certain values of n when modular arithmetic is involved.
Let's consider mod 2 where only two numbers exist: 0 and 1. Any numbers larger than 1 reduce to either 0 or 1. Thus 2≡0mod2 and 3≡1mod2 etc. Let's look at the expansion of (a+b)2 in this light. We have:(a+b)2=a2+2ab+b2=a2+b2
In the case of mod 2, the 2ab term must equal zero What about mod 3? The only numbers here are 0, 1 and 2 with 3≡0mod3. The binomial expansion for the case of n=3 becomes:(a+b)3=a3+3a3b+3ab2+b3=a3+b3
Here the 3a2b and 3ab2 terms equal zero. We seem to on a roll. Let's consider the case of n=4 or mod 4. Here the only numbers are 0, 1, 2 and 3 with 4≡0mod4, 5≡1mod4, 6≡2mod4 and so on. Thus we have:(a+b)4=a4+4a3b+6a2b2+4ab3+b4=a4+2a2b2+b4
In this case, things don't quite work out because the middle term 6a2b2 after conversion to 2a2b2.
What about the case of n=5 or mod 5? Here the numbers are 0, 1, 2, 3 and 4 and the expansion of (a+b)5 works out as follows:(a+b)5=a5+5a4b+10a3b2+10a2b3+5ab4+b5=a5+b5
The central terms all disappear because 5≡0mod5 and 10≡0mod5. If we consider the case of mod 6, the simplification fails but works again for mod 7. The generalisation from all of this is that if p is prime and we are working with mod p then the following always holds true:(a+b)p=ap+bp
I'm thankful to this YouTube video for informing me of this interesting twist on the binomial expansion.
No comments:
Post a Comment