0

Given the function $\frac{(x^2-2)\sin(x)+2x\cos(x)}{x^3}$, I would like to find the limit as $x\to0$. The following is my approach:

$$\lim_{x \to 0} \frac{(x^2-2)\sin(x)+2x\cos(x)}{x^3}\\ \lim_{x \to 0} \frac{x^2\sin(x)}{x^3}-\frac{2\sin(x)}{x^3}+\frac{2x\cos x}{x^3}\\ \lim_{x \to 0} \frac{x^2}{x^2}\frac{\sin(x)}{x}-\frac{2}{x^2}\frac{\sin(x)}{x}+\frac{2}{x^2}\frac{\cos x}{1}$$

Hence, I theoretically obtain DNE as my answer. However, when I plotted the function, the limit is $\frac{1}{3}$. I would like to get some advice on how should I get around this problem?

M.A.N
  • 506

3 Answers3

3

After comments, you can't use l'Hôpital or Taylor series but you can use the well-known limit: $$\lim_{x \to 0} \frac{\sin x}{x} = 1 \tag{$\star$}$$ Rewrite: $$\frac{(x^2-2)\sin x+2x\cos x}{x^3} = \color{blue}{\frac{x^2}{x^2}\frac{\sin x}{x}}+2\color{red}{\frac{x\cos x-\sin x}{x^3}}$$ Taking the limit gives $1$ for the blue part and for the red part you have: $$\lim_{x \to 0} \frac{x\cos x-\sin x}{x^3} = -\frac{1}{3}$$ which is shown in this answer using only $(\star)$; together: $$\lim_{x \to 0}\frac{(x^2-2)\sin x+2x\cos x}{x^3} =\lim_{x \to 0} \left( \color{blue}{\frac{x^2}{x^2}\frac{\sin x}{x}}+2\color{red}{\frac{x\cos x-\sin x}{x^3}} \right) = \color{blue}{1}+2\left(\color{red}{-\tfrac{1}{3}}\right) = \tfrac{1}{3}$$

StackTD
  • 27,903
  • 34
  • 63
  • Thanks. Will read through the red part carefully. :) – M.A.N Apr 13 '17 at 13:16
  • @M.A.N You're welcome. Rewriting a bit differently (see also Daniel Fischer♦'s comment) can lead to other well-known limits, but it will always boil down to using the $(\star)$-one to derive the other ones and then properly combining them. – StackTD Apr 13 '17 at 13:18
2

You can separate first term and keep remaining terms as same this yields you a function as $1-\left(\lim_{x\to 0}\frac {2\sin(x)+2x\cos(x)}{x^3}\right)$. Now use l'Hospital's rule and the fact that: $$\lim_{x\to 0}\frac {\sin(x)}{x}=1\,.$$

2

Use Τaylor's expansion at order $3$: the numerator is $$(x^2-2)\Bigl(x-\frac{x^3}6+o\bigl(x^3\bigr)\Bigr)+2x\Bigl(1-\frac{x^2}2+o\bigl(x^3\bigr)\Bigr)=\frac{x^3}3+o\bigl(x^3\bigr)\sim_0\frac{x^3}3,$$ so $\qquad\dfrac{(x^2-2)\sin(x)+2x\cos(x)}{x^3}\sim_0\dfrac{x^3}{3x^3}=\dfrac 13.$

Bernard
  • 175,478