Evaluate $ab$ given the value of a limit If $$\lim_{x\to 0} \frac{ae^x -b}{x} = 2$$ then find $ab$.
I have tried everything that atleast I know about limits or algebra but I got not a single idea how to do this.
Please help

We have
$$e^x = \sum_{k = 0}^\infty\frac{x^k}{k!} = 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+...$$
by Taylor Series expansion of $e^x$, so
$$\lim_{x\to 0} \frac{ae^x -b}{x} = \lim_{x\to 0}\frac{a(1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+...)-b}{x} = \lim_{x\to 0}\bigg(\frac{a}{x}+a+\frac{x}{2!}+...-\frac{b}{x}\bigg) = 2$$
Now, notice that as $x \to 0$, the terms $\frac{x}{2!}$, $\frac{x^2}{3!},...$ will all become $0$ and we are left with:
$$\lim_{x\to 0}\bigg(\frac{a-b}{x}+a\bigg) = 2$$
This is possible only when we have $a = b$ so that the limit $\lim_{x\to 0}\frac{a-b}{x}$ does not $\to \infty$ (notice that we have a real expression on RHS) and equal to $0$; and $a = 2$ so that the equation is satisfied. Therefore, $a = b = 2$ and $ab = 4$.
