This might be an extremely stupid question but I stuck on two different definition of series expansion of $\ln(1+x)$. In this Resonance article, the author assert that - $$1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\frac{1}{5}-\cdots=\ln 2$$ based on the series expansion $\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\frac{x^5}{5}-\cdots $ for $-1<x\leq1$.
While the Wikipedia article says $\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\frac{x^5}{5}-\cdots $ for $-1<x<1$.
Now these two definition looks confusing to me, as one definition includes the $1$ while other excludes it. If the first definition is true , then the sum of the series is correct, while other definition says it's not.
Am I missing something obvious? Please can somebody explain this to me ? Thanks.
It is true and the Wikipedia article should have $\le 1$ at the end. Expansions like this have a radius of convergence, in this case $1$. For $x$ less than the radius the series converges absolutely. For $x$ outside the series diverges. When $x$ is equal to the radius it takes closer analysis. Here the series is conditionally convergent as we can show $$\sum _{i=1}^\infty \frac{(-1)^{i+1}}i=\sum_{i=1}^\infty \frac 1{2i-1}-\frac 1{2i}\\ =\sum_{i=1}^\infty\frac 1{2i(2i-1)}\\ \lt \sum_{i=1}^\infty \frac1{(2i-1)^2}$$ which we know converges.