399 views
0 votes
0 votes

The answer given is 1.5 (they are using L'Hospital Rule)

But mine is 1 [ (e^x-1)/x=1   And Log(1+x)/x = 1]

Both looks but the answer is different please verify which one is correct. ASAP

1 Answer

1 votes
1 votes
Put $x = 0$ to get $\dfrac{0\cdot e^0 - log(1+0)}{0^2}$ which is a $\frac00$ form, so L'Hôpital's (pronounced Lopital) rule can be applied.

$$\begin{align*}
&\lim\limits_{x \to 0} \dfrac{xe^x - \log(1+x)}{x^2} \\[1.5em]
=& \lim_{x \to 0} \frac{\frac{d}{dx}(xe^x - \log(1+x))}{\frac{d}{dx}x^2} & \{ \text{L'Hôpital's rule} \\[1.5em]
=& \lim_{x \to 0} \frac{(e^x + xe^x) - \frac{1}{1+x}}{2x}
\end{align*}$$
 

Put $x=0$ to get $\dfrac{(e^0+0\cdot e^0) - \frac1{1+0}}{2\cdot 0}$ which is again of $\frac00$ form, so we need to apply L'Hôpital's rule again.

$$\begin{align*}
=& \lim_{x \to 0} \frac{\frac{d}{dx} \left((e^x + xe^x) - \frac{1}{1+x}\right)}{\frac{d}{dx}(2x)} & \{ \text{L'Hôpital's rule} \\[1.5em]
=& \lim_{x \to 0} \frac{\Bigl(e^x+(e^x+xe^x)\Bigr) - \left(-1\cdot \frac1{(1+x)^2}\right)}{2}\\
\end{align*}$$

 

Put $x=0$ to get $\dfrac{(e^0+(e^0+0\cdot e^0)) + \frac1{(1+0)^2}}{2}$ which is $\frac{(1+(1)) + 1}{2} = \frac32 = 1.50$ (two decimal places)

 

Edit: There's an important lesson in the comments, so make sure you read that.

No related questions found