
P1: OSO/OVY P2: OSO/OVY QC: OSO/OVY T1: OSO
MHDQ256-Ch01 MHDQ256-Smith-v1.cls December 6, 2010 20:21
LT (Late Transcendental)
CONFIRMING PAGES
1-57 SECTION 1.7
..
Limits and Loss-of-Significance Errors 103
BEYOND FORMULAS
Inexamples7.5–7.7,we demonstratedcalculations thatsufferedfromcatastrophicloss-
of-significance errors. In each case, we showed how we could rewrite the expression
to avoid this error. We have by no means exhibited a general procedure for recognizing
and repairing such errors. Rather, we hope that by seeing a few of these subtle errors,
and by seeing how to fix even a limited number of them, you will become a more
skeptical and intelligent user of technology.
EXERCISES 1.7
WRITING EXERCISES
1. Caution is important in using technology. Equally important is
redundancy. This property is sometimes thought to be a nega-
tive (wasteful, unnecessary), but its positive role is one of the
lessons of this section. By redundancy, we mean investigating
a problem using graphical, numerical and symbolic tools. Why
is it important to use multiple methods?
2. When computing limits, should you always look at a graph?
compute function values? do symbolic work? an ε−δ proof?
Prioritize the techniques in this chapter.
3. The limit lim
h→0
f (a + h) − f (a)
h
is important in Chapter 2. For
a specific function and specific a, we could compute a table of
values of the fraction for smaller values of h. Why should we
be wary of loss-of-significance errors?
4. We rationalized the numerator in example 7.7. The old rule
of rationalizing the denominator is intended to minimize com-
putational errors. To see why you might want the square root
in the numerator, suppose that you can get only one decimal
place of accuracy, so that
√
3 ≈ 1.7. Compare
6
1.7
to
6
√
3
and
then compare 2(1.7) to
6
√
3
. Which of the approximations could
you do in your head?
In exercises 1–12, (a) use graphics and numerics to conjecture
a value of the limit. (b) Find a computer or calculator graph
showing a loss-of-significance error. (c) Rewrite the function to
avoid the loss-of-significance error.
1. lim
x→∞
x
√
4x
2
+ 1 − 2x
2. lim
x→−∞
x
√
4x
2
+ 1+2x
3. lim
x→∞
√
x
√
x + 4 −
√
x + 2
4. lim
x→∞
x
2
√
x
4
+ 8 − x
2
5. lim
x→∞
x
√
x
2
+ 4 −
√
x
2
+ 2
6. lim
x→∞
x
√
x
3
+8−x
3/2
7. lim
x→0
1 − cos 2x
12x
2
8. lim
x→0
1 − cos x
x
2
9. lim
x→0
1 − cos x
3
x
6
10. lim
x→0
1 − cos x
4
x
8
11. lim
x→∞
x
4/3
3
x
2
+ 1 −
3
x
2
− 1
12. lim
x→∞
x
2/3
3
√
x + 4 −
3
√
x − 3
............................................................
In exercises 13 and 14, compare the limits to show that small
errors can have disastrous effects.
13. lim
x→1
x
2
+ x − 2
x − 1
and lim
x→1
x
2
+ x − 2.01
x − 1
14. lim
x→2
x − 2
x
2
− 4
and lim
x→2
x − 2
x
2
− 4.01
............................................................
15. Compare f (x) = sin π x and g(x) = sin 3.14x for x = 1
(radian), x = 10, x = 100 and x = 1000.
16. For exercise 1, follow the calculation of the function for
x = 10
5
as it would proceed for a machine computing with
a 10-digit mantissa. Identify where the round-off error occurs.
............................................................
In exercises 17and 18, comparethe exact answer to one obtained
by a computer with a six-digit mantissa.
17. (1.000003 −1.000001) ×10
7
18. (1.000006 −1.000001) ×10
7
............................................................
19. If you have access to a CAS, test it on the limits of exam-
ples 7.1, 7.6 and 7.7. Based on these results, do you think that
your CAS does precise calculations or numerical estimates?
EXPLORATORY EXERCISES
1. Just as we are subject to round-off error in using calculations from
a computer, so are we subject to errors in a computer-generated
graph. After all, the computer has to compute function values be-
fore it can decide where toplot points. On your computer or calcu-
lator, graph y = sinx
2
(a disconnected graph—or point plot—is
preferable). You should see the oscillations you expect from the
sine function, but with the oscillations getting faster as x gets
larger. Shift your graphing window to the right several times. At
some point, the plot will become very messy and almost unread-
able. Depending on your technology, you may see patterns in the
plot. Are these patterns real or an illusion? To explain what is