The Composite Function Theorem helps expand our ability to compute limits, particularly demonstrating the continuity of trigonometric functions over their domains.
composite function theorem
If f(x) is continuous at L and limx→ag(x)=L, then
limx→af(g(x))=f(limx→ag(x))=f(L).
This theorem allows us to demonstrate that the composition of functions is continuous if the inner function approaches a limit where the outer function is continuous.
Before we move on to the next example, recall that earlier, in the section on limit laws, we showed limx→0cosx=1=cos(0). Consequently, we know that f(x)=cosx is continuous at 0. In the next example we see how to combine this result with the composite function theorem.
Evaluate limx→π/2cos(x−π2).
The given function is a composite of cosx and x−π2. Since limx→π/2(x−π2)=0 and cosx is continuous at 0, we may apply the composite function theorem. Thus,
limx→π/2cos(x−π2)=cos(limx→π/2(x−π2))=cos(0)=1.
Evaluate limx→πsin(x−π).
f(x)=sinx is continuous at 0.
0
Watch the following video to see examples of solving limits of composite functions.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
The proof of the next theorem uses the composite function theorem and the continuity of f(x)=sinx and g(x)=cosx at the point 0 to demonstrate that trigonometric functions are continuous over their entire domains.
Proof
We begin by demonstrating that cosx is continuous at every real number. To do this, we must show that limx→acosx=cosa for all values of a.
limx→acosx=limx→acos((x−a)+a)rewritexasx−a+aand group(x−a)=limx→a(cos(x−a)cosa−sin(x−a)sina)apply the identity for the cosine of the sum of two angles=cos(limx→a(x−a))cosa−sin(limx→a(x−a))sinalimx→a(x−a)=0,andsinxandcosxare continuous at 0=cos(0)cosa−sin(0)sinaevaluate cos(0) and sin(0) and simplify=1⋅cosa−0⋅sina=cosa
The proof that sinx is continuous at every real number is analogous. Because the remaining trigonometric functions may be expressed in terms of sinx and cosx, their continuity follows from the quotient limit law.
■
continuity of trigonometric functions
Trigonometric functions are continuous over their entire domains.
The Intermediate Value Theorem
Functions that are continuous over intervals of the form [a,b], where a and b are real numbers, exhibit many useful properties. Throughout our study of calculus, we will encounter many powerful theorems concerning such functions. The first of these theorems is the intermediate value theorem.
the intermediate value theorem
Let f be continuous over a closed, bounded interval [a,b]. If z is any real number between f(a) and f(b), then there is a number c in [a,b] satisfying f(c)=z.
Figure 7. There is a number c∈[a,b] that satisfies f(c)=z.
Show that f(x)=x−cosx has at least one zero.
Since f(x)=x−cosx is continuous over (−∞,+∞), it is continuous over any closed interval of the form [a,b]. If you can find an interval [a,b] such that f(a) and f(b) have opposite signs, you can use the Intermediate Value Theorem to conclude there must be a real number c in (a,b) that satisfies f(c)=0. Note that
f(0)=0−cos(0)=−1<0
and
f(π2)=π2−cosπ2=π2>0
Using the Intermediate Value Theorem, we can see that there must be a real number c in [0,π/2] that satisfies f(c)=0. Therefore, f(x)=x−cosx has at least one zero.
If f(x) is continuous over [0,2],f(0)>0, and f(2)>0, can we use the Intermediate Value Theorem to conclude that f(x) has no zeros in the interval [0,2]? Explain.
No. The Intermediate Value Theorem only allows us to conclude that we can find a value between f(0) and f(2); it doesn’t allow us to conclude that we can’t find other values. To see this more clearly, consider the function f(x)=(x−1)2. It satisfies f(0)=1>0,f(2)=1>0, and f(1)=0.
Watch the following video to see the worked solution to this example.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.