Calculus · real student question

Find the sum of x^(n-1)/n for n from 1 to infinity.

Question

Evaluate

n=1xn1n\sum_{n=1}^{\infty}\frac{x^{\,n-1}}{n}

Step-by-step solution

  1. Shift the exponent to reach a standard series. The familiar identity has xnx^{n} on top, not xn1x^{n-1}. For x0x\neq 0 pull one factor of xx out of the whole sum:

    n=1xn1n=1xn=1xnn\sum_{n=1}^{\infty}\frac{x^{\,n-1}}{n}=\frac{1}{x}\sum_{n=1}^{\infty}\frac{x^{n}}{n}

    The restriction x0x\neq 0 is introduced here and must be revisited later.

  2. Use the logarithm series. Integrating the geometric series n0tn=11t\sum_{n\ge 0}t^{n}=\dfrac{1}{1-t} term by term from 00 to xx gives

    n=1xnn=ln(1x),x<1\sum_{n=1}^{\infty}\frac{x^{n}}{n}=-\ln(1-x),\qquad |x|<1

  3. Divide by xx to get the closed form.

    n=1xn1n=ln(1x)x,0<x<1\sum_{n=1}^{\infty}\frac{x^{\,n-1}}{n}=-\frac{\ln(1-x)}{x},\qquad 0<|x|<1

  4. Handle x=0x=0 separately. The original series at x=0x=0 is 001+0+0+\dfrac{0^{0}}{1}+0+0+\cdots, whose first term is the ambiguous 000^{0}; the closed form is likewise 00\tfrac00. Both are resolved by a limit:

    limx0ln(1x)x=limx01/(1x)1=1\lim_{x\to 0}\frac{-\ln(1-x)}{x}=\lim_{x\to 0}\frac{1/(1-x)}{1}=1

    by L Hopital. So x=0x=0 is a removable singularity, and the natural value there is 11.

  5. State the complete answer.

    n=1xn1n={ln(1x)x,0<x<11,x=0\sum_{n=1}^{\infty}\frac{x^{\,n-1}}{n}=\begin{cases}-\dfrac{\ln(1-x)}{x},&0<|x|<1\\[4pt]1,&x=0\end{cases}

    Numerically at x=0.4x=0.4 a 400-term partial sum gives 1.277064059411.27706405941 and ln(0.6)/0.4=1.27706405941-\ln(0.6)/0.4=1.27706405941 ✓.

Answer

ln(1x)x  (0<x<1),1  (x=0)-\frac{\ln(1-x)}{x}\ \ (0<|x|<1),\qquad 1\ \ (x=0)

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