इस पर अटक गए? इसे AI से हल करें
Calculus · real student question

Find the sum of x^n / n^2 for n from 1 to infinity.

Question

Evaluate

∑n=1∞xnn2\sum_{n=1}^{\infty}\frac{x^{n}}{n^{2}}

Step-by-step solution

  1. Find the radius of convergence first. The ratio test gives

    ∣an+1an∣=∣x∣n2(n+1)2→∣x∣\left|\frac{a_{n+1}}{a_{n}}\right|=\left|x\right|\frac{n^{2}}{(n+1)^{2}}\to\left|x\right|

    so the series converges for ∣x∣<1\left|x\right|<1. At the endpoints it also converges: at x=1x=1 it is the pp-series with p=2p=2, and at x=−1x=-1 it converges absolutely. The domain of the sum is therefore the closed interval ∣x∣≤1\left|x\right|\le 1.

  2. Build it from the geometric series by two integrations. Starting from ∑n≥1xn−1=11−x\sum_{n\ge 1}x^{n-1}=\dfrac{1}{1-x} and integrating once gives

    ∑n=1∞xnn=−ln⁡(1−x)\sum_{n=1}^{\infty}\frac{x^{n}}{n}=-\ln(1-x)

    Dividing by xx and integrating a second time introduces the extra nn in the denominator:

    ∑n=1∞xnn2=−∫0xln⁡(1−t)t dt\sum_{n=1}^{\infty}\frac{x^{n}}{n^{2}}=-\int_{0}^{x}\frac{\ln(1-t)}{t}\,dt

  3. Recognise that this integral has no elementary closed form. Unlike ∑xn/n\sum x^{n}/n, the second antiderivative is not expressible with elementary functions. Mathematicians therefore give it a name — the dilogarithm:

    Li⁡2(x)=∑n=1∞xnn2=−∫0xln⁡(1−t)t dt\operatorname{Li}_{2}(x)=\sum_{n=1}^{\infty}\frac{x^{n}}{n^{2}}=-\int_{0}^{x}\frac{\ln(1-t)}{t}\,dt

    Naming it is the honest answer, exactly as with the error function for ∫e−x2dx\int e^{-x^{2}}dx.

  4. Read off the two special values. At x=1x=1 the series is the Basel sum:

    Li⁡2(1)=π26\operatorname{Li}_{2}(1)=\frac{\pi^{2}}{6}

    and at x=−1x=-1 the alternating version halves-and-flips it:

    Li⁡2(−1)=−π212\operatorname{Li}_{2}(-1)=-\frac{\pi^{2}}{12}

  5. Check a third known value numerically. At x=12x=\tfrac12 there is a classical identity Li⁡2 ⁣(12)=π212−ln⁡222\operatorname{Li}_{2}\!\left(\tfrac12\right)=\dfrac{\pi^{2}}{12}-\dfrac{\ln^{2}2}{2}. Summing 200 terms of the series gives 0.582240526460.58224052646, and the closed form gives 0.582240526470.58224052647 ✓ — confirming both the series and the naming convention.

Answer

∑n=1∞xnn2=Li⁡2(x)(∣x∣≤1)\sum_{n=1}^{\infty}\frac{x^{n}}{n^{2}}=\operatorname{Li}_{2}(x)\qquad(|x|\le 1)

Need to solve a different problem like this? Open the solver →