Leibniz's Alternating Series Test
The series $\sum (-1)^{k-1} u_k$ converges if:
- $u_k \geq 0$
- $u_{k+1} \leq u_k$
- $u_k\rightarrow0$ as $k\rightarrow\infty$
I need to find an alternating series which diverges because it fails to satisfy the second condition (i.e. $u_{k+1} > u_k$). Can anybody help me find such a series?
Hint: Let $u_k=\frac{1}{k}$ when $k$ is odd, and let $u_k=\frac{1}{2^k}$ when $k$ is even.
Show that the series $\sum_1^\infty (-1)^{k+1} u_k$ does not converge.
Remark: Note that in the example above we have $u_{k+1}\gt u_k$ for infinitely many $k$. One cannot do better, since if $u_{k+1}\gt u_k$ for all $k$, then Condition 3 is violated.