3

$$\lim_{x \to 0} \frac{e^{\tan x} - e^x + \ln(\sec x + \tan x) -x }{\tan x - x}$$

I tried to solve this using L'Hopital rule but the resulting differential got too messy

$$=\lim_{x \to 0} \frac{e^{\tan x}\sec^2x - e^x + \sec x - 1 }{\tan^2x}$$ $$=\lim_{x \to 0} \frac{e^{\tan x}(\sec^4x+2\sec^2x\tan x) - e^x + \sec x\tan x }{2\tan x \sec^2x}$$

What should I do from here? Differentiate again or use a different strategy?

Aniruddha Deb
  • 4,345
  • 11
  • 30

4 Answers4

3

You're almost there - split the function into a $\frac 0 0$ and a finite form and differentiate just the $\frac00$ form.

$$=\lim_{x \to 0} \frac{e^{\tan x}(\sec^4x) - e^x}{2\tan x \sec^2x} + \frac{2\sec^2x+\sec x }{2 \sec^2x}$$ $$=\lim_{x \to 0} \frac{e^{\tan x}(\sec^6x+4\sec^3x\tan x) - e^x}{2(\sec^4x+2\sec^2x\tan^2x) } + \frac32$$ $$=\lim_{x \to 0} \frac{1(1+0)-1 }{2(1+0) } + \frac32$$ $$=\frac 32$$

Aniruddha Deb
  • 4,345
  • 11
  • 30
2

Let the limit be $L$. $$L=\lim_{x\to 0}\frac{e^{\tan x}-e^x}{\tan x-x} +\lim_{x\to 0}\frac{\ln(\sec x+\tan x)-x}{\tan x-x}$$ For the first limit, we can use $\lim_{t\to 0}\dfrac{e^t-1}{t}=1$ with $t=\tan x-x$: $$\lim_{x\to 0}\frac{e^{\tan x}-e^x}{\tan x-x}=\lim_{x\to 0}e^x \lim_{x\to 0}\frac{e^{\tan x-x}-1}{\tan x-x}=1\cdot 1=1 $$ For the second limit, apply L'Hospital's rule once: $$\lim_{x\to 0}\frac{\ln(\sec x+\tan x)-x}{\tan x-x}=\lim_{x\to 0}\frac{\sec x -1}{\sec^2 x-1}=\lim_{x\to 0}\frac{1}{\sec x +1}=\frac 12 $$ Hence, $L=1+1/2=3/2$.

bjorn93
  • 6,787
0

Still using L-Hospilal's Rule:

$$L=\lim_{x \to 0} \left(\frac{e^{\tan x}-e^x}{\tan x-x}+ \frac{\ln(\sec x- \tan x)-x}{\tan x-x}\right) =\lim_{x \to 0} \left(e^x\frac{e^{\tan x-x}-1}{\tan x-x}+ \frac{\ln(\sec x- \tan x)-x}{\tan x-x}\right)$$ $$L= \lim_{z \to 0} \left(\frac{e^z-1}{z}\right)+\lim_{x \to 0}\left(\frac{\sec x-1}{\sec^2 x-1}\right)=1+\frac{1}{2}=\frac{3}{2}.$$ We have standard limit for the first and applied L-Hospital for the second part.

Z Ahmed
  • 43,235
0

This can also be accomplished with power series. First, the denominator because it's easier: \begin{multline} \tan(x) - x =\left[x + \frac{x^3}{3} + O(x^4)\right] -x = \frac{x^3}{3} + O(x^4). \end{multline} Thus, we need to expand the numerator out to third order to determine the limit: \begin{multline} e^{\tan{x}}-e^x = 1+\tan(x)+\frac{\tan^2(x)}{2}+\frac{\tan^3(x)}{6} + O(x^4) - \left[1+x+\frac{x^2}{2}+\frac{x^3}{6} + O(x^4)\right] \\ = 1+x + \frac{x^3}{3}+\frac{x^2}{2}+\frac{x^3}{6} - \left[1+x+\frac{x^2}{2}+\frac{x^3}{6} \right] + O(x^4)= \frac{x^3}{3} + O(x^4) \end{multline} \begin{multline} \ln[\tan(x)+\sec(x)] -x =\int\left[\sec(x) - 1\right]dx = \int\left[\frac{x^2}{2} + O(x^4)\right]dx = \frac{x^3}{6}+O(x^4) \end{multline}

So we have \begin{multline} \lim_{x\rightarrow 0} \frac{e^{\tan{x}}-e^x+\ln[\tan(x)+\sec(x)] -x}{ \tan(x) - x} \\ = \lim_{x\rightarrow 0}\frac{\frac{x^3}{3} + O(x^4) +\frac{x^3}{6} + O(x^4)}{\frac{x^3}{3} + O(x^4)} = \lim_{x\rightarrow 0}\frac{\frac{3}{2} + O(x)}{1+O(x)} = \frac{3}{2} \end{multline}

The fact we had to expand to third order also means we needed three applications of L'Hospital's rule to get rid of the indeterminate form. Applying it once more to the expression you found gives \begin{multline} \lim_{x \to 0} \frac{e^{\tan(x)}\left[\sec^4(x)+2\sec^2(x)\tan^2(x)\right] - e^x + \sec x\tan x }{2\tan x \sec^2x} \\ = \lim_{x \to 0} \frac{e^{\tan(x)}\sec^4(x)\left[2+2\sin^2(x)+\tan^2(x)+5\tan(x)\right]- e^x + \sec(x)\left[1+2\tan^2(x)\right] }{2\sec^2(x)\left[1+3\tan(x)^2\right]} \end{multline} And sure enough, the numerator and denominator are no longer zero at $x=0$, so the limit is easily evaluated as $3/2$.

eyeballfrog
  • 22,485