B.3) Squeezing limits

B.3.a.i)

We can use a squeeze to find limits as x->a under special conditions.
For example, take f[x] = x Sin[1/x]. Explain why [Graphics:LimitsBasicsgr86.gif] f[x] = 0.

Answer:

Clear[f];
f[x_]= x Sin[1/x]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr87.gif]

Here we always have f[x] between x and -x (or, so we don't have to worry about which one is on top, -|x| <= f[x] <= |x| ). Now we make several plots of the three functions, -|x|, f[x], and |x|. (|x| is written as Abs[x] in Mathematica and is shown in blue, while -|x| is written as -Abs[x] and is shown in red.)

Plot[{-Abs[x], f[x], Abs[x]}, {x,-10,10},
PlotRange->{-10,10},
PlotStyle->{{Red},{},{Blue}}]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr88.gif]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr89.gif]

Plot[{-Abs[x], f[x], Abs[x]},{x,-1,1},
PlotRange->{-1,1},
PlotStyle->{{Red},{},{Blue}}]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr90.gif]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr91.gif]

Plot[{-Abs[x], f[x], Abs[x]},{x,-.1,.1},
PlotRange->{-.1,.1},
PlotStyle->{{Red},{},{Blue}}]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr92.gif]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr93.gif]

Plot[{-Abs[x], f[x],Abs[x]},{x,-.001,.001},
PlotRange->{-.001,.001},
PlotStyle->{{Red},{},{Blue}}]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr94.gif]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr95.gif]

Looking at these three functions in different scales we notice that the picture is complicated near 0, but it is clear that f[x] is always trapped between the graphs of |x| and -|x|. Since both of these graphs go through the point {0, 0}, the graph of f[x] is "squeezed" into approaching the point {0, 0}, even though f[0] is undefined. Thus, it is clear that [Graphics:LimitsBasicsgr96.gif] f[x] is 0.

B.3.a.ii)

Continue with f[x] = x Sin[1/x]. Does the point {0, 0} actually lie on the graph of f[x]? Explain your answer.

Answer:

The point {0, 0} does not lie on the graph of y = f[x] because f[0] is not defined. When we ask Mathematica to evaluate f[0], this is what we get:

f[0]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr100.gif]
[Graphics:LimitsBasicsgr2.gif][Graphics:LimitsBasicsgr101.gif]

This says that Mathematica has discovered that when we plug 0 into the formula for f[x], we get 0/0, which is an indeterminate---i.e., f[0] is not defined because it results in a division by 0. Mathematicians describe this situation, [Graphics:LimitsBasicsgr102.gif] f[x] = L but f[a] does not, by saying that the graph of f[x] has a "hole" at the point {a, L}