A subtle limit question: $\lim _{n \to \infty}\sin(\pi\sqrt {n^2+0.5n+1})$

For large $n$,

$$\sqrt{n^2+\frac n2+1}=n\sqrt{1+\frac1{2n}+\frac1{n^2}}\approx n\left(1+\frac1{4n}\right)=n+\frac14.$$ to the first order.

Then the expression tends to $\pm\dfrac1{\sqrt2}$ depending on the parity of $n$ so that the limit cannot exist.


Doing almost what you did $$\sqrt{n^2+\frac{n}{2}+1}=n \sqrt{1+\frac{1}{2 n}+\frac{1}{n^2}}$$ Now, using Taylor expansion or generalized binomial theorem $$\sqrt{1+\frac{1}{2 n}+\frac{1}{n^2}}=1+\frac{1}{4 n}+O\left(\frac{1}{n^2}\right)$$ which makes $$\sin \left(\pi \sqrt{n^2+\frac{n}{2}+1}\right)\sim \sin(n\pi+\frac \pi 4)$$ from which you can conclude.


The situation is more delicate than you think. For example, $1+1/\sqrt n \to 1,$ yet $\sin(n\pi((1+1/\sqrt n))$ has no limit. In fact this sequence is dense in $[-1,1].$

Hint: $\sqrt {1+u} = 1 + u/2 + o(u)$ as $u\to 0.$