Today I spent some time about an infinite series. I came up with . I know it converges (thanks to the integral test of convergence. ). Now I don't understand why the value of the integral is not the value of the series. A decreasing function has a definite integral equal to . In our case is decreasing. Now if , and tends to the integral becomes the infinite series I came up with, which is worth and not . Where is my error? Also, if the integral I have and the infinite series I have are not equal, why can we use the integral test for convergence, while working on an infinite series? It would mean that if the series converges, then the integral does so, but their values are not equal... Strange. And of course, if an integral converges, so does its infinite series and their values are equal. But in my example I made an error, that's why it doesn't work.
Last question : is it possible to determine to what value converges the series using integrals? Thanks in advance.