Solve $\lim_{x \rightarrow 3} \frac{2x-e^{x-3}-5}{3-x}$ without using L'Hopital's rule

85 Views Asked by At

I did:

$$\lim_{x \rightarrow 3} \frac{2x-e^{x-3}-5}{3-x} = \frac{-e^{x-3}+(-5+2x)}{-(x-3)} = \frac{-(e^{x-3}-(-5+2x))}{-(x-3)} = \frac{-(e^{y}-(-5+2x))}{-(y)} = \frac{e^{y}-(-5+2x)}{y}$$

Since $\lim_{x \rightarrow 3} -5+2x = 1$ and so $\lim_{x \rightarrow 3} y = 0$

$$\lim_{x \rightarrow 3}\frac{e^{y}-(-5+2x)}{y} = \frac{e^{y}-1}{y} = 1 $$

But the right answer is -1. I can't see where I swapped the sign though. What did I do wrong?

3

There are 3 best solutions below

8
On BEST ANSWER

Let us set $x-3=y$.

Note that you cannot directly put $\lim\limits_{x \to 3}(-5+2x)=1$ here. This is like saying that since $\lim\limits_{x \to 0} x=0$, $$\lim_{x \to 0} \frac{x}{x}=\lim_{x \to 0} \frac{0}{x}=0$$ So, we can conclude; $$\lim_{x \to 3} \frac{2x-e^{x-3}-5}{3-x} \neq \lim_{y \to 0} \frac{e^y-1}{y}$$ Instead, as $-2x+5=-2x+6-1=-2y-1$, do $$\lim_{x \to 3} \frac{2x-e^{x-3}-5}{3-x} =\lim_{y \to 0} \frac{e^y-2y-1}{y}=\lim_{y \to 0}\frac{e^y-1}{y}-2=-1$$ For the future, I recommend that you try not to mix $x$ and $y$ up. It gets a bit confusing.

4
On

If you're allowed to use Taylor expansions:

$$e^{x-3}=1+(x-3)+\frac12(x-3)^2+\mathcal O((x-3)^3)$$

Thus, the limit reduces as follows:

$$\begin{align}\frac{2x-e^{x-3}-5}{3-x}&=\frac{(x-3)-\frac12(x-3)^2+\mathcal O((x-3)^3)}{-(x-3)}\\&=-1+\frac12(x-3)^2+\mathcal O((x-3)^2)\\&\to\boxed{-1}\end{align}$$

0
On

You can write the original expression as $$\frac{e^{x-3} - 1}{x-3} + \frac{6 - 2x}{x-3} = \frac{e^{x-3} - 1}{x-3} - 2.$$

To compute the limit observe $$\lim_{x \to 3}\frac{e^{x-3} - 1}{x-3} = \left. \frac{d}{dx} e^{x-3} \right|_{x=3} = \left. e^{x-3}\right|_{x=3} = 1.$$