• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
Forum — Daily Challenge
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

Odd and Even Sums Theorem

Module 3 Day 7 Challenge Part 3
2
2
57
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    spaceblastxy1428 M1★ M3★ M4 M5★
    last edited by debbie Aug 18, 2020, 3:38 AM Aug 17, 2020, 6:24 PM

    Module 3 Week 2 Day 7 Challenge Part 3

    The theorem says that ∑k=0⌊n/2⌋(n2k)=∑k=0⌊n/2−1⌋(n2k+1)=12∑k=0n(nk)=2n−1\sum_{k=0}^{\lfloor{n/2}\rfloor}\binom{n}{2k}=\sum_{k=0}^{\lfloor{n/2-1}\rfloor}\dbinom{n}{2k+1}=\frac{1}{2}\sum_{k=0}^{n}\dbinom{n}{k}=2^{n-1}k=0∑⌊n/2⌋​(2kn​)=k=0∑⌊n/2−1⌋​(2k+1n​)=21​k=0∑n​(kn​)=2n−1 or that the sum of chooses where the bottom is even is equal to the sum off chooses where the bottom is odd. The explanation uses binomial coefficients.

    Why can't you use the fact that (n0)=(n−10)=(nn)=(n−1n−1)\dbinom{n}{0}=\dbinom{n-1}{0}=\dbinom{n}{n}=\dbinom{n-1}{n-1}(0n​)=(0n−1​)=(nn​)=(n−1n−1​) and apply (nk)=(n−1k)+(n−1k−1)\dbinom{n}{k}=\dbinom{n-1}{k}+\dbinom{n-1}{k-1}(kn​)=(kn−1​)+(k−1n−1​) many times to get that ∑k=0⌊n/2⌋(n2k)=∑k=0⌊n/2−1⌋(n2k+1)=∑k=0n−1(n−1k)=2n−1\sum_{k=0}^{\lfloor{n/2}\rfloor}\binom{n}{2k}=\sum_{k=0}^{\lfloor{n/2-1}\rfloor}\dbinom{n}{2k+1}=\sum_{k=0}^{n-1}\dbinom{n-1}{k}=2^{n-1}k=0∑⌊n/2⌋​(2kn​)=k=0∑⌊n/2−1⌋​(2k+1n​)=k=0∑n−1​(kn−1​)=2n−1

    D 1 Reply Last reply Aug 18, 2020, 3:27 AM Reply Quote 3
    • D
      debbie ADMIN M0★ M1 M5 @spaceblastxy1428
      last edited by debbie Aug 18, 2020, 3:31 AM Aug 18, 2020, 3:27 AM

      @spaceblastxy1428 Yes, very nice! That is a very clever and elegant way to show that the sum of the odd chooses in a row of Pascal's Triangle (or the sum of the even chooses) is equal to half of the sum of the choose in the entire row.

      In this diagram below, I've highlighted the odd chooses in the 12th row:

      (111),(113),(115),(117),(119),(1111) \binom{11}{1}, \binom{11}{3}, \binom{11}{5}, \binom{11}{7}, \binom{11}{9}, \binom{11}{11} (111​),(311​),(511​),(711​),(911​),(1111​)

      Any choose in Pascal's Triangle is equal to the sum of the chooses directly above it, which you expressed formally as this:

      (nk)=(n−1k)+(n−1k−1) \binom{n}{k} = \binom{n-1}{k} + \binom{n-1}{k-1} (kn​)=(kn−1​)+(k−1n−1​)

      Here (n−1) (n-1) (n−1) refers to the row above the nthn^{\text{th}}nth row, and the k+1thk+1^{\text{th}}k+1th diagonal refers to the diagonal just to the left of the kth k^{\text{th}}kth diagonal that (nk)\binom{n}{k}(kn​) is currently in.

       
      M3W2D7-odd-even-sums-theorem-forum.png

      Using this formula repeatedly gives us

      (111)=(100)+(101)(113)=(102)+(103)(115)=(104)+(105)(117)=(106)+(107)(119)=(108)+(109)\begin{aligned} \textcolor{purple}{ \binom{11}{1} = \binom{10}{0} + \binom{10}{1} }\\ \textcolor{green}{ \binom{11}{3} = \binom{10}{2} + \binom{10}{3} }\\ \textcolor{orange}{ \binom{11}{5} = \binom{10}{4} + \binom{10}{5} } \\ \textcolor{purple}{ \binom{11}{7} = \binom{10}{6} + \binom{10}{7} } \\ \textcolor{green}{ \binom{11}{9} = \binom{10}{8} + \binom{10}{9} }\\ \end{aligned} (111​)=(010​)+(110​)(311​)=(210​)+(310​)(511​)=(410​)+(510​)(711​)=(610​)+(710​)(911​)=(810​)+(910​)​

      This takes care of all of the odd chooses in the n=11th n = 11^{\text{th}}n=11th row, except for that last (1111)\binom{11}{11}(1111​) on the end. What should we do with it? We don't have two chooses on top of it, so we can't use the previous identity. And in the n−1=10th n - 1 = 10^{\text{th}}n−1=10th row, we have a left out (1010).\binom{10}{10}.(1010​).

      Well, luckily we can use another identity from Pascal's Triangle! Since (1111)=1=(1010), \binom{11}{11} = 1 = \binom{10}{10},(1111​)=1=(1010​), (the ways to take all of the things of a pile of things), then

      (1010)=(1111) \binom{10}{10} = \binom{11}{11} (1010​)=(1111​)

      and we are done! We've shown that every odd choose in the bottom row matches with the terms in the previous row.

      Now we can use the fact that the sum of the chooses in the nthn^{\text{th}}nth row is equal to 2n.2^n.2n. Thus the sum equals

      (111)+(113)+(115)+(117)+(119)+(1111)=210 \binom{11}{1} + \binom{11}{3} + \binom{11}{5} + \binom{11}{7} + \binom{11}{9} + \binom{11}{11} = \boxed{2^{10}} (111​)+(311​)+(511​)+(711​)+(911​)+(1111​)=210​

      1 Reply Last reply Reply Quote 4

      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Daily Challenge | Terms | COPPA