How can I find those $a$ and $b$ in $\displaystyle \lim_{x \to 0} \frac{e^{-2x} -\frac{1+ax}{1+bx}}{x^2}=0$ ?
[my attempt] Since the denominator is $x^2$, it will be $0$. And $e^{-2x}$ is 1 so I get $1-\frac{1+ax}{1+bx} = 0$. I get $a=b$ but Im not sure this is right. Am I taking a wrong way?
I think, your limit is equal to $0$ for all reals $a$ and $b$ because $$\lim_{x\rightarrow+\infty}\frac{e^{-2x}}{x^2}=0$$ and $$\lim_{x\rightarrow+\infty}\frac{1+ax}{x^2(1+bx)}=0.$$ I think, much more interesting question with $x\rightarrow0.$
If so, since$$\left(e^{-2x}-\frac{1+ax}{1+bx}\right)_{x=0}=0,$$ we need $$\left(e^{-2x}-\frac{1+ax}{1+bx}\right)'_{x=0}=0$$ or $$\left(-2e^{-2x}-\frac{a-b}{(1+bx)^2}\right)_{x=0}=0,$$ which gives $$a-b=-2.$$ Also, we need $$\left(-2e^{-2x}-\frac{a-b}{(1+bx)^2}\right)'_{x=0}=0$$ or $$\left(4e^{-2x}+\frac{2b(a-b)}{(1+bx)^3}\right)_{x=0}=0,$$ which gives $b=1$ and $a=-1.$