Given Euler's summation formula in Apostol ANT Theorem 3.1 $$\sum_{y \lt n \leq x} f (n) = \int_y^x f (t) dt + \int_y^x(t- [t])f'(t)dt +f(x)([x]-x) - f(y)([y]-y)$$ Apostol calculates $\sum_{n \leq x} \frac {1}{n} $ in Theorem 3.2a as follows: $$\sum_{n \leq x} \frac {1}{n} = \int_1^x \frac{dt}{t} - \int_1^x \frac{t-[t]}{t^2}dt + 1 - \frac{x-[x]}{x}$$ ( and continues from there ).
My question is about the term $1$. Please explain how this term was calculated.
Before I posted this question I had never seen Apostol ' s book on advanced calculus 'Mathematical Analysis' (MA). I have now and it seems to me that difficulties with ANT can be handled by MA. For example I did not know that Euler summation was an application of the Riemann-Stieltjes integral. In MA the Riemann-Stieltjes integral is explained as well as Euler summation as an application. Studying that first will make the first paragraphs of Chater 3 of ANT much more accessible. - See http://www.goodreads.com/book/show/53800.Mathematical_Analysis