Sequence converges but Improper Integral diverges

320 Views Asked by At

Can someone give me an example of a sequence such that $$a_{n}=\int_{1}^{n}f(x)dx$$ converges but $$\int_{1}^{∞}f(x)dx$$ diverges.

1

There are 1 best solutions below

6
On BEST ANSWER

Consider $a_n = \int_1^n \cos(2\pi x)\,dx.$