This question already has an answer here:

How to find this sum :

$\sum_{n=0}^\infty \dfrac{n^2}{2^n}$

$\sum_{n=0}^\infty \dfrac{n^2}{2^n}=\dfrac{1}{2}+\dfrac{4}{4}+\dfrac{9}{8}+\dfrac{16}{16}+\dfrac{25}{32}+\dfrac{36}{64}+\dfrac{49}{128}+\dots$

Now $\sum_{n=0}^\infty \dfrac{n}{2^n}\leqslant \sum_{n=0}^\infty \dfrac{n^2}{2^n}$

And I know that $\sum_{n=0}^\infty \dfrac{n}{2^n}=2$.

But how to find this sum ? I am confused.Please give some hints.


marked as duplicate by lab bhattacharjee calculus Jan 19 '17 at 5:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ No you are wrong @MathMajor $\endgroup$ – Learnmore Jan 19 '17 at 5:28
  • $\begingroup$ Maple is evidently incorrect; c.f. the answer of Andre Nicolas here: math.stackexchange.com/questions/757263/… $\endgroup$ – Chris Jan 19 '17 at 5:28
  • 1
    $\begingroup$ Start with $1+x+x^2+\cdots=1/(1-x)$. Differentiate. Multiply by $x$. Differentiate again. Plug in $x=1/2$. All the steps valid, because we are well within the radius of convergence. Surprised if this is not a duplicate. $\endgroup$ – Jyrki Lahtonen Jan 19 '17 at 5:32
  • $\begingroup$ @JyrkiLahtonen;what is meant by "well within radius ...";will you please explain $\endgroup$ – Learnmore Jan 19 '17 at 5:48
  • $\begingroup$ It means that we are in an interval where the series and its derivatives converge uniformly, and termwise differentiation is thus justified (by the usual results on power series). $\endgroup$ – Jyrki Lahtonen Jan 19 '17 at 8:32

Hint: For $|x|<1$ \begin{align*} \sum_{n=0}^{\infty }n^{2}x^{n}&=\sum_{n=0}^{\infty }n\left ( n+1 \right )x^{n}-\sum_{n=0}^{\infty }nx^{n} \\ &=x\sum_{n=0}^{\infty }n\left ( n+1 \right )x^{n-1}-x\sum_{n=0}^{\infty }nx^{n-1}\\ &=x\left ( \sum_{n=0}^{\infty }x^{n+1} \right )''-x\left ( \sum_{n=0}^{\infty }x^{n} \right )'\\ &=-\frac{x\left ( x+1 \right )}{\left ( x-1 \right )^{3}} \end{align*} then let $x=\dfrac{1}{2}$ you will get the answer.

  • $\begingroup$ how is the last line obtained i.e. the derivative ?? $\endgroup$ – Learnmore Jan 19 '17 at 5:50
  • $\begingroup$ @BenStokes Yes! Solve the inner series and take the derivative of its result. $\endgroup$ – Renascence_5. Jan 19 '17 at 5:54
  • $\begingroup$ yes i got your point;One more question :why is $|x|<1$ needed? $\endgroup$ – Learnmore Jan 19 '17 at 5:58
  • $\begingroup$ @Ben Stokes If $|x|\geq 1$, both of the series are divergent. $\endgroup$ – Renascence_5. Jan 19 '17 at 6:25

Interesting... let's look at it.






So $S=6.$

EDIT: According to the comments this is wrong. I'll check over it (?)

EDIT2: Apparently that solution (which is for $\Sigma_{n=0}^{\infty}\frac{n}{2^n}$) gives 2 for the original summand. I can't read, oops. :\

  • $\begingroup$ Between the 2nd and 3rd lines, I personally lost you.... $\endgroup$ – Chris Jan 19 '17 at 5:31
  • $\begingroup$ Subtract the first term of the 2nd line from the second term from the 1st line. Then the second term of the 2nd line from the third term in the 1st line. And so on. The same thing happens on lines 4-5. $\endgroup$ – pie314271 Jan 19 '17 at 5:32
  • $\begingroup$ Ah, okay. Your solution might actually be fine then! And in fact I believe you do obtain $S/4 = \frac{3}{2}$ as you claimed, since you get $\frac{1}{2} + \frac{2}{4} + \frac{4}{8}$ ultimately. $\endgroup$ – Chris Jan 19 '17 at 5:35
  • $\begingroup$ Really nice solution +1 $\endgroup$ – Learnmore Jan 19 '17 at 7:02

If $-1< x < 1$, we have, by differentiation and adding :

$$\begin{align} \sum_{n=0}^\infty x^n & = \frac 1{1-x} \implies & \\ \sum_{n=1}^\infty nx^{n-1} & = \frac 1{(1-x)^2} \implies \\ \sum_{n=1}^\infty nx^n & = \frac x{(1-x)^2} \implies & \small \\ \sum_{n=1}^\infty n^2x^{n-1} & = \frac {1+x}{(1-x)^3} \implies & \small \\ \sum_{n=1}^\infty n^2x^n & = \frac {x(1+x)}{(1-x)^3} \end{align}$$ Put $x=\frac{1}{2}$. We are done.

  • $\begingroup$ And this is because $-1 < x < 1$ is the radius of convergence of both the series $\sum_n x^n$ and $\sum_n nx^{n-1}$. $\endgroup$ – Chris Jan 19 '17 at 5:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.