Help with summation

n=1Pn22n+n=1Pn2n\large{\displaystyle \sum_{n=1}^{P} \frac{n^2}{2^n} + \displaystyle \sum_{n=1}^{P} \frac{n}{2^n}}

how am I supposed to express this as an equation?......plz help! :( :(

#Algebra #NumberTheory #Summation

Note by Asif Hasan
5 years, 11 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

My solution uses differential calculus. We start with the formula for an infinite geometric series: n=1xn=x1x=11x1\sum_{n=1}^{\infty} x^n = \dfrac{x}{1-x} = \dfrac{1}{1-x} - 1 Now if we differentiate this with respect to xx, we get: n=1nxn1=1(1x)2(1)\sum_{n=1}^{\infty} n x^{n-1} = \dfrac{1}{(1-x)^2} \to (1) Differentiating one more time gives us: n=1n(n1)xn2=2(1x)3(2)\sum_{n=1}^{\infty} n(n-1)x^{n-2} = \dfrac{2}{(1-x)^3} \to (2)

Multiplying (1)(1) by 2x2x gives us: n=12nxn=2x(1x)2(3)\sum_{n=1}^{\infty} 2n x^n = \dfrac{2x}{(1-x)^2} \to (3)

Multiplying (2)(2) by x2x^2 gives us: n=1n(n1)xn=2x2(1x)3(4)\sum_{n=1}^{\infty} n(n-1)x^n = \dfrac{2x^2}{(1-x)^3} \to (4)

Now after adding (3)(3) and (4)(4) we get: n=1(n2+n)xn=2x2(1x)3+2x(1x)2n=1(n2+n)xn=2x(1x)3(5)\begin{array}{ccl}\displaystyle\sum_{n=1}^{\infty} (n^2+n) x^n & = & \dfrac{2x^2}{(1-x)^3} + \dfrac{2x}{(1-x)^2} \\ \displaystyle\sum_{n=1}^{\infty} (n^2+n) x^n & = & \dfrac{2x}{(1-x)^3} \to (5) \end{array}

Of course, this is an infinite series. Let's calculate the formula we need using the formulas above:

n=1P(n2+n)xn=n=1(n2+n)xnn=P+1(n2+n)xn=2x(1x)3n=1((n+P)2+(n+P))xn+P=2x(1x)3xP[n=1(n2+n)xn+Pn=12nxn+(P2+P)n=1xn]=2x(1x)3xP[2x(1x)3+2Px(1x)2+(P2+P)x1x]\begin{array}{ccl} \sum_{n=1}^{P} (n^2+n)x^n & = & \sum_{n=1}^{\infty} (n^2+n)x^n - \sum_{n=P+1}^{\infty} (n^2+n)x^n \\ & = & \dfrac{2x}{(1-x)^3} - \sum_{n=1}^{\infty} \left((n+P)^2+(n+P)\right)x^{n+P} \\ & = & \dfrac{2x}{(1-x)^3} - x^P \left[\sum_{n=1}^{\infty} (n^2+n)x^n + P \sum_{n=1}^{\infty} 2nx^n + (P^2+P) \sum_{n=1}^{\infty} x^n \right] \\ & = & \dfrac{2x}{(1-x)^3} - x^P \left[\dfrac{2x}{(1-x)^3} + \dfrac{2Px}{(1-x)^2} + \dfrac{(P^2+P)x}{1-x} \right] \end{array}

Therefore, substituting x=12x = \dfrac{1}{2} gives us:

n=1Pn2+n2n=88+5P+P22P\sum_{n=1}^{P} \dfrac{n^2+n}{2^n} = 8 - \dfrac{8 + 5P + P^2}{2^P}

Ariel Gershon - 4 years, 8 months ago

Log in to reply

Thanks a lot!! Very elegant solution! :D thanks!!

Asif Hasan - 4 years, 7 months ago

hey, a little more help plz!! how are we supposed to handle this type::

n=1n2n+3n\large{\displaystyle \sum_{n=1}^{\infty} \frac{n}{2^n + 3^n}}

Asif Hasan - 4 years, 7 months ago

Log in to reply

You're welcome! Oh wow, I don't know... There might not even be a closed form for that sum.

Ariel Gershon - 4 years, 7 months ago

Log in to reply

@Ariel Gershon ohh :( :( thanks for the reply anyway!!

Asif Hasan - 4 years, 7 months ago

n=1Pn22n+n=1Pn2n\large{\displaystyle \sum_{n=1}^{P} \frac{n^2}{2^n} + \displaystyle \sum_{n=1}^{P} \frac{n}{2^n}}

Hit on your profile picture at the right top corner of the page, then hit "Toggle Latex". Copy the latex code and then do whatever you want to :P

Satyajit Mohanty - 5 years, 11 months ago

Log in to reply

done.......:) :)

Asif Hasan - 5 years, 11 months ago
×

Problem Loading...

Note Loading...

Set Loading...