$\lim_{n\rightarrow \infty} \ \ \ n\sqrt{1-\frac{1}{n}-\frac{1}{n^2}} +n\alpha + \beta=0$, find values of $\alpha,\beta$ and compute $$8(\alpha+\beta)$$
$$\lim_{n\rightarrow \infty}n\sqrt{1-\frac{1}{n}-\frac{1}{n^2}} +n\alpha+\beta=0$$
And since $n \rightarrow \infty$, the $\frac{1}{n^t}, (t=1,2..)$ terms will get cancelled so:
$n+n\alpha=0$ should be 0 for the limit to be defined
$$\implies \alpha=-1$$
And since the entire limit is $0$, and only $\beta$ is left so:
$\beta=0$
$$8(\alpha+\beta)=-8$$
The answer given in my textbook is $-4$. Please help me out with the mistake.
The expression $\sqrt{1+x}$ can be written as the following series expansion
$$\sqrt{1+x} = 1 + \frac{x}{2} - \frac{x^2}{8} + \ ... \tag{1}$$
when $|x| < 1$.
Applying this to your limit with $x := - 1/n - 1/n^2, \ $ gives
$$\lim_{n \to \infty}n\sqrt{1-\frac{1}{n}-\frac{1}{n^2}} + \alpha n + \beta \tag{2}$$
$$= \lim_{n \to \infty} n\left(1 + \frac{(-1/n - 1/n^2)}{2} - \ ...\right) + \alpha n + \beta \tag{3}$$
$$= \lim_{n \to \infty} n - \frac{1}{2} + \ ... \ + \alpha n + \beta. \tag{4}$$
For this limit to equal $0$, we need both the terms in $n$ and the constant terms to cancel.
Thus, it's clear that
$$\alpha = -1 \ \text{ and } \ \beta = \frac{1}{2} \tag{5}$$
Hence,
$$8(\alpha + \beta) = 8\left(-1 + \frac{1}{2}\right) = -4 \tag{6}$$
Keep in mind that when writing out the expansion in the limit, we neglected any terms of size $1/n^2$ or smaller, as they approach zero even when multiplied by $n$.