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

    nth row of Pascal's Triangle sum of the numbers is 2^n

    Module 3 Day 7 Challenge Part 2
    2
    9
    67
    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.
    • P
      professionalbronco M0★ M1★ M2★ M3 M5★
      last edited by

      We can try the Binomial Theorem here, since it has many binomial coefficients that are part of Pascal's Triangle,

      $$\text{Binomial Theroem:}~(x+y)^n=\binom{n}{0}x^n+\binom{n}{1}x^{n-1}y+\binom{n}{2}x^{n-2}y^2+\dots +\binom{n}{n}y^n. $$

      We notice that the binomial coefficients

      $$\binom{n}{0},\binom{n}{1},\dots,\binom{n}{n}, $$

      matchup with the nth row of Pascal's Triangle!

      If we want to get rid of the variables, and want the something multiplied by the binomial coefficients to be 1, we can just let the variables to both be 1. So, we get

      $$(1+1)^n=\boxed{2^n}. $$

      The Daily Challenge with Po-Shen Loh is the best!
      aops user = captainnobody

      1 Reply Last reply Reply Quote 1
      • quacker88Q
        quacker88 MOD
        last edited by

        Hi @professionalbronco!
        Way to go, that's exactly how you would prove it algebraically!
        Using the binomial theorem like this and plugging in \(1\) to get the coefficients is actually very useful in general.

        How about you give these problems a shot:

        Find the sum of the coefficients of the expansion of \((x-2y)^5\)
        Find the sum of the coefficients of the expansion of \((x-2y)^{12}\)
        Find the sum of the coefficients of the expansion of \((x+y-z)^2\)

        For some of them, you can just bash out, but try and find the shortcut!

        P 2 Replies Last reply Reply Quote 2
        • P
          professionalbronco M0★ M1★ M2★ M3 M5★ @quacker88
          last edited by professionalbronco

          @quacker88 Here are my solutions!
          P1 Solution: We notice that the sum of the coefficients, by the Binomial Theorem is

          $$\binom{5}{0}+\binom{5}{1}+\binom{5}{2}+\dots+\binom{5}{4}+\binom{5}{5}=2^5=\boxed{32}. $$

          P2 Solution: Similar to P1 Sol, the sum of the coefficients by the Binomial Theorem is

          $$\binom{12}{0}+\binom{12}{1}+\binom{12}{2}+\dots+\binom{12}{11}+\binom{12}{12}=2^{12}=\boxed{4096}. $$

          However, I'm not sure about P3, because there are now 3 terms there. I could bash it out, but that doesn't seem very fun 😞 Should I write that as

          $$[x+(y-z)]^2? $$

          Then I can write it as

          $$[x+(y-z)]^2=1x^2+2x(y-z)+1(y-z)^2 $$

          so is the answer

          $$\text{Sum of coefficients}=1+2+1=\boxed{4}? $$

          The Daily Challenge with Po-Shen Loh is the best!
          aops user = captainnobody

          quacker88Q 1 Reply Last reply Reply Quote 1
          • P
            professionalbronco M0★ M1★ M2★ M3 M5★ @quacker88
            last edited by

            @quacker88 I just noticed that S3 was incorrect. Here is a bash solution for the last one. We know that

            $$(a+b+c)^2=a^2+2ab+2ac+b^2+2bc+c^2. $$

            So we can bash out this,

            $$(x+y-z)^2=x^2+2xy-2xz+y^2-2yz+z^2 \Rightarrow \text{Sum of coefficients}=1+2-2+1-2+1=\boxed{1}. $$

            The Daily Challenge with Po-Shen Loh is the best!
            aops user = captainnobody

            1 Reply Last reply Reply Quote 1
            • quacker88Q
              quacker88 MOD @professionalbronco
              last edited by

              Hey @professionalbronco !
              Yeah that's a great catch for P3! And I really like the way you broke it up too. But there is actually a way to do it without expanding it out all the way. Let's take \((x-2y)^3\) for example.

              Here's the thing: without expanding it, we can already tell that it will look something like \((ax^3+bx^2y+cxy^2+dy^3\)), does that make sense? We just have the terms, and the coefficients are \(a,b,c,d\). We might not know exactly what the coeffecients are, but we know that we're just looking for \(a+b+c+d\).

              Wait, so if
              \((x-2y)^3=ax^3+bx^2y+cxy^2+dy^3\) and we're looking for \(a+b+c+d\), what do we need to plug in to just get the sum of the coefficients? Try using this tip and see if you can do the three problems faster.

              Actually, here's another thing to consider with P1 and P2. Expand \((x+2)^2\) and you should get \(x^2+4x+4\), right? But wait, binomial theorem says that the coefficients should be \(\binom20, \binom21, \binom22 \)...
              Binomial theorem is actually still correct here. Notice how the equation is actually

              $$\binom20\cdot(x)^2+\binom21\cdot(x)\cdot(2)+\binom22\cdot(2)^2 $$

              So binomial theorem definitely still works, but you just have to keep in mind that now we're multiplying \(x\)'s and \(2\)s now, instead of \(x\)'s and 1s.

              Try and do the problems again with these tips now 🙂

              P 1 Reply Last reply Reply Quote 1
              • P
                professionalbronco M0★ M1★ M2★ M3 M5★ @quacker88
                last edited by professionalbronco

                @quacker88 Oh wait, we can just plug in 1 for the variables! S1: Plugging in x=1, y=1, we get

                $$(1-2(1))^3=\boxed{-1}. $$

                S2: Same thing, plugging in x=1,y=1, we get

                $$(1-2(1))^{12}=\boxed{1}. $$

                S3: Plugging in (x,y,z)=(1,1,1), we get

                $$(1+1-1)^2=\boxed{1}. $$

                Here are some of my favorites. (these are not valid problems BTW 😞 )
                P1: Find the sum of the coefficients in the binomial expansion

                $$(a-b+c-d+e-f+g-h+\cdots)^3. $$

                P2: Find the sum of the coefficients in the binomial expansion

                $$(a-2b+3c-4d+5e-6f+\cdots)^2. $$

                and
                P3: Find the sum of the coefficients in the binomial expansion

                $$(a+2b+3c+4d+5e+6f+\cdots)^2. $$

                Note: These go on forever.
                Here are my solutions for these problems. (infinity is cool, isn't it?)

                S1: We can plug in all of them to be 1, and we get

                $$(1-1+1-1+1-1+1-\cdots)^3=\left(\frac{1}{2}\right)^3=\boxed{\frac{1}{8}}. $$

                See here to learn why 1-1+1-1+1-1+...=1/2.

                S2: We can plug in all of them to be 1, and we get

                $$(1-2+3-4+5-6+7-8+\cdots)^2=\left(\frac{1}{4}\right)^2=\boxed{\frac{1}{16}}. $$

                See here to learn why 1-2+3-4+5-6+...=1/4. (Stop at 2:34)

                S3: Plugging in 1 for all of them, we get

                $$(1+2+3+4+5+6+\cdots)^2=\left(\frac{-1}{12}\right)^2=\boxed{\frac{1}{144}}. $$

                See here to learn why 1+2+3+4+5+6+...=-1/12. (Start at 3:19, finish the video.)

                Hope these problems were fun!

                The Daily Challenge with Po-Shen Loh is the best!
                aops user = captainnobody

                quacker88Q P 2 Replies Last reply Reply Quote 1
                • quacker88Q
                  quacker88 MOD @professionalbronco
                  last edited by

                  @professionalbronco Way to go, your answers for the three I gave you are really good!

                  And about the ones you talked about... I actually never thought about using it that way, that's a very interesting idea! I honestly can't process the idea of taking an infinite polynomial (with an infinite amount of variables), then actually squaring it. But in theory, I that should work exactly like you wrote it. This is why math is great! You can basically apply rules any way you want and they'll probably work. Way to go for coming up with this 🙂

                  1 Reply Last reply Reply Quote 2
                  • P
                    professionalbronco M0★ M1★ M2★ M3 M5★ @professionalbronco
                    last edited by

                    @professionalbronco @quacker88 Sorry for the bump, but I finally figured out that the problems I shared were all wrong... the sums 1-1+1-1+1-1+... and 1-2+3-4+5-6+... and 1+2+3+4+5+6+... all diverge 😞 . All of them have applications of infinity which can result in weird results.

                    The Daily Challenge with Po-Shen Loh is the best!
                    aops user = captainnobody

                    quacker88Q 1 Reply Last reply Reply Quote 0
                    • quacker88Q
                      quacker88 MOD @professionalbronco
                      last edited by

                      @professionalbronco No worries about the bump! Super glad to see you learning so much, and even coming back to correct an old post 🙂

                      You're absolutely right, these sums don't converge, so you can't manipulate them as if they were actual equations. In fact, \(1+2+3+4+...=-\frac{1}{12}\) is just really misleading in general. While \(-\frac{1}{12}\) is related to it, it's not really "equal" to it in the normal sense.

                      Great job once again!

                      1 Reply Last reply Reply Quote 0

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