I found this problem in a textbook, is to say if the statement it's true or false:
If $f$ is positive and $\lim_{n}\int_{1}^n\small f(t)dt \ = A$, then $\int_{1}^\infty \small f(t)dt \space\space$exists and is equal to $A$.
My intuiton says it's true, but how does one prove its validity?
Assume $f $ locally integrable at $[1,+\infty) $.
if $f $ is positive then the sequence $(\int_1^nf) $ is increasing and convergent. So, it is bounded above.
$$\exists M\in \mathbb R \; : \; \forall n\in\mathbb N \;\; \int_1^nf\le M $$
$$\implies \forall x\in [1,\infty) \; \int_1^xf\le \int_1^{\lfloor x \rfloor +1}f\le M $$
$$\implies \int_1^{+\infty}f \text { converges } $$