I am reading in a book, without any explanation, the following identity (with $a<b$):
$$\sum_{k=0}^{\infty}\left(\frac{1}{k+a+1}-\frac{1}{k+b+1}\right)=\frac{1}{a+1}+\dots +\frac{1}{b}$$
Since I am unable to prove this, and could not find an answer in the archives of this website, I would appreciate any help or useful reference (the book definitely writes this, there might possibly be a typo but I don't think so).
I presume $a$ and $b$ are positive integers. In that case, consider your infinite sum: it contains positive summands $1\over a+1$, $1\over a+2$, $1\over a+3$, ... and so on, and negative summands $-{1\over b+1}$, $-{1\over b+2}$, $-{1\over b+3}$, ... and so on. Since $a<b$, then all positive summands between $1\over a+1$ and $1\over b$ survive, while the others cancel out, because they are matched by a negative summand.