Let the series $\displaystyle\sum_{n=1}^\infty a_n$ with $a_n=\cos(\pi \sqrt{n^2+n+1})$. I read that this series is convergent. I see that the series is divergent by the nth term divergence test since $a_n$ does not go to zero as $n$ goes to infinity. I don't see how to show that this series converge, thank you for your help!
Asked
Active
Viewed 157 times
4
-
1Note that $n$ is an integer. How does the argument of $\cos$ behave asymptotically as $n \to \infty$? – nukeguy Feb 22 '16 at 19:06
-
1A better question for the OP: where did you read that this series is convergent? Could you provide a screenshot or a reference? – nukeguy Feb 22 '16 at 19:09
-
1What is your definition of convergence? For $n$ large the terms flip between $-1$ and $1$ so the series might be Césaro summable. – Étienne Bézout Feb 22 '16 at 19:11
-
Cesaro summability seems to be very likely – tired Feb 22 '16 at 19:13
-
@nukeguy It is written in french : $a_n=\cos (n\pi +\pi/2+3\pi/8n+ O(1/n^2))=(-1)^{n+1}3\pi/8n+O(1/n^2)$ – palio Feb 22 '16 at 19:19
-
1Where did you get the $\sqrt{n^2+n+1}$ from? – nukeguy Feb 22 '16 at 19:23
-
@nukeguy from a document of a french university. you can trust me I copied it exactly as it is written. – palio Feb 22 '16 at 19:25
-
1@tired I checked with a small script. It appears to convegre to $\approx 0.4$. – Étienne Bézout Feb 22 '16 at 19:26
1 Answers
8
Note that $$ \sqrt{n^2+n+1}=n\sqrt{1+\frac{1}{n}+\frac{1}{n^2}}=n\left(1+\frac{1}{2n}+\frac{1}{2n^2}-\frac{1}{8n^2}+O(n^{-3})\right)\\=n+\frac{1}{2}+\frac{3}{8n}+O(n^{-2}), $$ so $$ \cos(\pi\sqrt{n^2+n+1})=\cos(\pi n + \frac{1}{2}\pi+\frac{3\pi}{8n}+O(n^{-2}))\\=(-1)^{n+1}\sin\left(\frac{3\pi}{8n}+O(n^{-2})\right) = (-1)^{n+1}\frac{3\pi}{8n}+O(n^{-2}). $$ The leading-order term, $(-1)^{n+1}\frac{3\pi}{8n}$, is an alternating series whose terms decrease in absolute value with a limit of zero, so it is (conditionally) convergent. The remainder term is absolutely convergent, since it is $O(n^{-2})$. Therefore, the series with the combined terms converges.
mjqxxxx
- 41,358
-
2Nice (+1) beat me by a minute! It is fascinating how the subleading term enforces convergence due to the periodicity of sine. – tired Feb 22 '16 at 19:37
-
A series whose terms are asymptotic to those of a convergent alternating series does not always converge; e.g. consider what happens if we add 1/(n ln n) to the terms of the alternating harmonic series. The answer has been edited to repair this gap and then the editor gave +1 vote. – Oscar Lanzi Feb 24 '16 at 23:16
-
If your answer is independent. go ahead and submit it anyway. I do. – marty cohen Feb 24 '16 at 23:50
-
@OscarLanzi: Thank you, you're right that the size of the remainder term is also relevant. – mjqxxxx Feb 24 '16 at 23:51
-
@mjqxxxx: You're welcome. When using adymptotic analysis to prove that a series converges, calculate with sufficient accuracy so that the remainder-term series converges absolutely. Then you are never wrong. – Oscar Lanzi Feb 25 '16 at 00:15