Question: I am trying to compute the following limit without L'Hôpital's rule : $$L=\lim\_{x\to 0}\frac{\ln(\tan(x)+1)-\sin(x)}{x\sin(x)}$$

I evaluated ths limit using L'Hôpital's and found $-\frac12$ as the answer. 

I eventually ended up to : 
$$L=\frac12\lim\_{x\to 0} 3\cos^2(x)\sin(x)-\frac12$$
I find L'hopital's to be very lengthy in this case.

Is there another way to do it ? I'm stuck 

Thanks for the help, 
T.D.

Answer: 
Why not to compose Taylor series from the beginning
$$\frac{\log(\tan(x)+1)-\sin(x)}{x\sin(x)}$$
knowing that is must be at least to $O(x^2)$ because of the denominator
$$\tan(x)+1=1+x+\frac{x^3}{3}+O\left(x^5\right)$$
$$\log(\tan(x)+1)=x-\frac{x^2}{2}+\frac{2 x^3}{3}-\frac{7 x^4}{12}+O\left(x^5\right)$$
$$\log(\tan(x)+1)-\sin(x)=-\frac{x^2}{2}+\frac{5 x^3}{6}-\frac{7 x^4}{12}+O\left(x^5\right)$$
$$\frac{\log(\tan(x)+1)-\sin(x)}{x\sin(x)}=\frac{-\frac{x^2}{2}+\frac{5 x^3}{6}-\frac{7 x^4}{12}+O\left(x^5\right) } {x^2-\frac{x^4}{6}+O\left(x^5\right) }$$
Now, long division
$$\frac{\log(\tan(x)+1)-\sin(x)}{x\sin(x)}=-\frac{1}{2}+\frac{5 x}{6}-\frac{2 x^2}{3}+O\left(x^3\right)$$ which shows the limit and how it is approached.

Moreover, this gives you a shorcut to compute the expression even quite far away from $x=0$. Try it for $x=\frac \pi {24}$ for which we know the exact values of the trigonometric functions (see [here](http://mathworld.wolfram.com/TrigonometryAnglesPi24.html))
,the exact value of the expression is $-0.4008$ while the above truncated series would give $-0.4023$.
Add and subtract $\tan x$ in numerator and then split the expression under limit as $$\frac{\log(1+\tan x) - \tan x} {\tan^2x}\cdot\frac{\tan^2x}{x^2}\cdot\frac{x}{\sin x} +\frac{\tan x - \sin x} {x\sin x} \tag{1}$$ Using L'Hospital's Rule once or via Taylor series one can show that $$\lim\_{t\to 0}\frac{\log(1+t)-t}{t^2}=-\frac{1}{2}$$ and putting $t=\tan x$ it is now clear that the first factor in first term in equation $(1)$ tends to $-1/2$ and other factors tend to $1$. Hence the first term in $(1)$ tends to $-1/2$.

The second term in $(1)$ can be rewritten as $$\frac{1-\cos x} {x\cos x} $$ which equals $$\frac{\sin^2x}{x^2}\cdot\frac{x}{\cos x(1+\cos x)} $$ and thus it tends to $0$. It should now be clear that the desired limit is $-1/2$.

---

L'Hospital's Rule should not be used blindly. Before applying the rule try to simplify the expression using limit laws and standard limits and also try to get expressions where the use of L'Hospital's Rule is simple and efficient. In general if applying L'Hospital's Rule leads to more complicated expressions then you are applying it the wrong way. Also don't use it more than necessary.