I am studying the proof on prime number theorem, but in a step I am getting confused.
They are integrating around the contour $R$, but after showing that the integral along the horizontal segments is zero, they concluded that
$$\int\limits_{c- \infty i}^{c+ \infty i} x^{s-1}h(s)\mathop{ds}=\int\limits_{1- \infty i}^{1+ \infty i} x^{s-1}h(s)\mathop{ds}$$
After looking at the contour $R$ in figure 13.3(in the attached image), I think that instead of that they had written it should be $$\int\limits_{c- \infty i}^{c+ \infty i} x^{s-1}h(s)\mathop{ds}=\int\limits_{1+ \infty i}^{1- \infty i} x^{s-1}h(s)\mathop{ds}=$$.
Can anyone clear this doubt? The book I am following is Introduction to Analytic Number Theory, by Tom Apostol
No, the book is right. The integral around the entire contour is zero. Thus
$$ \int\limits_{c- \infty\mathrm i}^{c+ \infty\mathrm i} x^{s-1}h(s)\,\mathrm ds+\int\limits_{1+ \infty\mathrm i}^{1- \infty\mathrm i} x^{s-1}h(s)\,\mathrm ds=0\;, $$
since the two sides are traversed in opposite directions. Then when you bring one of the integrals over to the other side you get a minus sign, so you need to swap the limits on one of the integrals.