$s= \sigma +it$, for $-1<\sigma<0$, we have $$ \int_{0}^\infty \sum_{n=1}^\infty \frac{ \sin 2 n \pi x}{n x^{s+1}} \, dx = \sum_{n=1}^\infty \frac{1}{n} \int_0^{\infty}\frac{\sin 2n \pi x }{ x^{s+1}} \, dx $$
For the justification, the author writes,
As $\sum_{n=1}^\infty \frac{\sin 2n\pi x }{ n \pi } $ is boundedly convergent, term by term integration over any finite range is permissible. It suffices to show that $$ \lim_{\lambda \rightarrow \infty} \sum_{n=1}^\infty \frac{1}{n} \int_\lambda^\infty \frac{ \sin 2 n \pi x }{ x^{s+1}} \, ds = 0 $$
I know the series is uniformly bounded, but what is meant in the bolded sentences? Why is term by term integration permissible over finite range? Also why is this sufficient?
What I think: I believe there are two steps here.
Let $f_n(x) = \frac{ \sin 2 n \pi x }{ nx^{s+1} } $. We first prove it for "finite range", $$ \int_0^{\lambda} \sum f_n \, dx = \sum \int_0^{\lambda} f_n \, dx $$
If we show it for the finite case, it "suffices" to prove
$$ \lim_{\lambda \rightarrow 0} \sum \int_0^{\lambda} f_n - \sum \int_0^{\infty} f_n = \lim_{\lambda \rightarrow \infty} \sum \int_{\lambda}^\infty f_n = 0 $$
EDIT: Proof 1:
Let $g(x)=\frac{1}{x^{s+1}}, s_m(x) = \sum_1^m \frac{ \sin 2 n \pi x }{ n \pi }$ and $s(x) = \sum_1^\infty \frac{ \sin 2 n \pi x }{ n \pi }$ . It suffices to show equality for a fixed $s$, with $-1 < \sigma < 0$. Also, as $\lambda<\infty$, it suffices to show it holds for closed unit interval $[ k , k +1 ] $ for $k \in \mathbb{N}$. Consider $$ \int_0^{1} g s \, dx - \lim _{ m \rightarrow \infty} \int_0^{1} gs_m \, dx = \lim _{ m \rightarrow \infty} \int_{\delta}^{1 - \delta} + \lim _{ m \rightarrow \infty} \Big \{ \int_0^{\delta} + \int_{\delta}^{1 - \delta} g [s - s_m] \, dx \Big \} $$ For the first term, $g$ is bounded on $[ \delta, 1-\delta]$, $s_m$ converges uniformly on this interval, the term limits to $0$ as $m \rightarrow \infty$. For the second term, as $s_m$ is boundedly convergent in $\mathbb{R}$, and $$ \int_0^{\delta} + \int_{1- \delta} ^{1} \frac{1}{x^{\sigma +1 } }\, dx \le \frac{-x^{\sigma} }{\sigma} \Big|_0^{\delta} + \Big| _{1 - \delta }^{1 } \rightarrow 0 $$ as $\delta \rightarrow 0$. The integral also limits to $0$ as $m \rightarrow \infty$. Hence, we have equality for finite range.
EDIT: Proof 2(Using DCT)
Let $h(x) = \sum \frac{2 n\pi x}{ n} $, which is convergent to $\pi ( [x] -x + \frac{1}{2} )$. We apply Dominated Convergence Theorem. We consider the series, $s_m(x) = \sum_1^m \frac{2n \pi x}{nx^{x+1} }$. So for any finite interval $[0 , \lambda] $, we have $$ |s_m(x) | \le M \frac{1}{x^{s+1}} $$ Further, we have, from noting that
\begin{align*} \int_0^{\lambda} \frac{1}{x^{s+1}} \,ds &= \frac{-1}{s x^s} \Big|_1^{\lambda} + \pi \int_0^1 \frac{\frac{1}{2}- x }{x^{s+1}} \\ &= C_1 + C_2 x^{-s} \Big|_0^1 + C_3 x^{-s+1} \Big|_0^1 < \infty \end{align*} as $-1 < \sigma < 0 $. Thus, we have a sequence of functions $s_m(x) \rightarrow s(x)$ such that it is dominated by an integrable function. By Dominated Convergence Theorem, we have $$ \int_0^{\lambda} \sum_1^\infty \frac{ \sin 2 n \pi x }{n \pi x^{s+1}} \, dx = \sum_1^\infty \frac{1}{n \pi }\int_0^{\lambda} \frac{\sin 2 n \pi x }{x^{s+1} } \, dx $$