Math 152, Section 55 (Vipul Naik)
Math 152, Section 55 (Vipul Naik)
Math 152, Section 55 (Vipul Naik)
Executive summary
Words ...
(1) The following three important limits form the foundation of trigonometric limits: limx→0 (sin x)/x =
1, limx→0 (tan x)/x = 1, and limx→0 (1 − cos x)/x2 = 1/2.
(2) The derivative of sin is cos, the derivative of cos is − sin. The derivative of tan is sec2 , the derivative
of cot is − csc2 , the derivative of sec is sec · tan, and the derivative of csc is − csc · cot.
(3) The second derivative of any function of the form x 7→ a sin x+b cos x is the negative of that function,
and the fourth derivative is the original function.
Actions ...
(1) Substitution is one trick that we use for trigonometric limits: we translate limx→c to limh→0 where
x = c + h.
(2) Multiplicative splitting, chaining, and stripping are some further tricks that we often use.
(3) For derivatives of functions that involve composites of trigonometric and polynomial functions, we
have to use the chain rule as well as rules for sums, differences, products, and quotients when
simplifying expressions.
1.1. The sinc function. There are many other minor matters related to trigonometric functions that we
need to address, but for now, let’s get back and focus on one very important function – the so-called sinc
function. This function is defined as (sin x)/x for x 6= 0.
Now, the function isn’t defined at x = 0, and it isn’t immediately clear what the limit is. Because when
we just try to substitute the value at 0, we get a 0/0 form. So it seems we need some angel to come and
help us out.
Anyway, here’s what the angel tells us:
sin x
lim =1
x→0 x
1.2. Demystifying our angel. For an acute angle θ, sin θ is the vertical height (the y-coordinate of the
point we get after rotating counter-clockwise by an angle of θ from (1, 0) along the unit circle, while θ is the
arc length. You can see, from this picture, that the arc length θ is greater than sin θ. That’s because sin θ
falls straight down while the arc moves both horizontally and vertically. However, and this is the crucial
1
point – as θ gets smaller and smaller, you see that the arc length and the vertical line seem to get closer and
closer. And this suggests that, perhaps, as θ tends to zero, sin θ/θ tends to 1.
Now, this is hardly a proof, because two numbers getting really close does not necessarily mean that their
ratio tends to 1. But it is suggestive. So, with this suggestivity, let’s believe that the limit, as x tends to 0,
of the fraction sin x/x is 1.
1.3. The substitution idea. We know that limx→0 (sin x)/x = 1. More generally, it is true that if f is
continuous at c and f (c) = 0, then as x → c, we have:
sin(f (x))
lim =1
x→c f (x)
For instance:
sin(x2 )
lim =1
x→0 x2
Similarly:
sin(2x)
lim =1
x→0 2x
and:
sin(x/2)
lim =1
x→0 x/2
On the other hand, if we consider the limit:
sin(x + (π/3))
lim
x→0 x + (π/3)
This limit is not 1 – the inner expression does not go to 0 as x goes to 0.
sin(sin x)
lim
x→0 x
This is a special case of a more general limit computation that you have seen in Question 2 of the October
4 quiz. Let’s first do this specific example, and then return to how it relates to that question.
For the specific example, we note that the limit in question involves a composite function. For such
problems, we typically chain the limit by multiplying and dividing by the inner function. We get:
sin(sin x) sin x
lim
x→0 sin x x
We now use that the limit of products is the product of limits, and obtain:
sin(sin x) sin x
lim lim
x→0 sin x x→0 x
The second limit is clearly 1. The first limit is also 1, because it is of the form [sin(f (x))]/f (x) where
f (x) → 0.
Now, the quiz question was that if limx→0 g(x)/x = A 6= 0 with g continuous, then what is limx→0 g(g(x))/x?
The same chaining idea applies:
sin(mx)
lim =m
x→0 x
Here, we chain via mx.
sin(mxn )
lim =m
x→0 xn
where n is positive.
1.6. The (1 − cos x)/x2 limit. We now show another fundamentally important trigonometric limit:
1 − cos x 1
lim 2
=
x→0 x 2
We first show how to obtain this limit by multiplying both numerator and denominator by 1 + cos x. We
get:
1 − cos2 x
lim
x→0 x2 (1 + cos x)
1 1 − cos2 x
lim
2 x→0 x2
We now use 1 − cos2 x = sin2 x and get:
1 sin2 x
lim
2 x→0 x2
This becomes:
2
1 sin x
lim
2 x→0 x
The limit of the square is the square of the limit (basically, a special case of the fact that the limit of the
product is the product of the limit, so the inner limit is 1, and we get a 1/2.
We can also obtain this limit using a double angle formula as described below:
The idea here is to use the identity we saw last time, which was that cos 2A = 1 − 2 sin2 A. So 1 − cos 2A =
2 sin2 A. Here A = x/2, so we get:
2 sin2 (x/2)
lim
x→0 x2
We can pull the 2 out, and we get sin2 (x/2)/x2 inside. Now, the thing with calculating these limits is
that we only know how to calculate the limit of the form sin θ/θ, and here, θ = x/2. So, we rewrite the
denominator as 4(x/2)2 , and we pull out the 4, so we get:
2
1 sin(x/2)
lim
2 x→0 (x/2)
Now, using the limit of product equals product of limits meme, we get:
1 sin(x/2) sin(x/2)
lim lim
2 x→0 (x/2) x→0 (x/2)
Now, in both cases, we have x → 0, so x/2 → 0, so both limits are 1, and hence, our final answer is 1/2.
3
The tan x/x limit. Let’s now calculate the limit:
tan x
lim
x→0 x
What we do is to write tan x = sin x/ cos x:
sin x
lim
x→0 x cos x
We split this as a product:
1 sin x
lim lim
x→0 cos x x→0 x
Both limits are 1, so the overall limit is 1.
1.7. Corollaries. We can now state some easy corollaries of the above results:
1 − cos(mx) m2
lim =
x→0 x2 2
We obtain by chaining via (mx)2 .
Similarly:
tan(mx)
lim =m
x→0 x
1.8. Substitution that involves translation. There is a substitution of variables trick that we can use
for computing limits. When we were computing limits for rational functions, we never really needed that
trick, primarily because we knew how to handle rational functions anyway. But this trick comes in useful
for trigonometric functions.
The trick is:
sin(tan(sin x))
lim
x→0 x
This is a composite of three functions, so if we want to chain it, we will chain it as follows:
sin(sin(tan(sin(tan(tan x)))))
lim
x→0 x
However, writing that thing out takes loads of time. Wouldn’t it be nice if we could just strip off those
sins and tans? In fact, we can do that.
The key stripping rule is this: in a multiplicative situation (i.e. there is no addition or subtraction
happening), if we see something like sin(f (x)) or tan(f (x)), and f (x) → 0 in the relevant limit, then we can
strip off the sin or tan. In this sense, both sin and tan are strippable functions. A function g is strippable if
limx→0 g(x)/x = 1.
The reason we can strip off the sin from sin(f (x)) is that we can multiply and divide by f (x), just as we
did in the above examples.
Stripping can be viewed as a special case of the l’Hopital rule as well, but it’s a much quicker shortcut in
the cases where it works.
Thus, in the above examples, we could just have stripped off the sins and tans all the way through.
Here’s another example:
sin(2 tan(3x))
lim
x→0 x
As x → 0, 3x → 0, so 2 tan 3x → 0. Thus, we can strip off the outer sin. We can then strip off the inner
tan as well, since its input 3x goes to 0. We are thus left with:
2(3x)
lim
x→0 x
5
Cancel the x and get a 6. We could also do this problem by chaining or the l’Hopital rule, but stripping
is quicker and perhaps more intuitive.
Here’s yet another example:
x sin(sin x)
lim
x→0 x2
We cancel a factor of x and get:
sin(sin x)
lim
x→0 x
Two quick sin strips and we get x/x, which becomes 1.
Yet another example:
sin(ax) tan(bx)
lim
x→0 x
where a and b are constants. Since this is a multiplicative situation, and ax → 0 and bx → 0, we can strip
the sin and tan, and get:
(ax)(bx)
lim
x→0 x
This limit becomes 0, because there is a x2 in the numerator and a x in the denominator, and cancellation
of one factor still leaves a x in the numerator.
Here is yet another example:
sin2 (ax)
lim
x→0 sin2 (bx)
where a, b are nonzero constants. We can pull the square out of the whole expression, strip the sins in
both numerator and denominator, and end up with a2 /b2 .
When you can’t strip. The kind of situations where we are not allowed to strip are where the expression
sin(f (x)) is not just multiplied but is being added to or subtracted from something else. For instance, in
order to calculate the limit:
x − sin x
lim
x→0 x3
stripping off the sin would be a sin. The intuition behind what is wrong with this will have to wait till
next quarter.
What about 1 − cos(f (x))? If we see something like 1 − cos(f (x)) with f (x) → 0 in the limit, then we
know that it “looks like” f (x)2 /2 and we can replace it by f (x)2 /2. This can be thought of as a sophisticated
version of stripping. For instance:
(1 − cos(5x2 ))
lim
x→0 x4
Here f (x) = 5x2 , so the numerator is like (5x2 )2 /2, and the limit just becomes 25/2.
6
3. Differentiating the trigonometric functions
3.1. Differentiation formulas. The differentiation formulas are as follows:
sin0 = cos
cos0 = − sin
tan0 = sec2
sec0 = sec · tan
0
cot = − csc2
csc0 = − csc · cot
We can obtain all these just from the differentiation formulas for sin and cos, using the quotient rule:
d
[sin x] = cos x
dx
and:
d
[cos x] = sin x
dx
In fact, the differentiation formula for cos can be obtained from that of sin using the chain rule as follows:
d d
[cos x] = [sin((π/2) − x)] = − cos((π/2) − x) = − sin x
dx dx
So, in order to obtain all these formulas, all we need to do is obtain the differentiation formula for sin.
The derivation of this formula is given below. Essentially, it uses the fact that limh→0 (sin h)/h = 1:
sin(x + h) − sin x
lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
cos h − 1 sin h
= sin x lim + cos x lim
h→0 h h→0 h
= sin x · 0 + cos x · 1
= cos x
The fact that (cos h − 1)/h → 0 can be deduced by multipled by 1 + cos h and simplifying. Basically,
cos h − 1 goes to 0 at the rate of h2 , and the denominator is only h.
3.3. We’ve done it! What I’ve given you is the complete toolkit with which you can calcuate any derivative
that involves a mix of trigonometric, polynomial, and rational functions. Let’s consider an example: sin(x2 ).
How do you think of this function? To evaluate this function at a particular value of x, what you first do is
calculate x2 , and then apply the sin function to that. So, you’re doing two operations in sequence, whereby,
you’re feeding the output of one operation as the input of the other. So what you’re doing is essentially
function composition.
Which brings us back to the chain rule. Remember the way the chain rule works? We set v = x2 , first
differentiate the function with respect to v, and then multiply by dv/dx. So, we get that the derivative is
(cos(x2 )) · 2x.
For composites of trigonometric functions and polynomial, the chain rule is indispensable – if you don’t
want to use the chain rule, there’s no way of calculating the derivative without actually calculating it using
the limit definition. In the case of polynomials and rational functions, the chain rule was a convenience. Now
it’s a necessity.
3.4. Periodicity of the sequence of derivative functions. The derivative of sin is cos. The derivative
of cos is − sin. The derivative of − sin is − cos. The derivative of − cos is sin.
In other words, the sin function equals its fourth derivative. If we consider the sequence of derivative
functions of sin, this sequence has a period of four. (We’ll formally define sequence and period of a sequence
in 153, but you know what this means). Thus, for instance, the 101th derivative of sin is the same as the
first derivative (because the remainder on dividing 101 by 4 is 1) and is thus cos.
[Aside: This is significant in many ways. For instance, when we study antidifferentiation (indefinite
integration) we’ll notice that the above basically tells us that we can keep taking antiderivatives of sin or
cos and still remain sin or cos (up to a plus or minus). This is significant when, for instance, we study
integration by parts. There, we will choose sin or cos as the part to repeatedly integrate precisely because
repeated integration does not increase the complexity of the function.]
3.5. Second derivative same with a minus sign. Also note that for the sin function, the second de-
rivative is the negative of the function. This is also true for the cos function. It is also true of all linear
combinations of sin and cos, i.e., all functions of the form x 7→ a sin x + b cos x where a, b ∈ R.1 For any
function f of this form, f 00 (x) = −f (x).
What’s so special about this fact? This is the reason why trigonometric functions, specifically linear combi-
nations of sin and cos, arise in nature. What happens is that some basic physical/biological/chemical/ecological
law or constraint forces the solution function we have to satisfy the equation f 00 (x) = −ω 2 f (x) or something
1Formally, this is the vector space of functions generated by sin and cos.
8
like that. Now, functions of the above form (with appropriate scaling) pop up naturally. More on this when
we study differential equations.