This is a follow up question on this question.
For $0<a,b<1$, evaluate $$\lim\limits_{n \to \infty} n \left( c(n)\log_2\frac{c(n)}{0.5} +(1- c(n))\log_2\frac{1-c(n)}{0.5}\right),$$ where $c(n)=\frac{0.5 a(\sqrt{n}-1)}{a(\sqrt{n}-1)+b}$.
I was thinking of using the Taylor expansion of $\ln(1-x)$ but it did not give me a any bounds.
Write $c=\frac{1+x}{2}$ so $x=\frac{b}{a\sqrt{n}}+o(\frac{1}{\sqrt{n}})$ and $$c\ln (2c)+(1-c)\ln (2(1-c))\approx\frac{1}{2}((1+x)(x-\tfrac{1}{2}x^2)+(1-x)(-x-\tfrac{1}{2}x^2))=\frac{1}{2}x^2+o(x^2).$$Hence you want $$\lim_{x\to 0^+}n\frac{1}{\ln 2}\frac{1}{2}x^2=\lim_{n\to\infty}\frac{n}{2\ln 2}\frac{b^2}{a^2n}=\frac{b^2}{a^2\ln 4}.$$