Test for what $x\in \mathbb{R}$ the series
$\sum_{n=0}^\infty nx^n$
converges and for what $x\in \mathbb{R}$ it diverges. Determine the limit of sequence for the case of the convergence.
We started dealing with series since the beginning of the week and I tried myself on this one for practice.
I was thinking, that for $x<1$ it should converge? Because it kind of reminds of the geometric series. But the n in front of the x kind of bugs me. Anyway, how can I prove that mathematically? Or is the argumentation with the geometric series enough? Similarly, I was thinking that for an $x>1$ it should diverge.
But I need a proof that isn't based on guesses I think. I read about tests that determine whether something converges, like the ratio test, but I don't know how to use them yet. Are there also tests which determine whether a series diverges?
Note that $$\sum_{n=0}^{\infty}nx^n=x\frac{d}{dx}\sum_{n=0}^{\infty}x^n=\frac{x}{(1-x)^2}$$
for $|x|<1$. So, the series converges to $\frac{x}{(1-x)^2}$ for $|x|<1$.
For $|x|\ge 1$ we see that the series diverges since its terms $nx^n$ dominate $x^n$, and the geometric series diverges for $|x|\ge 1$.