divergence of improper integral implies divergence of series



Let f: [0, oo)-> [0, oo) and [sum](a_k) be given. Assume
that for all sufficiently large k and all x in [k, k+1),
f(x)<=(a_k). Prove that divergence of the improper
integral (from 0 to oo) of f(x) implies divergence of
[sum](a_k). (Do I use the comparison test here?
If not, I'm clueless...)
.


Quantcast