I have the following series:
$$\sum_{n=1}^{\infty}\left[{\frac{\sin{\frac 1 n}+\cos{\left({n\pi}\right)}}{n}}\right]$$
My textbook asks to determine the simple and absolute convergence of the series. Finding the simple (sorry, not sure what's the English term for it) convergence is easy enough:
$$\sum_{n=1}^{\infty}\left[{\frac{\sin{\frac 1 n}+\cos{\left({n\pi}\right)}}{n}}\right]=\sum_{n=1}^{\infty}\left[{\frac{\sin{\frac 1 n}}{n}}\right]+\sum_{n=1}^{\infty}\left[{\frac{\cos(n\pi)}{n}}\right]$$
The first series is positive and is asymptotic to $\frac 1 {n^2}$. The second one converges for the Leibniz rule.
My textbook though asks to check for the absolute convergence and it does the following passages:
$$\left|{\frac{\sin{\frac 1 n}+\cos{\left({n\pi}\right))}}{n}}\right|=\left|{(-1)^n\frac{1+(-1)^n\sin{\frac 1 n}}{n}}\right|=\frac{1+(-1)^n\sin{\frac 1 n}}{n}\sim\frac 1 n$$
I'm completely clueless about these passages. I am aware that both $\sin{\frac 1 x}$ oscillate between $-1$ and $1$ but I'm not sure if the textbook is grouping $(-1)$ and what rule it is following to do so. Any hints?
Because $\cos(n\pi)=(-1)^n$ and $1=(-1)^{n}(-1)^n$, we have $$ \left|{\frac{\sin{\frac 1 n}+(-1)^n}{n}}\right| =\left|{(-1)^n\frac{(-1)^n\sin{\frac 1 n}+1}{n}}\right|=\frac{1+(-1)^n\sin{\frac 1 n}}{n}\sim\frac1n+(-1)^n\frac1{n^2}\sim\frac 1 n $$ But the harmonic series is divergent.