So i have a limit: $$\lim_{x\rightarrow 0} \frac{e^{ax}+b\ln(2-x)-1}{x-\sin{x}}$$
And i need to determine values for $a,b$ so that the limit will exist, and calculate the limit then. There is also a $hint$, that i need to use Taylor series for this, so it might be helpful, but i don't know if i should look for the whole function or just a part of fraction. Any help would really be appreciated. Thank you in advance.
$$\lim_{x\rightarrow 0} {x-\sin{x}} = 0$$
In order to make the limit exist, the numerator of fraction $\frac{e^{ax}+b\ln(2-x)-1}{x-\sin{x}}$ must be zero so that the limit will become undefined form.
$$\lim_{x\rightarrow 0} e^{ax}+b\ln(2-x)-1 = 1+ b \ln(2) -1=0$$ Then use L'hosptial rule, $$\lim_{x\rightarrow 0} \frac{e^{ax}-1}{x-\sin{x}}=\lim_{x\rightarrow 0} \frac{ae^{ax}}{1-\cos{x}}$$
To make the limit exist, in the same way, $\lim_{x \to 0} ae^{ax} = a = 0$
After L'hosptial twice, the answer should be $\lim_{x\rightarrow 0} \frac{e^{ax}+b\ln(2-x)-1}{x-\sin{x}} = 0$ and $a=b= 0$