Soluciones Paso A Paso Anal
Soluciones Paso A Paso Anal
Easier Problems
Exercise 1.1. Write down the truth tables for the following logical statements.
1. P or Q
2. P implies Q
3. P and not Q
4. (not Q) implies (not P)
5. not (P implies Q)
(Observe that some of these statements have the same truth table, and conclude that those state-
ments are logically the same.)
Solution. P or Q:
P
T F
T T T
Q
F T F
P implies Q:
P
T F
T T T
Q
F F T
P and not Q:
P
T F
T F F
Q
F T F
1
(not Q) implies (not P):
P
T F
T T T
Q
F F T
T F F
Q
F T F
Observe that we get the same truth tables for “P implies Q” and for “(not Q) implies (not P)”,
so these two statements are logically the same. This is the contrapositive.
We also get the same truth tables for “P and not Q” and for “not (P implies Q)”, so these two
are also the same, i.e. the opposite of “P implies Q” is “P and not Q”.
Then
lim f ( x ) + g( x ) = L + M.
x→a
|( f ( x ) + g( x )) − ( L + M)| < | f ( x ) − L| + | g( x ) − M|
2
Let ε > 0. Since limx→ a f ( x ) = L, there is a δ1 > 0 such that if 0 < | x − a| < δ1 then
| f ( x ) − L| < ε/2. Similarly, since limx→a g( x ) = M, there is a δ2 > 0 such that if 0 < | x − a| < δ2
then | g( x ) − M | < ε/2.
Set δ = min(δ1 , δ2 ), and suppose 0 < | x − a| < δ. Then 0 < | x − a| < δ1 so | f ( x ) − L| < ε/2,
and 0 < | x − a| < δ2 so | g( x ) − M | < ε/2. Now
|( f ( x ) + g( x )) − ( L + M)| = |( f ( x ) − L) + ( g( x ) − M)|
Solution.
| x − 3| ≤ 2
−2 ≤ x − 3 ≤ 2
2 ≤ x+1 ≤ 6
| x + 1| ≤ 6
lim f ( x ) = L.
x→a
Then
lim c f ( x ) = cL.
x→a
Solution.
| x − 1| ≤ 4
−4 ≤ x − 1 ≤ 4
−10 ≤ x − 7 ≤ −2
| x − 7| ≤ 10
Exercise 1.7. Define what it means to say limx→ a+ f ( x ) = ∞. Then show limx→1+ 1
x −1 = ∞. What
1
is limx→1 x− 1?
3
Solution. We say limx→ a+ f ( x ) = ∞ if for all M ∈ R there is a δ > 0 such that if a < x < a + δ
then f ( x ) > M.
Let M ∈ R. Without loss of generality we can assume M > 0. Set δ = M 1
. Suppose 1 < x <
1 = ∞.
1 1 1 1
1 + δ, i.e. 1 < x < 1 + M . Then 0 < x − 1 < M , so x−1 > M. Thus limx→1+ x−
A similar argument shows that limx→1− x−1 = −∞, so limx→1 x−1 does not exist (even as an
1 1
infinite limit).
Then
lim f ( x ) − g( x ) = L − M.
x→a
Proof. Just the same as the sum law, with minus signs interted carefully.
Let ε > 0. Since limx→ a f ( x ) = L, there is a δ1 > 0 such that if 0 < | x − a| < δ1 then
| f ( x ) − L| < ε/2. Similarly, since limx→a g( x ) = M, there is a δ2 > 0 such that if 0 < | x − a| < δ2
then | g( x ) − M | < ε/2.
Set δ = min(δ1 , δ2 ), and suppose 0 < | x − a| < δ. Then 0 < | x − a| < δ1 so | f ( x ) − L| < ε/2,
and 0 < | x − a| < δ2 so | g( x ) − M | < ε/2. Now
|( f ( x ) − g( x )) − ( L − M)| = |( f ( x ) − L) − ( g( x ) − M)|
Solution. We say limx→ a− f ( x ) = L if for every ε > 0 there is a δ > 0 such that if a − δ < x < a
then | f ( x ) − L| < ε.
Let ε > 0. Choose any δ > 0, it doesn’t matter what. Suppose 2 − δ < x < 2. Since x < 2 we
−2 = −1, so
have | xx− 2|
x−2
| x − 2| − (− 1 ) = 0 < ε.
1
Exercise 1.10. Define what it means to say limx→∞ f ( x ) = L. Then show limx→∞ x2
= 0.
Solution. We say limx→∞ f ( x ) = L if for every ε > 0 there is an N ∈ R such that if x > N then
| f ( x ) − L| < ε. √
Let ε > 0, and set N = √1ε . Suppose x > N, i.e. x > √1ε . Then 0 < 1x < ε, so 0 < x12 < ε, and
| x12 | < ε.
Exercise 1.11. State the definition of continuity. Then prove that f ( x ) = 10x is continuous.
4
Solution. A real-valued function is continuous if limx→ a f ( x ) = f ( a) for all a in the domain.
Thus to prove f ( x ) = 10x is continuous, we want to show limx→ a 10x = 10a for all a. Let ε > 0,
and set δ = ε/10. Suppose 0 < | x − a| < δ = ε/10. Then
Exercise 1.12. Decide whether the following statements are true or false.
Solution.
Exercise 1.14. Prove using the definition of a limit (i.e. ε and δ) that
lim x2 − 2x + 1 = 4.
x →3
Proof. Let ε > 0 and choose δ = min(1, ε/5). Suppose 0 < | x − 3| < δ. Then
| x − 3| < 1
−1 < x − 3 < 1
3 < x+1 < 5
| x + 1| < 5;
| x2 − 2x + 1 − 4|
= | x2 − 2x − 3|
= |( x + 1)( x − 3)|
= | x + 1|| x − 3|
< 5 · ε/5 = ε.
5
Exercise 1.15. Prove using the definition of a limit (i.e. ε and δ) that
Proof. Let ε > 0 and choose δ = min(1, ε/6). Suppose 0 < | x − 1| < δ. Then
| x − 1| < 1
−1 < x − 1 < 1
1 < x+1 < 3
| x + 1| < 3;
|2x2 − 3 − (−1)|
= |2x2 − 2|
= 2| x 2 − 1|
= 2|( x + 1)( x − 1)|
= 2| x + 1|| x − 1|
< 2 · 3 · ε/6 = ε.
lim f ( x ) = L = lim h( x ).
x→a x→a
Then
lim g( x ) = L.
x→a
L − ε < f ( x ) ≤ g( x ) ≤ h( x ) < L + ε,
so | g( x ) − L| < ε.
6
Harder Problems
Exercise 2.1. Prove the following sort-of-generalization of the sqeeze theorem.
Let f , g, h be real-valued functions, and a ∈ R. Suppose when x is near a, except possibly at a,
these functions satisfy f ( x ) ≤ g( x ) ≤ h( x ). Suppose also that
Then
L ≤ M ≤ N.
Solution. Observe that it’s enough to prove if f ( x ) ≤ g( x ) then L ≤ M, because the same proof
applied to g( x ) ≤ h( x ) will show M ≤ N.
Recall also from the first Easier Problem that “if P then Q”, in our case “if f ( x ) ≤ g( x ) near
a then L ≤ M”, is logically equivalent to “if (not Q) then (not P)”, in our case “if L > M then
f ( x ) 6≤ g( x ) near a”. Since it’s all the same, we’ll prove the latter instead. In fact, we’ll prove the
stronger statement that “if L > M then f ( x ) > g( x ) near a”.
Let ε = L − M > 0. Note that L − ε/2 = M + ε/2.
Since limx→ a f ( x ) = L, there is a δ1 > 0 such that if 0 < | x − a| < δ1 then | f ( x ) − L| < ε/2.
Similarly, since limx→ a g( x ) = M, there is a δ2 > 0 such that if 0 < | x − a| < δ2 then | g( x ) − M| <
ε/2.
Set δ = min(δ1 , δ2 ), and suppose 0 < | x − a| < δ. Then 0 < | x − a| < δ1 , so
| f ( x ) − L| < ε/2
L − ε/2 < f ( x ) < L + ε/2.
| g( x ) − M| < ε/2
M − ε/2 < g( x ) < M + ε/2.
Exercise 2.2. Show that there is always a pair of diametrically opposite points on Earth’s equator
where the temperature at both points is the same.
Proof. Let T ( x ) be the function that gives the temperature at a point x on the equator, and denote
by − x the diametrically opposite point. Consider the function f ( x ) = T ( x ) − T (− x ), i.e. the
difference in temperature between a point and its opposite. Note that temperature is a continuous
function, and so f ( x ) is continuous as well. Note also that a point x has our desired property, i.e.
the same temperature as its opposite point, precisely when f ( x ) = 0.
If there is no point where the temeperature differs, i.e. if f ( x ) = 0 for all x, then of course
we’re done; any point has the desired property.
On the other hand, suppose there is a point where f ( x ) is non-zero, say f ( x0 ) = t. Then
f (− x0 ) = T (− x0 ) − T ( x0 ) = − f ( x0 ) = −t. One of t, −t is strictly positive and the other strictly
negative, so by the intermediate value theorem we conclude there is a point between x0 and − x0
where f ( x ) = 0, and this point has our desired property.
7
Exercise 2.3. Prove the following variation of the squeeze theorem:
Let f , g, h be real-valued functions. Suppose there exists N > 0 such that for all x > N, we
have f ( x ) ≤ g( x ) ≤ h( x ). Suppose also that
lim f ( x ) = L = lim h( x ).
x →∞ x →∞
Then
lim g( x ) = L.
x →∞
L − ε < f ( x ) ≤ g( x ) ≤ h( x ) < L + ε,
so | g( x ) − L| < ε.
Exercise 2.4. The squeeze theorem for limits of the form limx→ a+ f ( x ) = L:
Let f , g, h be real-valued functions and a ∈ R. Suppose that when x is near to and greater than
a, we have f ( x ) ≤ g( x ) ≤ h( x ). Suppose also that
lim f ( x ) = L = lim h( x ).
x → a+ x → a+
Then
lim g( x ) = L.
x → a+
L − ε < f ( x ) ≤ g( x ) ≤ h( x ) < L + ε,
so | g( x ) − L| < ε.
Exercise 2.5. Show that the sum of two continuous functions is continuous.
8
Proof. Suppose f , g are continuous functions, i.e.
lim f ( x ) + g( x ) = f ( a) + g( a)
x→a
Exercise 2.6. Prove the following variation of the sum law for limits:
Let f , g be real valued functions, and a, L, M ∈ R. Suppose that
Then
lim f ( x ) + g( x ) = L + M.
x → a+
Proof. Let ε > 0. Since limx→ a+ f ( x ) = L, there is a δ1 > 0 such that if a < x < a + δ1 then
| f ( x ) − L| < ε/2. Similarly, since limx→a+ g( x ) = M, there is a δ2 > 0 such that if a < x < a + δ2
then | g( x ) − M | < ε/2.
Set δ = min(δ1 , δ2 ), and suppose a < x < a + δ. Then a < x < a + δ1 so | f ( x ) − L| < ε/2, and
a < x < a + δ2 so | g( x ) − M| < ε/2. Now
|( f ( x ) + g( x )) − ( L + M)| = |( f ( x ) − L) + ( g( x ) − M)|
Exercise 2.7. The difference law for limits of the form limx→ a− f ( x ) = L:
Suppose f , g are real-valued functions, and suppose that
Then
lim f ( x ) − g( x ) = L − M.
x → a−
Proof. Let ε > 0. Since limx→ a− f ( x ) = L, there is a δ1 > 0 such that if a − δ1 < x < a then
| f ( x ) − L| < ε/2. Similarly, since limx→a− g( x ) = M, there is a δ2 > 0 such that if a − δ2 < x < a
then | g( x ) − M | < ε/2.
Set δ = min(δ1 , δ2 ), and suppose a − δ < x < a. Then a − δ1 < x < a so | f ( x ) − L| < ε/2, and
a − δ2 < x < a so | g( x ) − M| < ε/2. Now
|( f ( x ) − g( x )) − ( L − M)| = |( f ( x ) − L) − ( g( x ) − M)|
Exercise 2.8. Prove using the definition of a limit (i.e. ε and δ) that
lim x3 − x2 + 2x + 1 = 9.
x →2
9
Proof. Let ε > 0. Set δ = min(1, ε/16).
Suppose | x − 2| < δ. Then | x − 2| < 1, so
−1 < x − 2 < 1
1<x<3
12 + 1 + 4 = 6 < x2 + x + 4 < 16 = 32 + 3 + 4
| x2 + x + 4| < 16.
| x3 − x2 + 2x + 1 − 9|
=| x3 − x2 + 2x − 8|
=|( x − 2)( x2 + x + 4)|
=| x − 2|| x2 + x + 4|
ε
< · 16
16
=ε.
Exercise 2.9. Prove using the definition of a limit (i.e. ε and δ) that
lim x4 − 12 = 4.
x →2
−1 < x − 4 < 1
5 < x+2 < 7
| x + 2| < 7
and
−1 < x − 4 < 1
3<x<5
0 < x2 < 25
4 < x2 + 4 < 29
| x2 + 4| < 29.
10
Now
| x4 − 12 − 4|
=| x4 − 16|
=|( x2 − 4)( x2 + 4)|
=|( x − 2)( x + 2)( x2 + 4)|
=|( x − 2)||( x + 2)||( x2 + 4)|
ε
< · 7 · 29
203
=ε.
Exercise 2.10. Suppose | x − a| < δ. Find a bound for | x − b| (which may depend on a, b, δ).
Solution.
| x − a| < δ
−δ < x − a < δ
−δ + a − b < x − b < δ + a − b
| x − b| < max(|−δ + a − b|, |δ + a − b|)
Exercise 2.11. Prove that if a function f is differentiable at a (i.e. if the limit defining the derivative
at a exists) then f is continuous at a.
f ( x + h) − f ( x )
lim
h →0 h
exists. Now observe, using the product law for limits,
f ( a + h) − f ( a)
lim f ( x ) − f ( a) = lim f ( a + h) − f ( a) = lim h ·
x→a h →0 h →0 h
f ( a + h) − f ( a)
= lim h · lim = 0 · f 0 ( a) = 0.
h →0 h →0 h
Exercise 2.12. Find the derivative of x x . [Hint: be careful trying to apply the chain rule here:
write down precisely what f and g are, and you’ll probably find that it doesn’t work! The key is
to rewrite x x in a form that’s easier to handle. Use the fact that x = elog x .]
11
Solution. Since x = elog x , we can rewrite x x = (elog x ) x = e x log x , and this looks more like some-
thing we can evaluate. We have
d x
x
dx
d
= e x log x
dx
d
=e x log x x log x
dx
=e x log x (log x + x · 1x )
= x x (log x + 1).
12
Bonus Material: Stewart Chapter 2 Review Exercises #6-9, 15-20
Here are a bunch of problems on evaluating limits from the Chapter 2 Review of the textbook. I
won’t prove anything, just give a quick explanation of what the limit is and why.
Exercise 2.6.
x2 − 9
lim
x →1+ x2 + 2x − 3
Solution. Factor and cancel:
x2 − 9 ( x + 3)( x − 3) x−3
lim = lim = lim = −∞.
x →1+ x 2 + 2x − 3 x→1+ ( x − 1)( x + 3) x→1+ x − 1
Exercise 2.8.
t2 − 4
lim
t →2 t3 − 8
Solution. Factor and cancel:
t2 − 4 (t − 2)(t + 2) ( t + 2) 1
lim = lim = lim 2 = .
t →2 t3 − 8 t→2 ( t − 2)( t2 + 2t + 4) t→2 ( t + 2t + 4) 3
Exercise 2.9. √
r
lim
r →9 (r − 9)4
√
Solution. Plug in: as r approaches 9 (from either side), 1
(r −9)4
goes to +∞, and r is about 3, so
the limit is +∞.
Exercise 2.15.
lim ln(sin x )
x →π −
13
Solution. Highest powers: since we’re taking a limit at −∞, we can ignore everything except the
highest power in the numerator and denominator. That is,
1 − 2x2 − x4 − x4 1
lim 4
= lim 4
= .
x →−∞ 5 + x − 3x x →−∞ −3x 3
Exercise 2.17. p
lim ( x2 + 4x + 1 − x )
x →∞
Solution. Not sure about this one. Let me know if y’all have ideas. WolframAlpha tells me the
limit is 2.
Exercise 2.18.
2
lim e x− x
x →∞
2
Solution. Composition: let y = x − x2 , so limx→∞ e x− x = limx→∞ ey . As x approaches ∞, y =
x − x2 approaches −∞. As y approaches −∞, ey approaches 0. Thus the limit is 0.
Exercise 2.19.
lim arctan(1/x )
x →0+
Exercise 2.20.
1 1
lim +
x →1 x − 1 x2 − 3x + 2
Solution. Common denominator and cancel:
1 1 1 1
lim + 2 = lim +
x →1 x − 1 x − 3x + 2 x →1 x − 1 ( x − 1)( x − 2)
x−2 x−2+1
1
= lim + = lim
x →1 ( x − 1)( x − 2) ( x − 1)( x − 2) x →1 ( x − 1)( x − 2)
x−1
1
= lim = lim = −1.
x →1 ( x − 1)( x − 2) x →1 x − 2
14