L'Hopital's rule and $\frac{\sin x}x$

Solution 1:

It is a correct application of l'Hôpital's rule, but using it to prove that the derivative of $\sin x$ is $\cos x$ is possibly circular logic, depending on your definition of $\sin x$.

If we did not know what the derivative of $\sin x$ was, but we did know the angle sum formula, here are some steps we could take to compute that derivative, starting from first principles, i.e. the definition of the derivative.

$$ (\sin x)'= \lim_{h\to 0}\dfrac{\sin(x+h)-\sin x}{h} = \lim_{h\to 0}\dfrac{\sin x\cos h+\cos x\sin h-\sin x}{h} \\ = \cos x\cdot\left(\lim_{h\to 0}\dfrac{\sin h}{h}\right)+ \sin x\cdot\left(\lim_{h\to 0}\dfrac{\cos h -1}{h}\right) $$

To complete the computation of the derivative of $\sin x$, we must first know the limit of $\sin h/h$ and $(\cos h-1)/h$. We can't use l'Hôpital at this point because to use l'Hôpital you need to know the derivative of $\sin x$ at $0$, which is the very thing we are trying to compute. Assuming what you're trying to prove is a logical error known as "begging the question". Mathematics is axiomatic, so that every result builds on previous results, and no arguments are circular.

But if we can confirm the derivative of $\sin x$ by some other means, for example by defining it in terms of its Taylor series or a differential equation, then we may use it in a l'Hôpital computation to derive $\lim \sin x/x$ without fear of being circular. While not logically incorrect, this would still be fairly redundant: if you know the derivative of $\sin x$ just observe that, by definition, $\lim_{h\to 0}\sin x/x$ is just the derivative at 0. Using the machinery of l'Hôpital is overkill to get an answer you already know.

However if you're in a situation where you don't care about logical foundations and rigor, you're not proving theorems from first principles about calculus of trigonometric functions, you just need to compute $\lim\sin x/x$ and want to allow all known formulas and techniques, feel free to use l'Hôpital. It is correct.

Solution 2:

I expand my comment to ziggurism's answer here.


Suppose that by a lot of hardwork, patience and ... (add more nice words if you like) I have obtained these three facts:

  1. $\cos x$ is continuous.
  2. $\dfrac{d}{dx}(\sin x) = \cos x$
  3. L'Hospital's Rule

and my next goal is establish the following fact: $$\lim_{x \to 0}\frac{\sin x}{x} = 1\tag{*}$$ Because of all that hardwork, patience and ... I know that my goal $(*)$ is an immediate consequence of just the fact $(2)$ alone stated above. Then why would I combine all the three facts mentioned above to achieve my goal? To borrow an idea from user "zhw.", wouldn't a person doing this would be considered silly?

More often than not, many students don't really understand what's going behind the scenes when we use the mantra of "differentiate and plug" championed by L'Hospital's Rule. The act of differentiation itself entails that we know certain limits (and rules of differentiation) and further most of the derivatives are continuous (so that plugging works after differentiation step).

If one is so fond of L'Hospital's Rule why not put that to a better use to solve complex problems (like this and this) instead of using it to obtain limits which are immediate consequences of differentiation formulas.

Solution 3:

My personal favorite definition of sine and cosine come from (I think) Apostol's book, where he says

  1. $\sin, \cos : \Bbb R \to [-1, 1]$
  2. $\sin, \cos$ are continuous
  3. $\cos(\pi/2) = 0$
  4. $\cos(a-b) = \cos(a) \cos (b) + \sin(a) \sin(b)$

...and perhaps there's a fourth one. From these, it's easy to show (pick $a = b = 0$) that $$ \cos(0) = 1 \\ $$ and then picking $a = b$, to get that $$ \sin^2(t) + \cos^2(t) = 1 $$ for all $t$,

and picking $a = -b$, to derive the double-angle formula for cosine, and from that, the half-angle formula, and similar ones for sine.

From these, you can establish that if there are functions that satisfy these rules, then we can compute their values on $S = \Bbb Q\pi$, the set of all rational multiples of $\pi$. It's not too hard to do that, either. And then, with somewhat greater effort, you can show that these restrictions to $S$ are continuous.

Now you have continuous functions on $S$, which is evidently dense in $\Bbb R$, and hence there are unique continuous extensions of these functions to $\Bbb R$.

Finally, the cosine and sine addition and subtraction rules can be used to show that on $S$ (and hence on $\Bbb R$ as well), $\sin x \approx x$ for $x$ small, whence the limit we all love turns out to be one.

I'm pretty sure the details are all in Apostol's calculus.

An alternative approach is to define arcsine and arccos via integrals, observe that they're increasing with nonzero derivatives, and therefore have differentiable inverses which we define to be sine and cosine.

Any one of these avoids using L'h's rule to evaluate the limit. Hence using it to evaluate the limit later is just fine.

Of course, both these approaches require that you have some topology under your belt before you start calculus, and/or that you're willing to postpone the definition of trig functions until after you've defined integration, so they're not typical. That doesn't, however, make them wrong.