Problems Solutions An Interactive Introduction To Mathematical Analysis - Lewin PDF
Problems Solutions An Interactive Introduction To Mathematical Analysis - Lewin PDF
com: An Interactive Introduction to Mathematical Analysis Paperback with CD-ROM: Books: Jonathan Lewin
Search Books
Keep connected to what's happening in the world of books by signing up for Amazon.com Books Delivers, our monthly subscription e-mail newsletters.
Discover new releases in your favorite categories, popular pre-orders and bestsellers, exclusive author interviews and podcasts, special sales, and more.
Better Together
Buy this book with Exploratory Examples for Real Analysis (Classroom Resource Material) by Joanne Snow today!
Buy Together Today:
$94.88
Editorial Reviews
Review
"...the CD-ROM that accompanies this book provides hints to problems and alternative approaches to the material...Examples
of alternatives provided on the disc include continuity in metric spaces, and the Riemann-Stieltjes integral. The CD-ROM
program is written in Scientific Workplace 4.0 and can be viewed using the free download of Scientific Viewer 4.0, running
under Windows. Recommended." Choice
Book Description
This book provides a rigorous course in the calculus of functions of a real variable. Its gentle approach, particularly in its early
chapters, makes it especially suitable for students who are not headed for graduate school. For those who are, this book gives
an opportunity to engage in a penetrating study of real analysis. The companion onscreen version of this text contains
hundreds of links to alternative approaches, more complete explanations and solutions to exercises; links that make it more
friendly than any printed book could be. In addition, there are links to a wealth of optional material that an instructor can
select for a more advanced course, and that students can use as a reference long after their first course has ended. The CD
provides exercises that can be worked interactively with the help of the computer algebra systems that are bundled with
Scientific Notebook.
Product Details
● Paperback: 528 pages
● Publisher: Cambridge University Press; Bk&CD-Rom edition (October 15, 2002)
● Language: English
● ISBN-10: 0521017181
● ISBN-13: 978-0521017183
● Product Dimensions: 1 x 7 x 10 inches
● Shipping Weight: 1.95 pounds (View shipping rates and policies)
● Average Customer Review: based on 2 reviews. (Write a review.)
● Amazon.com Sales Rank: #273,021 in Books (See Top Sellers in Books)
(Publishers and authors: improve your sales)
Would you like to update product info or give feedback on images? (We'll ask you to sign in so we can get back to
you)
First Sentence:
Mathematical analysis is the critical and careful study of calculus with an emphasis on understanding of its basic
principles. Read the first page
New!
Books on Related Topics | Concordance | Text Stats
(Press the 'T' key twice to quickly access the "Tag this product" window.)
Are you the publisher or author? Learn how Amazon can help you make this book an eBook.
If you are a publisher or author and hold the digital rights to a book, you can make it available as an eBook on Amazon.com.
Learn more.
Customer Reviews
I believe this is Professor Lewin's life's work, and it shows. Mathematical analysis is not an easy subject, and Lewin has
made a genuine effort to make this subject accessible to all students. That is not to say this book is "for idiots/dummies,"
but for the intelligent mathematical analysis neophyte looking for a book to ease him into higher mathematics. The writing
style is informal and straight to the point.
So what can you expect to learn from this book? If you don't know what mathematical analysis is at all, you'll read about
that too (as well as the subject matter itself!) The examples and problems are wonderful. They are at just the right level for
an engaging introduction that will give you a place to stand to take further courses. You can understand and enjoy this book
with a modest mathematical background (high school only, and not necessarily any calculus courses!) and average grades.
You will need to go slowly and think, but Lewin masterfully guides you through.
This book is a welcome change from enormous encyclopedic works that present page after page of mind-bending symbols
and leave it as an exercise for the reader to figure out what it all means. The authors of these wretched books think a quick
paragraph is just fine. I disagree, and so does Lewin. This book is a pleasure to *read*, and you will learn about
mathematical analysis, too! This book can serve as a good introduction to higher mathematics as well as calculus. Lewin
provides early instruction in the "vocabulary of mathematics" and proofs before getting into the subject matter of the book.
Lewin makes mathematical analysis accessible for everyone, even those with a modest mathematical background, and even
makes it a pleasure.
Learn Calculus and Analysis, And Really Understand It!: A guide by Billy
Smorgasbord
Create a guide
User's Guide to the Medical Bluetooth Demystified Medical Terminology: An Code Complete (Microsoft
Literature: Essentials of by Nathan J. Muller Illustrated Guide Programming)
Evidence-Based Clinical by Barbara Janson Cohen by Steve McConnell
Practice
by Gordon Guyatt
›View & edit Your Browsing History
Discrete Mathematics
Geometry - General
Mathematical analysis
Mathematics
Probability & Statistics - General
Science/Mathematics
Calculus & mathematical analysis
Mathematics / Geometry / General
Feedback
If you need help or have a question for Customer Service, contact us.
Would you like to update product info or give feedback on images? (We'll ask you to sign in so we can get back to
you)
Is there any other feedback you would like to provide? Click here
Search Amazon.com
2 Mathematical Grammar
1. a. x 2 = x.
Solution: This statement is meaningless because x is unquantified.
1
b. For every real number x we have x 2 = x.
Solution: This statement is meaningful but false because the equation x 2 = x is false
whenever x is negative.
c. For every positive number x we have x 2 = x.
Solution: This statement is true.
2. a. Point at the expression x 2 and click on the Evaluate button .
c. Point at the equation x 2 = x, open the Maple menu and click on Check Equality.
d. Point at the equation x = −2 and click on the button to supply the definition x = −2 to
Scientific Notebook. Then try a Check Equality on the equation x 2 = x.
3. For every number x and every number y there is a number z such that z = x + y.
Solution: This statement is true.
4. For every number x there is a number z such that for every number y we have z = x + y.
Solution: This statement is false.
5. For every number x and every number z there is a number y such that z = x + y.
Solution: This statement is true.
6. sin 2 x + cos 2 x = 1.
Solution: This statement is meaningless because x is unquantified.
7. For every number x we have sin 2 x + cos 2 x = 1.
Solution: This statement is true.
8. For every integer n > 1, if n 2 ≤ 3 then the number 57 is prime.
Solution: Since it is impossible to find an integer n > 1 such that n 2 ≤ 3, the assertion that 57 is
prime for every such integer is true. The fact that the number 57 happens not to be prime has no bearing
on this exercise.
2
b. Only men may enter this hall wearing top hats.
c. Men wearing top hats only may enter this hall.
d. Men wearing only top hats may enter this hall.
e. Men wearing top hats may enter this hall only.
Hint: These five statements are all different from one another. The first statement is ambiguous. It
could mean that the only people who may enter this hall are men who are wearing top hats.
However, with a different voice inflection it could mean that top hats are permitted only to men and
that women will not be permitted entry if they are wearing top hats, leaving open the question of
whether a woman who is not wearing a top hat may enter the hall. In other words, a change in
voice inflection could make statements a. and b. say the same thing.
3. a. For every nonzero number x there is a number y such that xy = 1.
Solution: This statement is true because of x is any nonzero number then we have x1/x = 1.
b. There is a number y for which the equation xy = 1 is true for every nonzero number x.
Solution: This statement is false.
4. a. For every number x ∈ 0, 1 there exists a number y ∈ 0, 1 such that x < y.
Solution: True
b. There is a number y ∈ 0, 1 satisfying x < y for every number x ∈ 0, 1.
Solution: False
5. a. For every number x ∈ 0, 1 there exists a number y ∈ 0, 1 such that x < y.
b. There is a number y ∈ 0, 1 satisfying x < y for every number x ∈ 0, 1.
Solution: These two statements are not saying the same thing but who cares! Both statements are
false.
6. a. For every number x ∈ 0, 1 there exists a number y ∈ 0, 1 such that x ≤ y.
This statement is true. Given any x ∈ 0, 1, if we define y = x then we have found a number
y ∈ 0, 1 such that x ≤ y.
b. There is a number y ∈ 0, 1 satisfying x ≤ y for every number x ∈ 0, 1.
This statement is false because it asserts that the interval 0, 1 has a largest member.
7. a. For every number x ∈ 0, 1 there exists a number y ∈ 0, 1 such that x ≤ y.
b. There is a number y ∈ 0, 1 satisfying x ≤ y for every number x ∈ 0, 1.
This time, both of the statements are true.
8. a. For every odd integer m it is possible to find an integer n such that mn is even.
b. It is possible to find an integer n such that for every odd integer m the number mn is even.
Solution: These two statements do not say the same thing but they are both true.
9. a. For every number x it is possible to find a number y such that xy = 0.
b. It is possible to find a number y such that for every number x we have xy = 0.
Solution: These two statements do not say the same thing but they are both true.
3
10. a. For every number x it is possible to find a number y such that xy ≠ 0.
b. It is possible to find a number y such that for every number x we have xy ≠ 0.
Solution: These two statements do not say the same thing but they are both false.
11. a. For every number a and every number b there exists a number c such that ab = c.
Solution: True
b. For every number a there exists a number c such that for every number b we have ab = c.
Solution: False
12. a. For every number a and every number c there exists a number b such that ab = c.
b. For every number a there exists a number b such that for every number c we have ab = c.
Solution: These two statements do not say the same thing but they are both false.
13. a. For every nonzero number a and every number c there exists a number b such that ab = c.
Solution: True
b. For every nonzero number a there exists a number b such that for every number c we have ab = c.
Solution: False
4
9. You were at least an hour late for work every day last week.
Solution: There was at least one day last week on which you began work less than an hour late.
10. It has never rained on a day on which you have remembered to take your umbrella.
Solution: There have been days on which it has rained and on which you have remembered to take
your umbrella.
11. You told me that it has never rained on a day on which you have remembered to take your umbrella.
Solution: You have not told me that it has never rained on a day on which you have remembered to
take your umbrella.
12. You lied when you told me that it has never rained on a day on which you have remembered to take your
umbrella.
Solution: You did not lie when you told me that it has never rained on a day on which you have
remembered to take your umbrella.
13. I was joking when I said that you lied when you told me that it has never rained on a day on which you have
remembered to take your umbrella.
Solution: I was not joking when I said that you lied when you told me that it has never rained on a
day on which you have remembered to take your umbrella.
14. This, Watson, if I mistake not, is our client now.
Solution: This statement is meaningless because it refers to itself. We should have been able to
expect better logical precision from Sherlock Holmes.
15. a. For every real number x there exists a real number y such that
2x 2 + xy − y 2 2 5y + 4x
= + .
x3 − y3 3x − y 3x 2 + xy + y 2
Is this statement is true?
Solution: Yes this statement is true.
Negation: There exists a real number x such that for every real number y, the equation
2x 2 + xy − y 2 2 5y + 4x
= +
x3 − y3 3x − y 3x 2 + xy + y 2
is either false or meaningless.
b. There exists a real number x such that for every real number y we have
2x 2 + xy − y 2 2 5y + 4x
= + .
x −y
3 3 3x − y 3x + xy + y 2
2
5
Solution: This statement is true.
Negation: There exists a real number x and there exists a real number y ≠ x such that the equation
2x 2 + xy − y 2 2 5y + 4x
= +
x3 − y3 3x − y 3x 2 + xy + y 2
is either false or meaningless.
6
f. If a function is differentiable at a given number then it must be continuous at that number.
The converse: If a function is continuous at a given number then it must be differentiable at that
number.
The contrapositive: If a function is not continuous at a given number then it cannot be differentiable at
that number.
The denial: There exists a function and a real number such that the function is differentiable at the
number but fails to be continuous at that number.
g. Every boy or girl alive is either a little liberal or else a conservative.
The converse: Every little liberal and every conservative is a living boy or girl
The contrapositive: Any individual who fails to be either a little liberal or a conservative cannot be
either a living boy or a living girl.
The denial: There is at least one living boy or girl who is neither a little liberal nor a conservative.
2. In each of the following exercises, write down a denial of the given statement.
a. All cats scratch and some dogs bite.
The denial: Either there is a cat that does not scratch or no dogs bite.
b. Either some cats scratch or if all dogs bite then some birds sing.
The denial: No cats scratch and all dogs bite and no birds sing.
c. He walked into my office this morning, told me a pack of lies and punched me on the nose.
The denial: Either he did not walk into my office this morning or he did not tell me a pack of lies or he
did not punch me on the nose.
d. No one has ever seen an Englishman who is not carrying an umbrella.
The denial: At least one person has seen an Englishman who is not carrying an umbrella.
e. For every number x there exists a number y such that y > x.
The denial: There exists a number x such that for every number y we have y ≤ x.
3. In each of the following exercises we assume that f and g are given functions. Write down a denial of each of
the following statements:
a. Whenever x > 50, we have fx = gx.
The denial: There exists a number x > 50 such that fx ≠ gx.
b. There exists a number w such that fx = gx for all numbers x > w.
The denial: For every number w there exists a number x > w such that fx ≠ gx.
c. For every number x there exists a number δ > 0 such that for every number t satisfying the condition
|x − t|< δ, we have |fx − ft|< 1.
The denial: There exists a number x such that for every number δ > 0 there is at least one number t
satisfying the condition |x − t| < δ such that |fx − ft| ≥ 1.
d. There exists a number δ > 0 such that for every pair of numbers x and t satisfying the condition
|x − t|< δ, we have |fx − ft|< 1.
The denial: For every number δ > 0 it is possible to find a pair of numbers x and t satisfying the
condition |x − t| < δ and for which |fx − ft| ≥ 1.
7
e. For every number > 0 and for every number x, there exists a number δ > 0 such that for every number
t satisfying |x − t|< δ, we have |ft − fx|< .
The denial: There exists a number > 0 and a number x such that for every number δ > 0 it is
possible to find a number t such that |x − t| < δ and |fx − ft| ≥ .
f. For every positive number there exists a positive number δ such that for every pair of numbers x and t
satisfying the condition |x − t|< δ, we have |fx − ft|< .
The denial: There exists a number > 0 such that for every number δ > 0 it is possible to find a pair
of numbers x and t satisfying the condition |x − t| < δ for which |fx − ft| ≥ .
4. Explain why the statement ¬P ⇒ Q is equivalent to the statement P ∧ ¬Q.
The assertion P ⇒ Q says that if P is true then Q must also be true. This assertion says nothing at
all about Q in the event that P is false. The only way in which the assertion P ⇒ Q can be false is
that P is true and Q is not. In other words, the denial of the condition P ⇒ Q says that P ∧ ¬Q.
5. Explain why the statement ¬P ⇔ Q is equivalent to the assertion that either (P is true and Q is false) or (P
is false and Q is true).
The assertion P ⇔ Q says that P and Q have the same truth value. So the assertion ¬P ⇔ Q says
that they don’t, which means that one of them is true and the other is false.
6. Explain why the statement ¬P ∨ Q is equivalent to the statement ¬P ∧ ¬Q.
The assertion P ∨ Q says that at least one of the statements P and Q is true. So the denial of the the
assertion P ∨ Q says that they are both false.
7. Explain why the statement ¬P ⇒ Q ∨ R is equivalent to the assertion that P is true and that both of the
statements Q and R are false.
The denial of the assertion P ⇒ Q ∨ R says that P is true but that the assertion Q ∨ R is false. In
other words, it says that P is true and that both of the statements Q and R are false.
8. Explain why the converse of the statement P ⇒ Q ∨ R is equivalent to the condition R ⇒ P ∧ Q ⇒ P.
The converse of the statement P ⇒ Q ∨ R says that Q ∨ R ⇒ P and this says that P must be true
if at least one of the statments Q and R are true. In other words, the satement Q ∨ R ⇒ P says
that Q ⇒ P and also that R ⇒ P.
9. Write the assertion P ⇒ Q ∨ R as simply as you can in its contrapositive form.
The contrapositive form of the assertion P ⇒ Q ∨ R says that ¬Q ∨ R ⇒ ¬P and this says
that if both of the statements Q and R are false then P is false. In other words, this contrapositive
form says that ¬Q ∧ ¬R ⇒ ¬P.
10. Write the assertion P ∧ Q ⇒ R ∨ S as simply as you can in its contrapositive form.
The contrapositive form of the assertion P ∧ Q ⇒ R ∨ S says that
¬R ∨ S ⇒ ¬P ∧ Q
which we can write as
¬R ∧ ¬S ⇒ ¬P ∨ ¬Q.
The latter statement says that if both of the statements R and S are false then at least one of the
statements P and Q is false.
8
Some Exercises on Statements Containing “And”
1. Prove the following assertions:
a. If a, b, c, x and y are positive numbers and a x = b and b y = c, then a xy = c.
The point of this exercise is to emphasize that you don’t alrady have numbers a, b, c, x and y quantified
for you in the statement of the exercise.
Solution: You need to begin: Suppose that a, b, c, x and y are positive numbers and that a x = b
and b y = c. Then you can argue that
a xy = a x y = b y = c.
Solution: You need to begin: Suppose that m and n are even integers. Since m is even we know
that m/2 is an integer and since n is even we know that n/2 is an integer. Since
mn = 4 m n
2 2
we conclude that mn has a factor 4.
c. If an integer m is even and an integer n has a factor 3 then mn has a factor 6.
You need to begin: Suppose that m and n are integers and that m is even and that n has a
factor 3. We know that the numbers m/2 and n/3 are both integers. Since
mn = 6 m n
2 3
we deduce that mn has a factor 6.
2. “Ladies and gentlemen of the jury” said the prosecutor, “We shall demonstrate beyond a shadow of doubt that
on the night of June 13, 1997, the accused, Slippery Sam Carlisle, did willfully, unlawfully and maliciously
kill and murder the deceased, Archibald Bott by striking him on the head with a blunt instrument”. Outline a
strategy that the prosecutor might use in order to prove this charge. How many separate assertions must the
prosecutor prove in order to carry out his promise to the jury?
Of course this problem isn’t serious in suggesting that Slippery Sam should be found not guilty if
any one of the actions decribed by the prosecutor turns out to be untrue. But, had the prosecutor
been a mathematician he would have agreed that his obligation, in order to convict Slippery Sam,
is to show that Sam’s action was wilful and also that it was unlawful and also that it was malicious
and also that it involved killing Mr. Bott and also that it involved murdering Mr. Bott and also that
the act was performed by striking Mr. Bott on the head and also that the murder weapon was blunt.
If even one of these conditions is found to be false then a mathematician might be inclined to find
Slippery Sam not guilty.
3. One of the basic laws of arithmetic tells us that if a and b are any two numbers satisfying the condition a < b
and if x > 0 then ax < bx. Show how this law may be used to show that if 0 < u < 1 and 0 < v < 1 then
0 < uv < 1.
Solution: We begin the proof by quantifying u and v: Suppose that u and v are numbers satisfying
the inequalities 0 < u < 1 and 0 < v < 1. Since u < 1 and v > 0 we know that uv < 1v which tells us that
uv < v. Since uv < v and v < 1 we conclude that uv < 1.
Now since 0 < v and u > 0 we know that 0u < uv which tells us that 0 < uv. Therefore 0 < uv < 1.
4. In this exercise, if we are given three nonnegative integers a, b and c then the integer that consists of a
hundreds, b tens and c units will be written as ⌈a, b, c⌉. Given nonnegative integers a, b and c, prove the
assertion P ∧ Q ∧ R ∧ S where P, Q, R and S are, respectively, the following assertions
P. If the number ⌈a, b, c⌉ is divisible by 3 then the number a + b + c is also divisible by 3.
9
Q. If the number a + b + c is divisible by 3 then the number ⌈a, b, c⌉ is also divisible by 3.
R. If the number ⌈a, b, c⌉ is divisible by 9 then the number a + b + c is also divisible by 9.
S. If the number a + b + c is divisible by 9 then the number ⌈a, b, c⌉ is also divisible by 9.
Hint: In this exercise we are actually given three nonnegative integers a, b and c and so there is no
need to quantify them. In order to prove the assertion P ∧ Q ∧ R ∧ S we have to show that all of the
statements P, Q, R, and S are true. We therefore have four separate proofs to write. We show the proof
of statement Q here and leave the rest to you:
Suppose that the number a + b + c is divisible by 3. We need to show that the number
⌈a, b, c⌉ = 100a + 10b + c
is also divisible by 3. Now since the number a+b+c
3
is an integer and since
⌈a, b, c⌉ = 100a + 10b + c = 99a + 9b + a + b + c
= 3 33a + 3b + a + b + c
3
we know that ⌈a, b, c⌉ has a factor 3.
10
we shall use the trigonometric identity
cos 3θ = 4 cos 3 θ − 3 cos θ
that holds for every number θ. We now observe that
8x 3 − 6x − 1 = 8− cos 40 ∘ 3 − 6− cos 40 ∘ − 1
= −24 cos 3 40 ∘ − 3 cos 40 ∘ − 1
= −2 cos340 ∘ − 1
= −2 cos 120 ∘ − 1
= −2 − 1 − 1 = 0
2
4. A theorem in elementary calculus, known as Fermat’s theorem, says that if a function f defined on an interval
has either a maximum or a minimum value at a number c inside that interval then either f ′ c = 0 or f ′ c
does not exist. Give a brief outline of a strategy for approaching the proof of this theorem.
Solution:
Case 1: Suppose that f is a function defined on an interval and that has a maximum value a number c
inside that interval, and suppose that f ′ c exists. We need to show that f ′ c = 0.
Case 2: Suppose that f is a function defined on an interval and that has a minimum value a number c
inside that interval, and suppose that f ′ c exists. We need to show that f ′ c = 0.
5. A well known theorem on differential calculus that is known as L’Hôpital’s rule may be stated as follows:
Suppose that f and g are given functions, that c is a given number, that
f ′ x
lim
x→c g ′ x
= L,
11
Solution: The contrapositive form says that ¬Q ∨ ¬R ⇒ ¬P. Once again we have two jobs
to do. We assume that the statement Q is false and prove that P is false. Then we assume that the
statement R is false and again prove that P is false.
2. a. Outline a strategy for proving an assertion that has the form P ⇒ Q ∨ R.
We need to show that if P is true than at least one of the assertions Q and R is true. We could
begin by writing: “Suppose that P is true." Then we could try to prove that at least one of the
assertions Q and R is true. One way to do this is to assume that Q is false and then show that R
must be true.
b. Write down the assertion P ⇒ Q ∨ R in its contrapositive form and outline a strategy for proving it in
this form.
The contrapositive form of the assertion P ⇒ Q ∨ R says that
¬Q ∧ ¬R ⇒ ¬P
To prove the assertion this way we should assume that both Q and R are false and then use
this information to show that P is false.
3. a. Outline a strategy for proving an assertion that has the form P ∧ Q ⇒ R.
Solution: Assume that both of the statements P and Q are true and write a proof that R is true.
b. Write down the assertion P ∧ Q ⇒ R in its contrapositive form and outline a strategy for proving it in
this form.
Solution: The contrapositive form says that ¬R ⇒ ¬P ∨ ¬Q. Assume that the statement R is
false and show that at least one of the statements P and Q must be false.
4. a. Outline a strategy for proving an assertion that has the form P ∨ Q ⇒ R.
We need to write two proofs. First we need to show that if we assume P then R must be true.
Then we need to show that if we assume Q then R must be true.
b. Write down the assertion P ∨ Q ⇒ R in its contrapositive form and outline a strategy for proving it in
this form.
The contrapositive form of the assertion P ∨ Q ⇒ R says that ¬R ⇒ ¬P ∧ ¬Q and the
strategy for proving this form of the assertion was given in Exercise 1a.
5. a. Outline a strategy for proving an assertion that has the form P ∨ Q ⇒ P ⇒ R.
Solution: Assume that the statement P is true and write a proof that R must be true. Then
assume that the statement Q is false and write a proof that R must be true.
b. Write down the assertion P ∨ Q ⇒ P ⇒ R in its contrapositive form and outline a strategy for
proving it in this form.
Solution: The contrapositive form says that ¬R ⇒ ¬P ∧ Q. Assume that R is false and write a
proof that P must be false. Then assume that R is false and write a proof that Q must be true.
12
3. The product rule for differentiation says that for every number x and all functions f and g that are
differentiable at x, we have
fg ′ x = f ′ xgx + fxg ′ x.
Write down the opening line of a proof of the product rule. Your opening line should start: Suppose that ...
Solution: Suppose that x is a real number and that f and g are functions that are differentiable at the
number x.
4. Given that Px and Qx are statements that contain an unknown x and that S is a set, outline a strategy for
the proving the assertion Px ⇒ Qx for every x ∈ S. Write down the opening line of your proof.
Solution: Suppose that x ∈ S and that the condition Px is true. Then write a proof that Qx must
be true.
5. Given that Px is a statement that contains an unknown x and that S is a set, write down an opening line of a
proof of the assertion that Px is true for every x ∈ S.
Solution: Suppose that x ∈ S.
6. You are given that Px and Qx are statements that contain an unknown x, that S is a set, that Px is true
for every x ∈ S and that Px ⇒ Qx. Is it possible to deduce that Qx is true for every member x of the set
S?
Solution: Yes it is possible. For each x we know that Px is true and that Px ⇒ Qx and so we
know that Qx is true.
7. You are given that Px and Qx are statements that contain an unknown x, that S is a set, that Px is true
for every x ∈ S and that Px ⇒ Qx. Is it possible to deduce that Qx is true for at least one member x of
the set S?
Solution: No it isn’t possible to deduce that Qx is true for at least one member x of the set S
because we have no information to the effect that the set S is nonempty.
8. Write down the contrapositive form of the statement that for every member x of a given set S we have
Px ⇒ Qx.
Solution: For every member x of the set S we have ¬Qx ⇒ ¬Px.
9. Write down the denial of the statement that for every x we have Px ⇒ Qx.
Solution: There is at least one x for which Px is true and Qx is false.
10. Prove that for every number x in the interval −2, 2, if we define
3 3 x + 2x 2 + 1 4 − x 2
u= 3
6 3
and
3 3 x − 2x 2 + 1 4 − x 2
v= 3
6 3
then
u 2 + v 2 = 1 + uv.
Hint: With an eye on the proof shown earlier, show that u 3 + v 3 = u + v.
That earlier proof shows that if x is any number in the interval −2, 2 then
3 3 x + 2x 2 + 1 4 − x 2 3 3 x − 2x 2 + 1 4 − x 2
3 + 3 =x
6 3 6 3
13
which we can express as u + v = 1. On the other hand,
3 3 x + 2x 2 + 1 4 − x 2 3 3 x − 2x 2 + 1 4 − x 2
u3 + v3 = +
6 3 6 3
and we conclude that u 3 + v 3 = x. Thus
u3 + v3 = u + v
and, by factorizing the left side, we obtain the desired result
u 2 + v 2 = 1 + uv
without difficulty.
14
and so
r 3 − 3r 3 − 9 = 0
and so we have the possibilities r = 3 3 or r = 3 9 that boil down to the one possibility that
r = 3 3 and s = 3 9 . So the equation x 3 − 9x + 12 = 0 becomes
x + r + sx 2 + r 2 + s 2 − xr − xs − rs = 0.
which gives us the real solution x = − 3 3 − 3 9 and also the possibility
3 3 + 3 9 ± 3i 33 − 39 3 3 + 3 9 ± i 3 9 − 3
x= =
2 2
c. x 3 − 3x + 2 = 0
One might notice that x = 1 is an obvious solution of this equation. That observation leads to
x − 1x 2 + x − 2 = 0
giving us the solutions x = 1 or x = 1 or x = −2.
On the other hand, if we look for r and s to make
r3 + s3 = 2
3rs = 3
then we obtain
3
r3 + 1 =2
r
which becomes
r 6 − 2r 3 + 1 = 0
which leads to the equation r = 1. Thus r = s = 1 and we obtain the solutions
x = −r − s = −2
or
r + s ± 3 ir − s
x= = 2 ± 0 = 1.
2 2
d. x 3 − 6x + 10 = 0
We look for numbers r and s such that
r 3 + s 3 = 10
3rs = 6
which gives us
3
r3 + 2 = 10
r
in other words,
r 6 − 10r 3 + 8 = 0
and we obtain
r 3 = 5 ± 17
and we may assume that r = 3 5 + 17 and s = 3 5 − 17 . Thus we have the possibilities
x = −r − s = 3 17 − 5 − 3 17 + 5
or
r + s ± 3 ir − s
3 5 + 17 + 3 5 − 17 ± 3 i 3 5 + 17 − 3 5 − 17
x= = .
2 2
e. x 3 − 6x 2 + 6x + 14 = 0. We begin by making the substitution u = x − c and the equation
x 3 − 6x 2 + 6x + 14 = 0 becomes
15
u + c 3 − 6u + c 2 + 6u + c + 14 = 0
giving us
u 3 + 3c − 6u 2 + 3c 2 − 12c + 6u + c 3 − 6c 2 + 6c + 14 = 0
and now we see that the definition c = 2 will convert the equation into a form with no quadratic
term. We obtain
u 3 − 6u + 10 = 0
We now copy the solution obtained in part d and obtain
u= 3 17 − 5 − 3 17 + 5
or
3 5 + 17 + 3 5 − 17 ± 3 i 3 5 + 17 − 3 5 − 17
u=
2
and so
x = 2+ 3 17 − 5 − 3 17 + 5
or
3 5 + 17 + 3 5 − 17 ± 3 i 3 5 + 17 − 3 5 − 17
x = 2+ .
2
2. Show that if w 3 < k 2 then the cubic equation
x 3 − 3wx + 2k = 0
has one real solution
x= 3
k2 − w3 − k − 3
k2 − w3 + k
We look for numbers r and s such that
r 3 + s 3 = 2k
3rs = 3w
which gives us
r= 3
k ± k2 − w3 .
In other words, we can assume that
r= 3
k + k2 − w3
and
s= 3
k − k2 − w3
and we conclude that the only real solution of the equation
x 3 − 3wx + 2k = 0
is
x= 3
k2 − w3 − k − 3
k2 − w3 + k .
16
We see at once that the only real solution of the equation
x − 1x 2 + x + 3 = 0
is x = 1. On the other hand, the equation can be written as
x 3 + 2x − 3 = 0
and we can solve by looking for numbers r and s satisfying
r 3 + s 3 = −3
3rs = −2
From which we obtain
r3 + −2 3
= −3
3r
which gives us
−9 3 ± 5 11
r3 =
6 3
from which we can select
−9 3 + 5 11
r= 3
6 3
and
−9 3 − 5 11
r= 3
6 3
which gives us the real solution of the equation
x − 1x 2 + x + 3 = 0
as
9 3 + 5 11 9 3 − 5 11
x = −r − s = 3 + 3
6 3 6 3
and we conclude that
9 3 + 5 11 9 3 − 5 11
3 + 3 = 1.
6 3 6 3
17
27b 2 + 4a 3 > 0
says that
2
4β − α 2 β + 2α 2 > 0
which holds if and only if α 2 < 4β. Now suppose that α 2 < 4β. We look for two numbers r and s
such that
r 3 + s 3 = −αβ
3rs = −β − α 2
giving us
3
α2 − β
r3 + = −αβ
3r
27r 6 + 27αβr 3 + α 2 − β 3 = 0
and we can take
−3 3 αβ + β + 2α 2 4β − α 2
r= 3
6 3 αβ
and
−3 3 αβ − β + 2α 2 4β − α 2
s= 3
6 3 αβ
then the real solution of the equation
x − αx 2 + αx + β = 0
appears as
3 3 αβ + 2α 2 + β 4β − α 2 3 3 αβ − 2α 2 + β 4β − α 2
−r−s = 3 + 3 .
6 3 6 3
Since that real solution has to be α we obtain
3 3 αβ + 2α 2 + β 4β − α 2 3 3 αβ − 2α 2 + β 4β − α 2
3 + 3 = α.
6 3 6 3
c. Given that α and β are real numbers and that α 2 < 4β, consider the two complex roots of the equation
x − αx 2 + αx + β = 0
and deduce that
3 3 αβ + 2α 2 + β 4β − α 2 4β − α 2
3 = α + 1
6 3 2 2 3
and
3 3 αβ − 2α 2 + β 4β − α 2 4β − α 2
3 = α − 1
6 3 2 2 3
The complex roots are
r + s ± 3 ir − s
2
and since these two complex roots are also
−α ± i 4β − α 2
2
18
we deduce that
r + s = −α
and
4β − α 2
r−s = ±
3
By looking at the values of r and s we see that r − s > 0 and so the preceding equation is
actually
4β − α 2
r−s = .
3
Adding we obtain
4β − α 2
2r = −α +
3
which gives us
3 3 αβ − 2α 2 + β 4β − α 2 4β − α 2
3 = α − 1
6 3 2 2 3
and by subtracting we obtain
3 3 αβ + 2α 2 + β 4β − α 2 4β − α 2
3 = α + 1
6 3 2 2 3
19
k3 = 4
7k 3
which will hold when
2 7
k= .
3
The equation
x 3 − 7x + 6 = 0
now becomes
3
2 7 2 7
cos 3 θ − 7 cos θ = −6
3 3
which gives us
9 3
4 cos 3 θ − 3 cos θ = −
7 7
in other words,
9 3
cos 3θ = −
7 7
and we deduce that either
2 7 1 arccos − 9 3
x= cos
3 3 7 7
or
2 7 1 arccos − 9 3
x= cos + 2π
3 3 7 7 3
or
2 7 1 arccos − 9 3
x= cos − 2π
3 3 7 7 3
Finally we observe that since
< π
9 3
0 < 1 arccos −
3 7 7 3
we have
20
and the remaining solution is
2 7 1 arccos − 9 3
cos − 2π
3 3 7 7 3
c. 3 4
To obtain a contradiction, suppose that the number 3 4 is rational. Choose positive integers m
and n that have no common factor such that
3 4 = m .
n
Since
21
4n 3 = m 3
and since n is a factor of the number 4n 3
we conclude that n is a factor of m 3 . Therefore, since
m and n have no common factor we must have n = 1 and the equation 4n 3 = m 3 becomes
m3 = 4
which is impossible since there is no integer whose cube is 4.
d. Any solution of the equation 8x 3 − 6x − 1 = 0.
Solution: Suppose that x is a solution of the equation 8x 3 − 6x − 1 = 0 and, to obtain a
contradiction, assume that x is rational. Choose integers m and n such that n > 0 and m and n have
no common factor and x = mn . Since
8 m
3
n −6 m n −1 = 0
we have
8m 3 − 6mn 2 − n 3 = 0.
From the fact that
8m 3 = n6mn + n 2
we deduce that n is a factor of 8m 3 . Therefore, since m and n have no common factor, the number n
must be ±1 or ±2 or ±4 or ±8.
Returning to the equation
8m 3 − 6mn 2 − n 3 = 0.
we deduce that
n 3 = m8m 2 − 6n 2
and so n is a factor of Therefore, since m and n have no common factor we must have m = ±1. We
n3.
deduce that x must be one of the numbers ±1, ± 12 , ± 14 or ± 18 and, by trying each of these numbers in
the equation 8x 3 − 6x − 1 = 0, we can verify that none of them are solutions. Therefore no rational
number can be a solution of this equation.
Note: A quick way to verify that none of the numers ±1, ± 12 , ± 14 or ± 18 can be solutions of the
equation 8x 3 − 6x − 1 = 0 is to supply the equation
fx = 8x 3 − 6x − 1
as a definition to Scientific Notebook by pointing at this equation and clicking on the new definition
1 1
1
2 −3
1
4
− 19
8
1
8
− 111
64
f =
−1 −3
− 1
2
1
3
− 1
4 8
− 1 − 17
64
8
which shows us at once that fx is not zero when x is one of the eight rational numbers that might
have been solutions of the equation 8x 3 − 6x − 1 = 0.
22
2. Given that m and n are integers and that mn does not have a factor 3, prove that neither m nor n can have a
factor 3.
What we want to prove is that if at least one of the integers m and n has a factor 3 then mn must
have a factor 3. Strictly speaking, there are two cases to consider because the statement that at
least one of the integers m and n has a factor 3 means that either m has a factor 3 or n has a factor
3. However, these two cases are analogous. We can turn one into the other by renaming the
numbers. We can therefore restrict ourselves safely to just one of the two cases. Our proof can
begin:
Without loss of generality, we assume that m has a factor 3. Since m/3 is an integer and since
mn = 3m/3n
we see that mn has a factor 3, which is what we wanted to prove.
3. Suppose that we know that x 2 − 2x < 0 and that we wish to prove that 0 < x < 2. Write down the first line of
a proof of this assertion that uses the method of proof by contradiction. Do so in such a way that your proof
splits into two cases and compete the proof in each of these cases.
To obtain a contradiction we assume that the condition 0 < x < 2 is false. That means that either
x ≤ 0 or x ≥ 2 and so we must consider two cases.
The case x ≤ 0: In this case, since x 2 − 2x = xx − 2 and since x ≤ 0 and x − 2 < 0 we have
x 2 − x ≥ 0, contradicting the assumption that x 2 − x < 0.
The case x ≥ 2: In this case, since x 2 − 2x = xx − 2 and since x > 0 and x − 2 ≥ 0 we have
x 2 − x ≥ 0, contradicting the assumption that x 2 − x < 0.
Since each of the two cases leads to a contradiction our proof is complete.
4. Suppose that f is a given function defined on the interval 0, 1 and suppose that we wish to prove that this
function f has the property that there exists a number δ > 0 such that whenever t and x belong to the interval
0, 1 and |t − x| < δ, we have |ft − fx| < 1. Write down the first line of a proof of this assertion that uses
the method of proof by contradiction.
Solution: To obtain a contradiction, suppose that it is impossible to find a number δ > 0 such that
whenever t and x belong to the interval 0, 1 and |t − x| < δ we have |ft − fx| < 1.
Alternative Solution: To obtain a contradiction, suppose that for every number δ > 0 there
exist numbers t and x in the interval 0, 1 such that |t − x| < 1 and |ft − fx| ≥ 1.
5. Suppose that x 1 , x 2 , ⋯x n is a subset of a vector space V and that we wish to prove that the set x 1 , x 2 , ⋯x n
is linearly independent. Write down the first line of a proof of this assertion that uses the method of proof by
contradiction. (Try to be specific. Don’t just suppose that the set is linearly dependent.)
The assertion that the set x 1 , x 2 , ⋯x n is linearly dependent says that there exist numbers
c 1 , c 2 , ⋯, c n that are not all zero such that
n
∑ cjxj = 0
j=1
where 0 is the “origin" in the vector space. A proof by contradiction that x 1 , x 2 , ⋯x n is linearly
independed could begin as follows:
To obtain a contradiction, assume that x 1 , x 2 , ⋯x n is linearly dependent. Choose numbers
c 1 , c 2 , ⋯, c n that are not all zero such that
n
∑ cjxj = 0
j=1
and, using the fact that not all of the numbers c 1 , c 2 , ⋯, c n are zero, choose j such that c j ≠ 0.
23
worded proof to justify your assertion.
1. For every number x ∈ 0, 1 there exists a positive integer N such that for every number > 0 and every
integer n ≥ N we have
nx < .
1 + n2x2
Solution: This statement is false. The denial of the statement says that there exists a number
x ∈ 0, 1 such that for every positive integer N there exists a number > 0 and an integer n ≥ N such that
nx ≥ .
1 + n2x2
To prove this denial we shall give an example of a number x ∈ 0, 1 such that for every positive integer N
there exists a number > 0 and an integer n ≥ N such that
nx ≥ .
1 + n2x2
We define x = 1
2
.
We now want to prove that something happens for every positive integer N and so we continue: Suppose
that N is a positive integer.
Now we want to prove that there exists a number > 0 and an integer n ≥ N such that
nx ≥ .
1 + n2x2
and we shall do so by giving an example of such a number .
We define
1
N
= 2
2
.
1 + N2 1
2
To prove that there exists an integer n ≥ N such that
nx ≥
1 + n2x2
we make the observation that
Nx ≥ .
1 + N2x2
2. For every number x ∈ 0, 1 and every number > 0 there exists a number δ > 0 such that for every number
t ∈ 0, 1 satisfying |t − x| < δ we have |t 2 − x 2 | < .
Solution: We shall prove that this statement is true. Since we want to prove that something happens
for every number x ∈ 0, 1, we begin as follows:
Suppose that x ∈ 0, 1.
Now we want to prove that something happens for every number > 0 and so we continue:
Suppose that > 0.
We are now seeking a number δ > 0 such that the inequality |t 2 − x 2 | < will hold whenever t ∈ 0, 1 and
|t − x| < δ. We observe first that whenever t ∈ 0, 1 we have
|t 2 − x 2 | = |t − x||t + x| ≤ |t − x||t| + |x| ≤ 2|t − x|.
With this inequality in mind we define δ = /2.
We see at once that whenever t ∈ 0, 1 and |t − x| < δ we have
|t 2 − x 2 | ≤ 2|t − x| < 2 = .
2
3. For every number > 0 and every number x ∈ 0, 1 there exists a number δ > 0 such that for every number
t ∈ 0, 1 satisfying |t − x| < δ we have |t 2 − x 2 | < .
24
Hint: The statement that appears here is identical to the one in Exercise 2.
4. For every number > 0 there exists a number δ > 0 such that for every number x ∈ 0, 1 and every number
t ∈ 0, 1 satisfying |t − x| < δ we have |t 2 − x 2 | < .
Solution: We shall prove that this statement is true. Since we want to prove that something happens
for every number > 0 we begin:
Suppose that > 0.
We are now seeking a number δ > 0 such that the intequality |t 2 − x 2 | < will hold for all numbers t and x
in the interval 0, 1 satisfying the condition |t − x| < δ. To give an example of such a number δ we
continue:
Define δ = /2.
We see at once that whenever t ∈ 0, 1 and x ∈ 0, 1 and |t − x| < δ we have
|t 2 − x 2 | ≤ 2|t − x| < 2 = .
2
5. For every number > 0 and every number x there exists a number δ > 0 such that for every number t
satisfying |t − x| < δ we have |t 2 − x 2 | < .
Solution: The statement made in this exercise says a little more than the one in Exercise 2 but it is
still true. Since we want to prove that something happens for every number > 0 we begin:
Suppose that > 0.
Now we want to prove that something happens for every number x and so we continue:
Suppose that x is a real number.
We are now seeking a number δ > 0 such that for every number t satisfying |t − x| < δ we have
|t 2 − x 2 | < . To help us find an example of such a number δ we observe first that if |t − x| < 1
x−1 x t x+1
then, since
|t| = |t − x + x| ≤ |t − x| + |x| < 1 + |x|
we have
|t 2 − x 2 | = |t − x||t + x| ≤ |t − x||t| + |x| ≤ |t − x|1 + 2|x|
With this inequality in mind we define δ to be the smaller of the two numbers 1 and /1 + 2|x|.
We observe that whenever a number t satisfies the inequality |t − x| < δ we have
|t 2 − x 2 | ≤ |t − x|1 + 2|x| < 1 + 2|x| = .
1 + 2|x|
6. For every number > 0 there exists a number δ > 0 such that for every number x and every number t
satisfying |t − x| < δ we have |t 2 − x 2 | < .
Solution: This statement is stronger than the statement in Exercise 4 but it is too strong to be true.
The denial of this statement says that there exists a number > 0 such that for every number δ > 0 it is
possible to find two numbers t and x such that |t − x| < δ and |t 2 − x 2 | ≥ . We shall prove that this denial
is true. In order to prove the existence of a number as described in this assertion, we shall give an
example.
We define = 1.
Now we want to prove that something happens for every number δ > 0 and so we continue:
Suppose that δ > 0.
25
We are now seeking two number t and x such that |t − x| < δ and |t 2 − x 2 | ≥ 1. To help ourselves find such
numbers we make the observation that if x > 0 then
− x 2 = 2x 2+ 1 ≥ 2
2 2
x + 1x
x
We choose a positive number x such that
1 < δ.
x
Then we define
t = x + 1x
and we observe that
|t − x| = 1x < δ
and
|t 2 − x 2 | ≥ 2 > 1.
7. For every number x ∈ 0, 1 there exists a number δ > 0 such that for every number t ∈ 0, 1 satisfying
|t − x| < δ we have
1 − 1 < 1.
t x
Hint: This statement is true. Write out a proof!
Suppose that x ∈ 0, 1. We shall prove the existence of the required number δ by giving an
example of one.
We begin by observing that for each t ∈ 0, 1 we have
1 − 1 = |x − t|
t x tx
In order to make the latter expression less than 1 we must prevent the denominator from being too
small. In fact, looking at the following figure
x 3x
0 2
x 2
we see that whenever t is close enough to x we must have t > 2 . In fact, whenever |t − x| < 2x we
x
26
δ δ
0 1+δ
We see at once that |x − t| < δ and that
1 − 1 = 1.
x t
This approach is actually too slick. A more motivated approach is to take x = δ and to look for a
number t between 0 and x for which
1 − 1 = 1.
t x
The latter equation tells us that
1 − 1 =1
t δ
δ
and we see at once that the value of t that we want is 1+δ .
9. For every number p > 0 there exists a number δ > 0 such that for every number x ∈ p, 1 and every number
t ∈ p, 1 satisfying |t − x| < δ we have
1 − 1 < 1.
t x
Hint: This statement is true. Write out a proof!
In the event that p > 1 the interval p, 1 is empty and every positive number δ has the desired
properties. We now assume that 0 < p ≤ 1.
The key to the proof we are seeking is the fact that if t and x are any numbers in the interval p, 1
then
1 − 1 = |x − t| ≤ 1 |x − t|
t x tx p2
The latter expression will be less than 1 when |x − t| < p 2 . With this observation we define δ = p 2
and we have found a number δ with the required properties.
10. a. If either 0 < θ < π or π < θ < 2π then
arctantanθ/2 + arctantanπ/2 − θ = π − θ .
2
We have two cases to consider:
Case 1: Suppose that 0 < θ < π. In this case we have 0 < θ < π2 and also
0 < π −θ < π.
2 2
Therefore
arctantanθ/2 + arctantanπ/2 − θ = θ + π − θ = π − θ .
2 2 2
Case 2: Suppose that π < θ < 2π. Since
π < θ <π
2 2
we see that
arctan tan θ = θ − π
2 2
and since
− 3π < π − θ < − π
2 2 2
and so
arctantanπ/2 − θ = π − θ + π
2
Therefore
arctantanθ/2 + arctantanπ/2 − θ = θ − π + π − θ + π = π − θ .
2 2 2
27
b. Ask Scientific Notebook to solve the equation
Solution: Since y ∈ a, y and a, b = a, y, we know that y ∈ a, b. We know, therefore, that
either y = a or y = b. However, if y = a then the equation a, b = a, y becomes a, b = a and we
deduce from the fact that b ∈ a that b = a. So in this case too we have y = b.
2. Prove that if a, b, x and y are any given objects and if a, b = x, y then either a = x and b = y, or a = y
and b = x.
Solution: Since a ∈ a, b and a, b = x, y we know that a ∈ x, y. Therefore either a = x or
a = y. In the event that a = x we have a, b = a, y and it follows from Exercise 1 that b = y. Similarly,
if a = y then b = x.
3. Prove that if a, b, x and y are any given objects and if
a, a, b = x, x, y,
then a = x and b = y.
28
The preceding exercises guarantee that if
a, a, b = x, x, y,
then either a = x or a, b = x, y from which we can see at once that a = x and b = y.
4. Describe the set p∅.
Solution: Since the only subset of the set ∅ is ∅ itself we have p∅ = ∅.
5. Describe the set pp∅.
Hint: You should be able to prove that pp∅ = ∅, ∅.
6. Given that A = a, b, c, d, list all of the members of the set pA.
7. Given that A = a, b, list all of the members of the set ppA.
Since pA = ∅, a, b, a, b the set ppA is
∅, ∅ , a , b , a, b , ∅, a , ∅, b , ∅, a, b , a, b , a, a, b ,
b, a, b , ∅, a, b , ∅, a, a, b , ∅, b, a, b , a, b, a, b , ∅, a, b, a, b
8. Use the Evaluate operation in Scientific Notebook to evaluate the sets 1, 2, 3 ∪ 2, 3, 4 and
1, 2, 3 ∩ 2, 3, 4.
2. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∪ B = B.
The right way to approach this sort of problem will depend upon the background and strength of
the students. Ideally, one should be able to say that, in any case, B ⊆ A ∪ B and that the condition
A ∪ B ⊆ B holds when A ⊆ B. The alternative is to write two careful proofs, one starting with the
assumption A ⊆ B and the other starting with the assumption A ∪ B = B.
3. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∩ B = A.
4. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∖ B = ∅.
5. Illustrate the identity
A ∖ B ∪ C = A ∖ B ∩ A ∖ C
by drawing a figure. Then write out a detailed proof.
29
Solution: We obtain the identity
A ∖ B ∪ C = A ∖ B ∩ A ∖ C
by showing first that
A ∖ B ∪ C ⊆ A ∖ B ∩ A ∖ C
and then showing that
A ∖ B ∪ C ⊇ A ∖ B ∩ A ∖ C.
To obtain the identity
A ∖ B ∪ C ⊆ A ∖ B ∩ A ∖ C
we suppose that x ∈ A ∖ B ∪ C. We know that x ∈ A and that x does not belong to the set B ∪ C. Thus
x ∈ A and x cannot belong to either of the sets B and C. In other words, x ∈ A ∖ B and x ∈ A ∖ C which
tells us that x ∈ A ∖ B ∩ A ∖ C. The proof of the assertion
A ∖ B ∪ C ⊇ A ∖ B ∩ A ∖ C
is similar and will be left to the reader.
A Shorter Solution: A given object x will belong to the set A ∖ B ∪ C when x ∈ A and x
belongs to neither of the sets B and C. The latter condition says that x ∈ A and x ∉ B and also that x ∈ A
and x ∉ C which says that x ∈ A ∖ B ∩ A ∖ C.
6. Illustrate the identity
A ∖ B ∩ C = A ∖ B ∪ A ∖ C
by drawing a figure. Then write out a detailed proof.
Use the same figure
that was used in Exercise 5. As before, we can write out the complete solution or the quick version.
The quick version follows:
Solution: A given object x will belong to the set A ∖ B ∩ C when x ∈ A and x fails to belong to
the set B ∩ C which means that x ∈ A and x fails to belong to at least one of the sets B and C. The
latter condition says that either x ∈ A and x ∉ B or x ∈ A and x ∉ C which says that
x ∈ A ∖ B ∪ A ∖ C.
30
7. Given that A, B and C are subsets of a set X, prove that the condition A ∩ B ∩ C = ∅ holds if and only if
X ∖ A ∪ X ∖ B ∪ X ∖ C = X.
We know that
X ∖ A ∪ X ∖ B ∪ X ∖ C ⊆ X.
Now if we assume that A ∩ B ∩ C = ∅ then every member of X must fail to belong to at least one of
the sets A and B and C, which tells us that
X ⊆ X ∖ A ∪ X ∖ B ∪ X ∖ C.
Thus if we are given that A ∩ B ∩ C = ∅ then the equation
X ∖ A ∪ X ∖ B ∪ X ∖ C = X
must hold.
We now assume that the equation
X ∖ A ∪ X ∖ B ∪ X ∖ C = X
holds. This equation tells us that every member of X must belong to at least one of the sets X ∖ A
and X ∖ B and X ∖ C which means that every member of X must fail to belong to at least one of the
sets A and B and C. Thus no member of X can belong to A ∩ B ∩ C. Since the sets A and B and C
are subsets of X we also know that no object x lying outside the set X can belong to A ∩ B ∩ C.
Therefore A ∩ B ∩ C = ∅.
8. Given sets A, B and C, determine which of the following identities are true.
Hint: The truth values are given here. Explain carefully why they are correct.
a. A ∩ B ∖ C = A ∩ B ∖ A ∩ C True
b. A ∪ B ∖ C = A ∪ B ∖ A ∪ C False
c. A ∪ B ∖ C = A ∪ B ∩ A ∖ C False
d. A ∪ B ∖ C = A ∪ B ∖ A ∩ C False
e. A ∖ B ∖ C = A ∖ B ∖ C False
f. A ∖ B ∖ C = A ∖ B ∖ A ∖ C False
g. A ∖ B ∖ C = A ∖ B ∩ A ∖ C False
h. A ∖ B ∖ C = A ∖ B ∪ A ∖ C False
i. A ∖ B ∖ C = A ∖ B ∪ A ∩ C True
j. A ∖ B ∖ C = A ∖ B ∩ A ∪ C False
k. A = A ∩ B ∪ A ∖ B True
l. pA ∪ B = pA ∪ pB False
m. pA ∩ B = pA ∩ pB True
n. A × B ∪ C = A × B ∪ A × C True
o. A × B ∩ C = A × B ∩ A × C True
p. A × B ∖ C = A × B ∖ A × C True
9. Is it true that if A and B are sets and A = A ∖ B then the sets A and B are disjoint from each other?
Hint: Yes
10. Given that A is a set with ten members, B is a set with seven members and that the set A ∩ B has four
members, how many members does the set A ∪ B have?
31
11. Give an example of a set A that contains at least three members and that satisfies the condition A ⊆ pA.
Hint: Define
A = ∅, ∅, ∅
Exercises on Functions
1. Given that fx = x 2 for every real number x, simplify the following expressions:
a. f0, 3
We have
f0, 3 = 0, 9.
b. f−2, 3
We have
f−2, 3 = 0, 9.
c. f −1 −3, 4
We have
f −1 −3, 4 = −2, 2.
2. Point at the equation fx = x 2 and then click on the button in your computing toolbar. Then
work out the the expressions in parts a and b of the preceding exercise by pointing at them and clicking on
the evaluate button.
3. Supply each of the definitions fx = x 2 and gx = 2 − 3x to Scientific Notebook and then ask
Scientific Notebook to solve the equation
f ∘ gx = g ∘ fx.
fx = x − 2
1 − 2x
to Scientific Notebook. In this exercise we shall see how to evaluate the composition of the function f with
itself up to 20 times starting at a variety of numbers. Open the Maple menu, click on Calculus and move to
the right and select Iterate. In the iterate dialogue box
fill in the function as f, the starting value as 3 and the number of iterations as 20. Repeat this process with
different starting values. Can you draw a conclusion from what you see?
32
5. Given that fx = x 2 for all x ∈ R and gx = 1 + x for all x ∈ R, simplify the following expressions:
a. f ∘ g0, 1
We have
f ∘ g0, 1 = fg0, 1 = f1, 2 = 1, 4.
b. g ∘ f0, 1
We have
g ∘ f0, 1 = gf0, 1 = g0, 1 = 1, 2.
c. g ∘ g0, 1
We have
g ∘ g0, 1 = gg0, 1 = g1, 2 = 2, 3.
6. a. Given that fx = 3x − 2/x + 1 for all x ∈ R ∖ −1, determine whether or not f is one-one and find
its range.
Given any number y, the equation
y = 3x − 2
x+1
holds when
x + 1y = 3x − 2
which can be expressed as
x3 − y = 2 + y.
In the event that y = 3 the lattter equation says that 0 = 5 and is therefore impossible. If y ≠ 3
then the equation
x3 − y = 2 + y
says that
2+y
x= .
3−y
We conclude that the range of f is R ∖ 3 and that for every number y ∈ R ∖ 3 there is a
unique number x for which y = fx. Therefore the function f is one-one.
y = 3x − 2
x+1
and ask Scientific Notebook to solve for x. How many values of x are given? Is this result consistent with
the answer you gave in part a of the question?
7. Suppose that f : A → B and that E ⊆ A. Is it true that E = f −1 fE? What if f is one-one? What if f is onto
B?
We certainly have E ⊆ f −1 fE but the inclusion can be strict. For example, if we define fx = x 2
for every number x then
f −1 f0, 1 ≠ 0, 1.
Now suppose that f is a one-one function from a set A to a set B and that E ⊆ A. We shall prove
that f −1 fE ⊆ E and, for this purpose, we suppose that x ∈ f −1 fE. We know that fx ∈ fE and,
using this fact, we choose a member t of the set E such that fx = ft. Since f is one-one we have
x = t and so x ∈ E which is what we needed to show.
8. Suppose that f : A → B and that E ⊆ B. Is it true that E = ff −1 E? What if f is one-one? What if f is onto
B?
No it isn’t true. There is no reason to suppose that every member of E has to be in the range of f.
For example, if we define fx = x 2 for every number x and E = −1, 1 Then E ≠ ff −1 E. In the
33
event that f is onto the set B the equation E = ff −1 E will hold.
9. Suppose that f : A → B and that P and Q are subsets of B. Prove the identities
f −1 P ∪ Q = f −1 P ∪ f −1 Q,
Solution: Given any member x of the set A, the condition x ∈ f −1 P ∪ Q says that fx ∈ P ∪ Q
which says that either fx ∈ P or fx ∈ Q which says that either x ∈ f −1 P or x ∈ f −1 Q.
f −1 P ∩ Q = f −1 P ∩ f −1 Q,
f −1 P ∖ Q = f −1 P ∖ f −1 Q,
10. Suppose that f : A → B and that P and Q are subsets of A. Which of the following statements are true? What
if f is one-one? What if f is onto B?
fP ∪ Q = fP ∪ fQ
Hint: This statement is true.
fP ∩ Q = fP ∩ fQ
This statement is false. Give an example. Then prove that the statement is true if f is one-one.
fP ∖ Q = fP ∖ fQ
This statement is true when f is one-one.
11. Given that f is a one-one function from A to B and that g is a one-one function from B to C, prove that the
function g ∘ f is one-one from A to C.
Solution: We need to prove that whenever t and x are members of the set A and t ≠ x we have
g ∘ ft ≠ g ∘ fx.
Suppose that t and x are members of the set A and that t ≠ x. Since f is one-one we have ft ≠ fx.
Therefore, since g is one-one we have gft ≠ gfx and we have shown that g ∘ ft ≠ g ∘ fx.
12. Given that f is a function from A onto B and that g is a function from B onto C, prove that the function g ∘ f
is a function from A onto C.
Suppose that z ∈ C. Using the fact that the function g is onto the set C, choose a member y of the
set B such that z = gy. Now, using the fact that the function f is onto the set B we choose a
member x of the set A such that y = fx. We have found a member x of A such that z = f ∘ gx.
Therefore C is the range of the function f ∘ g.
13. Given that f : A → B and that g : B → C and that the function g ∘ f is one-one, prove that f must be one-one.
Give an example to show that the function g does not have to be one-one.
Solution: To prove that f is one-one, suppose that x 1 and x 2 are members of the set A and that
x 1 ≠ x 2 . Since the function g ∘ f is one-one we know that gfx 1 ≠ gfx 2 and we see at once that
fx 1 ≠ fx 2 . Now we construct an example to show that the function g does not have to be one-one. We
define fx = x for every x ∈ 0, 1 and we define
x if x ∈ 0, 1
gx =
2 if 1 < x ≤ 5
14. Given that f is a function from A onto B and that g : B → C and that the function g ∘ f is one-one, prove that
both of the functions f and g have to be one-one.
Solution: To see that f is one-one, suppose that x and t are members of the set A and that t ≠ x.
Since gft ≠ gfx we see at once that ft ≠ fx.
Now to see that g is one-one, suppose that u and y are members of the set B and that u ≠ y. Using the fact
34
that the function f is onto the set B we choose members t and x of A such that u = ft and y = fx. We see
at once that t ≠ x and therefore
gu = gft ≠ gfx = gy.
15. Given any set S, the identity function i S on S is defined by i S x = x for every x ∈ S. Prove that if f is a
one-one function from a set A onto a set B then f −1 ∘ f = i A and f ∘ f −1 = i B .
There is really nothing to prove. The fact that
f −1 fx = x = i A x
for every x ∈ A follows at once from the definition of the function f −1 . The equation f ∘ f −1 = i B
follows in a similar manner.
16. Suppose that f : A → B.
a. Given that there exists a function g : B → A such that g ∘ f = i A , what can be said about the functions f
and g?
The function f must be one-one because if t and x belong to A and ft = fx then we have
t = gft = gfx = x.
The function g must be onto the set A because if x is any member of A we have
x = gfx.
b. Given that there exists a function h : B → A such that f ∘ h = i B , what can be said about the functions f
and h?
The function f must be onto the set B and the function h must be one-one.
c. Given that there exists a function g : B → A such that g ∘ f = i A and that there exists a function
h : B → A such that f ∘ h = i B , what can be said about the functions f, g and h?
From parts a and b we see that all three functions are one-one and that f is onto B and that the
functions g and h are onto A.
17. As in a previous example, we define
f a x = x − a
1 − ax
whenever a ∈ −1, 1 and x ∈ −1, 1.
a. Prove that if a and b belong to −1, 1 then so does the number
c = a+b .
1 + ab
Hint: An quick way to do this exercise is to observe that c = f −b a.
There really isn’t much more to say here. The earlier material showed that f −b is a one-one
function from 0, 1 onto 0, 1 and we see at once that f −b −1 = −1 and f −b 1 = 1.
b. Given a and b in −1, 1 and
c = a+b ,
1 + ab
prove that f b ∘ f a = f c .
Given any number x ∈ 0, 1 we have
x−a
x−a
−b
f b ∘ f a x = f b f a x = f b = 1−ax
1 − ax 1−b x−a
1−ax
x − a − b1 − ax x1 + ab − a − b
= =
1 − ax − bx − a 1 + ab − a + bx
x− a+b
= 1+ab
= f c x
1+ab
a+b
−x
35
Alternative 4: A More Detailed
Presentation of Set Theory
Some Elementary Exercises on Sets
1. Given objects a, b and y and given that a, b = a, y, prove that b = y.
Solution: From the fact that a, b = a, y and the fact that b ∈ a, b we deduce that b ∈ a, y.
Therefore there are two possibilities; either b = a or b = y. In the event that b = a then the equation
a, b = a, y becomes a = a, y and we conclude that y ∈ a which tells us that y = a. So in this
case we have a = b = y. So in either case we know that b = y.
2. Prove that if a, b, x and y are any given objects and if a, b = x, y then either a = x and b = y, or a = y
and b = x.
Since a ∈ a, b and a, b = x, y we know that a ∈ x, y. Therefore either a = x or a = y. In the
event that a = x we have a, b = a, y and it follows from Exercise 1 that b = y. Similarly, if a = y
then b = x.
3. Prove that if a, b, x and y are any given objects and if
a, a, b = x, x, y,
then a = x and b = y.
The preceding exercises guarantee that if
a, a, b = x, x, y,
then either a = x or a, b = x, y from which we can see at once that a = x and b = y.
4. Describe the set p∅.
Since the only subset of the set ∅ is ∅ itself we have p∅ = ∅.
5. Describe the set pp∅.
You should be able to prove that pp∅ = ∅, ∅.
6. Given that A = a, b, c, d, list all of the subsets of A. Describe the set pA.
You should be able to show that pa, b, c, d is
∅, a, b, c, d, a, b, a, c, a, d, b, c, b, d, c, d, a, b, c, a, b, d, a, c, d, b, c, d, a, b, c, d
7. Given that A = a, b, list all of the subsets of A. Describe the set ppA.
Since pA = ∅, a, b, a, b the set ppA is
∅, ∅ , a , b , a, b , ∅, a , ∅, b , ∅, a, b , a, b , a, a, b ,
b, a, b , ∅, a, b , ∅, a, a, b , ∅, b, a, b , a, b, a, b , ∅, a, b, a, b
36
∅ + = ∅ ∪ ∅ = ∅
∅ ++ = ∅ + ∪ ∅ + = ∅ ∪ ∅ = ∅, ∅
∅ +++ = ∅ ++ ∪ ∅ ++ = ∅, ∅ ∪ ∅, ∅ = ∅, ∅, ∅, ∅
∅ ++++ = ∅ +++ ∪ ∅ +++ = ∅, ∅, ∅, ∅, ∅, ∅, ∅, ∅
Solution: We are given that A ∪ A = B ∪ B. We shall assume that the condition A ∈ B is
false. The other case B ∉ A is analogous to this one. Now since A ∈ A ∪ A = B ∪ B we know
that either A ∈ B or A ∈ B. We have assumed that A does not belong to B and so the condition
A ∈ B must hold; and we conclude that A = B.
9. A set A is said to be transitive if every member of A is a subset of A.
a. Is it true that if A and B are transitive then the set A ∪ B is transitive?
This statement is true. Any member of A has to be a subset of A and is certainly a subset of
A ∪ B. The same argument can be applied to any member of B.
b. Is it true that if A and B are transitive then the set A ∩ B is transitive?
This statement is true. A member of A ∩ B, being a member of A, must be a subset of A and,
being a member of B, must be a subset of B. Therefore every member of A ∩ B must be a
subset of A ∪ B.
c. Is it true that if A and B are transitive then the set A ∖ B is transitive?
This statement is false. Look at the set ∅, ∅ ∖ ∅ = ∅.
d. Is it true that if A is transitive then the successor A + of A (as defined in the preceding exercise) is
transitive?
This statement is true. Suppose that A is transitive. Every member of A, being a subset of A,
must be a subset of A ∪ A. Furthermore, the set A is also a subset of A ∪ A.
2. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∪ B = B.
The right way to approach this sort of problem will depend upon the background and strength of
the students. Ideally, one should be able to say that, in any case, B ⊆ A ∪ B and that the condition
A ∪ B ⊆ B holds when A ⊆ B. The alternative is to write two careful proofs, one starting with the
assumption A ⊆ B and the other starting with the assumption A ∪ B = B.
3. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∩ B = A.
4. Given two sets A and B prove that the condition A ⊆ B is equivalent to the condition A ∖ B = ∅.
5. Illustrate the identity
37
A ∖ B ∪ C = A ∖ B ∩ A ∖ C
by drawing a figure. Then write out a detailed proof.
A Shorter Solution: A given object x will belong to the set A ∖ B ∪ C when x ∈ A and x
belongs to neither of the sets B and C. The latter condition says that x ∈ A and x ∉ B and also that x ∈ A
and x ∉ C which says that x ∈ A ∖ B ∩ A ∖ C.
6. Illustrate the identity
A ∖ B ∩ C = A ∖ B ∪ A ∖ C
by drawing a figure. Then write out a detailed proof.
Use the same figure
that was used in Exercise 5. As before, we can write out the complete solution or the quick version.
The quick version follows:
Solution: A given object x will belong to the set A ∖ B ∩ C when x ∈ A and x fails to belong to
the set B ∩ C which means that x ∈ A and x fails to belong to at least one of the sets B and C. The
38
latter condition says that either x ∈ A and x ∉ B or x ∈ A and x ∉ C which says that
x ∈ A ∖ B ∪ A ∖ C.
7. Given that A, B and C are subsets of a set X, prove that the condition A ∩ B ∩ C = ∅ holds if and only if
X ∖ A ∪ X ∖ B ∪ X ∖ C = X.
We know that
X ∖ A ∪ X ∖ B ∪ X ∖ C ⊆ X.
Now if we assume that A ∩ B ∩ C = ∅ then every member of X must fail to belong to at least one of
the sets A and B and C, which tells us that
X ⊆ X ∖ A ∪ X ∖ B ∪ X ∖ C.
Thus if we are given that A ∩ B ∩ C = ∅ then the equation
X ∖ A ∪ X ∖ B ∪ X ∖ C = X
must hold.
We now assume that the equation
X ∖ A ∪ X ∖ B ∪ X ∖ C = X
holds. This equation tells us that every member of X must belong to at least one of the sets X ∖ A
and X ∖ B and X ∖ C which means that every member of X must fail to belong to at least one of the
sets A and B and C. Thus no member of X can belong to A ∩ B ∩ C. Since the sets A and B and C
are subsets of X we also know that no object x lying outside the set X can belong to A ∩ B ∩ C.
Therefore A ∩ B ∩ C = ∅.
8. Given sets A, B and C, determine which of the following identities are true.
Hint: The truth values are given here. Explain carefully why they are correct.
a. A ∩ B ∖ C = A ∩ B ∖ A ∩ C True
b. A ∪ B ∖ C = A ∪ B ∖ A ∪ C False
c. A ∪ B ∖ C = A ∪ B ∩ A ∖ C False
d. A ∪ B ∖ C = A ∪ B ∖ A ∩ C False
e. A ∖ B ∖ C = A ∖ B ∖ C False
f. A ∖ B ∖ C = A ∖ B ∖ A ∖ C False
g. A ∖ B ∖ C = A ∖ B ∩ A ∖ C False
h. A ∖ B ∖ C = A ∖ B ∪ A ∖ C False
i. A ∖ B ∖ C = A ∖ B ∪ A ∩ C True
j. A ∖ B ∖ C = A ∖ B ∩ A ∪ C False
k. A = A ∩ B ∪ A ∖ B True
l. pA ∪ B = pA ∪ pB False
m. pA ∩ B = pA ∩ pB True
n. A × B ∪ C = A × B ∪ A × C True
o. A × B ∩ C = A × B ∩ A × C True
p. A × B ∖ C = A × B ∖ A × C True
9. Is it true that if A and B are sets and A = A ∖ B then the sets A and B are disjoint from each other?
Hint: Yes
10. Given that A is a set with ten members, B is a set with seven members and that the set A ∩ B has four
39
members, how many members does the set A ∪ B have?
11. Give an example of a set A that contains at least three members and that satisfies the condition A ⊆ pA.
Hint: Define
A = ∅, ∅, ∅
3. A family ℑ of sets is said to be nested if for any two members A and B of ℑ we have either A ⊆ B or B ⊆ A.
Given that ℑ is a nested family of sets and that x ∈ ∪ℑ and y ∈ ∪ℑ, prove that there exists a member A of ℑ
such that both x and y belong to A.
Using the fact that x and y belong to ∪ℑ we choose a member A of ℑ such that x ∈ A and a member
B of ℑ such that y ∈ B. Since ℑ is nested we know that either A ⊆ B or B ⊆ A and in either event
we have found a member of ℑ to which both x and y belong.
4. A family ℑ of subsets of a set X is said to be field of subsets of X if ∅ ∈ ℑ and for all sets A and B that belong
to ℑ we have X ∖ A ∈ ℑ and A ∪ B ∈ ℑ.
a. Prove that if ℑ is a field of subsets of a set X and A and B are sets that belong to ℑ, then the set A ∩ B
belongs to ℑ.
40
A ∩ B = X ∖ X ∖ A ∪ X ∖ B .
b. Prove that if ℑ is a field of subsets of a set X and A and B are sets that belong to ℑ, then the set A ∖ B
belongs to ℑ.
Given two subsets A and B of X we have
A ∖ B = A ∩ X ∖ B.
c. Prove that if ∁ is a collection of fields of subsets of a set X then the family ∩∁ is also a field of subsets of
X.
Since every member of ∁ contains ∅ we know that the family ∪∁ also contains ∅. Given any
member A of ∩∁ we know that A belongs to every member of ∁ and therefore, since every
member of ∁ is a field, X ∖ A belongs to every member of ∁, and therefore belongs to ∩∁.
Finally, if A and B belong to ∩∁ then, since both A and B belong to every member of ∁, so does
A ∪ B, which tells us that A ∪ B ∈ ∩∁.
5. Suppose that ℑ is a family of subsets of a set X and that Γ is defined by
Γ = X ∖ A ∣ A ∈ ℑ.
a. Prove that if the intersection of any two members of ℑ belongs to ℑ then the union of any two members
of Γ belongs to Γ.
Suppose that the intersection of any two members of ℑ must belong to ℑ. Suppose that A and
B belong to the family Γ. Since both X ∖ A and X ∖ B belong to ℑ we know that
X ∖ A ∩ X ∖ B ∈ ℑ and therefore
X ∖ A ∪ B = X ∖ A ∩ X ∖ B ∈ ℑ
from which we conclude that A ∪ B ∈ Γ.
b. Prove that if ∩ℑ = ∅ then ∪Γ = X.
We assume that ∩ℑ = ∅. To prove that ∪Γ = X, suppose that x ∈ X. Using the fact that x ∉ ∩ℑ
we choose a member A of ℑ such that x ∉ A. Since
x ∈ X∖A ∈ Γ
we know that x ∈ ∪Γ.
c. Given that for every subfamily ℑ 1 of ℑ we have ∪ℑ 1 ∈ ℑ, and given that Γ 1 is a subfamily of Γ, prove
that ∩Γ 1 ∈ Γ.
6. This exercise will explore some of the properties of the family ℑ that was defined in an earlier example.
Recall that ℑ is defined to be the family of all those subsets A of R for which it is possible to find a real
number a such that
A = x ∈ R ∣ x − a is a rational number .
a. Suppose that A is a member of the family ℑ and that v ∈ A. Prove that a real number u will belong to A if
and only if u − v is rational.
41
and we deduce that the number u − a will be rational if and only if the number u − v is rational. In
other words, the condition u ∈ A holds if and only if u − v is rational.
b. Prove that ∪ℑ = R.
Suppose that x is any real number. We define
A = t ∈ R ∣ t − x is rational
and observe that x ∈ A ∈ ℑ.
c. Prove that if A and B are any two different members of ℑ then A ∩ B = ∅.
Suppose that A and B are members of ℑ and that A ≠ B. We may assume, without loss of
generality that A ∖ B ≠ ∅. Choose x ∈ A ∖ B. Given any member Y of the set B we know from
part a of this exercise and from the fact that x ∉ B that the number x − y can’t be rational; and
therefore we know that y − x can’t be rational. Thus no member y of the set B can belong to A
and we have shown that A ∩ B = ∅.
d. Suppose that we have selected exactly one number in each member A of ℑ and have then collected these
numbers together to form a set E. Suppose that for each rational number r we have defined
E r = r + x ∣ x ∈ E.
Prove that
∪ E r ∣ r ∈ Q = R
and that whenever r and s are different rational numbers then E r ∩ E s = ∅.
Suppose that u is any real number. Using the fact that ∪ℑ = R we choose a member A of ℑ
such that u ∈ A. We know that the set E has exactly one member that belongs the set A and we
call this member x. Since
u = x + u − x
and since u − x is rational we know that u ∈ E u−x .
Finally suppose that r and s are rational numbers and that E r ∩ E s ≠ ∅. We shall show that
r = s. Choose a number u ∈ E r ∩ E s . Choose x and y in the set E such that
u = r + x = s + y.
Since x − y = s − r ∈ Q we know that x and y must belong to the same member of the family ℑ
and therefore, from the way in which the set E was specified we conclude that x = y. The
equation r + x = s + y now guarantees that r = s, as promised.
Exercises on Relations
1. Under what conditions do we have x, y = y, x?
The condition x, y = y, x implies that x = y and is obviously true in this case.
2. For each of the relations defined earlier, find its domain and the range.
a. We write P for the set of all people and define
r = x, y ∈ P × P ∣ x is a brother of y .
The domain of r is the set of all those males who have at least one sibling. The range of r is the
set of all those people who have at least one male sibling.
b. We write P for the set of all people and define
r = x, y ∈ P × P ∣ x is a blood relation of y .
42
r = x, y ∈ R × R ∣ x ≤ y.
Both the domain and range of r are the entire set R.
e. Writing Z for the set of all integers, we define
r = x, y ∈ Z × Z ∣ ∃n ∈ Z such that y = nx .
Both the domain and range of r are the entire set Z.
f. We define
r= x, y ∈ R × R ∣ x − y is rational .
Both the domain and range of r are the entire set R.
g. We define
r = 0, 1, 0, 2, 4, 1, 3, 2.
Note that r is a subset of 0, 4, 3 × 1, 2.
The domain of r is 0, 4, 3 and the range of r is 1, 2.
h. We define
r = x, y ∈ R × R ∣ x 2 + y 2 = 1.
where R is the set of all real numbers.
Given any numbers x and y, the equation x 2 + y 2 = 1 requires that −1 ≤ x ≤ 1 and −1 ≤ y ≤ 1.
Both the domain and range of r are equal to −1, 1.
i. Suppose that S is any set and define
r = x, y ∈ S × S ∣ y = x.
Both the domain and range of r are the entire set S.
3. Suppose that S is the set of all integers n such that 2 ≤ n ≤ 20 and that r is the relation in S that consists of all
pairs x, y for which x is a factor of y but x ≠ y. What are the domain and range of r?
4. Suppose that r is the relation in R that contains all the ordered pairs x, y satisfying x 2 + 4y 2 = 1. What are
the domain and range of r?
Solution: A real number x is in the domain of the relation r defined in this exercise if and only if it is
possible to find a real number y such that x 2 + 4y 2 = 1. Such a real number y will exist if and only if
1 − x 2 ≥ 0 and to the domain of the relation r is the interval −1, 1. In a similar way we can see that the
range of the relation r is the interval −4, 4.
5. Suppose that r is the relation in R that contains all the ordered pairs x, y satisfying x 2 + 4y 2 ≥ 1. What are
the domain and range of r?
6. Suppose that r is the relation in R that contains all the ordered pairs x, y satisfying x 2 − 4y 2 = 1. What are
the domain and range of r?
7. Is it true that if r 1 and r 2 are relations in a set S then the domain of the relation r 1 ∪ r 2 is the union of the
domains of r 1 and r 2 ?
The assertion is obviously true.
8. Suppose that
S = ∅, ∅, ∅, ∅, ∅, ∅, ∅, ∅.
Show that the relations ⊆ and ∈ are the same in S?
9. Suppose that ℑ is a collection of families of sets and that ℑ is nested. Suppose that for every member ∁ of the
collection ℑ the relations ⊆ and ∈ are the same in ∁. Prove that the relations ⊆ and ∈ are the same in the
family ∪ℑ.
Suppose that A and B belong to ∪ℑ and choose a member ∁ of ℑ to which both A and B belong.
Since the relations ∈ and ⊆ are the same in ∁, the condition A ∈ B is equivalent to the condition
43
A ⊆ B.
3. Give an example of a relation that is reflexive and transitive but not symmetric.
The relation ⊆ in the power set pR of R is reflexive and transitive but not symmetric.
4. Give an example of a relation that is symmetric and transitive but not reflexive.
Take the relation
r = x, y ∈ R × R ∣ x ≠ 1 and y ≠ 1 .
5. Suppose that r is a relation in a set S and that r satisfies the following three conditions:
a. For every x ∈ S there exists a member y ∈ S such that x r y.
b. The relation r is symmetric
c. The relation r is transitive.
Prove that r is an equivalence relation.
All we have to do is prove that r is reflexive. Suppose that x ∈ S. Using condition a, choose a
member y of S such that x r y. Since r is symmetric we know that y r x and therefore, since r is
transitive we have x r x.
6. Suppose that ∼ is an equivalence relation in a set S and that E is a subset of S that contains precisely one
member of each equivalence class of the relation ∼. Prove that for every x ∈ S there exists one and only one
member y of the set E such that x ∼ y.
Solution: Suppose that x ∈ S. We define C to be the equivalence class of the ralation ∼ that contains
the member x and we define y to be the member of E that lies in the equivalence class C. Since x and y
belong to the same equivalence class we know that x ∼ y. Now, to show that this member y of E is the only
member of the set E that can be related by r to x, suppose that z ∈ E and that x ∼ z. From the fact that
x ∼ y and x ∼ z we deduce that y ∼ z. Therefore y and z must belong to the same equivalence class of the
relation ∼ and, since E never contains more than one member in any one equivalence class of ∼ we
conclude that y = z.
7. Suppose that ℑ is a family of sets and that for any two members A and B of ℑ we define A r B to mean that
either A ⊆ B or B ⊆ A. Is r an equivalence relation in ℑ?
This relation need not be transitive. For example, if B ⊆ A and B ⊆ C then there is no reason to
expect that one of the sets A and C should be included in the other.
8. Which of the following relations in R is an equivalence relation?
a. r = x, y ∈ R 2 ∣ x − y is an integer .
Yes
b. r = x, y ∈ R 2 ∣ x − y is a positive integer .
No
c. r = x, y ∈ R 2 ∣ x − y is an even integer .
Yes
44
d. r = x, y ∈ R 2 ∣ x − y is an odd integer .
No
e. r = x, y ∈ R 2 ∣ x − y is rational .
Yes
f. r = x, y ∈ R 2 ∣ x − y is irrrational .
No
9. Given a subset G of R, prove that the following two conditions are equivalent:
a. The relation r defined by
r = x, y ∈ R 2 ∣ x − y ∈ G
is an equivalence relation in R.
b. The set G is nonempty and for all numbers x and y in the set G the numbers −x and x + y must also belong
to G.
Proof that a implies b: We assume that r is an equivalence relation in R. Since r is reflexive we
know that 2 r 2 which says that 2 − 2 ∈ G. Therefore G is nonempty.
Given any member x of the set G we know from the fact that x − 0 ∈ G that x r 0 and it follows from
the fact that r is symmetric that 0 r x which says that −x ∈ G.
Finally, suppose that x and y belong to G. Since 0 − x = −x ∈ G we have 0 r x and since
x − x + y = −y ∈ G we have x r x + y. Therefore, since r is transitive we have 0 r x + y which tells us
that x + y = x + y − 0 ∈ G.
Proof that b implies a: We assume that condition b holds. Using the fact that G ≠ ∅ we choose a
member u of G. We know that −u also belongs to G and that u + −u ∈ G. In other words, 0 ∈ G.
Given any number x we deduce from the fact that x − x = 0 ∈ G that x r x and so r is reflexive.
Given any numbers x and y, if x − y ∈ G then y − x ∈ G and so the condition x r y implies that y r x
and we conclude that r is symmetric.
Finally, suppose that x and y and z are given numbers and that x r y and y r z. Since x − y ∈ G and
y − z ∈ G we have x − y + y − z ∈ G which tells us that x r z and we conclude that r is transitive.
10. Suppose that G ⊆ R and that the relation
r = x, y ∈ R 2 ∣ x − y ∈ G
is an equivalence relation in R. Suppose that in every equivalence class C of r we have chosen a number and
named it x C . Prove that every real number x can be written in one and only one way in the form x C + y where
C is an equivalence class of ∼ and y ∈ G.
Solution: Suppose that x is any real number. We define C to be the equivalence class of the relation
r such that x ∈ C. Since x C ∈ C we know that the ordered pair x, x C must belong to the relation r and so
x − x C ∈ G. Since
x = x C + x − x C
we have shown that there exists an equivalence class C of r and a member y of the set G such that
x = x C + y. Now we need to show that this decomposition of x into the form x C + y is unique. Suppose that
C and D are both equivalence classes of r and that y and z are both members of the set G and that
x C + y = x D + z.
Since
xC − xD = z − y ∈ G
we see that the ordered pair x C , x D belongs to the relation r and we conclude that C = D. Therefore
x = xC + y = xC + z
and it follows that y = z.
11. Given that S is the set of all nonzero real numbers and that G ⊆ S and that
45
r= x, y ∈ S × S ∣ xy ∈ G ,
what properties must the set G have in order to make r an equivalence relation in S?
This exercise is similar to Exercise 9. The set G must be nonempty and whenever x and y belong to
G, the numbers x −1 and xy must belong to G.
12. Suppose that P is the set of all positive numbers that are unequal to 1 and that Q is (as usual) the set of all
rational numbers.
a. Prove that the relation r defined by
r = x, y ∈ P × P ∣ log x y ∈ Q
is an equivalence relation in P.
Given any number x ∈ P we have log x x = 1 ∈ Q and so x r x. Therefore r is reflexive.
Given numbers x and y in P it follows from the equation
log x y = 1
log y x
that log x y ∈ Q if and only if log y x ∈ Q. Therefore r is symmetric.
Given x, y and z in P, if the numbers log x y and log y z are rational then since
log y z
log x z = = log y z log x y ∈ Q
log y x
we conclude that r is transitive.
b. Suppose that E is a subset of P that contains precisely one member of each equivalence class of the
relation r. Prove that if x is any positive number unequal to 1 then x can be expressed in one and only
one way in the form x = y q where y ∈ E and q is a rational number.
We deduce from Exercise 6 that whenever x ∈ P there is exactly one member y of the set E
such that log y x is rational.
13. Suppose that G is a set of nonzero real numbers and that P is the set of all positive numbers that are unequal
to 1. Prove that the following two conditions are equivalent:
a. The relation r defined by
r = x, y ∈ P × P ∣ log x y ∈ G
is an equivalence relation in P.
a
b. The set G is nonempty and for all numbers a and b in the set G the number b
belongs to G.
This exercise can be completed by the methods that were used in Exercises 9 and 11.
An alternative is to use the conclusion of Exericise 11 as follows: We define
W = log 2 x ∣ x ∈ P
and we define the relation s in W by saying that if u and v belong to W then u s v means that uv ∈ G.
Note that W is the set of nonzero real numbers. Since the condition u s v holds exactly when 2 u r 2 v
we see at once that r is an equivalence relation in P if and only if s is an equivalence relation in the
set W, the desired result follows at once from Exercise 11.
14. Suppose that S is a linearly independent subset of a vector space V. Prove that the relation r defined by
r = x, y ∈ V × V ∣ S ∪ x − y is linearly dependent
is an equivalence relation in V.
Given x ∈ S we know from the fact that the set S ∪ x − x contains the additive identity 0 that
S ∪ x − x is linearly dependent. Therefore the relation r is reflexive.
Given x and y in S, the set S ∪ x − y is linearly dependent if and only if the set S ∪ y − x is
linearly dependent. Therefore r is symmetric.
Finally suppose that x, y and z belong to S and that x r y and that y r z. The sets S ∪ x − y and
S ∪ y − z are linearly dependent. Since both x − y and y − z must lie in the span 〈S〉 of S we know
46
that x − y + y − z ∈ 〈S〉 and so the set S ∪ x − z is linearly dependent.
15. What can be said in the above exercise if the set S is linearly dependent?
If S is linearly dependent then the condition x r y holds for all x and y in S, in other words, r = S × S
which is an equivalence relation in S.
Exercises on Functions
1. Given that f x = x 2 for every real number x, simplify the following expressions:
a. f 0, 3
We have f0, 3 = 0, 9.
b. f −2, 3
We have f−2, 3 = 0, 9.
c. f −1 −3, 4
47
We have f −1 −3, 4 = 0, 16.
2. Point at the equation f x = x 2 and then click on the button in your computing toolbar. Then
work out the expressions in parts (a) and (b) of the preceding exercise by pointing at them and clicking on
the evaluate button.
3. Supply each of the definitions f x = x 2 and gx = 2 − 3x to Scientific Notebook and then ask
Scientific Notebook to solve the equation
f ∘ gx = g ∘ f x.
f x = x − 2
1 − 2x
to Scientific Notebook. In this exercise we shall see how to evaluate the composition of the function f with
itself up to 20 times starting at a variety of numbers. Open the Compute menu, click on Calculus and move
to the right and select Iterate. In the iterate dialogue box
fill in the function as f , the starting value as 3 and the number of iterations as 20. Repeat this process with
different starting values. Can you draw a conclusion from what you see?
5. Given that f x = x 2 for all x ∈ R and gx = 1 + x for all x ∈ R, simplify the following expressions:
a. f ∘ g0, 1
We have f ∘ g0, 1 = f g0, 1 = f 1, 2 = 1, 4.
b. g ∘ f 0, 1
We have g ∘ f 0, 1 = gf 0, 1 = g0, 1 = 1, 2.
c. g ∘ g0, 1
We have g ∘ g0, 1 = gg0, 1 = g1, 2 = 2, 3.
6. a. Given that f x = 3x − 2/x + 1 for all x ∈ R ∖ −1, determine whether or not f is one-one and find
its range.
Given any numbers x and y, the equation y = fx says that
y = 3x − 2
x+1
which gives us
xy + y = 3x − 2
and finally
2+y
x= .
3−y
Since, for each number y, there is only one number x that makes the equation y = 3x−2 x+1
hold,
the function f is one-one.
Given any number y, the existence of a number x that makes the equation y = 3x−2 x+1
hold will be
48
assured as long as y ≠ 3 and so the range of the function f is R ∖ 3.
y = 3x − 2
x+1
and ask Scientific Notebook to solve for x. How many values of x are given? Is this result consistent with
the answer you gave in part a of the question?
7. Suppose that f : A → B and that E ⊆ A. Is it true that E = f −1 fE? What if f is one-one? What if f is onto
B?
Since
f −1 f E = x ∈ A ∣ fx ∈ f E
we see at once that E ⊆ f f E. However, the equation E = f −1 f E does not have to hold, even
−1
10. Suppose that f : A → B and that P and Q are subsets of A. Which of the following statements are true? What
if f is one-one? What if f is onto B?
fP ∪ Q = fP ∪ fQ
Hint: This statement is true.
fP ∩ Q = fP ∩ fQ
This statement is false. Give an example. Then prove that the statement is true if f is one-one.
If we define fx = x 2 for every number x then
f −1 ∩ 1 ≠ f −1 ∩ f 1.
In general it is clear that f P ∩ Q ⊆ f P ∩ f Q. Now suppose that f is one-one and that
y ∈ f P ∩ f Q. Using the fact that y ∈ f P we choose x ∈ P such that y = fx and, using the fact
that y ∈ f Q we choose t ∈ Q such that y = ft. Since fx = ft and f is one-one we have x = t
and so x ∈ P ∩ Q and we conclude that y ∈ f P ∩ Q.
fP ∖ Q = fP ∖ fQ
This statement is true when f is one-one.
11. Given that f is a one-one function from A to B and that g is a one-one function from B to C, prove that the
49
function g ∘ f is one-one from A to C.
Solution: We need to prove that whenever t and x are members of the set A and t ≠ x we have
g ∘ ft ≠ g ∘ fx.
Suppose that t and x are members of the set A and that t ≠ x. Since f is one-one we have ft ≠ fx.
Therefore, since g is one-one we have gft ≠ gfx and we have shown that g ∘ ft ≠ g ∘ fx.
12. Given that f is a function from A onto B and that g is a function from B onto C, prove that the function g ∘ f
is a function from A onto C.
Suppose that z ∈ C. Using the fact that g is onto the set C, choose y ∈ B such that gy = z. Now
we use the fact that f is onto the set B to choose x ∈ A such that fx = y. We observe that
g ∘ fx = z. In this way we have shown that every member of the set C belongs to the range of
the function g ∘ f.
13. Given that f : A → B and that g : B → C and that the function g ∘ f is one-one, prove that f must be one-one.
Give an example to show that the function g does not have to be one-one.
Solution: To prove that f is one-one, suppose that x 1 and x 2 are members of the set A and that
x 1 ≠ x 2 . Since the function g ∘ f is one-one we know that gfx 1 ≠ gfx 2 and we see at once that
fx 1 ≠ fx 2 . Now we construct an example to show that the function g does not have to be one-one. We
define fx = x for every x ∈ 0, 1 and we define
x if x ∈ 0, 1
gx =
2 if 1 < x ≤ 5
14. Given that f is a function from A onto B and that g : B → C and that the function g ∘ f is one-one, prove that
both of the functions f and g have to be one-one.
Solution: To see that f is one-one, suppose that x and t are members of the set A and that t ≠ x.
Since gft ≠ gfx we see at once that ft ≠ fx.
Now to see that g is one-one, suppose that u and y are members of the set B and that u ≠ y. Using the fact
that the function f is onto the set B we choose members t and x of A such that u = ft and y = fx. We see
at once that t ≠ x and therefore
gu = gft ≠ gfx = gy.
50
17. Suppose that S is a given set and that ℑ is the set of all functions from S to R. Suppose that the partial order
≤ is defined in the set ℑ above. Given two members f and g of ℑ, prove that there exists a member u of ℑ
such that the following two conditions hold:
a. f ≤ u and g ≤ u
b. Whenever a member h of ℑ satisfies f ≤ h and g ≤ h, we have u ≤ h.
Suppose that f and g belong to the family ℑ. We define
fx if gx ≤ fx
ux =
gx if fx < gx
It is easy to see that this function u has the desired properties.
18. Given any set S, the identity function i S on S is defined by i S x = x for every x ∈ S. Prove that if f is a
one-one function from a set A onto a set B then f −1 ∘ f = i A and f ∘ f −1 = i B .
The equation f −1 ∘ f = i A says that f −1 fx = x for every x ∈ A and this assertion is exactly the
definition of the function f −1 . The equation f ∘ f −1 = i B follows similarly.
19. Suppose that f : A → B.
a. Given that there exists a function g : B → A such that g ∘ f = i A , what can be said about the functions f
and g?
If x and t are any members of A for which fx = ft then it follows that
x = gfx = gft = t
and so the function f is one-one.
Given any x ∈ A we see from the fact that x = gfx that the function g is onto the set A.
b. Given that there exists a function h : B → A such that f ∘ h = i B , what can be said about the functions f
and h?
This is just part a again. The function f must be onto the set B and the function h must be
one-one.
c. Given that there exists a function g : B → A such that g ∘ f = i A and that there exists a function
h : B → A such that f ∘ h = i B , what can be said about the functions f, g and h?
Now the function f must be one-one and onto the set B and the functions g and h are one-one
from B onto A and, in fact g = h.
20. As in a previous example, we define
f a x = x − a
1 − ax
whenever a ∈ −1, 1 and x ∈ −1, 1.
a. Prove that if a and b belong to −1, 1 then so does the number
c = a+b .
1 + ab
Hint: An quick way to do this exercise is to observe that c = f −b a.
We saw in that earlier example that whenever −1 < a < 1, the function f a is a one-one function
from −1, 1 onto −1, 1. and that f−1 = −1 and f1 = 1. Therefore
c = f −b a ∈ −1, 1.
51
x−a
x−a
−b
f b f a x = f b = 1−ax
1 − ax 1− x−a
b
1−ax
x−a
− b 1 − ax 1 + abx − a + b
= 1−ax
=
1− x−a
b 1 − ax 1 + ba − a + bx
1−ax
1+ab
x−1
= a+b
= f c x.
1+ba
a+b
−x
fx= 1
2
if x = 0
x if x ∈ 0, 1 ∖ 0 ∪ 1
n ∣ n ∈ Zand n ≥ 2
is a one-one function from 0, 1 onto 0, 1.
3. Prove that if a < b then any two of the four intervals a, b, a, b, a, b and a, b are equivalent.
Solution: Choose a one-one function f from A onto Z + and a one-one function g from B onto Z + . We
now define a function h on the set A ∪ B as follows:
2fx − 1 if x ∈ A
hx =
2gx if x ∈ B
and we observe that h is a on-one function from A ∪ B onto Z + .
5. Given that A ∼ B, prove that A × A ∼ B × B.
Using the fact that A ∼ B we choose a one-one function f from A onto B. We now define
gx, y = fx, fy
52
for every point x, y ∈ A × B.
To see that g is one-one, suppose that x, y and u, v belong to A × A and that gx, y = gu, v.
We have fx, fy = fu, fv and so fx = fu and fy = fv. Since f is one-one we have x = u
and y = v which tells us that x, y = u, v.
Now to see that g is onto the set B × B, suppose that s, t ∈ B × B. Using the fact that f is onto B,
choose x and y in A such that fx = s and fy = t. We see that gx, y = s, t.
53
6. Prove that if S is the set of all 2 × 2 matrices of the form
a b
−b a
where a and b are real numbers, then matrix multiplication is an associative commutative binary operation in
S.
We observe that if x 1 ,y 1 ,x 2 and y 2 then
x1 y1 x2 y2 x1x2 − y1y2 x1y2 + y1x2
=
−y 1 x 1 −y 2 x 2 −y 1 x 2 − x 1 y 2 x 1 x 2 − y 1 y 2
x1 y1
and so, by relating ordered pairs x 1 , y 1 and matrices we can see that this exercise
−y 1 x 1
is really Exercise 3 again in disguise.
7. Prove that if S is the set of all 2 × 2 matrices of the form
cos θ sin θ
− sin θ cos θ
where θ is any real number, then matrix multiplication is an associative commutative binary operation in S.
Once we have shown that the product of any two members of S must lie in S we shall know that this
exercise is a special case of Exercises 3 and 5. We can think of the members of S as being the
complex numbers whose distance from 0 is 1.
Solution: The assertion is obvious if n = 1. We shall now assume that n > 1 and we shall write n in
the form m + 1 where m is a positive integer. Suppose that S is a proper subset of the set 1, 2, ⋯, m + 1.
In the event that m + 1 ∉ S we know that S ⊆ 1, 2, ⋯, m and so cardS ≤ m < m + 1. Suppose now that
m + 1 ∈ S. Using the fact that that S is a proper subset of the set 1, 2, ⋯, m + 1 we choose an integer
k ∈ 1, 2, ⋯, m ∖ S. Since
S ∼ S ∪ k ∖ m + 1
and since
card S ∪ k ∖ m + 1 < m + 1
we see that cardS < m + 1.
2. Prove that if A is a finite set and B is a proper subset of A then we do not have A ∼ B.
Using the fact that A is a nonempty finite set we choose a positive integer n such that
A ∼ 1, 2, ⋯, n. Choose a one-one function f from A onto 1, 2, ⋯, n. Since B is a proper subset of
A the set f B must be a proper subset of 1, 2, ⋯, n. If we had A ∼ B then we would have
f B ∼ B ∼ A ∼ 1, 2, ⋯, n
which is impossible by Exercise 1. Therefore we can’t have A ∼ B.
3. Prove that if A and B are finite sets and A ∩ B = ∅ then cardA ∪ B = cardA + cardB.
Solution: We use mathematical induction. Suppose that A is a finite set and define m = cardA. For
each nonnegative integer n we take p n to be the assertion that if B is any finite set disjoint from A and
satisfying cardB = n then the set A ∪ B is finite and cardA ∪ B = m + n.
54
The assertion p 0 is obvious. We shall now prove that p 1 is true. Suppose that B is any set disjoint from A
and satisfying cardB = 1. We can express B in the form u. Choose a one-one function f from A onto
1, 2, ⋯, m and extend the function f to A ∪ B by defining fu = m + 1. Since this extension of f is a
one-one function from A ∪ B onto 1, 2, ⋯, m, m + 1, we have cardA ∪ B = m + 1.
Now suppose that n is any positive integer for which the assertion p n is true and that B is a set disjoint
from A and satisfying cardB = n + 1. Choose a member u of the set B. Since the assertion p 1 is true and
u is disjoint from the finite set B ∖ u we have
cardB = cardB ∖ u + 1
which tells us that cardB ∖ u = n. Therefore, since the assertion p n is true we have
cardA ∪ B ∖ u = m + n
and since p 1 is true and since u is disjoint from A ∪ B ∖ u we have
cardA ∪ B = card A ∪ B ∖ u ∪ u = m+n+1
4. Given that A and B are finite sets and that cardA = m and cardB = n, prove that A ∪ B is finite and that
cardA ∪ B ≤ m + n.
The point is that A ∪ B = A ∪ B ∖ A and that since B ∖ A is a subset of B we have
cardB ∖ A ≤ cardB.
5. Given that A and B are finite sets and that cardA = m and cardB = n, prove that A × B is finite and that
cardA × B = mn.
Solution: We use mathematical induction. Suppose that A is a finite set and that cardA = m. For
each nonnegative integer n we take p n to be the assertion that whenever B is a finite set and cardB = n
then the set A × B is finite and cardA × B = mn.
The assertion p 0 is obvious because, if B is empty then A × B is empty.
The assertion p 1 is obvious because, if B = u then A × B ∼ A.
Now suppose that n is any positive integer for which the assertion p n is true and suppose that
cardB = n + 1. Choose a member u of the set B. Since cardB ∖ u = n we have
cardA × B ∖ u = mn
and since the assertion p 1 gives us cardA × u = m and since the set A × u is disjoint from
A × B ∖ u, Exercise 3 guarantees that
cardA × B = card A × B ∖ u ∪ A × u = mn + m = mn + 1
6. Given that S is a finite set and cardS = n, prove that the power set pS of S is a finite set and that
cardpS = 2 n .
Solution: We use mathematical induction. For each nonnegative integer n we take p n to be the
assertion that whenever S is a finite set satisfying cardS = n then pS is a finite set and cardpS = 2 n .
If S = ∅ then pS = ∅ and so
cardpS = 1 = 2 0 = 2 cardS .
Therefore the assertion p 0 is true.
To see that the assertion p 1 is true, suppose that cardS = 1. We write S in the form S = u. Since
pS = ∅, u
we see that
cardpS = 2 = 2 1 = 2 cardS .
Now suppose that n is any positive integer for which the assertion p n is true and suppose that
cardS = n + 1. Choose a member u of the set S. Since cardS ∖ u = n we know that
card pS ∖ u = 2n.
We now define
55
W= A ∪ u ∣ A ∈ pS ∖ u
and we observe that W ∼ pS ∖ u. (To see this, define fA = A ∪ u for every A ∈ pS ∖ u.) Since
W is disjoint from pS ∖ u and cardW = n we deduce from Exercise 3 that
cardpS = cardpS ∖ u ∪ W = 2 n + 2 n = 2 n+1 .
7. Prove that if S is a nonempty finite set of real numbers then S has a largest member.
We use mathematical induction. For each positive integer n we take p n to be the assertion that
whenever S is a finite set satisfying cardS = n then S has a largest member. The assertion p 1 is
obvious.
Now suppose that n is any positive integer for which the assertion p n is true and suppose that S is a
finite set satisfying cardS = n + 1. We choose a member u of the set S. Since cardS ∖ u = n we
know that the set S ∖ u has a largest member that we shall call v. In the event that u ≤ v we see
that v is the largest member of S and in the event that v < u we see that u is the largest member of
S. In either event the set S must have a largest ,member.
8. Prove that none of the sets the set Z + , Z, Q, and R are finite.
All of these sets are nonempty and none of them has a largest member.
9. Prove that a subset S of Z + is finite if and only if it is possible to find an integer n such that the inequality
m ≤ n holds for every member m of S.
We already know that if n is any positive integer then every subset of the set 1, 2, ⋯, n is finite. On
the other hand, if S is a finite subset of Z + then either S is empty, in which case m ≤ 1 for every
m ∈ S, or S has a largest member n, in which case m ≤ n for every m ∈ S.
10. Prove that if m and n are positive integers then the number of possible functions from the set 1, ⋯, n into
the set 1, ⋯, m is m n .
Solution: We want to know that if ℑ is the set of all functions from 1, 2, ⋯, n into 1, 2, ⋯, m then
the set ℑ is finite and cardℑ = m n . We suppose that m is a positive integer and for each positive integer n
we define ℑ n to be the set of all functions from 1, 2, ⋯, n into 1, 2, ⋯, m. For each positive integer n
we take p n to be the assertion that cardℑ n = m n .
To see that the assertion p 1 is true we observe that if we define φj for each j ∈ 1, 2, ⋯, m to be the
function from 1 to 1, 2, ⋯, m whose value at 1 is j then φ is a one-one function from 1, 2, ⋯, m onto
ℑ 1 . Therefore
cardℑ 1 = m = m 1 .
Now suppose that n is any positive integer for which the assertion p n is true. In order to prove that
cardℑ n+1 = m n+1 we shall show that
ℑ n × 1, 2, ⋯m ∼ ℑ n+1
and for this purpose we shall define a function
φ : ℑ n × 1, 2, ⋯, m → ℑ n+1
as follows: For each member f, j of the set ℑ n × 1, 2, ⋯, m we define
fk if k ∈ 1, 2, ⋯, n
φf, jk = .
j if k = n + 1
The proof will be complete when we have seen that φ is one-one and is onto the set ℑ n+1 .
To see that φ is one-one we suppose that f 1 , j 1 and f 2 , j 2 belong to ℑ n × 1, 2, ⋯, m and that
φf 1 , j 1 = φf 2 , j 2 . For each k ∈ 1, 2, ⋯, n we have
f 1 k = φf 1 , j 1 k = φf 2 , j 2 k = f 2 k
and so f 1 = f 2 . We see also that
j 1 = φf 1 , j 1 n + 1 = φf 2 , j 2 n + 1 = j 2 .
Finally, to see that φ is onto the set ℑ n+1 , suppose that g ∈ ℑ n+1 and define j = gn + 1 and define
fk = gk for every k ∈ 1, 2, ⋯, n. We see at once that g = φf, j.
56
11. a. Prove that if for each positive integer n we define F n to be the set of all one-one functions from
1, 2, ⋯, n onto 1, 2, ⋯, n then for each n we have
F n+1 ∼ F n × 1, 2, ⋯, n, n + 1.
Solution: To motivate the solution of this exercise we should consider that a one-one function from
the set 1, 2, ⋯, n onto itself is a way or arranging the members of the set 1, 2, ⋯, n in a sequence
x 1 , ⋯, x n . For each such arrangement we can obtain an arrangement of the members of the larger set
1, 2, ⋯, n, n + 1 by placing the number n + 1 in any of the n + 1 positions shown
n + 1, x 1 , x 2 , ⋯, x n
x 1 , n + 1, x 2 , ⋯, x n
⋮
x 1 , x 2 , ⋯, x n , n + 1
Thus the number of ways of arranging the members of 1, 2, ⋯, n, n + 1 should be n + 1 times the
number of ways of arranging the members of 1, 2, ⋯, n in a sequence.
Now we begin: We define a function φ from F n × 1, 2, ⋯, n, n + 1 → F n+1 as follows: Given any
member f, m of the set F n × 1, 2, ⋯, n, n + 1 we define
fj if j < m
φf, mj = n+1 if j = m .
fj − 1 if j > m
Each such function φf, m is a one-one function from 1, 2, ⋯, n, n + 1 onto 1, 2, ⋯, n, n + 1. To
see that the function φ is one-one, suppose that f, m and g, k belong to the set
F n × 1, 2, ⋯, n, n + 1 and that φf, m = φg, k. Since the function φg, k is one-one and since
φg, km = φf, mm = n + 1 = φg, kk
we deduce that k = m.
Given any j < m we have
fj = φf, mj = φg, mj = gj
and given any j ≥ m we have
fj = φf, mj + 1 = φg, mj + 1 = gj
and we conclude that f = g. Therefore the function φ is one-one.
Finally, to show that φ is onto the set F n+1 we assume that h ∈ F n+1 . In other words, h is a one-one
function from the set 1, 2, ⋯, n, n + 1onto 1, 2, ⋯, n, n + 1. We see easily that if m = h −1 n + 1
and if we define f : 1, 2, ⋯, n → 1, 2, ⋯, n by the equation
hj if j < m
fj =
hj + 1 if j ≥ m
then f ∈ F n and h = φf, m.
b. Prove that for each positive integer n, the number of ways of ordering the numbers in the set 1, ⋯, n
into a finite one-one sequence is n!
Solution: We use mathematical induction. The exercise is asking us to prove that if, for each
positive integer n we write F n for the set of all one-one functions from the set 1, 2, ⋯, n onto
1, 2, ⋯, n then for each n we have cardF n = n!.
For each positive integer n we take p n to be the assertion that cardF n = n! The assertion p 1 is
obvious.
Now suppose that n is any positive integer for which the assertion p n is true. From part a and from
Exercise 5 we see that
57
cardF n+1 = cardF n card1, 2, ⋯, n, n + 1
= n!n + 1 = n + 1!
12. Given that r and n are integers and that 0 ≤ r ≤ n, the binomial coefficient nr is defined by
n = n! .
r n − r!r!
Solution: For each nonnegative integer n we define p n to be the assertion that, whenever r is an
integer and 0 ≤ r ≤ n, the number of subsets with exactly r members of any given set that has exactly
n members is nr . The statement p 0 is obviously true. Now suppose that n is a nonnegative integer for
which the statement p n is true, suppose that r is an integer, that 0 ≤ r ≤ n + 1 and that S is a set with
exactly n + 1 members. Choose a member q of the set S. We observe that the set S ∖ q has exactly n
members.
Now we define A to be the family of all subsets of the set S ∖ q and having exactly r members and B
to be the family of all sets of the form q ∪ E where E is a subset of S ∖ q that has exactly r − 1
members. (In the event that r = 0, this definition makes the set B empty.) We see that
cardA = nr
and
cardB = n
r−1
and therefore, by Exercise 3 we deduce that the number of subsets of S that have exactly r members is
cardA ∪ B = cardA + cardB = nr + n = n +r 1 .
r−1
The desired assertion therefore follows by mathematical induction.
c. Prove that if n is a positive integer then
n + n + ⋯ + n = 2n.
0 1 n
An intuitive approach to this question is to conclude from part b that the number ∑ j=0 nj is
n
the number of subsets of 1, 2, ⋯, n which we know from Exercise 6 to be 2 n . We could write a
more careful proof using mathematical induction but that proof would be the special case of
Exercise 13 obtained when a = b = 1.
13. Prove that if n is a nonnegative integer and a and b are any real numbers then
a + b n = n a n b 0 + n a n−1 b 1 + ⋯ + nr a n−r b r + ⋯ + n 0 n
n a b .
0 1
This equation, as you may know, is known as the binomial theorem.
The solution of this exercise would be the standard proof by mathematical induction of the binomial
theorem. Of course the calculus part of the text shows much more elegant ways of deducing the
binomial theorem.
58
From an earlier exercise we know that a subset E of Z + is infinite if and only if for every integer n
there exists a member m of E such that m > n. We also know that a subset of Z + is equivalent to Z +
if and only if it is infinite.
2. Given that S is an infinite set and that x ∈ S, prove that S ∼ S ∖ x.
Since S = S ∖ x ∪ x and S is infinite, the set S ∖ x must be infinite. Choose a one-one
function f from Z + into S ∖ x. We now define
x if u = f1
gu = fn if u = fn + 1 and n is a positive integer
u if u ∈ S ∖ x ∪ f Z +
Exercises on Countability
1. Prove that if E is the set of irrational numbers then R ∼ E.
Since the set Q of rational numbers is countable, the desired result follows at once from
the theorem on removal of a countable subset from an uncountable set.
2. Suppose that A is a countable set and n is a positive integer. Suppose that B is the set of finite sequences
x 1 , x 2 , ⋯, x n for which x j ∈ A for every j ∈ 1, ⋯, n. Prove that the set B is countable.
Solution: For each positive integer n we define B n to be he set of finite sequences x 1 , x 2 , ⋯, x n for
which x j ∈ A for every j ∈ 1, ⋯, n. We shall prove by mathematical induction that the set B n is
countable for every positive integer n. Since B 1 ∼ A we know that B 1 is countable. Now given any positive
integer n for which the set B n is countable we deduce from the fact that
B n+1 ∼ B n × A
and a an earlier theorem that B n+1 is countable.
3. Justify the claim that was made in the proof of that a countable union of countable sets is countable that
the function h defined there is one-one.
For each positive integer n, we choose a one-one function from A n into Z + and we call this function
f n . Now given any
∞
x∈ ⋃ An,
n=1
if n is the least positive integer for which x ∈ A n , then we define
59
hx = n, f n x.
We are being asked to show that the function h defined in this way is one-one.
∞
Suppose that x and t belong to ⋃ n=1 A n and that ht = hx. We define m to be the least positive
integer for which t ∈ A m and x to be the least positive integer for which x ∈ A n . We see that
m, f m t = ht = hx = n, f n x
and so m = n and f m t = f m x. Since the function f m is one-one we conclude that t = x. Therefore
h is one-one.
4. Suppose that n is a positive integer and that P n is the set of all polynomials that have rational coefficients and
whose degrees do not exceed n. Prove that the set P n is countable.
Hint: This exercise follows very simply from Exercise 2.
5. Prove that if P is the set of all polynomials with rational coefficients then P is countable.
Hint: Use the fact that if P n is defined as in Exercise 4 for each n then
∞
P= ⋃ Pn.
n=1
6. As indicated earlier, a number x is said to be algebraic if there exists a nonzero polynomial f with integer
coefficients such that fx = 0. Prove that the set of algebraic numbers is countable.
Solution: The set F of polynomials with integer coefficients is countable by Exercise 5. Now for
every member f of the set F we know that the set of solutions of the equation fx = 0 is finite; and
therefore countable. Therefore the set
⋃x ∈ R ∣ fx = 0
f∈F
is countable.
7. A real number that is not algebraic is said to be transcendental. Complete the details of Cantor’s proof
outlined earlier that there exist transcendental numbers.
The work has been done. The set of algebraic numbers is countable and the set R of all real
numbers is uncountable. Therefore there must exist numbers that are not algebraic. In fact, we can
do better. If T is the set of transcendental numbers then, since R ∖ T is countable we have R ∼ T.
8. Prove that the set of all functions from Z + into 0, 1 is uncountable.
The proof given here is modelled on the diagonal method given earlier, We define F to be the set
of all functions from Z + into 0, 1 and, to obtain a contradiction suppose that the members of F can
be arranged in a sequence f 1 , f 2 , f 3 ⋯. For each n we define
gn = 1 − f n n.
+
We see that g is a function from Z into 0, 1 and that g is not equal to any of the functions f n . This
is the desired contradiction.
9. Prove that if S is the set of all functions from Z + into 0, 1 and pZ + is the family of all subsets of Z + , then
S ∼ pZ + . Deduce that pZ + is uncountable.
Hint: For every subset E of Z + we define a function φE from Z + to 0, 1 by the equation
1 if x ∈ E
φEx =
0 if x ∈ Z + ∖ E
Now show that the function φ defined in this way is a one-one function from pZ + onto S.
Exercises on Subequivalence
60
1. Given sets A, B and C satisfying A ∼⊆ B and B ∼⊆ C, prove that A ∼⊆ C.
Choose a one-one function f from A into B and a one-one function g from B into C. From Exercise
11 of the exercises on functions we see that g ∘ f is a one-one function from A into C.
2. Given that A is strictly subequivalent to B and that B ∼⊆ C, explain why A must be strictly subequivalent to
C.
Solution: The assertion we want to prove is obvious if A is empty. Suppose now that A ≠ ∅. Using the
fact that that B ∼⊆ C we choose a function f from C onto B. Now to obtain a contradiction, suppose that A
fails to be strictly subequivalent to C and choose a function g from A onto C. The composition f ∘ g is a
function from A onto B, contradicting our assumption that A is strictly subequivalent to B.
3. Given that a set A is countable and that B is uncountable, explain why A is strictly subequivalent to B.
Since B is an infinite set we have Z + ∼⊆ B. Since A ∼⊆ Z + ∼⊆ B we have A ∼⊆ B. Since A is
countable and B is uncountable it is impossible to have A ∼ B.
4. Given that a set S is finite and that x ∈ S, explain why the set S ∖ x must be strictly subequivalent to S.
Since S ∖ x ⊆ S we know that S ∖ x is subequivalent to S. We also know from Exercise 2 of the
exercises on finite sets that the sets S and S ∖ x are not equivalent to each other.
5. Given that A ∼⊆ B prove that pA ∼⊆ pB.
Hint: Using the fact that A ∼⊆ B we choose a one-one function f from A to B. We now define a
function φ from pA to pB as follows:
φE = fE
for every subset E of A. Show that the function φ defined in this way is one-one.
To see that φ is one-one, suppose that E and F are subsets of A and that φE = φF, in other
words f E = f F. Given any member x of the set E we know that fx ∈ f F. Choose u ∈ F such
that fx = fu. Since f is one-one we have x = u and so x ∈ F. Therefore E ⊆ F and we see
similarly that F ⊆ E. We conclude that E = F.
6. Prove that R ∼⊆ pQ.
61
The exercises in this subsection explore some of the harder properties of set equivalence that can be deduced
with the help of the equivalence theorem. We also need a little notation: Given any two sets A and B, the set
A B is defined to be the set of all functions from B to A. Thus
A B = f ∣ f : B → A.
B
h∘f
f
h
U
A
For each member f of the set A B we define φf to be the function h ∘ f : B → U. In other words,
φfx = hfx
whenever x ∈ B. To see that φ is one-one, suppose that f 1 and f 2 are different members of the st A B .
Choose x ∈ B such that f 1 x ≠ f 2 x. Since h is one-one we have
hf 1 x ≠ hf 2 x,
62
in other words, φf 1 x ≠ φf 2 x and therefore the functions φf 1 and φf 2 are unequal to each other.
5. Given that A and B are nonempty sets and that B ∼⊆ V, prove that A B ∼⊆ A V .
Solution: Using the fact that B is nonempty and B ∼⊆ V we choose a function h from V onto B. We
now define a function from A B into A V as follows:
B
h
f
f∘h
V
A
For each member f of the set A B we define φf to be the function f ∘ h. In other words
φfx = fhx
whenever x ∈ V. To see that the function φ is one-one, suppose that f 1 and f 2 are different members of the
set A B and choose a member y of B such that f 1 y ≠ f 2 y. Using the fact that the function h is onto the
set B, choose a member x of V such that hx = y. Thus
φf 1 x = f 1 hx = f 1 y ≠ f 2 y = f 2 hx = φf 2 x
and so the functions φf 1 and φf 2 are different from each other.
6. Combine this exercise and this exercise to show that if A ≠ ∅, A ∼⊆ U and B ∼⊆ V, then A B ∼⊆ U V .
7. Use this exercise and the equivalence theorem to give a quick proof that if A ≠ ∅, A ∼ U and B ∼ V, then
AB ∼ UV.
8. Given any sets A, B and C, prove that
A B C ∼ A B×C .
Solution: We begin by observing that a typical member of the set A B C is a function f from C to A B .
For such a function f we know that, whenever x ∈ C, the function fx is a function from B to A. Thus if
f ∈ A B C then for every member x of the set C and every member y of the set B we have
fxy ∈ A.
Now we take a similar look at the set A B×C .
A typical member of this set is a function g from B × C into A.
Thus if g ∈ A B×C then whenever x ∈ C and y ∈ B we have
gy, x ∈ A.
With these thoughts in mind we define a function φ from A B C to A B×C as follows: Given any member f
of the set A B C , the function φf is the function from B × C to A defined by
φfy, x = fxy
whenever x ∈ C and y ∈ B.
We need to show that the function φ is one-one and that the range of φ is the entire set A B×C .
To see that φ is one-one, suppose that f 1 and f 2 are different members of the set A B C . Choose a member
x of C such that f 1 x ≠ f 2 x. Using the fact that f 1 x and f 2 x are different functions from B to A we
now choose a member y of B such that
f 1 xy ≠ f 2 xy
and we observe that
φf 1 y, x ≠ φf 2 y, x
which tells us that φf 1 ≠ φf 2 .
Finally, to see that φ is onto the set A B×C , suppose that g ∈ A B×C . We need to find a member f of the set
A B C such that g = φf. Given any member x of the set C we define fx to be the function from B to A
63
whose value at each member y of the set B is gy, x. The function f from C to A B that we have defined
clearly satisfies the condition g = φf.
+ +
9. Show that R ∼ 0, 1 Z and then use this exercise to show that R Z ∼ R.
Solution: We already know that
+
R ∼ pZ + ∼ 0, 1 Z .
Therefore
+ + Z+ + ×Z + +
R Z ∼ 0, 1 Z ∼ 0, 1 Z ∼ 0, 1 Z ∼ R,
theorem that R 3 ∼⊆ R.
+
12. Prove that pR Z ∼ pR R ∼ pR.
+
Solution: On the one hand we know that pR ∼⊆ pR Z and on the other other hand we know
that
+ R
pR Z ∼⊆ pR R ∼ 0, 1 R ∼ 0, 1 R×R ∼ 0, 1 R ∼ pR
and so the result follows from the equivalence theorem.
13. Prove that R R ∼ pR.
On the one hand, pR ∼ 0, 1 R ∼⊆ R R and on the other hand
+ R + ×R
R R ∼ 0, 1 Z ∼ 0, 1 Z ∼⊆ 0, 1 R×R ∼ 0, 1 R ∼ pR
and so the result follows from the equivalence theorem.
14. Prove that if A ∼⊆ R and A has more than one member then A R ∼ pR.
Since A has more than one member we have
pR ∼ 0, 1 R ∼⊆ A R .
On the other hand,
A R ∼⊆ R R ∼ pR
and so the result follows from the equivalence theorem.
15. Given that S is a set with more than one member and that S × S ∼ S, prove that S S ∼ pS S ∼ pS. We
shall show in a later theorem that the condition S × S ∼ S is satisfied by every infinite set.
Since S has more than one member we have
pS ∼ 0, 1 S ∼⊆ S S ∼⊆ pS S .
On the other hand,
S
pS S ∼ 0, 1 S ∼ 0, 1 S×S ∼ 0, 1 S ∼ pS
and so the result follows from the equivalence theorem.
16. Given that S × S ∼ S, that A ∼⊆ S and that A has more than one member, prove that A S ∼ pS.
Since A has more than one member we have
64
pS ∼ 0, 1 S ∼⊆ A S .
On the other hand,
A S ∼⊆ S S ∼ pS
by Exercise 15. So the result follows from the equivalence theorem.
17. The preceding exercises show that when A ∼⊆ B and the set A has more than one member and the set B
satisfies the condition B × B ∼ B, then we have A B ∼ pB. Now what happens when B is the smaller set? In
other words, what happens when B is strictly subequivalent to A? In this case, Exercises this one, this one,
this one and this one seem to suggest that we should have A B ∼ A. In this exercise we see that this
statement is false even if A is uncountable and B is countable:
a. Suppose that S n is a sequence of sets, that
S= ⋃ Sn
n∈Z +
+
and that, for each n, the set S n is strictly subequivalent to S. Prove that the sets S and S Z are not
+
equivalent to each other. Show, in fact, that there is no function from S onto S Z .
+
Solution: Suppose that f is any function from S to the set S Z . Given any member x of S we
know that fx is a function from Z + to S which means that fx is a sequence of members of S. For
each positive integer n and each x ∈ S we define f n x to be the nth member of the sequence fx. In
other words, if x ∈ S then fx is the sequence
f 1 x, f 2 x, f 3 x, ⋯.
+
We need to show that the range of f must be a proper subset of S Z and for this purpose we shall find
a sequence x 1 , x 2 , x 3 , ⋯ of members of S such that x 1 , x 2 , x 3 , ⋯ is not in the range of f. For each
positive integer n we use the fact that
S ∖ f n S n ≠ ∅
to choose a member x n of S such that
x n ∈ S ∖ f n S n
Now given any member x of the set S it follows from the fact that
S= ⋃ Sn
n∈Z +
that for some n we have x ∈ S n . For any such n we have f n x ≠ x n and therefore
fx ≠ x 1 , x 2 , x 3 , ⋯
and so the sequence x 1 , x 2 , x 3 , ⋯ has the desired properties.
+
b. Prove that if S is the gigantic set defined earlier then the sets S and S Z are not equivalent.
18. Suppose that to each member i of a given set I there is associated a set S i that is strictly subequivalent to a
given set U. Prove that ⋃ i∈I S i is strictly subequivalent to the set U I .
Solution: Suppose that f is a function from ⋃ i∈I S i to U I and for each i ∈ I we define a function
f i : ⋃ i∈I S i → U by the equation
f i x = fxi
for every x ∈ ⋃ i∈I S i . For each i we use the fact that f i S i ≠ U to choose a member that we shall call gi
of the set U such that gi ∈ U ∖ fS i . In this way we have defined a member g of U I . To see that g does
not lie in the range of f we observe that if x ∈ ⋃ i∈I S i then for some i we have x ∈ S i and for any such i we
have
fxi ≠ gi.
65
1. One of the assertions of an earlier theorem was that if A and B are given sets and if there exists a function g
from B onto A then there must exist a one-one function from A into B. Rewrite the proof of this part of the
theorem and show how and where the axiom of choice is used.
Solution: We assume that g is a function from B onto A. For every member x of the set A we define
E x = y ∈ B ∣ gy = x.
Since the function g is onto A we know that all of the sets E x are nonempty. The axiom of choice therefore
guarantees the existence of a function f defined on A such that fx ∈ E x for every x ∈ A. We observe that
for every member x of the set A we have gfx = x.
To see that the function f is one-one, suppose that x 1 and x 2 belong to A and that fx 1 = fx 2 . We see
that
x 1 = gfx 1 = gfx 2 = x 2 .
2. Suppose that I is a given set and that to each member i ∈ I there is associated a nonempty set A i of natural
numbers. Explain why the axiom of choice does not have to be used to produce a choice function relative to
this association.
Solution: We can provide a specific definition of a choice function in this example by defining fi to
be the least member of the set A i for each i ∈ I.
3. Suppose that to each member i of a given set I there is associated a nonempty finite set A i . Do you think that
the axiom of choice is needed to produce a choice function relative to this association?
Solution: Yes, the axiom of choice is needed here.
4. Suppose that to each member i of a given set I there is associated a nonempty well ordered set A i . Do you
think that the axiom of choice is needed to produce a choice function relative to this association?
Solution: No, the axiom of choice is not needed. We can give a specific definition of a choice
function f by defining fi to be the least member of the set A i for each i ∈ I.
5. Given a finite set A, it is easy to give A a well order. Thus, if to each member i of a given set I there is
associated a nonempty finite set A i , then we can assign a well order to A i for each i and then define fi to be
the least member of A i for each i. In view of this fact, do you want to change your mind about the answer
you gave for the above exercise?
Solution: No you do not want to change your mind. The fact that each set A i can be given a well
order is not the same as having each set A i provided with a specific well order. In order to make use of the
fact that each set A i can be given a well order it is necessary to choose a well order of A i for each i and
this process requires the axiom of choice.
6. Suppose that I is a given set and that for each i ∈ I we have A i = 0, 1. Do you think that the axiom of
choice is needed to produce a choice function relative to this association?
7. Suppose that I is a given set and that for each i ∈ I we have A i = R. Do you think that the axiom of choice is
needed to produce a choice function relative to this association?
Solution: No the axiom of choice is not needed. We can obtain a choice function f very simply by
defining fi = 0 for each i ∈ I.
8. Given that A and B are nonempty sets, do we need the axiom of choice to guarantee that the set A × B is
nonempty?
Solution: No, the axiom of choice is not needed. To show that A × B is nonempty, choose x ∈ A and
then choose y ∈ B. The ordered pair x, y must belong to A × B.
9. Using the axiom of choice, prove that there exists a subset S of R such that the following two conditions hold:
a. Whenever x and y belong to S and x ≠ y, the number x − y is irrational.
b. For every real number x there exists a member y of S such that the number x − y is rational.
66
Solution: We define a relation ∼ in R by saying that if x and y are any real numbers then the
condition x ∼ y means that the number x − y is rational. The relation ∼ is an equivalence relation in
R. We express the family of equivalence classes of this relation as E i ∣ i ∈ I. Using the axiom of
choice we choose a choice function f relative to the association of i to E i . In other words, fi ∈ E i for
each i. We define S = fi ∣ i ∈ I. Since every number must lie in precisely one equivalence class of
the relation ∼ we know that if x ∈ R then there is precisely one member i ∈ I for which x − fi is
rational. Furthermore, if i ≠ j then the fact that fi and fj lie in different equivalence classes tells
us that the number fi − fj is irrational.
10. Prove that if ∼ is an equivalence relation in a set X then there exists a subset S of X such that the following
two conditions hold:
a. Whenever x and y belong to S and x ≠ y, we have ¬x ∼ y.
b. For every x ∈ X there exists a unique member y of S such that x ∼ y.
We use the axiom of choice to choose a set S that contains precisely one member of every
equivalence class of the relation ∼.
11. Given any real numbers x and y we define the statement x ∼ y to mean that there exists an integer n such that
x−y = n 2.
12. This exercise introduces the concept of the product of a family of sets. Suppose that I is a given set and that
to each member i of I there is associated a given nonempty set A i . The set of choice functions relative to this
association is called the product of the indexed family of set A i and is written as
∏ Ai.
i∈I
In other words, the set ∏ i∈I A i is the set of all functions h with domain I that satisfy the condition hi ∈ A i
for every member i of the set I. The axiom of choice tells us that if I is a given set and that if to each member
i of I there is associated a given nonempty set A i then the product ∏ i∈I A i must be nonempty.
The purpose of this exercise is to provide an even stronger statement about the size of the product ∏ i∈I A i .
This stronger statement is known as König’s inequality.
a. (König’s inequality) Suppose that I is a given set and that to each member i of the set I are
associated two sets A i and B i and suppose that for each i ∈ I the set A i is strictly subequivalent to the set
B i . Prove that the set ⋃ i∈I A i is strictly subequivalent to the set ∏ i∈I B i .
Solution: We need to show that there is no function from the set ⋃ i∈I A i onto the set ∏ i∈I B i .
Suppose that
f: ⋃ Ai → ∏ Bi.
i∈I i∈I
We recall that if g is any member of the product then g is a function whose domain is I and for each
i ∈ I we have gi ∈ B i . Given any member j of the set I we define the function π j from ∏ i∈I B i to B j
by the equation
π j g = gj
for every member g of the product ∏ i∈I B i . We observe that whenever j ∈ I the function π j ∘ f is a
function from ⋃ i∈I A i into B j . In fact, if x ∈ ⋃ i∈I A i and j ∈ I then
67
π j ∘ fx = π j fx = fxj ∈ B j .
For each j, since the set A j is strictly subequivalent to B j we know that the set B j ∖ π j ∘ fA j ≠ ∅
and, using the axiom of choice, we choose a choice function φ whose domain is I and that satisfies the
condition
φj ∈ B j ∖ π j ∘ fA j
for every member j of I. This function φ belongs to the product ∏ i∈I B i . However, whenever
x ∈ ⋃ i∈I A i there must exist a member j of the set I such that x ∈ A j and for such j we have
fxj = π j ∘ fx ∈ π j ∘ fA j
and the fact that
φj ∈ B j ∖ π j ∘ fA j
guarantees that φ ≠ fx. Therefore φ cannot belong to the range of f and we have shown that the
function f is not onto the product ∏ i∈I B i .
c. Suppose that S is a given set and that to each member x of the set S are associated the sets A x = x and
B x = 0, 1. Explain how König’s inequality can be applied to this association to show that S is strictly
subequivalent to the set 0, 1 S and deduce that Cantor’s inequality is a special case of König’s
inequality.
Since
⋃x = S
x∈S
and since x is strictly subequivalent to 0, 1 whenever x ∈ S we deduce from König’s
inequality that S is strictly subequivalent to 0, 1 S and we already know that 0, 1 S ∼ pS.
68
4. Given that a and b belong to a well ordered set S and that a < b, prove that a + < b + .
The desired result follows at once from the fact that a + ≤ b and b < b + .
5. Given that a and b belong to a well ordered set S and that a + = b + , prove that a = b.
From Exercise 4 we know that neither of the conditions a < b or b < a can hold.
6. Prove that if a belongs to a well ordered set then a = a + − .
We know that a < a + and that no member of the set can lie between a and a + . Therefore a is the
predecessor of a + .
7. Prove that if a member a of a well ordered set has a predecessor then a = a − + .
Suppose that a has a predecessor. We know that a − < a and that no member of the set can lie
between a − and a. Therefore a is the successor of a − .
8. Prove that if a belongs to a well ordered set S then a fails to be a successor if and only if
∀x ∈ Sx < a ⇒ x + < a.
Suppose that a belongs to a well ordered set S.
Suppose that a is not a successor. We know that whenever x < a we have x + ≤ a and since the
equation x + = a does not occur we must have x + < a whenever x < a.
Now suppose that x + < a whenever x < a. This condition tells us that there can’t exist a member x
of S for which x + = a and so a fails to be a successor.
9. If S is a well ordered set and a ∈ S, then we saw that a is a limit member of S if a is not the least member of
S and a has no predecessor. Prove that if a well ordered set S has a limit member then S has a nonempty
subset E that has no limit member and no largest member.
Suppose that a well ordered set S has a limit member. We define q to be the least limit member of S
and we define E = x ∈ S ∣ x < q. We see at once that E is nonempty and has no limit member.
Now given any member x of E, it follows from Exercise 8 and the fact that x < q that x + ∈ E and so
E has no largest member.
10. Give an example of a totally ordered set S that is not well ordered even though every member of S has a
successor.
The system Z of integers has the desired properties.
69
b. Prove that if H is a maximal member of the family ℑ that was defined in part a then every real number
can be expressed uniquely in the form r 1 x 1 + ⋯ + r n x n .
2. An additive subgroup of the system R of real numbers is defined to be a nonempty subset G of R with the
property that whenever x and y belong to G, then so do the numbers x + y and x − y.
a. Which of the following subsets of R are additive subgroups of R?
These simple exercises have appeared before.
i. The set 0.
ii. The set 1.
iii. The set −1, 0, 1.
iv. The set Z of all integers.
v. The set Q of all rational numbers.
vi. The set R ∖ Q of all irrational numbers.
vii. The empty set ∅.
b. Given that G is an additive subgroup of R and that c ∈ R ∖ G, prove that there exists an additive
subgroup S of R such that G ⊆ S and c ∈ R ∖ S and such that every additive subgroup of R that
includes S must also contain the number c.
We look at the family ℑ of all additive subgroups of R that fail to contain the number c and give
it the partial order ⊆. Since the union of all the groups in any chain in ℑ must belong to ℑ, each
chain in ℑ has an upper bound in ℑ.
c. Given that S is an additive subgroup of R with the properties just described and that y ∈ R ∖ S then it
possible to find a member x of S and an integer n such that ny = x + c.
The set ny + x ∣ n ∈ Z and x ∈ S is clearly a group that properly includes S and therefore
c∈ ny + x ∣ n ∈ Z and x ∈ S
3. A nonempty family ℑ of nonempty subsets of a set S is said to be a filter in S if the intersection of any two
members of ℑ belongs to ℑ and any subset of S that includes a member of ℑ must belong to ℑ. A filter that is
not properly included in any other filter is called an ultrafilter.
a. Prove that every filter in a set S is included in an ultrafilter.
If we give the family of all filters in S the partial order ⊆ then it is clear that the union of any
chain of filters is a filter and so every chain has an upper bound.
b. Given that ∁ is a family of subsets of a set S and that the intersection of any finite number of members of
∁ is nonempty, prove that ∁ is included in an ultrafilter in S.
We define ℑ to be the family of all those subsets of S that include the intersection of finitely
many members of ∁. Since ∁ ⊆ ℑ and ℑ is a filter, the desired result follow from part a.
c. Suppose that ℑ is a filter in a set S and that for every subset E of S, either E ∈ ℑ or S ∖ E ∈ ℑ. Prove
that ℑ must be an ultrafilter in S.
Whenever a subset E of S fails to belong to ℑ we know that E is disjoint from the member S ∖ E
of ℑ and that, consequently, E can’t belong to any filter that includes ℑ.
d. Prove that if ℑ is an ultrafilter in a set S and E ⊆ S, then either E ∈ ℑ or S ∖ E ∈ ℑ.
Suppose that ℑ is a filter in a set S and that E ⊆ S and that neither of the sets E and S ∖ E belong
to ℑ. Then, since neither of the sets E and S ∖ E can include a member of ℑ, neither of these
sets can be disjoint from a member of ℑ and it is clear that the family of all those subsets of S
that include an intersection E ∩ F with F ∈ ℑ must be a filter that properly includes ℑ. Therefore
if ℑ is an ultrafilter, one of the sets E and S ∖ E must belong to ℑ.
e. Prove that there is an ultrafilter ℑ in Z + such that for every positive integer n we have
70
m ∈ Z + ∣ m ≥ n ∈ ℑ.
+
Prove that if for each E ⊆ Z we define
1 if E ∈ ℑ
ϕE =
0 if E ∉ ℑ
+
then ϕZ = 1, ϕE = 0 whenever E is a finite set, and
ϕE 1 ∪ E 2 = ϕE 1 + ϕE 2
whenever the sets E 1 and E 2 are disjoint from each other.
The existence of an ultrafilter that contains every set of the form m ∈ Z + ∣ m ≥ n with n a
positive integer follows from part b.
The desired properties of the function φ follow at once because, if E 1 and E 2 are subsets of Z +
and E 1 ∩ E 2 = ∅ then the condition E 1 ∪ E 2 ∈ ℑ will hold if and only if exactly one of the sets E 1
and E 2 belongs to ℑ.
3. Suppose that S n is a sequence of sets, that for each n, the set S n is strictly subequivalent to S n+1 , and that
S= ⋃ Sn.
n∈Z +
Prove that there does not exist a set E such that pE ∼ S.
This exercise is related to an earlier exercise on applications of the equivalence theorem. If we had
S ∼ pE then we would have
+ Z+ +
S Z ∼ 0, 1 E ∼ 0, 1 E×Z .
Now since the set S is infinite, so is the set E and so Z + ∼⊆ E and the theorem on products gives us
+ Z+ +
S Z ∼ 0, 1 E ∼ 0, 1 E×Z ∼ 0, 1 E ∼ S
which we know to be false.
4. Prove that there is a well ordered set S such that ℵ 1 is strictly subequivalent to S and such that for every
x ∈ S, we have PS, x ∼⊆ ℵ 1 . Prove that any set of this type is cardinally ordered and that any two sets of
this type are order isomorphic.
Choose a set T such that ℵ 1 is strictly subequivalent to T. For example, we chould take T = pℵ 1 .
We now assign a well order to the set T. If for every member x of T we have PS, x ∼⊆ ℵ 1 then we
take S = T. Otherwise we define y to be the least member of T for which the segment PS, y fails to
be subequivalent to ℵ 1 and we define S = PS, y. It is clear that S has the desired properties.
Finally, if S 1 and S 2 are two sets with the specified properties then, neither of the sets can be order
isomorphic with an initial segment of the other, it follows from the uniqueness theorem for well
ordered sets that S 1 and S 2 are order isomorphic to one another.
71
5. Prove that if we choose any one set of the type described in the preceding exercise and call it ℵ 2 then for any
set S, the set ℵ 1 will be strictly subequivalent to S if and only if ℵ 2 ∼⊆ S.
It is clear that if ℵ 2 ∼⊆ S then ℵ 1 must be strictly subequivalent to S.
Now suppose that ℵ 1 is strictly subequivalent to S. We assign a well order to S. Since S cannot be
order isomorphic to any initial segment in ℵ 2 we conclude that either ℵ 2 is order isomorphic to S or
ℵ 2 is order isomorphic to an initial segment of S. In either case we have ℵ 2 ∼⊆ S.
6. Assuming the continuum hypothesis, prove that there is a subset S of the unit square 0, 1 × 0, 1 such that
for every horizontal line L in the square, the set L ∩ S is countable and for every vertical line L in the square,
the set L ∖ S is countable.
We assign a well order to the set 0, 1 in such a way that 0, 1 is order isomorphic to ℵ 1 . We
observe that every initial segment of 0, 1 relative to the order must be countable. We now define
S = x, y ∈ 0, 1 × 0, 1 ∣ x y
and observe that S has the desired properties.
7. Suppose that A and B are uncountable sets and that B is strictly subequivalent to A. By a horizontal line in
A × B we mean a set of the form x, y ∣ x ∈ A where y is any member of B. Similarly, a vertical line in
A × B is a set of the form x, y ∣ y ∈ B where x is any member of A. Prove that if S is any subset of A × B
whose intersection with every horizontal line is subequivalent to B then there is a vertical line L such that
S ∩ L = ∅.
For each y ∈ B we define
S y = x ∈ A ∣ x, y ∈ S.
Since each set S y is subequivalent to B we deduce from the theorem on unions that
⋃ S y ∼⊆ B
y∈B
and therefore
A ∖ ⋃ S y ≠ ∅.
y∈B
8. Suppose that A is an infinite set. Prove that there is a subset S of A × A such that for every horizontal line L in
A × A the set L ∩ S is strictly subequivalent to A and for every vertical line L in A × A, the set L ∩ S is
equivalent to A.
We assign a cardinal order ≤ to the set A and we define
S = x, y ∈ A × A ∣ x ≤ y.
It is clear that if L is any horizontal line than L ∩ S is strictly subequivalent to A and it follows from
Exercise 2 that if L is any vertical line then L ∩ S ∼ A.
9. A subset E of ℵ 1 is said to be closed if for every x ∈ ℵ 1 ∖ E, there is a member y of ℵ 1 such that y < x and
no member of E lies between y and x.
a. Prove that if A and B are closed uncountable subsets of ℵ 1 then A ∩ B is a closed uncountable subset of
ℵ1.
As we know, a subset of ℵ 1 is uncountable if and only if it has an upper bound. Suppose that A
and B are closed uncountable subsets of ℵ 1 . In order to prove that A ∩ B is uncountable we
shall show that this set has no upper bound. Suppose that y ∈ ℵ 1 . We shall find a member of
A ∩ B such that y < x.
We begin by defining x 1 be the least member of A that is greater than y. More precisely, we
define x 1 to be the least member of the set t ∈ A ∣ y < t. In order to make this definition we
have made use of the fact that the set t ∈ A ∣ y < t is nonempty; which we know because A
has no upper bound.
We define x 2 to be the least member of B that is greater than x 1 . We define x 3 to be the least
member of A greater than x 2 and we continue in this fashion.
For each positive integer n we have x n < x n+1 and x n ∈ A when n is odd and x n ∈ B when n is
72
even. Since the set x n ∣ n ∈ Z + is countable, it has upper bounds. We define x to be the
least upper bound of the set x n ∣ n ∈ Z + . Given any member u of ℵ 1 such that u < x we
know that u fails to be an upper bound of the set x n ∣ n ∈ Z + and so the inequality u < x n
holds for some n. Therefore, whenever u < x there are members of A and also members of B
between u and x and it follows from the fact that A and B are closed that x ∈ A ∩ B.
Finally we need to observe that A ∩ B is closed. Suppose that x ∈ ℵ 1 ∖ A ∩ B. We know that
either x ∈ ℵ 1 ∖ A or x ∈ ℵ 1 ∖ B. We assume, without loss of generality that x ∈ ℵ 1 ∖ A.
Choose u < x such that no member of A lies between u and x. Of course, no member of A ∩ B
can lie between u and x.
∞
b. Prove that if A n is a closed uncountable subset of ℵ 1 for every positive integer n, then the set ⋂ n=1 A n is
a closed uncountable subset of ℵ 1 .
The proof of this stronger assertion is similar to the one given in part a. However, in order to
∞
show that ⋂ n=1 A n has no upper bound we start with an arbitrary member y of ℵ 1 and we
define the members x n as follows:
x 1 is the least member of A 1 greater than y.
x 2 is the least member of A 2 greater than x 1 .
x 3 is the least member of A 1 greater than x 2 .
x 4 is the least member of A 2 greater than x 3 .
x 5 is the least member of A 3 greater than x 4 .
x 6 is the least member of A 1 greater than x 5 .
x 7 is the least member of A 2 greater than x 8 .
x 8 is the least member of A 3 greater than x 7 .
x 9 is the least member of A 4 greater than x 8 .
x 10 is the least member of A 1 greater than x 9 .
The sets A n appear in this sequence as
A1, A2, A1, A2, A3, A1, A2, A3, A4, A1, A2, A3, A4, A5, A1, A2, A3, A4, A5, A6, A1, ⋯
The purpose of this arrangement of the sets is that, for each positive integer k, the condition
x n ∈ A k holds for infinitely many values of n.
A less intuitive but more constructive way of arranging the sets A k is make x n ∈ A k whenever n
can be expressed in the form 2 k 3 m for some positive integer m and making x n ∈ A 1 whenever n
can’t be expressed in the form 2 k 3 m .
73
b. Given numbers x, a and b, show that the expression x 3 + ax + b can be written in the form
x 3 + ax + b = x 3 + u 3 + v 3 − 3uvx
by solving the simultaneous equations
3uv = −a
u 3 + v 3 = b.
Now show that as long as 27b 2 + 4a 3 ≥ 0 these equations can be solved giving
3 3 b + 27b 2 + 4a 3
u= 3
6 3
and
3 3 b − 27b 2 + 4a 3
v= 3 .
6 3
c. Deduce that if a and b are surds and 27b 2 + 4a 3 ≥ 0 then the solutions of the cubic equation
x 3 + ax + b = 0
are also surds. Why doesn’t this fact contradict the claim made earlier that the solutions of the equation
8x 3 − 6x − 1 = 0
are not surds?
d. How many real solutions does the equation
x 3 + ax + b = 0
have in the case 27b 2 + 4a 3 > 0? What if 27b 2 + 4a 3 = 0?
3. Use Scientific Notebook to find the exact form of the solutions of the equation
Exercises on Inequalities
1. Prove that if x and y are positive real numbers then their product xy is positive.We assume that x > 0 and
y > 0. Since 0 < x and y > 0 it follows from the order axiom for the real number system that
0y < xy
and the fact that 0y = 0 allows us to deduce that 0 < xy.
2. Prove that if x and y are negative real numbers then their product xy is positive.
If x and y are negative then −x and −y are positive and since
xy = −x−y
the fact that xy is positive follows from Exercise 1.
3. Given real numbers a and b, prove that
|a| − |b| ≤ |a − b|.
Since
a = b + a − b
it follows from the triangle inequality that
74
|a| = |b + a − b|
≤ |b| + |a − b|
and therefore
|a| − |b| ≤ |a − b|.
5. In each of the following cases, find the numbers x for which the given inequality is true. Compare your
answers with the answers given by Scientific Notebook
a. |2x − 3| ≤ |6 − x|.
Method 1: We separate the problem into three cases as illustrated in the figure:
3 6
2
Case 1: When x ≤ 3
2
the inequality |2x − 3| ≤ |6 − x| says that
3 − 2x ≤ 6 − x
which tells us that x ≥ −3.
Case 2: When 32 < x ≤ 6 the inequality |2x − 3| ≤ |6 − x| says that
2x − 3 ≤ 6 − x
which tells us that x ≤ 3.
Case 3: When x > 6 the inequality |2x − 3| ≤ |6 − x| says that
2x − 3 ≤ x − 6
which tells us that x ≤ −3 (which is impossible). The set of numbers x for which the inequality
|2x − 3| ≤ |6 − x| holds is therefore
−3, 3 ∪ 3 , 3 = −3, 3.
2 2
Method 2: We look first at the equation
|2x − 3| = |6 − x|
which says that either 2x − 3 = 6 − x or 2x − 3 = x − 6. The latter condition says that either x = 3
or x = −3 and so we separate the problem into the cases indicated by the next figure
−3 3
This method leads us even more quickly to the solutions set −3, 3. We omit the details.
b. ||x| − 5| < |x − 6|.
We provide one solution here. Another approach is suggested by the solution provided below
for part c. We begin by looking at the equation
||x| − 5| = |x − 6|
which says that either |x| − 5 = x − 6 or |x| − 5 = 6 − x. When x ≥ 0 these equations say that
either x − 5 = x − 6 (which is impossible) or x − 5 = 6 − x, which tells us that x = 11
2
.
75
When x < 0 the equations say that either −x − 5 = x − 6 or −x − 5 = 6 − x which are both
impossible. Therefore the only value of x at which the inequality ||x| − 5| < |x − 6| can switch
from true to false or from false to true is 112
and by looking at a specimen value of x less than
11
2
and a specimen value greater then 11
2
we see that the inequality holds if and only if x < 11
2
.
c. |2|x| − 5| ≤ |4 − |x − 1||.
0 1
In order to express this inequality without any absolute value signes we shall look separately at the
cases x < 0 and x ≥ 0 and also the cases x < 1 and x ≥ 1.
When x < 0, the inequality
1 + |x − 1| ≤ 2|x| ≤ 9 − |x − 1|
becomes
1 + 1 − x ≤ −2x ≤ 9 − 1 − x
which says that x ≤ −2 and −8/3 ≤ x. In other words, when x < 0, we must have
− 8 ≤ x ≤ −2.
3
When 0 ≤ x ≤ 1, the inequality
1 + |x − 1| ≤ 2|x| ≤ 9 − |x − 1|
becomes
1 + 1 − x ≤ 2x ≤ 9 − 1 − x
which says that x ≥ 2/3 and x ≤ 8. Therefore the required inequality holds when
2 ≤ x ≤ 1.
3
When x ≥ 1, the inequality
1 + |x − 1| ≤ 2|x| ≤ 9 − |x − 1|
becomes
1 + x − 1 ≤ 2x ≤ 9 − x − 1
which says that x ≥ 0 and x ≤ 10/3. In other words
1 ≤ x ≤ 10 .
3
Thus the solution of the required inequality is the set
− 8 , −2 ∪ 2 , 1 ∪ 1, 10 = − 8 , −2 ∪ 2 , 10
3 3 3 3 3 3
6. Prove that if a, b, c, x, y and z are any real numbers then
ax + by + cz 2 ≤ a 2 + b 2 + c 2 x 2 + y 2 + z 2 .
One way to produce this inequality is to oberve that
76
a 2 + b 2 + c 2 x 2 + y 2 + z 2 − ax + by + cz 2
= a 2 y 2 + a 2 z 2 + b 2 x 2 + b 2 z 2 + c 2 x 2 + c 2 y 2 − 2axby − 2axcz − 2bycz
= ay − bx 2 + az − cx 2 + bz − cy 2 ≥ 0
There are several other possible approaches.
7. Given that a, b and c are positive numbers and that c < a + b, prove that
c < a + b .
1+c 1+a 1+b
We observe that
a + b − c = a1 + b1 + c + b1 + a1 + c − c1 + a1 + b
1+a 1+b 1+c 1 + a1 + b1 + c
= 2ab + acb + a + b − c > 2ab + acb + 0 > 0.
1 + a1 + b1 + c 1 + a1 + b1 + c
77
Solution: Since the set A ∖ a is a subset of A, it is clear that any upper bound of A must be an
upper bound of A ∖ a. Now, to show that any upper bound of A ∖ a must be an upper bound of A,
suppose that x is an upper bound of A ∖ a. Using the fact that a is not the largest member of A, choose a
member b of A such that a < b. Since x ≥ b we see at once that x > a and so x is an upper bound of the set
A.
Note that the assumption that A has no largest member isn’t really needed here. All we need to
know is that the specific number a is not the largest member of A.
2. a. Give an example of a set A that has a largest member a such that the sets A and A ∖ a have exactly the
same upper bounds.
We can look at the interval 0, 1.
b. Give an example of a set A that has a largest member a such that the sets A and A ∖ a do not have
exactly the same upper bounds.
We can look at the set 0, 1 ∪ 3.
3. a. Given that S is a subset of a given interval a, b explain why, for every member x of the set S we have
|x| ≤ |a| + |b − a|.
Solution: Suppose that x ∈ S. We see that
|x| = |x − a + a| ≤ |x − a| + |a|.
Now since a ≤ x ≤ b we see that
|x − a| = x − a ≤ b − a
and so
|x| ≤ |a| + |b − a|.
Solution: This assertion is obvious. We are given that inf A is a member of A and we know that
no member of A can be less than inf A, and so inf A is the least member of A.
5. Given that A is a set of real numbers and that inf A ∈ A, explain why inf A must be the smallest member of A.
This assertion is obvious. We are given that sup A is a member of A and we know that no member of A can
be larger than sup A, and so sup A is the largest member of A.
6. Is it possible for a set of numbers to have a supremum even though it has no largest member?
Solution: You bet it’s possible! That’s the whole point of this chapter!
7. Given that α is an upper bound of a set A and that α ∈ A, explain why α = sup A.
We are given that α is an upper bound of A. Now if w is any number less than α then, because
α ∈ A, the number w can’t be an upper bound of A. Therefore α must be the least upper bound of
A.
8. Explain why the empty set does not have a supremum.
Since every number is an upper bound of the empty set, there can’t be a least upper bound of the
empty set.
9. Explain why the set 1, ∞ does not have a supremum.
The interval 1, ∞ is unbounded above. This set doesn’t have any upper bounds and so it can’t
78
have a least one.
10. Given that two sets A and B are bounded above, explain why their union A ∪ B is bounded above.
Using the fact that A is bounded above, choose an upper bound u of A. Now, using the fact that B is
bounded above, choose an upper bound v of B. We now define w to be the larger of the two
numbers u and v. Given any member x of the set A ∪ B, there are two possibilities: Either x ∈ A, in
which case x ≤ u ≤ w or x ∈ B, in which case x ≤ v ≤ w. Therefore no member of the set A ∪ B can
be greater than w and we have shown that A ∪ B is bounded above.
11. a. If a man says truthfully that he sells more BMWs than anyone in the Southeast, what can you deduce
about him?
Solution: The number x cannot be an upper bound of A. In other words, there must exist a
member of A that is larger than x.
c. Given that α = inf A and that x > α, what conclusions can you draw about the number x?
The number x cannot be a lower bound of A. In other words, there must exist a member of A
that is less than x.
12. If A and B are sets of real numbers then the sets A + B and A − B are defined by
A + B = x ∣ ∃a ∈ A and ∃b ∈ B such that x = a + b
and
A−B = x ∣ ∃a ∈ A and ∃b ∈ B such that x = a − b
b. Prove that if two sets A and B are bounded then so are A + B and A − B.
Suppose that A and B are bounded. Choose lower bounds u 1 and u 2 of A and B respectively
and choose upper bounds v 1 and v 2 of A and B respectively. To show that v 1 + v 2 is an upper
bound of A + B, suppose that x ∈ A + B. Choose a ∈ A and b ∈ B such that x = a + b. Since
a ≤ u 1 and b ≤ u 2 we have x = a + b ≤ u 1 + u 2 . Thus u 1 + u 2 is an upper bound of A + B and
similar argument show that u 1 − v 2 is an upper bound of A − B and v 1 + v 2 is a lower bound of
79
A + B and v 1 − u 2 is a lower bound of A − B.
4. It is given that A and B are nonempty bounded sets of real numbers, that for every x ∈ A there exists y ∈ B
such that x < y and for every y ∈ B there exists x ∈ A such that y < x. Prove that sup A = sup B.
Solution: We need to show that the two sets A and B have exactly the same upper bounds and for this
purpose we shall show that a number fails to be an upper bound of A if and only if it fails to be an upper
bound of B.
Suppose that u fails to be an upper bound of A. Choose a member x of A such that u < x. Using the given
property of A and B we now choose a member y of the set B such that x < y and, since u < x < y, we
conclude that u can’t be an upper bound of B. We can show similarly that a number that fails to be an
upper bound of B must also fail to be an upper bound of A.
5. Suppose that A and B are nonempty sets of real numbers and that for every x ∈ A and every y ∈ B we have
x < y. Prove that sup A ≤ inf B. Give an example of sets A and B satisfying these conditions for which
sup A = inf B.
Given any member y of the set B it follows from the fact that x < y for every x ∈ A that y must be an
upper bound of A. In other words, every member of B is an upper bound of A and the fact that B is
nonempty shows that A is bounded above. A similar argument shows that every member of A is a
lower bound of B and the fact that A is nonempty guarantees that B is bounded below. Thus sup A
and inf B exist.
Given any member y of B, the fact that y is an upper bound of A and sup A is the least upper bound
of A tells us that sup A ≤ y. In other words, sup A is a lower bound of B. Since inf B is the greatest
lower bound of B we deduce that sup A ≤ inf B.
6. Suppose that A and B are nonempty sets of real numbers and that sup A = inf B. Prove that for every number
δ > 0 it is possible to find a member x of A and a member y of B such that x + δ > y.
80
inf B
y−δ x sup A y sup A + δ
7. Suppose that A and B are nonempty sets of real numbers, that sup A ≤ inf B and that for every number δ > 0 it
is possible to find a member x of A and a member y of B such that x + δ > y. Prove that sup A = inf B.
Solution: To obtain a contradiction, assume that sup A < inf B and define
δ = inf B − sup A.
We observe that δ > 0. Now for all x ∈ A and y ∈ B, it follows from the facts that x ≤ sup A and inf B ≤ y
that
x ≤ sup A = inf B − δ ≤ y − δ
which tells us that x + δ ≤ y. Therefore it is impossible to find x ∈ A and y ∈ B such that x + δ > y and we
have reached the desired contradiction.
8. Suppose that A is a nonempty bounded set of real numbers, that A has no largest member and that x < sup A.
Prove that there are at least two different members of A lying between x and sup A.
Since x is less than the least upper bound of A we know that x can’t be an upper bound of A. Using
the fact that x isn’t an upper bound of A we choose a member a of A such that x < a. Since A has
no largest member it must have a member larger than the member a. We choose a member b of A
such that a < b. Since A has members greater than b we deduce that
x < a < b < sup A
and we have found two different members of A between x and sup A.
9. Suppose that A is a nonempty bounded set of real numbers, that δ > 0 and that for any two different members
x and y of A we have |x − y| ≥ δ. Prove that A has a largest member. You can find a hint to the solution of
this exercise in a forthcoming theorem.
10. Suppose that S is a nonempty bounded set of real numbers, that α = inf S and β = sup S, and that every
number that lies between two members of S must also belong to S. Prove that S must be one of the four
intervals α, β, α, β, α, β, α, β. See a coming theorem for a solution of this exercise.
11. Suppose that A is a nonempty bounded set of real numbers, that α = inf A and that β = sup A. Suppose that
S = x − y ∣ x ∈ A and y ∈ A .
Prove that sup S = β − α. You will find a solution to this exercise in the next section.
12. Suppose that A is a set of numbers and that A is nonempty and bounded above. Suppose that q is a given
number and that the set C is defined as follows:
C = q + x ∣ x ∈ A.
Prove that the set C is nonempty and bounded above and that
sup C = q + sup A
This exercise is a special case of the next exercise because C = A + q.
13. Suppose that A and B are nonempty bounded sets of numbers and that the sets A + B and A − B are defined as
above. Prove that
supA + B = sup A + sup B
and
supA − B = sup A − inf B
Solution: We shall prove that
supA + B = sup A + sup B
Step 1: We want to show that the number sup A + sup B is an upper bound of the set A + B. Suppose that
81
x ∈ A + B. Using the definition of A + B we choose a number a ∈ A and a number b ∈ B such that
x = a + b. Since a ≤ sup A and b ≤ sup B we see that
x = a + b ≤ sup A + sup B.
Step 2: We want to show that the number sup A + sup B is actually the least upper bound of the set A + B.
Suppose that u is any upper bound of the set A + B. Given any number a ∈ A and b ∈ B we have
a + b ≤ u. Therefore, whenever b ∈ B we know that the inequality
a ≤ u−b
holds for all a ∈ A. Therefore, whenever b ∈ B, the number u − b is an upper bound of A and must satisfy
the condition
sup A ≤ u − b
which we can also write as
b ≤ u − sup A.
We conclude that u − sup A is an upper bound of B and so
sup B ≤ u − sup A
which we can write as
sup B + sup A ≤ u.
Thus sup A + sup B is the least upper bound of A + B, as promised.
82
The set m + n 2 ∣ m ∈ Z and n ∈ Z is a subgroup of R.
b. Explain why every subgroup of R must contain the number 0. Show that if G is any subgroup of R other
than 0 then G must contain infinitely many positive numbers.
Suppose that G is a subgroup of R. Using the fact that G is not empty we choose a member x
of G. Since 0 = x − x we conclude that 0 ∈ G.
Now suppose that the subgroup G is not 0. Choose a member x of G such that x ≠ 0. Since
the infinite set nx ∣ n ∈ Z is an infinite subset of G we know that G is an infinite set.
c. Suppose that G is a subgroup of R other than 0, that
p = infx ∈ G ∣ x > 0
and that the number p is positive. Prove that either p ∈ G or the set G must contain at least two different
members between p and 3p/2.
Solution: We assume that p does not belong to the group G. Now since p is the greatest lower
bound of G and p < 3p/2 we know that 3p/2 fails to be a lower bound of G. Using this fact we choose
a member x of G such that
3p
x< .
2
0 p x 3p
2
Since p does not lie in G we know that p < x and so x is not a lower bound of G. Choose a member y
of G such that y < x. In this way we have found two members of G lying between p and 3p/2.
0 p y x 3p
2
Solution: Given any members x and y of the set G we know that if x < y then y − x ≥ p.
Therefore no two different members of G can both lie between p and 3p/2 and we conclude from part
(c) that p ∈ G. We therefore know that
G ⊇ np ∣ n ∈ Z.
Now suppose that x is any member of G. We define n to be the largest integer that does not exceed x/p
and we observe that, since
pn ≤ x < pn + 1
we have
0 ≤ x − pn < p.
Since the set G has no positive members that are less than p we conclude that x − pn = 0 and we have
shown that every member of G is an integer multiple of p. Therefore
G = np ∣ n ∈ Z.
Solution: Suppose that a and b are real numbers and that a < b. Using the fact that b − a > 0
83
and that inf G = 0, choose a member q of G such that
0 < q < b − a.
We now define
S = n ∈ Z ∣ nq > a.
Since the inequality nq > a is the same as saying that n > a/q and since the set Z of integers is
unbounded above we know that S is nonempty. Furthermore, since the number a/q is a lower bound
of S we know that S is bounded below. We deduce from an order property of the system of integers
that the set S has a least member that we shall call m. Thus mq > a but m − 1q ≤ a.
We observe that
a < mq = m − 1q + q < a + b − a = b
and so the member mq of G must lie between a and b.
4. This exercise invites you to explore the so-called division algorithm which describes the process by which
an integer b can be divided into an integer a to yield a quotient q and a remainder r.
Suppose that a and b are positive integers and that
S = n ∈ Z ∣ nb ≤ a.
3. A function f is said to be increasing on a set S if the inequality ft ≤ fx holds whenever t and x belong to S
and t ≤ x. Prove that every increasing function on the interval 0, 1 must have both a maximum and a
minimum value.
The definition of an increasing function makes it clear that if f is an increasing function on
theinterval 0, 1 then f0 and f1 are the minimum and maximum values, respectively, of the
function f.
84
4. Prove that if f and g are bounded above on a nonempty set S then
supf + g ≤ sup f + sup g.
Solution: Given any member x of the set S, since fx ≤ sup f and gx ≤ sup g, we have
f + gx = fx + gx ≤ sup f + sup g.
Thus the number sup f + sup g is an upper bound of the function f + g and so
supf + g ≤ sup f + sup g.
5. Give an example of two bounded functions f and g on the interval 0, 1 such that
supf + g < sup f + sup g.
6. Given that f is a bounded function on a nonempty set S and that c is a real number prove that
c sup f if c > 0
supcf =
c inf f if c < 0
Solution: We give the solution here for the case c < 0 and leave it to you to handle the case c > 0.
Suppose that c < 0.
Given any member x of the set S, it follows from the fact that inf f ≤ fx that
cfx ≤ c inf f
and we conclude that c inf f is an upper bound of the function cf. To show that c inf f is the least upper
bound of cf we need to show that no number less than c inf f can be an upper bound of cf. Suppose that
p < c inf f.
Since p/c > inf f we know that p/c fails to be a lower bound of f. Using this fact, we choose a member x of S
such that
p
c > fx.
Since p < cfx we have shown, as promised, that p fails to be an upper bound of the function cf.
7. Prove that if f is a bounded function on a nonempty set S then
|sup f| ≤ sup|f|.
Solution: For every x ∈ S we have
fx ≤ |fx| ≤ sup|f|
and so
sup f ≤ sup|f|.
Futhermore, for every x ∈ S we have
fx ≥ −|fx| ≥ − sup|f|.
Using the fact that the set S is nonempty, choose a member x of the set S. We see that
− sup|f| ≤ fx ≤ sup f
and so
− sup|f| ≤ sup f ≤ sup|f|
and we have shown that
|sup f| ≤ sup|f|.
85
∞
⋃ 1 ,1 .
n
n=1
We observe first that if n is a positive integer then 1n , 1 ⊆ 0, 1. Now given any number x ∈ 0, 1
there exist positive integers n for which 1n < x and for such n we have x ∈ 1n , 1. Therefore
∞
⋃ 1 ,1
n = 0, 1.
n=1
2. Evaluate
∞
⋃ 1+ 1 2
n ,5 − n .
n=1
Using an argument similar to the one used in Exercise 1 we can see that
∞
⋃ 1+ 1 2
n ,5 − n = 1, 5.
n=1
3. Evaluate
∞
⋂ 1− 1 1
n ,2 + n .
n=1
Using an argument similar to the one used in Exercise 1 we can see that
∞
⋂ 1− 1 1
n ,2 + n = 1, 2.
n=1
86
∞
follows at once from the observation that if x ∈ ⋂ j=n A j then x belongs to A j for every integer
j ≥ n and so x certainly belongs to A j for every integer j ≥ n + 1.
c. Prove that if we define
n
Bn = ⋂ Aj
j=1
follows by the same sort of argument that was given for parts a and b of this exercise.
d. Prove that if we define
n
Bn = ⋃ Aj
j=1
follows by the same sort of argument that was given for parts a and b of this exercise.
6. Prove that if A n is a sequence of subsets of R then
∞ ∞
R ∖ ⋃ An = ⋂R ∖ A n .
n=1 n=1
87
∞
x ∈ R ∖ ⋃ An
n=1
and we have therefore shown that
∞ ∞
R ∖ ⋃ An = ⋂R ∖ A n .
n=1 n=1
1 + x −1 +1 1 =0
1 + x 2 1+x
and this assertion is obviously true. Now suppose that n is any positive integer for which the
statement P n is true. From the equation
1 + xf n+1 x + nf n x = 0
we have
1f n+1 x + 1 + xf n+2 x + nf n+1 x = 0
which we can write as
1 + xf n+2 x + n + 1f n+1 x = 0.
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
2. Given that fx = arctan1 + x for every number x, prove that the identity
x 2 + 2x + 2f n+1 x + 2nx + 1f n x + nn − 1f n−1 x = 0
holds whenever n is a positive integer and x is a real number.
For each positive integer n we define P n to be the assertion that the equation
x 2 + 2x + 2f n+1 x + 2nx + 1f n x + nn − 1f n−1 x = 0
holds. The assertion P 1 says that
x 2 + 2x + 2 −2x − 2 + 2x + 1 1 =0
x 2 + 2x + 2
2 2x + x 2 + 2
and this assertion is obviously true. Now suppose that n is any positive integer for which the
statement P n is true. From the equation
x 2 + 2x + 2f n+1 x + 2nx + 1f n x + nn − 1f n−1 x = 0
we have
2x + 2f n+1 x + x 2 + 2x + 2f n+3 x + 2nf n x + 2nx + 1f n+1 x + nn − 1f n x = 0
which we can write as
x 2 + 2x + 2f n+3 x + 2nf n x + 2n + 1x + 1f n+1 x + n + 1nf n x = 0
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
3. Given that x 1 = 2 and that the equation
88
x n+1 = 2 + xn
holds for every natural number n, prove that x n < 2 for every natural number n.
For each positive integer n we define P n to be the assertion that x n < 2. The assertion P 1 says that
2 < 2 which is obviously true. Now suppose that n is any positive integer for which the statement
P n is true. We see that
x n+1 = 2 + xn < 2 + 2 = 2.
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
4. Given that x 1 = 2 and that the equation
x n+1 = 2 + xn
holds for every natural number n, prove that x n < x n+1 for every natural number n.
For each positive integer n we define P n to be the assertion that x n < x n+1 . The assertion P 1 says
that
2 < 2+ 2
which is obviously true. Now suppose that n is any positive integer for which the statement P n is
true. We see that
x n+1 = 2 + xn < 2 + x n+1 = x n+2 .
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
5. Given that x 1 = 0 and that the equation
8x 3n+1 = 6x n + 1
holds for every natural number n, prove the following two assertions:
a. For every natural number n we have x n < 1.
For each positive integer n we define P n to be the assertion that x n < 1. The assertion P 1 says
that 0 < 1 which is true. Now suppose that n is any positive integer for which the statement P n
is true. We see that
6x n + 1 < 3 6 + 1 < 1.
x n+1 = 3
8 8
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows
from the principle of mathematical induction that P n is true for every positive integer n.
b. For every natural number n we have x n < x n+1 .
For each positive integer n we define P n to be the assertion that x n < x n+1 . The assertion P 1
says that
0< 1
2
which is obviously true. Now suppose that n is any positive integer for which the statement P n
is true. We see that
89
a of the set S. Since the set S ∖ a has exactly n members, it follows from the assertion P n that
S ∖ a has a largest member that we shall call b. The larger of the two numbers a and b is clearly
the largest member of the set S.
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
7. Given that S ⊆ Z + , prove that the following three conditions are equivalent:
a. The set S is infinite.
b. The set S has no largest member.
c. The set S is unbounded above.
It it probably easier to explain why the denials of these three statements are equivalent to one
another. We shall show that the following three satements are equivalent:
a. The set S is finite.
b. The set S has a largest member.
c. The set S is bounded above.
We already know that every finite set of numbers must have a largest member. Therefore condition
a implies condition b. If a set of numbers has a largest member then that largest member is clearly
an upper bound of the set. Therefore condition b implies condition c. Finally, we know that every
nonempty set of integers that is bounded above must have a largest member. If the largest
member of a set of postive integers is n then that set cannot have more than n members and must
therefore be finite. Therefore condition c implies condition a.
8. Prove that for every positive integer n, if n horses run in a race and no two horses tie then there are exactly n!
possible outcomes.
For each positive integer n we define P n to be the assertion that if n norses run in a race and no
two horses tie then there are exactly n! possible outcomes.
The assertion P 1 is obviously true. Now suppose that n is any positive integer for which P n is true.
To show that the assertion P n+1 is also true, suppose that n + 1 horses run in a race tha that no two
horses tie. Choose one of the horses whom we shall call Dobbin and, for the moment let’s focus
our attention on the other n horses. Those other horses present us with n! possible outcomes. For
each of those outcomes, if we add in Dobbin then there are n + 1 positions in which Dobbin can
place among the other horses. Therefore the number of outcomes, including Dobbin is
n + 1n! = n + 1!.
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows from
the principle of mathematical induction that P n is true for every positive integer n.
9. Given nonnegative integers n and r satisfying r ≤ n, the binomial coefficient nr is defined by the equation
n = n! .
r n − r!r!
90
Choose a member of S that we shall call w.
Now given any subset E of S, if w ∈ E then E is the union of w and a subset of S ∖ w that
contains r − 1 members. Since the assertion P n is true, there are r−1 n
such subsets.
Furthermore, if E is a subset of S and E has r members and w does not belong to E then E is a
subset containing r members of the set S ∖ w. Since the assertion P n is true there are nr
such subsets.
The total number of subsets of S with n members is therefore
n + n = n +r 1 .
r r−1
Since P 1 is true and since the condition P n ⇒ P n+1 holds for every positive integer n it follows
from the principle of mathematical induction that P n is true for every positive integer n.
10. Suppose that for every positive integer n we define pn to be the assertion that if in any crowd of men, at
least one of them has red hair then all of them have red hair. What is wrong with the following proof by
mathematical induction that the assertion pn is true for every n?
a. The statement p1 is obviously true.
b. Now suppose that n is any positive integer for which the statement pn happens to be true and suppose
that S is a crowd containing n + 1 men and that at least one of these n + 1 men has red hair. Choose such
a man and let’s call him Harry. Now, in the crowd of n + 1 men, choose any man and call him Joe and
ask him to step away from the others. There are n men left and, since at least one of them has red hair,
they all have. Now ask Harry to step away and ask Joe to come back. Again we are looking at a crowd of
n men and, since Joe is the only man about whom we have any doubt, at least one man in this crowd has
red hair; and therefore they all have red hair. Now ask Harry to come back and we see that all n + 1 men
have red hair.
The argument given above has to refer to three different men. It refers to Harry and to Joe and
also to at least one other red-haired man. The argument therefore cannot be used to show that
P2 ⇒ P3.
lim
x→∞
fx + gx = 1.
With this example in mind we might conclude that if ∞ + −∞ is to be defined, it ought to be equal to 1.
However, if we define fx = x and gx = 2 − x for every x then we should conclude that ∞ + −∞ ought
to be 2. If we define fx = x + sin x and gx = −x for every x then we ought to conclude that ∞ + −∞
doesn’t exist. If we define fx = x 2 and gx = −x for all x then we ought to conclude that ∞ + −∞ ought
to be ∞.
It is clear that no single definition of the symbol ∞ + −∞ would be useful to us.
2. Thinking of the rule for products of limits
lim
x→a
fxgx = lim
x→a
fx lim
x→a
gx
91
that you saw in elementary calculus, give some examples to show why the expression ∞ × 0 should not be
defined.
If we define fx = x and gx = 1x for all x > 0 then
lim
x→∞
fx = ∞
and
lim
x→∞
gx = 0
and
lim
x→∞
fxgx = 1.
This example suggests that if ∞ × 0 ought to be defined then its value should be zero. However, if
we were to define fx = x 2 and gx = 1x for all x > 0 we would again have
lim
x→∞
fx = ∞
and
lim
x→∞
gx = 0
but, this time, we would have
lim
x→∞
fxgx = ∞.
Alternatively we could define fx = x and gx = 1
for all x > 0 and obtain
x2
lim
x→∞
fxgx = 0.
These examples show that there is no way to define ∞ × 0 that will make the rule for products of
limits work in the case in which one limit is zero and the other is ∞.
3. Thinking of the rule for quotients of limits
fx lim fx
lim
x→a
= x→a
gx lim
x→a
gx
∞
that you saw in elementary calculus, give some examples to show why the expression ∞ should not be
defined.
4. Given that A and B are intervals and that A ∩ B ≠ ∅, prove that the set A ∪ B is an interval.
Choose a number w ∈ A ∩ B.
We define u = infA ∪ B and v = supA ∪ B. We see at once that u is the smaller of the two
numbers inf A and inf B and that v is the larger of the two numbers sup A and sup B.
Case 1: Assume that u = inf A and v = sup A: In this case it is clear that
u = inf A ≤ inf B ≤ sup B ≤ sup A = v
and A ∪ B is one of the intervals u, v, u, v, u, v and u, v.
Case 2: Assume that u = inf B and v = sup B. This case is similar to case 1.
Case 3: Assume that u = inf A and v = sup B. In this case
u = inf A ≤ inf B ≤ w ≤ sup A ≤ sup B = v
Once again we can see that A ∪ B must be one of the intervals u, v, u, v, u, v and u, v. To
justify this assertion we need to see why every number x between u and v must belong to A ∪ B.
But if u < x < v then either u < x ≤ w or w < x < v. The inequality u < x ≤ w guarantees that x ∈ A
and the inequality w < x < v guarantees that x ∈ B.
Case 4: Assume that u = inf B and v = sup A. This case is similar to case 3.
5. Given that A, B and C are intervals and that the sets A ∩ B and B ∩ C are nonempty, prove that A ∪ B ∪ C is
an interval.
We deduce from Exercise 4 that A ∪ B is an interval. Since
A ∪ B ∩ C ≠ ∅
we deduce from Exercise 4 again that A ∪ B ∪ C is an interval.
92
Exercises on the Complex Number System
1. Find two complex numbers z = x + iy for which z 2 = 3 + 4i.
2. Solve the quadratic equation z 2 + 2z + 4 = 0. Why must the solutions of this equation be cube roots of 8?
The equation z 2 + 2z + 4 = 0 says that z + 1 2 = −3 which yields z = −1 ± 3 i. Since the equation
also implies that z − 2z 2 + 2z + 4 = 0 which says that z 3 − 8 = 0, the solutions of the equation
must be cube roots of 8.
3. Given two complex numbers z and w with w ≠ 0, prove that the complex conjugate of z/w is z̄/w
̄ . Establish a
similar identity for absolute value.
Hint: Once the corresponding assertion for multiplication has been obtained we can obtain the
assertion for division very quickly using the fact that
z= w z w.
93
Does the same identity hold if n is a negative integer?
The first equation follows simply:
cos α + i sin αcos β + i sin β = cos α cos β − sin α sin β + isin α cos β + sin β cos α
= cosα + β + i sinα + β.
The equation
cos α + i sin α n = cos nα + i sin nα
is obvious when n = 1. Now given any positive integer n for which the equation
cos α + i sin α n = cos nα + i sin nα
holds we have
cos α + i sin α n+1 = cos α + i sin α n cos α + i sin α
= cos nα + i sin nαcos α + i sin α
= cosnα + α + i sinnα + α
and so it follows from the principle of mathematical induction that the equation
cos α + i sin α n = cos nα + i sin nα
holds for every positive integer n. Since
cos α + i sin α −1 = 1 = cos α − i sin α
cos α + i sin α cos α + i sin αcos α − i sin α
= cos2α − i sin2α = cos−α + i sin−α
cos α + sin α
we see that the equation
cos α + i sin α n = cos nα + i sin nα
also holds when n = −1. Finally, if n is any positive integer then we have
cos α + i sin α −n = cos α + i sin α −1
n
= cos−α + i sin−α n
= cosn−α + i sinn−α = cos−nα + i sin−nα
and so the equation
cos α + i sin α n = cos nα + i sin nα
does also hold when n is negative. Incidentally, this equation also holds when n = 0.
8. Making use of Exercise 7, prove that
cos π + i sin π
9 9
is a cube root of
1 + 3 i
2 2
94
If you know something about determinants, prove that these expressions are also equal to
a b c
det b c a
c a b
Can you generalize this result to higher order determinants?
This does generalise nicely to a general n by n determinant
a 1 a 2 a 3 ⋯ a n−1 an
a2 a3 a4 ⋯ an a1
det a3 a4 a5 ⋯ a1 a2 .
⋮ ⋮ ⋮ ⋮ ⋮ ⋮
a n a 1 a 2 ⋯ a n−2 a n−1
If w is an nth root of 1 and w ≠ 1 then
a 1 a 2 a 3 ⋯ a n−1 an
a2 a3 a4 ⋯ an a1 n n n n
det a3 a4 a5 ⋯ a1 a2 = ∑ aj ∑ wjaj ∑ w 2j a j ⋯ ∑ w n−1j a j
j=1 j=1 j=1 j=1
⋮ ⋮ ⋮ ⋮ ⋮ ⋮
a n a 1 a 2 ⋯ a n−2 a n−1
It’s easy to find all of these factors by performing elementary row operations on the matrix
a 1 a 2 a 3 ⋯ a n−1 an
a2 a3 a4 ⋯ an a1
a3 a4 a5 ⋯ a1 a2
⋮ ⋮ ⋮ ⋮ ⋮ ⋮
a n a 1 a 2 ⋯ a n−2 a n−1
Exercises on Neighborhoods
1. Complete the following sentence “A set U fails to be a neighborhood of a number x when for every number
δ > 0, ...”
A set U fails to be a neighborhood of a number x when for every number δ > 0 the interval
x − δ, x + δ contains at least one number that does not belong to U.
2. Explain carefully why the assertion
∞
⋂ −1 1
n, n = 0
n=1
that was made above is true. You will need to make use of an earlier result.
Since the number 0 belongs to the interval − 1n , 1n for every positive integer n we have
∞
0∈ ⋂ −1 1
n, n .
n=1
95
∞
Now we need to show that 0 is the only number in the set ⋂ n=1 − 1n , 1n . Suppose that x ≠ 0. Using
the fact that |x| > 0 and that earlier result, choose a positive integer n such that
1 < |x|.
n
− |x| − 1
n 0 1
n |x|
Since we have found a value of n for which x fails to belong to the interval − n , n we know that
1 1
∞
x∉ ⋂ −1 1
n, n .
n=1
∞
Thus 0 is the only number in the set ⋂ n=1 − 1 1
n, n , which is what we wanted to prove.
3. Given that x is an interior point of U and that U ⊆ V, explain why x must be an interior point of V.
Using the fact that x is an interior point of U, choose δ > 0 such that
x − δ, x + δ ⊆ U.
Since U ⊆ V we therefore have
x − δ, x + δ ⊆ V.
Therefore x is an interior point of V.
4. Suppose that x is a real number and that U ⊆ R. Prove that the following two conditions are equivalent:
a. The set U is a neighborhood of the number x.
b. It is possible to find two numbers a and b such that
x ∈ a, b ⊆ U.
Solution: To prove that condition a implies condition b we assume that U is a neighborhood of the
number x. Choose δ > 0 such that
x − δ, x + δ ⊆ U.
By defining a = x − δ and b = x + δ we obtain two numbers a and b such that a < b and such that
x ∈ a, b ⊆ U.
Now to prove that condition b implies condition a we assume that condition b holds. Choose numbers a
and b such that a < b and such that
x ∈ a, b ⊆ U.
Using the fact that the interval a, b is a neighborhood of x, choose δ > 0 such that
x − δ, x + δ ⊆ a, b.
Since x − δ, x + δ ⊆ U we have shown that U is a neighborhood of x.
5. Suppose that x and y are two different real numbers. Prove that it is possible to find a neighborhood U of x
and a neighborhood V of y such that U ∩ V = ∅.
Solution: We may assume, without loss of generality, that x < y. Choose a number c between x and
y. The intervals −∞, c and c, ∞ are, respectively, neighborhoods of x and y and the intersection of these
two intervals is empty.
6. Given that S is a set of real numbers and that x is an upper bound of S, explain why S cannot be a
neighborhood of x.
Solution: If δ is any positive number then, since all of the numbers between x and x + δ must lie in
R ∖ S, the interval x − δ, x + δ cannot be included in S.
7. Given that a set S of real numbers is nonempty and bounded above, explain why neither S nor R ∖ S can be a
neighborhood of sup S.
Solution: We see from Exercise 6 that S is not a neighborhood of sup S. Now we observe that,
96
whenever δ > 0, since the number x − δ fails to be an upper bound of S, there must be members of S in the
interval x − δ, x. Therefore, whenever δ > 0, the interval x − δ, x + δ fails to be included in the set R ∖ S
and so R ∖ S must also fail to be a neighborhood of x.
8. Suppose that A and B are sets of real numbers and that x is an interior point of the set A ∪ B. Is it true that x
must either be an interior point of A or an interior point of B?
Hint: The answer is no. Give an example to show what can go wrong.
9. Suppose that A and B are sets of real numbers and that x is an interior point both of A and of B. Is it true that x
must be an interior point of the set A ∩ B?
Yes it is true. Suppose that x is an interior point of both of the sets A and B. Choose a number
δ 1 > 0 such that
x − δ 1 , x + δ 1 ⊆ A
and choose a number δ 2 > 0 such that
x − δ 2 , x + δ 2 ⊆ B.
We now define δ to be the smaller of the two numbers δ 1 and δ 2 and we observe that
x − δ, x + δ ⊆ A ∩ B.
10. Suppose that x and y are real numbers and that U is a neighborhood of y. Prove that the set V defined by
V = x + u ∣ u ∈ U
is a neighborhood of the number x + y.
Solution: We need to find a number δ > 0 such that the interval x + y − δ, x + y + δ is included in
V. Using the fact that U is a neighborhood of y, we choose δ > 0 such that
y − δ, y + δ ⊆ U.
Now given any number t in the interval x + y − δ, x + y + δ we deduce from the fact that
x+y−δ < t < x+y+δ
that
y−δ < t−x < y+δ
and therefore we know that t − x ∈ U. Therefore, since
t = x+t−x
we know that t ∈ V and we have shown that
x + y − δ, x + y + δ ⊆ V.
97
and, of course, the set 0 isn’t open.
4. Give an example of an infinite family of closed sets whose union fails to be closed.
∞
⋃ 0, 1 − 1
n = 0, 1
n=1
which is not closed.
5. Give an example of two sets A and B neither of which is open but for which the set A ∪ B is open.
Solution: Look at the union 0, 1 ∪ 1, 2.
6. Given a set H of real numbers, prove that the following conditions are equivalent:
a. The set H is closed.
b. For every number x ∈ R ∖ H it is possible to find a number δ > 0 such that x − δ, x + δ ∩ H = ∅.
Condition b can be expressed by saying for every number x ∈ R ∖ H it is possible to find a number
δ > 0 such that
x − δ, x + δ ⊆ R ∖ H
and this is exactly the condition that the set R ∖ H is open.
7. a. Given any number x, prove that the singleton x is closed.
The fact that x is closed follows from the fact that the set R ∖ x is the union of the two open
intervals −∞, x and x, ∞, the fact that an open interval is an open set and the fact that the
union of open sets is always open.
b. Use part a. and the fact that every finite set is a finite union of singletons to deduce that every finite set is
closed.
There isn’t really anything to add. The union of finitely many closed sets is always closed.
8. Given that Q ⊆ H and that H is closed, prove that H = R.
Solution: The set R ∖ H is open and contains no rational number. To prove that R ∖ H must be
empty we shall observe that every nonempty open set must contain a rational number. Suppose that U is
open and nonempty. Choose x ∈ U and choose δ > 0 such that x − δ, x + δ ⊆ U. Since the interval
x − δ, x + δ must contain rational numbers, so must the set U.
9. Given that H is closed, nonempty and bounded below, prove that H must have a least member.
We need to show that inf H belongs to H. Since H is closed we can show that inf H belongs to H by
showing that inf H is close to the set H. Suppose that δ > 0. Since inf H + δ > inf H and since inf H is
the greatest lower bound of H we know that inf H + δ must fail to be a lower bound of H. Using this
fact we choose a member x of H such that x < inf H + δ. We observe that
inf H − δ < inf H ≤ x < inf H + δ
and so
inf H − δ, inf H + δ ∩ H ≠ ∅
and we have shown that inf H is close to H.
10. Prove that no open set can have a largest member.
Suppose that U is open and that x ∈ U. We need to show that x can’t be the largest member of U.
Using the fact that x must be an interior point of U we choose δ > 0 such that
x − δ, x + δ ⊆ U.
The interval x, x + δ is non empty and all its members must belong to U. Therefore x is not the
largest member of U.
11. Given a real number x and a set S of real numbers, prove that the following two conditions are equivalent:
a. The number x is an interior point of S.
98
b. It is possible to find an open set U such that x ∈ U ⊆ S.
Proof that condition a implies condition b: We assume that x is an interior point of S. Choose a
number δ > 0 such that x − δ, x + δ ⊆ S and define U = x − δ, x + δ. In this way we have found an
open set U such that x ∈ U ⊆ S.
Proof that condition b implies condition a. We assume that condition b holds. Choose an open set
U such that x ∈ U ⊆ S. Using the fact that x is an interior point of U we choose δ > 0 such that
x − δ, x + δ ⊆ U. Since x − δ, x + δ ⊆ S we deduce that x is an interior point of S.
12. Prove that if S is any set of real numbers then the set of all interior points of S must be open.
Suppose that S is a set of real numbers and define U to be the set of interior points of S. To show
that U is open, suppose that x ∈ U. Choose δ > 0 such that x − δ, x + δ ⊆ S. We deduce from the
results obtained in Exercise 11 that every number in the interval must be an interior point of S. In
other words, x − δ, x + δ ⊆ U. Therefore, since every member of U is an interior point of U the set
U must be open.
13. This exercise refers to the sum of two sets as it was defined in this exercise. Prove that if A is any set of real
numbers and U is an open set then the set A + U must be open.
Solution: We need to show that every member of A + U is an interior point of A + U. Suppose that
x ∈ A + U. Choose a member a of A and a member u of U such that x = a + u. Using the fact that u ∈ U,
choose δ > 0 such that u − δ, u + δ ⊆ U. We shall show that x is an interior point of A + U by showing
that
x − δ, x + δ ⊆ A + U.
Suppose that t ∈ x − δ, x + δ. Thus
|t − a + u| < δ
which gives us
|t − a − u| < δ
and so
t − a ∈ u − δ, u + δ ⊆ U.
Since
t = a + t − a
we see that t ∈ A + U and so
x − δ, x + δ ⊆ A + U
as promised.
Exercises on Closure
1. Suppose that
S = 0, 1 ∪ 1, 2.
99
d. Give an example of a subset S of the interval 0, 1 such that S = 0, 1 but if U is the set of interior points
of S then U ≠ 0, 1.
Once again, take the set of all rational numbers between 0 and 1.
2. Given that
S= 1 ∣ n ∈ Z+ ,
n
evaluate S.
Hint: Show that
S = 0 ∪ 1 ∣ n ∈ Z+ .
n
First show that 0 ∈ S. Then observe that every negative number belongs to the set −∞, 0 and that if x is
any positive number then x belongs to the interval
1 ,1
n+1 n
for some positive integer n.
3. Given that S is a set of real numbers, that H is a closed set and that S ⊆ H, prove that S ⊆ H.
We could argue that S ⊆ H and that, because H is closed, H = H.
4. Given two sets A and B of real numbers, prove that
A ∪ B = A ∪ B.
Solution: Since A ⊆ A and B ⊆ B we have
A ∪ B ⊆ A ∪ B.
and therefore, since the union of the two closed sets A and B is closed we have
A ∪ B ⊆ A ∪ B.
On the other hand, since A is included in the closed set A ∪ B we have
A ⊆ A∪B
and, similarly we can see that
B ⊆ A∪B
and so
A ∪ B ⊆ A ∪ B.
Therefore
A ∪ B = A ∪ B.
100
On the other hand, a strong student could be permitted to observe that if x is any given number
then the statement that x does not belong to S is the statement that there exists a number δ > 0
such that x − δ, x + δ ∩ S = ∅, and that the latter equation is just the condition that
x − δ, x + δ ⊆ R ∖ S.
7. Given that α is an upper bound of a given set S of real numbers, prove that the following two conditions are
equivalent:
a. We have α = sup S.
b. We have α ∈ S.
To prove that condition a implies condition b we assume that α = sup S. We need to show that
α ∈ S. Suppose that δ > 0. Using the fact that α is the least upper bound of S and that α − δ < α we
choose a member x of S such that α − δ < x. Since x ∈ α − δ, α + δ ∩ S we have
α − δ, α + δ ∩ S ≠ ∅.
To prove that condition b implies condition a we assume that α ∈ S. We need to show that α is the
least upper bound of S. Suppose that p < α. Since the set p, ∞ is a neighborhood of α we have
p, ∞ ∩ S ≠ ∅. Thus, since α is an upper bound of S and since no number p < α can be an upper
bound of S we conclude that α is the least upper bound of S.
8. Is it true that if A and B are sets of real numbers and
A=B=R
then A ∩ B = R?
The answer is no. Look at A = Q and B = R ∖ Q.
9. Prove that if A and B are open sets and
A=B=R
then A ∩ B = R. What if only one of the sets A and B is open?
Solution: All we need to know is that at least one of the sets A and B is open. Suppose that A and B
are sets of real numbers, that
A=B=R
and that the set A is open.
To prove that
A ∩ B = R,
suppose that x is any real number and that δ > 0. Since x ∈ A we know that the set
x − δ, x + δ ∩ A
is nonempty and we also know that this set is open. Therefore, since B = R we know that
x − δ, x + δ ∩ A ∩ B ≠ ∅.
We have therefore shown that every real number must belong to A ∩ B.
10. Two sets A and B are said to be separated from each other if
A ∩ B = A ∩ B = ∅.
Which of the following pairs of sets are separated from each other?
a. 0, 1 and 2, 3. Yes.
b. 0, 1 and 1, 2. Yes.
c. 0, 1 and 1, 2. No because 0, 1 ∩ 1, 2 = 1 ≠ ∅.
d. Q and R ∖ Q. No.
11. Prove that if A and B are closed and disjoint from one another then A and B are separated from each other.
Suppose that A and B are closed and disjoint from one another. Since A = A and B = B, the fact
that A ∩ B = A ∩ B = ∅ follows at once from the fact that A ∩ B = ∅.
101
12. Prove that if A and B are open and disjoint from one another then A and B are separated from each other.
Suppose that A and B are open and disjoint from one another. Given any number x ∈ A, we deduce
from the fact that A is a neighborhood of x and A ∩ B = ∅ that x is not close to B. Therefore
A ∩ B = ∅ and we see similarly that A ∩ B = ∅.
13. Suppose that S is a set of real numbers. Prove that the two sets S and R ∖ S will be separated from each other
if and only if the set S is both open and closed. What then do we know about the sets S for which S and R ∖ S
are separated from each other?
Suppose that S and R ∖ S are separated from each other. To show that S is open, suppose that
x ∈ S. Since S ∩ R ∖ S = ∅ we know that x is not close to R ∖ S. Choose δ > 0 such that
x − δ, x + δ ∩ R ∖ S = ∅
and observe that x − δ, x + δ ⊆ S. Thus S is open and a similar argument shows that R ∖ S is also
open. We therefore know that if the sets S and R ∖ S are separated from one another then S is both
open and closed.
Now suppose that S is both open and closed. Since the two set S and R ∖ S are closed and disjoint
from one other they are separated from one another.
14. This exercise refers to the notion of a subgroup of R that was introduced in an earlier exercise. That
exercise should be completed before you start this one.
a. Given that H and K are subgroups of R, prove that the set H + K defined in the sense of
an earlier exercise is also a subgroup of R.
To prove that H + K is a subgroup of R we need to show that H + K is nonempty and that the
sum and difference of any members of H + K must always belong to H + K.
To show that H + K is nonempty we use the fact that H and K are nonempty to choose x ∈ H
and y ∈ K. Since x + y ∈ H + K we have H + K ≠ ∅.
Now suppose that w 1 and w 2 are any members of the set H + K. Choose members x 1 and x 2 of
H and members y 1 and y 2 of K such that w 1 = x 1 + y 1 and w 2 = x 2 + y 2 . Since the numbers
x 1 + x 1 and x 1 − x 2 belong to H and the numbers y 1 + y 2 and y 1 − y 2 belong to K, and since
w 1 + w 2 = x 1 + x 2 + y 1 + y 2
and
w 1 − w 2 = x 1 − x 2 + y 1 − y 2
we see at once that w 1 + w 2 and w 1 − w 2 belong to H + K.
b. Prove that if a, b and c are integers and if
a 2 = b 3 +c
then a = b = c = 0.
Solution: From the equation
a 2 = b 3 +c
we see that
2a 2 = 3b 2 + 2bc 3 + c 2 .
Therefore, unless bc = 0 we have
3 = 2a − 3b − c
2 2 2
2bc
which contradicts the fact that the number 3 is irrational. Therefore at least one of the number b
and c must be zero.
In the event that c = 0, the equation
a 2 = b 3 +c
becomes
a 2 =b 3
and, unless a = 0, the latter equation gives us
102
2 = b
3 a
which contradicts the fact that 2
3
is irrational. So in the case c = 0 we also have a = 0 and we see at
once that b = 0 as well.
In the event that b = 0, the equation
a 2 = b 3 +c
becomes
a 2 =c
and, unless a = 0, the latter equation gives us
2 = ac
which contradicts the irrationality of 2 . So, once again, a = 0 and we see at once that c = 0 as well.
c. Prove that if m, n, p and q are integers then it is impossible to have
2 −m 3 −p
n = q
and deduce that if α is any real number and if H = nα ∣ n ∈ Z then the subgroup H + Z cannot
contain both of the numbers 2 and 3 .
Solution: The equation
2 −m 3 −p
n = q
implies that
q 2 = n 3 − np + mq
which, by part b, tells us that
0 = q = n = mq − np
which is clearly impossible since n and q appear denominators of the fractions in the equation
2 −m 3 −p
n = q .
Now, to obtain a contradiction, suppose that the subgroup H + Z contains both of the numbers 2
and 3 . Choose integers m and n such that
2 = m + nα
and choose integers p and q such that
3 = p + qα.
Since 2 is irrational, we know that 2 ≠ m and so n ≠ 0; and we know similarly that q ≠ 0. Thus
2 −m 3 −p
n =α= q
which we know to be impossible.
d. Suppose that G is a subgroup of R other than 0, that
p = infx ∈ G ∣ x > 0
and that the number p is positive. Prove that the set G is closed.
Solution: We know from an earlier exercise that
G = np ∣ n ∈ Z.
e. Prove that if G is a subgroup of R other than 0 and that G has no least positive member then G = R.
Solution: This fact was established in an earlier exercise.
f. Suppose that α is an irrational number, that
103
H = nα ∣ n ∈ Z
and that G = H + Z (in the sense of this exercise). Prove that although the sets H and Z are closed
subgroups of R and although the set G is also a subgroup of R, the set G is not closed.
Solution: Since G cannot contain both of the numbers 2 and 3 we know that G ≠ R. To
show that G is not closed we shall make the observation that G = R and, for this purpose, all we have
to show is that if
p = infx ∈ G ∣ x > 0
then p = 0. Suppose that p is defined in this way and, to obtain a contradiction, suppose that p > 0.
We know that
G = np ∣ n ∈ Z
and, using the fact that both of the numbers 1 and α belong to G, we choose integers m and n such
that
1 = mp
and
α = np.
From the fact that p = 1/m we see that p is rational but from the fact that p = α/n we see that p must
be irrational. Thus we have arrived at the promised contradiction.
104
As we saw in Exercise 1, the infinite set Z has no limit point.
d. Give an example of an unbounded set that has exactly one limit point.
The unbounded set Z ∪ 1n ∣ n ∈ Z + has only the limit point 0.
e. Give an example of an unbounded set that has exactly two limit points.
The set
Z∪ 1 n ∣n∈Z
+
∪ 1+ 1 n ∣n∈Z
+
has the two limit points 0 and 1. We can see this directly or we can use the assertion proved in
Exercise 6 below.
5. Prove that if A and B are sets of real numbers and if A ⊆ B then LA ⊆ LB.
Suppose that A and B are sets of real numbers and that A ⊆ B. Suppose that x is a limit point of A.
We need to explain why x has to be a limit point of B. Suppose that δ > 0. Since the set
x − δ, x + δ ∩ A ∖ x is nonempty and since
x − δ, x + δ ∩ A ∖ x ⊆ x − δ, x + δ ∩ B ∖ x
we deduce that the set x − δ, x + δ ∩ B ∖ x is nonempty.
6. Prove that if A and B are sets of real numbers then
LA ∪ B = LA ∪ LB.
Solution: Since A ⊆ A ∪ B we know that LA ⊆ LA ∪ B and similarly we know that
LB ⊆ LA ∪ B. Thus
LA ∪ LB ⊆ LA ∪ B.
Now suppose that a number x fails to belong to the set LA ∪ LB. Choose a number δ 1 > 0 such that
the interval x − δ 1 , x + δ 1 contains only finitely many members of the set A. Choose a number δ 2 > 0
such that the interval x − δ 2 , x + δ 2 contains only finitely many members of the set B. We now define δ to
be the smaller of the two numbers δ 1 and δ 2 and we observe that, although δ > 0, the interval
x − δ, x + δ contains only finitely many members of the set A ∪ B. Therefore no number that lies outside
the set LA ∪ LB can be a limit point of A ∪ B and we conclude that
LA ∪ B = LA ∪ LB.
105
members of D lying between a and b. Now suppose that x is a real number. To show that x is a limit
point of D, suppose that δ > 0. Since there must be members of D in the interval x, x + δ we
conclude that the set x − δ, x + δ ∩ D ∖ x is nonempty.
9. Given that a set S of real numbers is nonempty and bounded above but that S does not have a largest member,
prove that sup S must be a limit point of S. State and prove a similar result about inf S.
To show that sup S is a limit point of S, suppose that δ > 0. Since sup S − δ < sup S and since sup S is
the least upper bound of S the number sup S − δ fails to be an upper bound of S. Choose a member
x of S such that sup S − δ < x. Since x ≤ sup S and since sup S does not belong to S we have x < sup S.
We conclude that
sup S − δ, sup S + δ ∩ S ∖ sup S ≠ ∅.
10. Given any set S of real numbers, prove that the set LS must be closed.
Solution: We shall show that any number that fails to belong to LS must fail to belong to LS.
Suppose that x ∈ R ∖ LS. Choose a number δ > 0 such that the interval x − δ, x + δ contains only
finitely many members of S. Given any number t in the interval x − δ, x + δ, it follows from the fact that
x − δ, x + δ is a neighborhood of t and the fact that x − δ, x + δ contains only finitely many members of
S that t is not a limit point of S. Thus
x − δ, x + δ ∩ LS = ∅
and we have shown, as promised, that x does not belong to LS.
11. Prove that if a set U is open then LU = U.
Of course LU ⊆ U. Now suppose that x ∈ U. To show that x ∈ LU, suppose that δ > 0. Using
the fact that x ∈ U, choose a number y in the set U ∩ x − δ, x + δ. Using the fact that the set
U ∩ x − δ, x + δ is open, choose > 0 such that
y − , y + ⊆ U ∩ x − δ, x + δ.
We have now found more than one member of U that belongs to the interval x − δ, x + δ and so
we know that
U ∩ x − δ, x + δ ∖ x ≠ ∅.
12. Suppose that S is a set of real numbers, that LS ≠ ∅, and that δ > 0. Prove that there exist two different
numbers x and y in S such that |x − y| < δ.
Solution: Choose a limit point t of the set S. Using the fact that the interval t − δ/2, t + δ/2 contains
infinitely many members of S, choose two different members x and y of S that lie in the interval
t − δ/2, t + δ/2. We observe that |x − y| < δ.
106
‖x + y‖ 2 = x + y ⋅ x + y
= x ⋅ x + y ⋅ x + x ⋅ y + y ⋅ y = x ⋅ x + 2x ⋅ y + y ⋅ y,
the equation ‖x + y‖ 2 = ‖x‖ 2 + ‖y‖ 2 holds if and only if x ⋅ y = 0.
2. Given any points x and y in R k , prove that
‖x + y‖ 2 + ‖x − y‖ 2 = 2‖x‖ 2 + 2‖y‖ 2 .
This identity is known as the parallelogram law. Is there also a parallelogram law for the ∞-norm?
The parallelogram law follows at once when we expand the left side. The parallelogram law does
not hold for the ∞-norm. For example
‖1, 0 − 0, 1‖ 2∞ + ‖1, 0 + 0, 1‖ 2∞ ≠ 2‖1, 0‖ 2∞ + 2‖0, 1‖ 2∞ .
a. Why is the Cauchy-Schwarz inequality needed to make this definition make sense?
The Cauchy-Schwarz inequality guarantees that
x⋅y
≤ 1.
‖x‖‖y‖
107
5. Prove that if x and y are any points in R k then the points x + y and x − y are orthogonal to one another if and
only if ‖x‖ = ‖y‖. Can you interpret this statement geometrically?
The result follows at once from the equation
x + y ⋅ x − y = ‖x‖ 2 − ‖y‖ 2 .
A common interpretation of this exercise is that the diagonals of a parallelogram will be
perpendicular to each other if and only if the parallelogram is a rhombus. Here is another
interpretation:
y
O
−x
The angle subtended at any point on a circle by a diameter of the circle is a right angle.
6. In this exercise we suppose that a, b and c are points of R k and that
‖a‖ = ‖b‖ = ‖c‖.
Suppose that x = a + b + c. Prove that the points x − a and b − c are orthogonal to one another. Deduce two
more similar statements and make a geometric interpretation of these statements that concerns the three
altitudes of a triangle with vertices a, b and c.
We see at once that
x − a ⋅ b − c = a + b + c − a ⋅ b − c = b + c ⋅ b − c = 0.
The point x is shown to be the common point of intrersection of the three altitudes of the triangle.
7. The cross product a × b of two points a = a 1 , a 2 , a 3 and b = b 1 , b 2 , b 3 in R 3 is defined by the equation
a × b = a 2 b 3 − a 3 b 2 , a 3 b 1 − a 1 b 3 , a 1 b 2 − a 2 b 1 .
108
‖a × b‖ = ‖a‖‖b‖ sin θ.
Suppose that θ is the angle between a and b. Since a ⋅ b =‖a‖‖b‖ cos θ we have
‖a × b‖ 2 = ‖a‖ 2 ‖b‖ 2 − a ⋅ b 2
= ‖a‖ 2 ‖b‖ 2 − ‖a‖ 2 ‖b‖ 2 cos 2 θ
= ‖a‖ 2 ‖b‖ 2 1 − cos 2 θ = ‖a‖ 2 ‖b‖ 2 sin 2 θ.
Since 0 ≤ θ ≤ π we know that sin θ ≥ 0 and so
‖a × b‖ = ‖a‖‖b‖ sin θ.
109
1 − ur 1 a + s 1 b + t 1 c + ur 2 a + s 2 b + t 2 c = 1 − ur 1 + ur 2 a +1 − us 1 + us 2 b
+ 1 − ut 1 + ut 2 c.
Since the numbers 1 − ur 1 + ur 2 and 1 − us 1 + us 2 and 1 − ut 1 + ut 2 are all nonnegative and
since
1 − ur 1 + ur 2 + 1 − us 1 + us 2 + 1 − ut 1 + ut 2 = 1 − ur 1 + s 1 + t 1 + ur 2 + s 2 + t 2
= 1−u+u = 1
we conclude that
1 − ur 1 a + s 1 b + t 1 c + ur 2 a + s 2 b + t 2 c ∈ H.
4. In an earlier exercise we saw the definition of the sum A + B of two sets A and B of real numbers. A similar
definition can be given if A and B are subsets of R k :
A + B = x ∣ ∃a ∈ A and ∃b ∈ B such that x = a + b
which we can write more briefly in the form
A + B = a + b ∣ a ∈ A and b ∈ B .
Prove that if A and B are convex subsets of R k then the set A + B is also convex.
Suppose that A and B are convex. Suppose that a 1 and a 2 belong to A and b 1 and b 2 belong to B,
and suppose that 0 ≤ t ≤ 1. We have
1 − ta 1 + b 1 + ta 2 + b 2 = 1 − ta 1 + ta 2 + 1 − tb 1 + tb 2
which is the sum of a member of A and a member of B.
5. If A is a subset of R k then a convex combination of members of A is defined to be any sum of the form
n
r1a1 + r2a2 + ⋯ + rnan = ∑ rjaj
j=1
where n is a positive integer and each of the points a 1 , a 2 , ⋯, a n belongs to the set A and each of the
coefficients r 1 , r 2 , ⋯, r n is nonnegative and
n
∑ r j = 1.
j=1
Prove that if A is convex then every convex combination of members of A must belong to A.
Solution: Suppose that A is a convex set. We prove the assertion by mathematical induction. For
each integer n ≥ 2 we define pn to be the assertion that whenever r 1 , r 2 , ⋯, r n are nonnegative numbers
satisfying the condition
n
∑ rj = 1
j=1
It follows at once from the convexity of the set A that the assertion p2 is true. Now suppose that n is any
integer such that n ≥ 2 and such that the assertion pn is true. Suppose that r 1 , r 2 , ⋯, r n , r n+1 are
nonnegative number, that
n+1
∑ rj = 1
j=1
110
n
∑ rj = 0
j=1
and we define
n
t= ∑ rj.
j=1
6. Given a nonempty subset A of R k , the convex hull coA of A is defined to be the set of all possible convex
combinations of points of A.
a. Prove that if A is any nonempty subset of R k then A ⊆ coA.
This assertion is obvious.
b. Prove that if A and B are nonempty subsets of R k and A ⊆ B then coA ⊆ coB.
This assertion is obvious.
c. Prove that if A is any nonempty subset of R k then coA is convex.
Suppose n is a positive integer, that a j and b j belong to A and that r j and s j are nonnegative
numbers for j = 1, ⋯, n and suppose that
n n
∑ r j = ∑ s j = 1.
j=1 j=1
Since
n
∑ 1 − tr j + ts j =1
j=1
111
the expression ∑ j=1 1 − tr j a j + ts j b j is also a convex combination of points of A.
n
b. Prove that if A and B are nonempty subsets of R k and x ∈ coA and y ∈ B then x + y ∈ coA + B.
We assume that x ∈ coA and that y ∈ B.
Choose a positive integer n and members a j of the set A and numbers r j ≥ 0 for j = 1, ⋯, n
such that ∑ j=1 r j = 1 and such that x = ∑ j=1 r j a j . We see that
n n
n n n
x+y = ∑ r j a j + ∑ r j y = ∑ r j a j + y ∈ coA + B.
j=1 j=1 j=1
c. Prove that if A and B are nonempty subsets of R k and x ∈ coA and y ∈ coB then
x + y ∈ coA + coB.
Choose a positive integer n and nonnegative numbers r j and members a j of the set A for
j = 1, ⋯, n such that x = ∑ j=1 r j a j . Then
n
n n n
x+y = ∑ r j a j + ∑ r j y = ∑ r j a j + y.
j=1 j=1 j=1
From part b we know that each number a j + y must belong to coA + B and since coA + B is
convex we have
n
x+y = ∑ r j a j + y ∈ coA + B.
j=1
112
δx, z ≤ dx, z ≤ dx, y + dy, z = δx, y + δy, z
and once again the inequality δx, z ≤ δx, y + δy, z holds.
2. Prove that if we define
da, b = |x 1 − x 2 | + |y 1 − y 2 |
whenever a = x 1 , y 1 and b = x 2 , y 2 are points in R 2 then d is a metric on R 2 .
The fact that da, b = 0 if and only if a = b is obvious and so is the equation da, b = da, b for all
a and b. Now suppose that a = x 1 , y 1 , b = x 2 , y 2 and c = x 3 , y 3 . We observe that
da, c = |x 1 − x 3 | + |y 1 − y 3 |
= |x 1 − x 2 + x 2 − x 3 | + |y 1 − y 2 + y 2 − y 3 |
≤ |x 1 − x 2 | + |x 2 − x 3 | + |y 1 − y 2 | + |y 2 − y 3 |
= da, b + db, c.
1, 0
With the ∞-metric the condition for a point x, y to lie in the ball is that the larger of |x| and |y| does
not exceed 1. In other words, x, y ∈ BO, 1 if and only if |x| ≤ 1 and |y| ≤ 1. So the ball is a square.
−1, 1 1, 1
−1, −1 1, −1
With the metric of Exercise 2, the condition x, y ∈ BO, 1 says that |x| + |y| ≤ 1.
−x + y = 1 x+y = 1
−x − y = 1 x−y = 1
113
Finally, with the metric of Exercise 3, the ball is the set of points x, y for which 2|x| + 3|y| ≤ 1
−2x + 3y = 1 2x + 3y = 1
−2x − 3y = 1 2x − 3y = 1
5. Prove that a metric space X is bounded if and only if it is possible to find a positive number r and a member c
of the space X such that X = Bc, r.
If X = Bc, r and x and y belong to X then
dx, y ≤ dx, c + dc, y ≤ r + r = 2r
which tells us that diamX ≤ 2r.
On the other hand, if we know that X is bounded and choose r > 0 such that dx, y < r whenever x
and y belong to X then, given any point c ∈ X we have X = Bc, r.
6. Prove that a metric space X is bounded if and only if it is possible to find a positive number r such that for
every member c of the space X we have X = Bc, r.
The solution given to Exercise 5 satisfies the conditions stated in this exercise too.
7. Suppose that x and y are points in a metric space X and that x ≠ y. Suppose that
δ = dx, y.
Prove that
B x, δ ∩ B y, δ = ∅.
2 2
Solution: Given any member u of the ball B x, δ
2
we have
dx, y ≤ dx, u + du, y
δ
and since dx, u < 2
we obtain
δ ≤ δ + du, y
2
from which we conclude that du, y ≥ δ2 . Therefore no member of the ball B x, δ
2
can belong to the
ball B y, δ2 .
8. a. Prove that in the metric space R k with the Euclidean metric the diameter of every ball Bc, r and every
ball Bc, r is 2r.
On the one hand we know that whenever x and y belong to the ball Bc, r we have
‖x − y‖ ≤ ‖x − c‖ + ‖c − y‖ ≤ r + r = 2r
and we conclude that the diameter of Bc, r does not exceed 2r. Now, to show that the
diameter of Bc, r can’t be less than 2r, suppose that 0 < p < 2r. We shall find two points x and
y in the ball Bc, r such that ‖x − y‖ > 2r. We begin by choosing a number q between p and 2r.
Then we define
q
x = c+ e
2
and
q
y = c− e
2
and observe that x and y belong to Bc, r and that ‖x − y‖ = q > p.
b. Prove that in the metric space R k with the ∞-metric the diameter of every cube Ic, r and every cube
Ic, r is 2r.
Since the cubes are just the balls in R k with the ∞-norm, the solution of this exercise is identical
114
to that of part a with the Euclidean norm replaced by the ∞-norm.
c. Prove that in the metric space R k with the ∞-metric the diameter of every ball Bc, r and every ball
Bc, r is 2r.
Given any points x and y in Bc, r we have
‖x − y‖ ∞ ≤ ‖x − y‖ < 2r.
on the other hand, if we follow the argument given in the solution of part a then we obtain
q q
‖x − y‖ ∞ = c+ e − c− e = ‖qe‖ ∞ = ‖qe‖ = q
2 2 ∞
and so the argument given there applies here too.
d. Prove that in the metric space R k with the Euclidean metric the diameter of every cube Ic, r and every
cube Ic, r is 2r k .
Given any points x and y in the cube Ic, r we have
‖x − y‖ ≤ k ‖x − y‖ ∞ ≤ 2r k .
Now suppose that 0 < p < 2r k . We define u to be the point u 1 , u 2 , ⋯, u k of R k whose
coordinates u j are all equal to 1, we choose a number q between p and 2r k and we define
q
x = c− u
2 k
and
q
y = c+ u.
2 k
The points x and y lie in the cube Ic, r and
q q q
‖x − y‖ = c+ u − c− u = ‖u‖ = q > p.
2 k 2 k k
9. Prove that if d is the discrete metric on a set X and c ∈ X then the diameter of the ball Bc, 1 is 0 and the
diameter of the ball Bc, 1 is 1.
These assertions follow at once from the observation that Bc, 1 = c and Bc, 1 = X. Strictly
speaking, the exercise should have stipulated that the set X shoud contain more than one point.
10. Given that c ∈ R k and r > 0 prove that the sets Bc, r, Bc, r, Ic, r and Ic, r are all convex.
Suppose that x and y belong to Bc, r and that 0 ≤ t ≤ 1. We see that
‖c − 1 − tx + ty‖ = ‖1 − tc − x + tc − y‖
≤ ‖1 − tc − x‖ + ‖tc − y‖
< 1 − tr + tr = r.
Thus Bc, r is convex and we can argue in the same way that Bc, r is convex. By replacing the
Euclidean norm by the ∞-norm we obtain the analogous results for Ic, r and Ic, r.
11. Suppose that S is a nonempty subset of R k and that H is the convex hull of S.
a. Prove that for every point a ∈ R k we have
sup‖a − x‖ ∣ x ∈ S = sup‖a − y‖ ∣ y ∈ H.
Since S ⊆ H we have
sup‖a − x‖ ∣ x ∈ S ≤ sup‖a − y‖ ∣ y ∈ H.
on the other hand, if n is a positive integer and x 1 , ⋯, x n belong to S and r 1 , ⋯, r n are
nonnegative numbers and ∑ j=1 r j = 1 then
n
115
n n n n
a − ∑ rjxj = ∑ rja − ∑ rjxj = ∑ r j a − x j
j=1 j=1 j=1 j=1
n n
≤ ∑ r j ‖a − x j ‖ ≤ ∑ r j sup‖a − x‖ ∣ x ∈ S
j=1 j=1
= sup‖a − x‖ ∣ x ∈ S
b. Prove that
diamS = diamH.
We see at once that diamS ≤ diamH. Now given any point x ∈ S we deduce from part a that
sup‖x − y‖ ∣ y ∈ H = sup‖x − y‖ ∣ y ∈ S = diamS.
Using part a again we deduce that if y ∈ H then
sup‖x − y‖ ∣ x ∈ H = sup‖x − y‖ ∣ x ∈ S ≤ diamS.
Solution: The “if” part of this exercise is obvious. We assume that a subset S of a given metric space
X is totally bounded and that > 0. and we need to find finitely many points x 1 , x 2 , ⋯, x n in S such that
n
S⊆ ⋃ Bx j , .
j=1
Using the fact that S is totally bounded we choose a positive integer k and points y 1 , y 2 , ⋯, y k in X such
that
k
S⊆ ⋃B yj, .
j=1
2
For each j, in the event that the set
S ∩ B yj,
2
is nonempty, we choose a member of this set and call it x j . We can now show that S is included in the
union of the balls Bx j , where j runs through those integers for which x j has been defined:
Suppose that x ∈ S and, using the fact that
k
x∈ ⋃B yj,
j=1
2
choose j such that
x ∈ B yj, .
2
Since
B yj, ∩S ≠ ∅
2
we know that x j is defined and we have
dx, x j ≤ dx, y j + dy j , x j < + = .
2 2
116
2. Given that S is an infinite set, find a bounded subset E of the metric space ℓ ∞ S such that E fails to be totally
bounded.
See the solution of Exercise 3.
3. True or false? If x is a point in a metric space X then there exists a number > 0 such that the ball Bx, is
totally bounded.
We take an infinite set S and define X = ℓ ∞ S. Suppose that > 0. For each x ∈ S we define the
function f x : S → R by the equation
0 if t ∈ S ∖ x
f x t = .
2
if t = x
The set E of all these functions f x fails to be totally bounded because no ball with radius 2 can
contain more than one member of E. Since E is included in the ball BO, where O is the constant
function 0 we conclude that the assertion made in Exercise 3 is false.
4. Prove that if S is an infinite totally bounded subset of a metric space X and if > 0 then it is possible to find
two different members x and y of the set S such that dx, y < .
Suppose that S is an infinite totally bounded subset of a metric space X and that > 0. Choose
finitely many sets with diameter less than whose union includes S. At least one of these sets must
contain more than one member of S.
5. True or false? If X is a metric space then the following two conditions are equivalent:
a. No infinite subset of X is totally bounded.
b. There exists a number > 0 such that for every pair x and y of different points of X we have dx, y ≥ .
If you decide that these two conditions are equivalent, prove that each implies the other. If you decide that
one of these conditions is sufficient but not necessary for the other, supply a proof and a counter example. If
you decide that neither of these statements implies the other, supply two counter examples.
The fact that condition b implies condition a follows at once from Exercise 4.
Condition a does not imply condition b. We define
X = Z+ ∪ n + 1 n ∣n∈Z .
+
An infinite subset of this set X has to be unbounded but, in spite of this, condition b does not hold.
Solution: Suppose that x is a point in a metric space X. We need to show that the set X ∖ x is open.
Suppose that y ∈ X ∖ x. We define δ = dx, y and we observe that δ > 0 and that
By, δ ⊆ X ∖ x.
3. Give an example of a sequence U n of open subsets of the metric space R such that the set
117
∞
⋂ Un
n=1
fails to be open.
We have observed that
∞
⋂ −1 1
n, n = 0.
n=1
4. Given that H is a closed subset of R and that every rational number belongs to H, prove that H = R.
Solution: The set R ∖ H is open in R and contains no rational number. To prove that R ∖ H must be
empty we shall observe that every nonempty open set must contain a rational number. Suppose that U is
open and nonempty. Choose x ∈ U and choose δ > 0 such that x − δ, x + δ ⊆ U. Since the interval
x − δ, x + δ must contain rational numbers, so must the set U.
5. Given that H is a closed subset of R 2 and that Q × Q ⊆ H, prove that H = R 2 .
We need to show that the open set R 2 ∖ H is empty. To obtain a contradiction, suppose that
R 2 ∖ H ≠ ∅ and choose a point a, b ∈ R 2 ∖ H. Using the theorem on open subsets of R k we now
choose δ > 0 such that whenever a − δ < x < a + δ and b − δ < y < b + δ we have x, y ∈ R 2 ∖ H.
Using the theorem on densesess of the set of rational numbers we choose rational numbers x and
y such that a − δ < x < a + δ and b − δ < y < b + δ and we observe that x, y ∈ Q × Q ∖ H,
contradiction our assumption that QQ ⊆ H.
6. Given that U is an open subset of a metric space X and that H is closed, prove that the set U ∖ H is open and
that the set H ∖ U is closed.
Since
U ∖ H = U ∩ X ∖ H
which is the intersection of two open sets, the set U ∖ H is open. Since
H ∖ U = H ∩ X ∖ U
which is the intersection of two closed sets, the set H ∖ U is closed.
7. Prove that every nonempty closed set of real numbers that is bounded below must have a least member.
Suppose that H is a nonempty closed set of real numbers and that H is bounded below. We need
to show that inf H ∈ H. To obtain a contradiction, suppose that inf H belongs to the open set R ∖ H.
Choose δ > 0 such that inf H − δ, inf H + δ ⊆ R ∖ H. Since no member of H can be less than inf H
and no member of H can lie in the interval inf H − δ, inf H + δ we see that the number inf H + δ is a
lower bound of H, contradicting the fact that inf H is the greatest lower bound of H.
8. If A and B are subsets of the space R k for a given positive integer k, then the sum A + B of A and B is defined,
by analogy with an earlier exercise. Prove that if A is any subset of R k and U is an open subset of R k then
the set A + U is open.
Solution: We need to show that every member of A + U is an interior point of A + U. Suppose that
x ∈ A + U. Choose a member a of A and a member u of U such that x = a + u. Using the fact that u ∈ U,
choose δ > 0 such that Bu, δ ⊆ U. We shall show that x is an interior point of A + U by showing that
Bx, δ ⊆ A + U.
Suppose that t ∈ Bx, δ. Thus
‖t − a + u‖ < δ
which gives us
‖t − a − u‖ < δ
and so
t − a ∈ Bu, δ ⊆ U.
Since
118
t = a + t − a
we see that t ∈ A + U and so
Bx, δ ⊆ A + U
as promised.
9. Prove that the interval 1, 3 is not an open subset of the metric space R but that this interval is an open subset
of the metric space 0, 3 which is a subspace of R.
Given any positive number δ, the ball in the metric space R with center 3 and radius δ will contain
all of the numbers between 3 and 3 + δ and will therefore fail to be included in the interval 1, 3.
Thus, in the metric space R, the point 3 fails to be an interior point of the interval 1, 3 and
therefore this interval fails to be open in the metric space R. However, if 0 < δ < 1 then, in the
metric space 0, 3, the ball center 3 with radius δ is the interval 3 − δ, 3 which is included in the
interval 1, 3. Since all other members of this interval are obviously interior points, this interval is
open in the metric space 0, 3.
10. Given that S is a nonempty subset of a metric space X, d and that U is an open subset of the metric space
X, d and that U ⊆ S, prove that U must be open in the metric space S, d.
Suppose that x ∈ U. Using the fact that U is open in the space X, d, choose a number δ > 0 such
that Bx, δ ⊆ U. In the metric space S, d, the ball center x with radius δ is S ∩ Bx, δ and since
S ∩ Bx, δ ⊆ Bx, δ ⊆ U
we have shown that x is an interior point of the set U in the metric space S, d.
11. Suppose that S is a nonempty subset of a metric space X, d and that U ⊆ S. Prove that the following two
conditions are equivalent:
a. The set U is open in the metric space S, d.
b. There exists an open subset V of the metric space X, d such that
U = S ∩ V.
Solution: First we prove that condition b implies condition a. Suppose that condition b holds
and choose an open subset V of the metric space X such that U = S ∩ V. To prove that the set U is
open in the subspace S, suppose that x ∈ U. Using the fact that x ∈ V and the fact that V is open in the
metric space X we now choose δ > 0 such that
Bx, δ ⊆ V
and we observe that
y ∈ S ∣ dx, y < δ ⊆ S ∩ V.
Since the set y ∈ S ∣ dx, y < δ is the ball center x with radius δ in the metric space S, we have
shown that the set U is open in the metric space S.
Now we want to prove that condition a implies conditio b. Suppose that condition a holds. In other
words, suppose that the set U is open in the metric space S. We know that for every point x ∈ U it is
possible to find a positive number δ such that
Bx, δ ∩ S ⊆ U.
We now define V to be the union of all the balls of the form Bx, δ for which x ∈ U and δ > 0 and
Bx, δ ∩ S ⊆ U.
The set V, being a union of balls in the space X, must be open in X. Finally, we need to explain why
U = V ∩ S.
Now given any point x ∈ U we can choose δ > 0 such that
Bx, δ ∩ S ⊆ U
and since x ∈ Bx, δ we have x ∈ V.
Now suppose that x ∈ V ∩ S. Using the definition of the set V we choose y ∈ U and δ > 0 such that
119
By, δ ∩ S ⊆ U
and x ∈ By, δ. Thus x ∈ By, δ ∩ S ⊆ U.
12. Given that S is an open nonempty subset of a metric space X, d and that U is an open subset of the metric
space S, d, prove that U must be open in the metric space X, d.
Using Exercise 11 we choose a set V that is open in the metric space X, d such that U = V ∩ S.
Since both of the sets S and V are open in the space X, d, so is their intersection, which is U.
13. Given that S is a nonempty subset of a metric space X, d and that H is a closed subset of the metric space
X, d and that H ⊆ S, prove that H must be closed in the metric space S, d.
From Exercise 11 and the fact that the set X ∖ H is open in the metric space X, d we conclude that
the set S ∩ X ∖ H is open in the metric space S, d. Since
S ∩ X ∖ H = S ∖ H
we conclude that S ∖ H is open in the space S, d which tells us that H is closed in the space S, d.
14. Given that S is a closed nonempty subset of a metric space X, d and that H is a closed subset of the metric
space S, d, prove that H must be closed in the metric space X, d.
Using Exercise 11 and the fact that S ∖ H is open in the space S, d we choose a set V that is open
in the space X such that
S∖H = S∩V
and we observe that
H = S ∩ X ∖ V.
Thus H, being the intersection of two sets that are both closed in the space X, d, must be closed
in the space X, d.
15. Skip this exercise if you are not familiar with the concept of an uncountable set. Prove that every nonempty
open subset of R k is uncountable.
The proof follows at once from an earlier theorem about equivalence to R of subsets of R that
include intervals.
16. Suppose that X, d is a given metric space and that we have defined
dx, y if dx, y ≤ 1
δx, y = .
1 if dx, y > 1
and
n
x= ∑ rjxj.
j=1
We may assume that the coefficient r 1 is not zero. Now using the fact that U is open and that
x 1 ∈ U we choose δ > 0 such that Bx 1 , δ ⊆ U. We see that if y is any member of the ball
Bx 1 , r 1 δ, since
120
n
y = y − x + ∑ rjxj
j=1
n
y−x
= r1 r1 + x1 + ∑ rjxj
j=2
and since
y−x
r 1 + x 1 ∈ Bx 1 , δ ⊆ U
we see that y ∈ coU.
18. The purpose of this exercise is to exhibit an example of a closed subset H of R 2 whose convex hull fails to
be closed. We define
1− 1
1+x
if x ≥ 0
fx =
1− 1
1−x
if x < 0
0.8
0.6
0.4
0.2
-4 -2 0 2 4
x
and we define
H = x, y ∣ 0 ≤ y ≤ fx.
Prove that the set H has the desired properties.
Given any positive integer n and points A j = x j , y j in the set H for j = 1, 2, ⋯, n and nonnegative
numbers r j for which ∑ j=1 r j = 1 we have
n
n n n n
∑ r j A j = ∑ r j x j , y j = ∑ r j x j , ∑ r j y j
j=1 j=1 j=1 j=1
and since ∑
n
< 1 we know that the point 0, 1 does not belong to coH. On the other hand,
ry
j=1 j j
whenever p > 0 the point
p2
0, 2 = 1 p, 1 − 1 + 1 −p, 1 − 1
p −1 2 1+p 2 1−p
must belong to coH and so the point 0, 1 is close to coH. Therefore coH is not closed.
We can, of course, do much better. In fact
coH = 0, 0 ∪ x, y ∈ R 2 ∣ 0 < y < 1.
Exercises on Closure
1. Suppose that
S = 0, 1 ∪ 1, 2.
121
0, 1 ∪ 1, 2 = 0, 2
c. Give an example of a set S of real numbers such that if U is the set of interior points of S then U ≠ S.
We could take S to be a singleton like 3 or it could be the set of all integers. It could also be
the set of all rational numbers between 0 and 1.
d. Give an example of a subset S of the interval 0, 1 such that S = 0, 1 but if U is the set of interior points
of S then U ≠ 0, 1.
Take S to be the set of rational numbers that lie in the interval 0, 1. The set of interior points of
S is empty.
2. Given that
S= 1 ∣ n ∈ Z+ ,
n
evaluate S.
122
A ∩ B = A ∩ B = A ∩ B.
6. Prove that if S is any subset of a metric space X then the set X ∖ S is the set of interior points of the set X ∖ S.
Given any point x ∈ X, the condition x ∈ X ∖ S means that there exists a number δ > 0 such that
Bx, δ ∩ S = ∅ and this condition says that there exists a number δ > 0 such that Bx, δ ⊆ X ∖ S.
The latter assertion says that x is an interior point of the set X ∖ S.
7. Given that α is an upper bound of a given set S of real numbers, prove that the following two conditions are
equivalent:
a. We have α = sup S.
b. We have α ∈ S.
To prove that condition a implies condition b we assume that α = sup S. We need to show that
α ∈ S. Suppose that δ > 0. Using the fact that α is the least upper bound of S and that α − δ < α we
choose a member x of S such that α − δ < x. Since x ∈ α − δ, α + δ ∩ S we have
α − δ, α + δ ∩ S ≠ ∅.
To prove that condition b implies condition a we assume that α ∈ S. We need to show that α is the
least upper bound of S. Suppose that p < α. Since the set p, ∞ is a neighborhood of α we have
p, ∞ ∩ S ≠ ∅. Thus, since α is an upper bound of S and since no number p < α can be an upper
bound of S we conclude that α is the least upper bound of S.
8. Is it true that if A and B are sets of real numbers and
A=B=R
then A ∩ B = R?
The answer is no. Look at A = Q and B = R ∖ Q.
9. Prove that a subset S of a metric space X is dense in X if and only if we have
S∩U ≠ ∅
whenever U is a nonempty open subset of X.
Suppose that S is dense in X and that U is a nonempty open set. Choose x ∈ U. Since x ∈ S and U
is a neighborhood of x we know that U ∩ S ≠ ∅.
Now suppose that the condition U ∩ S ≠ ∅ holds for every nonempty open subset U of X. To show
that S = X, suppose that x ∈ X and that > 0. Since the ball Bx, is a nonempty open set we must
have Bx, ∩ S ≠ ∅.
10. Prove that if U and V are open dense subsets of a metric space X then the set U ∩ V is also dense in X. What
if only one of the two sets U and V is open?
Solution: All we need to know is that at least one of the sets U and V is open. Suppose that A and B
are sets of real numbers, that
U=V=X
and that the set U is open.
To prove that
U ∩ V = X,
suppose that x ∈ X and that δ > 0. Since x ∈ U we know that the set Bx, δ ∩ U is nonempty and we also
know that this set is open. Therefore, since V = X we know that
Bx, δ ∩ U ∩ V ≠ ∅.
We have therefore shown that every point of the space X must belong to U ∩ V.
11. Skip this exercise if you are not familiar with the concept of a countable set. Find a sequence U n of dense
open subsets of the metric space Q such that
∞
⋂ U n = ∅.
n=1
123
Using the fact that the set Q of rational numbers is countable we express Q in the form
Q =r 1 , r 2 , r 3 , ⋯, r n , ⋯.
We now define
U n = r j ∣ j ≥ n
for each positive integer n. Since the set Q ∖ U n is finite for each n we know that each set U n is
open in the metric space Q. Finally, since every neighborhood of a point in Q must contain infiitely
many rational numbers, each neighborhood of a point of Q must intersect with each of the sets
Q ∖ U n and so each of the sets Q ∖ U n must be dense.
12. Skip this exercise if you are not familiar with the concept of a countable set. Prove that if S is a countable
subset of the metric space R then R ∖ S is dense in R. Extend this fact to the metric space R k for an arbitrary
positive integer k.
Suppose that x is a real number and that δ > 0. Since the interval x − δ, x + δ is uncountable we
know that x − δ, x + δ ∖ S ≠ ∅, in other words
x − δ, x + δ ∩ R ∖ S ≠ ∅.
Therefore R ∖ S is dense in the metric space R.
Now we repeat the same argument in R k . We assume that k is a positive integer and that S is a
countable subset of R k . Suppose that x ∈ R k and that δ > 0. Since the ball Bx, δ is uncountable
we know that Bx, δ ∖ S ≠ ∅, in other words
Bx, δ ∩ R k ∖ S ≠ ∅.
Therefore R k ∖ S is dense in the metric space R k .
13. Suppose that D is a dense subset of a metric space X and that U is a neighborhood of a point x ∈ X. Prove
that there exists a point y ∈ D and a rational number r > 0 such that
x ∈ By, r ⊆ U.
Choose δ > 0 such that Bx, δ ⊆ U. Using the fact that D is dense we now choose a member y of
the set D such that dx, y < δ3 . Finally we choose a positive integer n > 3δ which makes 1n < δ3 .
z
y x
B y, 1
n
Bx, δ
124
Ix, r = Ix, r.
Both assertions follow automatically from Exercise 14.
16. Which of the following pairs of sets are separated from each other in the metric space R?
125
To obtain a contradiction, suppose that x and y belong to S and that dx, y > p. We define
δ = dx, y − p.
δ
Using the fact that x and y are close to S we choose members u and v of S such that u ∈ B x, 2
and v ∈ B y, δ2 . We observe that
dx, y ≤ dx, u + du, v + dv, y
< δ + du, v + δ = du, v + δ = du, v + dx, y − p
2 2
which implies that du, v > p, contradicting the way in which p was chosen.
23. True or false? If S is a totally bounded subset of a metric space X then the set S is also totally bounded.
This statement is true. Suppose that S is a totally bounded subset of a metric space X and that
> 0. Using the fact that S is totally bounded we choose a positive integer n and points x 1 , x 2 , ⋯, x n
such that
n
S⊆ ⋃B xj, .
j=1
2
We shall now show that
n
S⊆ ⋃ Bx j , .
j=1
Suppose that y ∈ S. Choose a member x of S such that dx, y < 2 . Choose j such that
x ∈ B x j , 2 . Since
dy, x j ≤ dy, x + dx, x j < +
2 2
we see that y ∈ Bx j , .
24. Prove that the closure of a convex subset of R k is also convex.
25. Suppose that S is a convex subset of R k , that x is an interior point of S, that y ∈ S and that 0 < t < 1. Prove
that the point
1 − tx + y
is an interior point of S.
26. This exercise refers to the notion of a subgroup of R that was introduced in an earlier exercise. That
exercise should be completed before you start this one.
a. Given that H and K are subgroups of R, prove that the set H + K defined in the sense of
an earlier exercise is also a subgroup of R.
To prove that H + K is a subgroup of R we need to show that H + K is nonempty and that the
sum and difference of any members of H + K must always belong to H + K.
To show that H + K is nonempty we use the fact that H and K are nonempty to choose x ∈ H
and y ∈ K. Since x + y ∈ H + K we have H + K ≠ ∅.
Now suppose that w 1 and w 2 are any members of the set H + K. Choose members x 1 and x 2 of
H and members y 1 and y 2 of K such that w 1 = x 1 + y 1 and w 2 = x 2 + y 2 . Since the numbers
x 1 + x 1 and x 1 − x 2 belong to H and the numbers y 1 + y 2 and y 1 − y 2 belong to K, and since
w 1 + w 2 = x 1 + x 2 + y 1 + y 2
and
w 1 − w 2 = x 1 − x 2 + y 1 − y 2
we see at once that w 1 + w 2 and w 1 − w 2 belong to H + K.
b. Prove that if a, b and c are integers and if
a 2 = b 3 +c
then a = b = c = 0.
126
Solution: From the equation
a 2 = b 3 +c
we see that
2a 2 = 3b 2 + 2bc 3 + c 2 .
Therefore, unless bc = 0 we have
3 = 2a − 3b − c
2 2 2
2bc
which contradicts the fact that the number 3 is irrational. Therefore at least one of the number b
and c must be zero.
In the event that c = 0, the equation
a 2 = b 3 +c
becomes
a 2 =b 3
and, unless a = 0, the latter equation gives us
2 = b
3 a
which contradicts the fact that 2
3
is irrational. So in the case c = 0 we also have a = 0 and we see at
once that b = 0 as well.
In the event that b = 0, the equation
a 2 = b 3 +c
becomes
a 2 =c
and, unless a = 0, the latter equation gives us
2 = ac
which contradicts the irrationality of 2 . So, once again, a = 0 and we see at once that c = 0 as well.
c. Prove that if m, n, p and q are integers then it is impossible to have
2 −m 3 −p
n = q
and deduce that if α is any real number and if H = nα ∣ n ∈ Z then the subgroup H + Z cannot
contain both of the numbers 2 and 3 .
Solution: The equation
2 −m 3 −p
n = q
implies that
q 2 = n 3 − np + mq
which, by part b, tells us that
0 = q = n = mq − np
which is clearly impossible since n and q appear denominators of the fractions in the equation
2 −m 3 −p
n = q .
Now, to obtain a contradiction, suppose that the subgroup H + Z contains both of the numbers 2
and 3 . Choose integers m and n such that
2 = m + nα
and choose integers p and q such that
127
3 = p + qα.
Since 2 is irrational, we know that 2 ≠ m and so n ≠ 0; and we know similarly that q ≠ 0. Thus
2 −m 3 −p
n =α= q
which we know to be impossible.
d. Suppose that G is a subgroup of R other than 0, that
p = infx ∈ G ∣ x > 0
and that the number p is positive. Prove that the set G is closed.
Solution: We know from an earlier exercise that
G = np ∣ n ∈ Z.
e. Prove that if G is a subgroup of R other than 0 and that G has no least positive member then G = R.
Solution: This fact was established in an earlier exercise.
f. Suppose that α is an irrational number, that
H = nα ∣ n ∈ Z
and that G = H + Z. Prove that although the sets H and Z are closed subgroups of R and although the set
G is also a subgroup of R, the set G is not closed.
Solution: Since G cannot contain both of the numbers 2 and 3 we know that G ≠ R. To
show that G is not closed we shall make the observation that G = R and, for this purpose, all we have
to show is that if
p = infx ∈ G ∣ x > 0
then p = 0. Suppose that p is defined in this way and, to obtain a contradiction, suppose that p > 0.
We know that
G = np ∣ n ∈ Z
and, using the fact that both of the numbers 1 and α belong to G, we choose integers m and n such
that
1 = mp
and
α = np.
From the fact that p = 1/m we see that p is rational but from the fact that p = α/n we see that p must
be irrational. Thus we have arrived at the promised contradiction.
128
If x is any positive number then the interval 2x , ∞ is a neighborhood of x which fails to contain
infinitely many members of the set 1n ∣ n ∈ Z + . To see why, note that if n is a positive integer
then the condition
1 ∈ x ,∞
n 2
can hold only if n < x . Therefore no positive number can be a limit point of 1n ∣ n ∈ Z + .
2
Finally, we need to explain why 0 must be a limit point of 1n ∣ n ∈ Z + . Suppose that δ > 0.
Choose an integer k > 1δ and observe that
1 ∈ 0 − δ, 0 + δ ∩ 1 ∣ n ∈ Z + ∖ 0
k n
from which we deduce that the set 0 − δ, 0 + δ ∩ 1n ∣ n ∈ Z + ∖ 0 must be nonempty.
4. a. Give an example of an infinite subset of R that has no limit point.
As we saw in Exercise 1, the infinite set Z has no limit point.
b. Give an example of a bounded subset of R that has no limit point.
A finite set like 2 will not have any limit points. We could also look at the empty set ∅.
c. Give an example of an unbounded subset of R that has no limit point.
As we saw in Exercise 1, the infinite set Z has no limit point.
d. Give an example of an unbounded subset of R that has exactly one limit point.
The unbounded set Z ∪ 1n ∣ n ∈ Z + has only the limit point 0.
e. Give an example of an unbounded subset of R that has exactly two limit points.
The set
Z∪ 1 n ∣n∈Z
+
∪ 1+ 1 n ∣n∈Z
+
has the two limit points 0 and 1. We can see this directly or we can use the assertion proved in
Exercise 6 below.
5. Prove that if A and B are subsets of a metric space X and if A ⊆ B then LA ⊆ LB.
Suppose that A and B are subsets of a metric space X and that A ⊆ B. Suppose that x is a limit
point of A. We need to explain why x has to be a limit point of B. Suppose that δ > 0. Since the set
Bx, δ ∩ A ∖ x is nonempty and since
Bx, δ ∩ A ∖ x ⊆ Bx, δ ∩ B ∖ x
we deduce that the set Bx, δ ∩ B ∖ x is nonempty.
6. Prove that if A and B are subsets of a metric space X then
LA ∪ B = LA ∪ LB.
Solution: Since A ⊆ A ∪ B we know that LA ⊆ LA ∪ B and similarly we know that
LB ⊆ LA ∪ B. Thus
LA ∪ LB ⊆ LA ∪ B.
Now suppose that a point x fails to belong to the set LA ∪ LB. Choose a number δ 1 > 0 such that the
ball Bx, δ 1 contains only finitely many members of the set A. Choose a number δ 2 > 0 such that the ball
Bx, δ 2 contains only finitely many members of the set B. We now define δ to be the smaller of the two
numbers δ 1 and δ 2 and we observe that, although δ > 0, the interval Bx, δ contains only finitely many
members of the set A ∪ B. Therefore no number that lies outside the set LA ∪ LB can be a limit point
of A ∪ B and we conclude that
LA ∪ B = LA ∪ LB.
129
A = 0, 1 and B = 1, 2
These two sets are closed in R and
LA ∩ B = L1 = ∅
while
LA ∩ LB = 0, 1 ∩ 1, 2 = 1.
Now look at the following example:
A = 0, 1 and B = 1, 2.
In this case
LA ∩ B = L∅ = ∅
and
LA ∩ LB = 0, 1 ∩ 1, 2 = 1.
11. Is it true that if X is a metric space and LX = X then for every dense subset D of X we have LD = X?
The answer is yes. See the solution to Exercise 10.
12. Given that a set S of real numbers is nonempty and bounded above but that S does not have a largest
member, prove that sup S must be a limit point of S. State and prove a similar result about inf S.
To show that sup S is a limit point of S, suppose that δ > 0. Since sup S − δ < sup S and since sup S is
the least upper bound of S the number sup S − δ fails to be an upper bound of S. Choose a member
x of S such that sup S − δ < x. Since x ≤ sup S and since sup S does not belong to S we have x < sup S.
We conclude that
sup S − δ, sup S + δ ∩ S ∖ sup S ≠ ∅.
13. Given that S is a closed subset of a metric space X and that every infinite subset of X has at least one limit
point, prove that every infinite subset of S must have at least one limit point that belongs to S.
Every infinite subset of S, being an infinite subset of X, must have a limit point somewhere in X.
But, since S is closed, every limit point of a subset of S must belong to S.
14. Suppose that S is a bounded set of real numbers and that LS = ∅. Prove that every nonempty subset of S
130
must have both a largest and a smallest member. Can such a set S be infinite?
The fact that every nonempty subset of S must have both a greatest and a least member follows at
once from Exercise 12. To see that such a set S cannot be infinite we shall show that if S is an
infinite set of real numbers and if every nonempty subset of S has a least member then S must
have a subset that does not have a greatest member.
We assume that S is an infinite set of real numbers and that every nonempty subset of S has a
least member. Using the fact that S ≠ ∅ we define x 1 to be the least member of S.
Using the fact that the set S ∖ x 1 is nonempty we define x 2 to be the least member of the set
S ∖ x 1 .
Using the fact that the set S ∖ x 1 , x 2 is nonempty we define x 3 to be the least member of the set
S ∖ x 1 , x 2 .
Continuing in this way we obtain a strictly increasing sequence x n in the set S and we see that the
set x n ∣ n ∈ Z + does not have a greatest member.
15. Given any subset S of a metric space X, prove that the set LS must be closed.
Solution: We shall show that any point that fails to belong to LS must fail to belong to LS.
Suppose that x ∈ X ∖ LS. Choose a number δ > 0 such that the ball Bx, δ contains only finitely many
members of S. Given any point t in the ball Bx, δ, it follows from the fact that Bx, δ is a neighborhood
of t and the fact that Bx, δ contains only finitely many members of S that t is not a limit point of S. Thus
Bx, δ ∩ LS = ∅
and we have shown, as promised, that x does not belong to LS.
16. Prove that if U is an open subset of the metric space R k then LU = U.
Of course LU ⊆ U. Now suppose that x ∈ U. To show that x ∈ LU, suppose that δ > 0. Using
the fact that x ∈ U, choose a point y in the set U ∩ Bx, δ. Using the fact that the set U ∩ Bx, δ is
open, choose > 0 such that
By, ⊆ U ∩ Bx, δ.
We have now found more than one member of U that belongs to the ball Bx, δ and so we know
that
U ∩ Bx, δ ∖ x ≠ ∅.
17. Suppose that S is a subset of a metric space, that LS ≠ ∅, and that δ > 0. Prove that there exist two
different members x and y of S such that dx, y < δ.
Choose a limit point u of the set S. Using the fact that the ball B u, δ2 contains infinitely many
points of S, choose two different points x and y in S ∩ B u, δ2 . We observe that
dx, y ≤ dx, u + du, y < δ + δ = δ.
2 2
18. Prove that if S is a convex subset of R k and S contains more than one point then every member of S is a
limit point of S.
Suppose that S is a convex subset of R k and that S contains two different points x and y. In order to
show that x is a limit point of S, suppose that δ > 0. We observe that if t is a real number and if
z = 1 − tx + ty then
‖z − x‖ = ‖1 − tx + ty − x‖ = |t|‖x − y‖
and so the inequality ‖z − x‖ < δ will hold as long as |t|‖x − y‖ < δ. We now choose a number t
such that
0<t< δ
‖x − y‖
and observe that the point z = 1 − tx + ty belongs to the set Bx, δ ∩ S ∖ x. Therefore x is a limit
point of S.
19. For the purpose of this exercise we shall call a subset S of a metric space X compressed if for every number
> 0 there exist two different points x and y in S such that dx, y < .
131
a. Prove that whenever a subset S of a metric space has a limit point, it must be compressed.
This is just Exercise 17 again.
b. Give an example of a compressed subset of the metric space R that has no limit point.
The set
S = Z+∪ n + 1 n ∣n∈Z
+
is compressed but, since no interval of length 1 can contain more then three members of S , the
set S has no limit point.
c. Give an example of a compressed subset of the metric space 0, 1 that has no limit point in 0, 1.
The set 1n ∣ n ∈ Z + has the desired properties.
d. Prove that if a metric space X is compressed and x ∈ X then the set X ∖ x is also compressed.
To obtain a contradiction, suppose that the set X ∖ x fails to be compressed and choose
δ > 0 such that whenever a and b are different points in the set X ∖ x we have da, b ≥ δ.
Since X is compressed and since the inequality da, b < δ2 never holds when a and b are
different points in the set X ∖ x there must exist a point a ∈ X ∖ x such that da, x < δ2 .
Choose such a point a.
Again, using the fact that X is compressed, choose a point b ∈ X ∖ x such that
db, x < da, x. We see at once that b ≠ a. Moreover
da, b ≤ da, x + dx, b < δ + δ = δ
2 2
contradicting the choice of δ.
e. Prove that if a metric space X is compressed and F is a finite subset of X then the set X ∖ F is
compressed.
The set X ∖ F can be obtained by removing the points of F from X one at a time and applying
part d each time.
f. Prove that a metric space X is totally bounded if and only if every infinite subset of X is compressed.
The desired result follows from an earlier stated property of total boundedness.
20. Given that S is a subset of a metric space X and that every infinite subset of S has a limit point, prove that
every infinite subset of the set S must have a limit point.
Suppose that E is an infinite subset of S. Using the fact that E is infinite we choose a sequence x n
of points of E such that whenever m ≠ n we have x m ≠ x n .
For each positive integer n we choose a point y n ∈ S such that dx n , y n < 1n .
In the event that the set y n ∣ n ∈ Z + is finite there must be a point y ∈ S such that y n = y for
infinitely many values of n; and we choose such a point y.
In the event that the set y n ∣ n ∈ Z + is infinite, it must have a limit point and we choose such a
limit point and call it y.
In either event we have found a point y ∈ X such that whenever δ > 0 there are infinitely many
values of n for which dy, y n < δ. We complete the proof by showing that this point y must be a limit
point of E. Suppose that δ > 0.
There are infinitely many integers n > 2δ for which dy, y n < δ2 . For each of these integers n we
have
dx n , y ≤ dx n , y n + dy n , y < 1 δ
n + 2 <δ
and since the sequence x n is one-one we conclude that the ball By, δ contains more than one
point of the set E. Therefore y is a limit point of E.
132
7 Limits of Sequences
133
and so we have shown that x n is eventually in 3 − , 3 + .
2. Given that
xn = 3 + 2 n
for each positive integer n, prove that 3 is a limit of x n .
We need to prove that for every number > 0 the sequence x n will eventually be in the interval
3 − , 3 + . So we start: Suppose that > 0. This time we make the observation that the inequality
3− < 3+ 2 n < 3+
holds when 2/n < .
Using the fact that the number 2/ is not an upper bound of the set Z of integers we choose an
integer N such that N > 2/, in other words,
2 < .
N
Then, whenever n ≥ N we have
3− < 3 < 3+ 2 2
n ≤ 3+ N < 3+
and so we have shown that x n is eventually in 3 − , 3 + .
3. Given that x n = 1/n for each positive integer n and that x ≠ 0, prove that x is not a partial limit of x n .
Solution: In the event that x < 0, the interval −∞, 0 is a neighborhood of x and it is clear that x n
fails to be frequently in this neighborhood. Therefore no negative number can be a partial limit of x n .
Suppose now that x > 0. The interval x/2, ∞ is a neighborhood of x
x x
0 2
and the condition x n ∈ x/2, ∞ must fail to hold whenever n > 2/x. Therefore the sequence x n cannot be
frequently in the interval x/2, ∞ and the number x cannot be a partial limit of x n .
4. Given that
−1 n n 3 if n is a multiple of 3
xn = 0 if n is one more than a multiple of 3 ,
4 if n is two more than a multiple of 3
Prove that the partial limits of x n are −∞, ∞, 0 and 4.
Since x n is unbounded both above and below, it follows from the discussion of infinite partial
limits we saw earlier that both ∞ and −∞ are partial limits of x n . Since the equation x n = 0 holds
for infinitely many values of n we know that x n is frequently in every neighborhood of 0 and so 0 is
a partial limit of x n . In the same way we can see that 4 is a partial limit of x n .
Now we need to explain why any real number other than 0 and 4 must fail to be a partial limit of
x n . Suppose that x ∈ R ∖ 0, 4.
In the event that 0 < x < 4, the fact that x is not a partial limit of x n follows from the fact that x n is
not frequently (or ever) in the interval 0, 4 which is a neighborhood of x.
Now suppose that x < 0.
x−1 x 0
In order to show that x is not a partial limit of x n we shall make the observation that x n is not
frequently in the interval x − 1, 0 which is a neighborhood of x. In fact, the inequality
x − 1 < xn < 0
can hold only when n is odd and
x − 1 < −n 3
which is equivalent to saying that n < 1 − x. Since there are only finitely many such positive
3
134
Finally we must consider the case x > 4.
4 x x+1
In this case we observe that there can be only finitely many positive integers n for which
4 < n3 < x + 1
and so, once again, x can’t be a partial limit of x n .
5. Give an example of a sequence of real numbers whose set of partial limits is the set 1 ∪ 4, 5.
Hint: For each positive integer n, if n can be written in the form
n = 2m3k
for some positive integers m and k and if
4≤ m ≤5
k
then we define
xn = m .
k
In all other cases we define x n = 1. Observe that the range of the sequence x n is the set
1 ∪ Q ∩4, 5
and then show that the set of partial limits of x n is 1 ∪ 4, 5.
Since the equation x n = 1 holds for infinitely many positive integers n the number 1 must be a
partial limit of x n . To see that every number in the interval 4, 5 must be a partial limit of x n ,
suppose that x ∈ 4, 5 and suppose that > 0. Since the interval x − δ, x + δ must contain infinitely
many members of the set Q ∩4, 5 we know that the condition x n ∈ x − δ, x + δ must hold for
infinitely many positive integers n and so x must be a partial limit of x n .
Finally we observe that if x ∈ R ∖ 1 ∪ 4, 5 then the open set R ∖ 1 ∪ 4, 5 is a
neighborhood of x and that x n fails to be frequently (or ever) in R ∖ 1 ∪ 4, 5 and so x can’t be
a partial limit of x n .
6. Given that
x n = 3 + 2n
5+n
for every positive integer n, prove that x n → 2 as n → ∞.
We begin by observing that if n is a positive integer then
3 + 2n − 2 = 7
5+n 5+n
Now suppose that > 0. The inequality
3 + 2n − 2 <
5+n
says that
7 <
5+n
which holds when
5+n > 1
7
in other words
n > 7 − 5
With these inequalities in mind we choose an integer N such that
N > 7 − 5
and we observe that whenever n is an integer and n ≥ N we have
3 + 2n − 2 < .
5+n
135
7. Given that
1
2n
if n is even
xn = 1
if n is odd
n 2 +1
prove that x n → 0 as n → ∞.
We observe that if n is a positive integer then
0 ≤ xn ≤ 1n.
Now suppose that > 0. Choose an integer N such that N > 1/. We observe that whenever n ≥ N,
|x n − 0| = x n < 1 1
n ≤ N < .
8. Suppose that x n is a sequence of real numbers and that x ∈ R. Prove that the following conditions are
equivalent:
a. x n → x as n → ∞.
b. For every number > 0 the sequence x n is eventually in the interval x − 5, x + 5.
To prove that condition a implies condition b we assume that x n → x as n → ∞.
Suppose that > 0 and, using the fact that x n → x as n → ∞, choose N such that the condition
x n ∈ x − , x +
will hold whenever n ≥ N. Then, whenever n ≥ N we have
x n ∈ x − , x + ⊆ x − 5, x + 5.
Now to prove that condition b implies condition a we assume that condition b holds. To prove that
condition a holds, suppose that > 0. Using the fact that /5 is a positive number, we choose an
integer N such that the condition
xn ⊆ x − 5 , x + 5
5 5
holds whenever n ≥ N. Thus for every n ≥ N we have
xn ⊆ x − 5 , x + 5 = x − , x + .
5 5
9. Prove that
n 2 + 3n + 1 → 1
2n 2 + n + 4 2
as n → ∞.
We begin by observing that if n is any positive integer then
n 2 + 3n + 1 − 1 = 5n − 2 ≤ 5n2 = 5 .
2n 2 + n + 4 2 4n 2 + 2n + 8 4n 4n
Now suppose that > 0. The inequality
n 2 + 3n + 1 − 1 <
2n 2 + n + 4 2
will hold when
5 <
4n
which requires that
n> 5
4
Choose an integer N such that N > 5/4 and observe that, whenever n ≥ N we have
n 2 + 3n + 1 − 1 ≤ 5 ≤ 5 < .
2n 2 + n + 4 2 4n 4N
136
n = 2m3k
where m and k are postive integers and 0 ≤ m
k
≤ 1 then we define
xn = m .
k
Otherwise we define x n = 0. Prove that the set of partial limits of the sequence x n is 0, 1.
Since the range of x n is the set of all rational numbers in the interval 0, 1, every neighborhood of
a number x in the interval 0, 1 must contain infinitely many members of the range of x n and
must, therefore, contain the number x n for infinitely many integers n. Thus every member of the
interval 0, 1 is a partial limit of x n .
If x is any number in the set R ∖ 0, 1 then, since R ∖ 0, 1 is a neighborhood of x and x n is not
frequently (or, indeed, ever) in the set R ∖ 0, 1, the number x must fail to be a partial limit of x n .
1. The purpose of this exercise is to use Scientific Notebook to gain an intuitive feel for the limit
behaviour of a rather difficult sequence.
and then click on the button to supply the definition to Scientific Notebook. When you see the
screen
make the selection “A function argument” so that Scientific Notebook knows that you are defining a
sequence.
b. Point at the expression x n and click on the button to display the sequence graphically.
Revise your graph and set the domain interval as 1, 500. Double click into your graph to make the
buttons
appear in the top right corner and click on the bottom button to select it. Trace your graph with the
mouse and show graphically that
nn n
lim
n→∞ n!e n
0. 3989.
and ask Scientific Notebook to evaluate it numerically. Compare the result with the limit value that you
137
found graphically.
d. Point at the expression and ask Scientific Notebook to evaluate it exactly to show that the limit is
1/ 2π .
2. Prove that 5 n /n! → 0 as n → ∞.
Solution: Whenever n ≥ 5 we have
n 54
0≤ 5 = 5 5 5 5 5 5 ⋯ 5
n ≤ 5
n
n! 1 2 3 4 5 6 4!
Now, to prove that 5 n /n! → 0 as n → ∞, suppose that > 0.
Choose an integer N such that
5
N > 5 .
4!
Then whenever n ≥ N we have
n 4 54
0≤ 5 ≤ 5 5 ≤
n
5 < .
n! 4! 4! N
8. Suppose that x n is a sequence of real numbers, that x ∈ R and that x n → x as n → ∞. Suppose that p is an
integer and that for every positive integer n we have
y n = x n+p .
Prove that y n → x as n → ∞.
Suppose that > 0. Using the fact that x n → x as n → ∞ we choose an integer N such that
whenever n ≥ N we have |x n − x| < . We observe that the inequality |y n − x| < will hold whenever
138
n + p ≥ N which is the same as saying that n ≥ N − p.
9. Given that a n ≤ b n for every positive integer n and given that a n → ∞, prove that b n → ∞.
Suppose that w is a real number. Using the fact that a n → ∞ as n → ∞ we choose an integer N such
that the inequality a n > w holds whenever n ≥ N. Then whenever n ≥ N we have b n ≥ a n > w.
10. Suppose that a n and b n are sequences of real numbers and that |a n − b n | ≤ 1 for every positive integer n
and that ∞ is a partial limit of the sequence a n . Prove that ∞ is a partial limit of b n .
We know that b n ≥ a n − 1 for each n. Suppose that w is a real number. Since ∞ is a partial limit of
a n there are infinitely many integers n for which a n > w + 1 and for all such integers we have
b n > w.
11. Two sequences a n and b n of real numbers X are said to be eventually close if for every number > 0
there exists an integer N such that the inequality da n , b n < holds for all integers n ≥ N.
a. Prove that if two sequences a n and b n are eventually close and if a number x is the limit of the
sequence a n then x is also the limit of the sequence b n .
Suppose that a n and b n are eventually close and that a n → x as n → ∞. To show that b n → x
as n → ∞, suppose that > 0.
Choose N 1 such that the inequality |a n − x| < 2 holds whenever n ≥ N 1 . Choose N 2 such that
the inequality |a n − b n | < 2 holds whenever n ≥ N 2 . We define N to be the larger of N 1 and N 2
and we see that whenever n ≥ N we have
|b n − x| ≤ |b n − a n | + |a n − x| < + = .
2 2
b. Prove that if two sequences a n and b n are eventually close and if a number x is a partial limit of the
sequence a n then x is also a partial limit of the sequence b n .
Suppose that a n and b n are eventually close and that x is a partial limit of a n . Suppose
that > 0. Choose an integer N such that the inequality |a n − b n | < 2 holds whenever n ≥ N.
Since there are infinitely many integers n for which |a n − x| < 2 there must be infinitely many
integers n ≥ N for which |a n − x| < 2 . For every one of these integers n we have
|b n − x| ≤ |b n − a n | + |a n − x| < + = .
2 2
12. Suppose that a n and b n are sequences of real numbers, that a n → a and b n → b as n → ∞, and that
a < b. Prove that there exists an integer N such that the inequality a n < b n holds for all integers n ≥ N.
Choose a number p between a and b.
a p b
Using the fact that a n → a as n → ∞ and the fact that the interval −∞, p is a neighborhood of a,
choose an integer N 1 such that a n < p whenever n ≥ N 1 . Similarly, choose an integer N 2 such that
b n > p whenever n ≥ N 2 . We define N to be the larger of N 1 and N 2 and we observe that
a n < p < b n whenever n ≥ N.
13. Give an example of two sequences a n and b n of real numbers satisfying a n > b n for every positive
integer n even though the sequence a n has a partial limit a that is less than a partial limit b of the sequence
b n .
We define a n = 2 + −1 n and b n = 3 + −1 n for every positive integer n. We see that a n < b n for
each n and that 3 is a partial limit of a n and that 2 is a partial limit of b n .
139
Alternatively we can prove this case directly: We begin by choosing a number q such that
x < q < 0. (For example, one may define q = x/2. )
x q 0
To show that x n y n → −∞, suppose that w is any real number. In view of
the theorem of infinite limits we need to show that x n y n < w for all sufficiently large integers n.
Using the fact that the interval −∞, q is a neighborhood of x and the fact that x n → x we choose an
integer N 1 such that x n < q for all integers n ≥ N 1 . Now we choose an integer N 2 such that
y n > |w/q| for every integer n ≥ N 2 and we define N to be the larger of the two numbers N 1 and N 2 .
Then for every integer n ≥ N we have
x n y n < qy n < q wq = −|w| ≤ w
and the proof is complete.
Proof of Part 4 when x = ∞ and y is a positive real number
Since ∞/y = ∞ we need to prove that x n /y n → ∞ as n → ∞. Since
xn = x 1
yn n y
n
for each n and since 1/y n → 1/y as n → ∞ the desired result follows from part 3 of the theorem.
Alternatively, this part of the theorem can be proved directly.
2. Given that x n and y n are sequences of real numbers, that x n converges to a number x and that a real
number y is a partial limit of the sequence y n , prove that x + y is a partial limit of the sequence x n + y n .
Suppose that > 0. Using the fact that x n converges to the number x we choose an integer N
such that the inequality
|x n − x| <
2
holds whenever n ≥ N. Since y is a partial limit of the sequence y n and since there are only finitely
many positive integers n < N there must be infinitely many integers n ≥ N for which the inequality
|y n − y| <
2
holds. For each of these infinitely many integers we have
|x n + y n − x + y| = |x n − x + y n − y|
≤ |x n − x| + |y n − y| < + = .
2 2
3. State and prove some analogues of this exercise for subtraction, multiplication and division.
Suppose that x n and y n are sequences of numbers, that x n converges to a number x and that
a real number y is a partial limit of y n . We shall prove that the number xy must be a partial limit of
the sequence x n y n .
Using the fact that x n is convergent, and therefore bounded, we choose a number p such that
|x n | < p for every n. For each n we observe that
|x n y n − xy| = |x n y n − x n y + x n y − xy|
≤ |x n y n − x n y| + |x n y − xy|
≤ p|y n − y| + |y||x n − x|
Now, to show that xy is a partial limit of the sequence x n y n , suppose that > 0. Using the
fact that x n → x as n → ∞ we choose an integer N such that the inequality
|x n − x| <
2|y| + 1
holds whenever n ≥ N. Since there are only finitely many positive integers n < N, and y is a partial
limit of the sequence y n , there must be infinitely many integers n ≥ N for which the inequality
|y n − y| <
2p
holds. For each of these infinitely many integers n we have
140
|x n y n − xy| = |x n y n − x n y + x n y − xy|
≤ |x n y n − x n y| + |x n y − xy|
≤ p|y n − y| + |y||x n − x|
4. Give an example of two sequences x n and y n and a partial limit x of x n and a partial limit y of y n such
that x + y fails to be a partial limit of the sequence x n + y n .
Define x n = y n = −1 n for each n. We observe that the numbers −1 and 1 are partial limits of x n
and y n respectively but that −1 + 1 fails to be a partial limit of x n + y n .
5. Give an example of two divergent sequences x n and y n such that the sequence x n + y n is convergent.
We define x n = −1 n and y n = −1 n−1 for each n. Note that the sequence x n + y n is the sequence
with constant value 0.
6. Give an example of two sequences x n and y n such that x n → 0 and y n → ∞ and
a. x n y n → 0
We define x n = n and y n = 1/n 2 for each n.
b. x n y n → 6
We define x n = n and y n = 6/n for each n.
c. x n y n → ∞
We define x n = n 2 and y n = 1/n for each n.
d. The sequence x n y n is bounded but has no limit.
We define x n = n and y n = −1 n /n for each n.
7. Given two sequences x n and y n of real numbers such that both of the sequences x n and x n + y n are
convergent, is it true that the sequence y n must be convergent?
Yes. Since
y n = x n + y n − x n
for each n it follows at once that
lim y = n→∞
n→∞ n
limx n + y n − n→∞
lim x n
Solution: Suppose that > 0. Using the fact that x n → 0 as n → ∞, choose an integer N 1
such that the inequality |x n | < /2 holds whenever n ≥ N 1 . Whenever n ≥ N 1 we see that
x 1 + x 2 + x 3 + ⋯ + x n = x 1 + x 2 + x 3 + ⋯ + x N 1 + x N 1 + x N 1 +1 + ⋯ + x n
n n n
x 1 + x 2 + x 3 + ⋯ + x N1 x N 1 + x N 1 +1 + ⋯ + x n
≤ n + n .
Now we choose an integer N 2 such that
2|x 1 + x 2 + x 3 + ⋯ + x N 1 |
N2 ≥
and we define N to be the larger of the two numbers N 1 and N 2 . Then whenever n ≥ N we have
x 1 + x 2 + x 3 + ⋯ + x n − 0 ≤ x 1 + x 2 + x 3 + ⋯ + x N 1 + x N 1 + x N 1 +1 + ⋯ + x n
n n n
x 1 + x 2 + x 3 + ⋯ + x N1 |x N 1 +1 | + |x N 1 +2 | + ⋯ + |x n |
≤ + n
N2
< + n −nN 1 < .
2 2
141
9. Given that x n is a sequence of real numbers, that x is a real number and that x n → x, prove that
x 1 + x 2 + x 3 + ⋯ + x n → x.
n
Solution: Since x n − x → 0 as n → ∞ we have
x 1 − x + x 2 − x + x 3 − x + ⋯ + x n − x
n →0
as n → ∞. Therefore
x 1 + x 2 + x 3 + ⋯ + x n − x = x 1 − x + x 2 − x + x 3 − x + ⋯ + x n − x → 0
n n
as n → ∞.
10. Given that x n and y n are sequences of real numbers and that x n − y n → 0, prove that x n and y n have
the same set of partial limits.
Since x n = x n − y n + y n and y n = x n − x n − y n for each n the present result follows at once from
Exercise 2.
11. Suppose that x n and y n are sequences of real numbers, that x n − y n → 0 and that the number 0 fails to be
a partial limit of at least one of the sequences x n and y n . Prove that
xn
yn → 1
as n → ∞.
Solution: From Exercise 10 we know that x n and y n have the same sets of partial limits and we
know, therefore, that 0 is not a partial limit of either of these two sequences.
Using the fact that 0 is not a partial limit of y n , choose an integer N 1 and a number δ > 0 such that the
inequality
|y n | ≥ δ
holds whenever n ≥ N 1 . For every n ≥ N 1 we see that
x n − 1 = x n − y n ≤ |x n − y n |
yn yn δ
and so the fact that
xn
yn → 1
as n → ∞ follows from the sandwich theorem.
12. Give an example to show that the requirement in this exercise that 0 not be a partial limit of at least one of
the two sequences is really needed.
We define x n = 2/n and y n = 1/n for each n and observe that, even though x n − y n → 0 as n → ∞,
x n /y n → 2 as n → ∞.
13. Suppose that x n and y n are sequences of real numbers, that x n /y n → 1 and that at least one of the
sequences x n and y n is bounded. Prove that x n − y n → 0. Give an example to show that the conclusion
x n − y n → 0 can fail if both x n and y n are unbounded.
Hint: Make the observation that both of the sequences x n and y n must be bounded. Explain
carefully how you arrive at this conclusion. Now make use of the fact that
x
|x n − y n | = |y n | y nn − 1
for every n.
14. Suppose that x n and y n are sequences of real numbers, that y n → 1 and that for each n we have
z n = x n y n . Prove that the sequences x n and z n have the same set of partial limits.
It follows from the part of Exercise 3 for which a solution is provided above that if x is an partial limit
of x n then the number x1 = x is a partial limit of the sequence z n . At the same time, since
x n = z n /y n for all sufficiently large n we know that if x is any partial limit of z n then the number
x/1 = x is a partial limit of the sequence x n .
142
Exercises on Sequences and the Topology of R
1. Prove that a set S of real numbers is unbounded below if and only if there exists a sequence x n in S such
that x n → −∞.
Solution: We want to show that, for a given set S of real numbers, the following conditions are
equivalent:
a. The set S is unbounded below.
b. There exists a sequence x n in the set S such that x n → −∞ as n → ∞.
To show that condition b implies condition a, assume that condition b holds and choose a sequence x n in
S such that x n → −∞ as n → ∞. If w is any real number then it follows at once from the fact that the
sequence x n is eventually in the interval −∞, w that w is not a lower bound of S. Therefore S is not
bounded above.
Now to show that condition a implies condition b, assume that condition a holds. For each positive integer
n we use the fact that the number −n is not a lower bound of S to choose a number that we shall call x n
such that x n < −n. The sequence x n that we have made in this way is in the set S and it is clear that
x n → −∞.
2. Suppose that S is a nonempty set of real numbers and that α is an upper bound of S. Prove that the following
conditions are equivalent:
a. We have α = sup S.
b. There exists a sequence x n in S such that x n → α as n → ∞.
In Exercise 7 of the exercises on closure we saw that an upper bound α of set S is close to S
if and only if α is equal to sup S. We also saw in a recent theorem that a number α is close to a
set S if and only if there exists a sequence in S that converges to α. The present exercise
follows at once from these two facts. Of course, we can write this exercise out directly if we
wish.
3. Given a sequence x n that is frequently in a set S of real numbers, and given a partial limit x of the sequence
x n , is it necessarily true that x ∈ S?
No, this statement need not be true. If we define x n = −1 n for each n then, although x n is
frequently in the set −1 it has the partial limit 1 that is not close to −1.
4. Prove that a set U of real numbers is open if and only if every sequence that converges to a member of U must
be eventually in U.
We know from a recent theorem that a set H is closed if and only if no sequence that is frequently
in H can have a limit that doesn’t belong to H. Therefore if U is a set of real numbers then the set
R ∖ U is closed if and only if no sequence with a limit in U can fail to be eventually in U.
Of course the exercise can also be done directly.
5. Given that S is a set of real numbers and that x is a real number, prove that the following conditions are
equivalent:
a. The number x is a limit point of the set S.
b. There exists a sequence x n in the set S ∖ x such that x n → x.
Solution: The assertion in this exercise follows at once from the corresponding theorem about
limits of sequences and closure of a set, and from the fact that x is a limit point of S if and only if
x ∈ S ∖ x.
143
6. Prove that if x n is a sequence of real numbers then the set of all partial limits of x n is closed.
Suppose that x n is a sequence of real numbers and write the set of partial limits of x n as H. In
order to show that H is closed we shall show that R ∖ H is open. Suppose that x ∈ R ∖ H. In other
words, suppose that x is a number that is not a partial limit of x n . Choose a number > 0 such
that the condition
x n ∈ x − , x +
holds for at most finitely many integers n. Given any number y ∈ x − , x + , it follows from the fact
that x − , x + is a neighborhood of y and the fact that x n belongs to this neighborhood of y for at
most finitely many integers n that y is not a partial limit of x n . In other words,
x − , x + ⊆ R ∖ H
and we have shown, as promised, that the set R ∖ H is open.
7. Suppose that A and B are nonempty sets of real numbers and that for every number x ∈ A and every number
y ∈ B we have x < y. Prove that the following conditions are equivalent:
a. We have sup A = inf B.
b. There exists a sequence x n in the set A and a sequence y n in the set B such that y n − x n → 0 as
n → ∞.
Solution: From the information given about A and B we know that sup A ≤ inf B. In the event that
sup A < inf B we know that for every sequence x n in A and every sequence y n in B we have
y n − x n → inf B − sup A > 0
for every n and so we can’t have y n − x n → 0 as n → ∞. Therefore if condition a is false then so is
condition b.
Suppose now that condition a is true; in other words, that sup A = inf B. For every positive integer n, we
use the fact that
sup A − 1n
is not an upper bound of A to choose a member x n of A such that
sup A − 1 n < xn.
For every positive integer n we use the fact that
inf B + 1
n
is not a lower bound of B to choose a member y n of B such that
y n < inf B + 1n.
Thus for each n we have
sup A − 1 1
n < x n ≤ y n < inf B + n
and therefore
0 ≤ yn − xn < 2 n
from which it follows that y n − x n → 0 as n → ∞.
8. Suppose that S is a nonempty bounded set of real numbers. Prove that there exist two sequences x n and y n
in the set S such that
y n − x n → sup S − inf S
as n → ∞.
We have already seen that there exists a sequence x n in S such that x n → sup S as n → ∞. In the
same way we can see that there exists a sequence y n in S such that y n → inf S as n → ∞. We now
have
y n − x n → sup S − inf S
144
as n → ∞.
145
n
1 − c ∑ c i−1 = 1 − c n
i=1
we deduce that
n
∑ c i−1 = 1 − cn
1−c
i=1
Now since 1/|c| > 1 we know that 1/|c| n → ∞ as n → ∞ and we conclude that |c| n → 0 as n → ∞.
Therefore c n → 0 as n → ∞ and we conclude that
lim 1 − c = 1 .
n
n→∞ 1 − c 1−c
4. Suppose that x n is a given sequence of real numbers, that x 1 = 0 and that the equation
8x 3n+1 = 6x n + 1
holds for every positive integer n.
a. Use Scientific Notebook to work out the first twenty terms in the sequence x n .
To use Scientific Notebook for this purpose, place your cursor in the equation
fx = 3
6x + 1
8
and click on the button in your computing toolbar to supply the definition of the function f
to Scientific Notebook. Then open the Compute menu, scroll down to Calculus and move
across to Iterate. Fill the dialogue box giving the name of the function as f, the number of
iterations as 20 and the starting value as 0.
x n+2 = 3
6x n+1 + 1 > 3
6x n + 1 = x
n+1
8 8
146
we see that the assertion p n+1 must also be true. We deduce from mathematical induction that
the assertion p n is true for every positive integer n.
c. Deduce that the sequence x n is convergent and discuss its limit. Assuming an unofficial knowledge of
the trigonometric functions, prove that the limit of the sequence x n is cos π9 .
Solution to part d: We write the limit of this sequence as x. from the fact that
8x 3n+1 = 6x n + 1
for each n we obtain
8x 3 − 6x − 1 = 0.
This equation has one positive solution and two negative solutions and from the fact that
8 cos 3 π − 6 cos π − 1 = 2 4 cos 3 π − 3 cos π − 1
9 9 9 9
= 2 cos 3 π − 1 = 2 cos π − 1 = 0
9 3
we see that the positive root is cos π9 .
5. In this exercise we study the sequence x n defined by the equation
n
xn = 1 + 1 n
for every integer n ≥ 1. You will probably want to make use of the binomial theorem when you do this
exercise.
a. Ask Scientific Notebook to make a 2D plot of the graph of the function f defined by the equation
n
fn = 1 + 1
n
for 1 ≤ n ≤ 100.
b. Prove that x n < 3 for every n.
d. Deduce that the sequence x n converges to a number between 2 and 3. Have you seen this number
before?
The student is being asked informally whether he/she recognizes that this limit is the number e.
The number e will be seen in Chapter 10.
147
6. This exercise concerns the sequence x n defined by the fact that x 1 = 1 and that, for each n ≥ 1 we have
x n+1 = 5 4x n − 2 .
a. Use Scientific Notebook to work out the first twenty terms in the sequence x n .
d. Prove that the sequence has a limit x that satisfies the equation x 5 − 4x + 2 = 0. Ask Scientific
Notebook to make a 2D plot of the expression x 5 − 4x + 2 on the interval −2, 2 and to solve the
equation
x 5 − 4x + 2 = 0
x ∈ 1, 2
numerically. Compare the answer obtained here with the results that you obtained in part a.
7. a. Given that
fx = x + 9
2 2x
for every number x > 0, prove that fx ≥ 3 for each n and that the equation fx = 3 holds if and only if
x = 3.
Solution: The desired result follows at once from the fact that whenever x > 0 we have
x − 3 2
fx = x + 9 = + 3.
2 2x 2x
b. Given that x 1 = 4 and, for each n ≥ 1, we have
x n+1 = x n + 9 ,
2 2x n
prove that the sequence x n is decreasing and that the sequence converges to the number 3.
Solution: Since x n+1 = fx n for each n and since fx > 3 for every number x ≠ 3 we see at once
that x n > 3 for every n. To see that x n is decreasing we observe that if n is any positive integer then
x2 − 9
x n − x n+1 = x n − x n + 9 = n > 0.
2 2x n 2
Since the sequence x n is a decreasing sequence in the interval 3, ∞ we know that x n is
convergent. If we write the limit of this sequence as x then it follows from the relationship
148
x n+1 = x n + 9
2 2x n
that
x= x + 9
2 2x
from which we deduce that x = 3.
8. This exercise is a study of the sequence x n for which x 1 = 0 and
x n+1 = 1
2 + xn
for every positive integer n. We note that this sequence is bounded below by 0 and above by 1/2.
fx = 1
2+x
to Scientific Notebook. Then open your Compute menu, click on Calculus, and choose to iterate the
function f ten times, starting at the number 0. Evaluate the column of numbers that you have obtained
accurately to ten decimal places and, in this way, show the first ten members of the sequence x n .
b. Show that
x n+2 = 2 + x n
5 + 2x n
for every integer n ≥ 1, and then show that the sequence x 2n−1 is increasing and that the sequence x 2n
is decreasing and that these two sequences have the same limit 2 − 1.
Solution: For every positive number x we define
gx = 2 + x .
5 + 2x
Whenever 0 < t < x we see that
gx − gt = 2 + x − 2 + t = x−t >0
5 + 2x 5 + 2t 5 + 2x5 + 2t
and so the function g is strictly increasing. Since x 1 < x 3 we have gx 1 < gx 3 from which we
deduce that x 3 < x 5 . Continuing in this way we see that the sequence x 2n−1 is increasing. Since
x 2 > x 4 we have gx 2 > gx 4 from which deduce that x 4 > x 5 . Continuing in this way we see that
the sequence x 2n is decreasing. Therefore the sequences x 2n−1 and x 2n are convergent. If we
write
x = n→∞
lim x 2n−1
then it follows from the identity
x 2n+1 = 2 + x 2n−1
5 + 2x 2n−1
that
x = 2+x
5 + 2x
and we can see that the only positive solution of this equation is 2 − 1. Thus
lim x
n→∞ 2n−1
= 2 −1
and we can see similarly that
lim x
n→∞ 2n
= 2 − 1.
c. Deduce that x n → 2 − 1 as n → ∞.
149
1. Suppose that H n is a sequence (not necessarily contracting) of closed bounded sets and that for every
positive integer n we have
n
⋂ H i ≠ ∅.
i=1
Prove that
∞
⋂ H i ≠ ∅.
i=1
For each n we define
n
Kn = ⋂ Hi
i=1
Since the sequence K n is a contracting sequence of nonempty closed bounded sets, we know
from the Cantor intersection theorem that
∞
⋂ K n ≠ ∅.
n=1
We observe finally that, since
∞ ∞
⋂ Hn = ⋂ Kn
n=1 n=1
the intersection of all of the sets H n must also be nonempty.
2. Suppose that H is a closed bounded set of real numbers and that U n is an expanding sequence of open sets.
a. Explain why the sequence of sets H ∖ U n is a contracting sequence of closed bounded sets.
For each n, it follows at once from the inclusion U n ⊆ U n+1 that
H ∖ U n+1 ⊆ H ∖ U n .
b. Use the Cantor intersection theorem to deduce that if H ∖ U n ≠ ∅ for every n then
∞
⋂H ∖ U n ≠ ∅.
n=1
Since H is closed and bounded and since
H ∖ U n = H ∩ R ∖ U n
for each n, the sets H ∖ U n must be closed and bounded. The desired result therefore follows
at once from the Cantor intersection theorem.
c. Prove that if
∞
H⊆ ⋃ Un
n=1
then there exists an integer n such that H ⊆ U n .
We suppose that
∞
H⊆ ⋃ Un.
n=1
Since the set
∞ ∞
⋂H ∖ U n = H ∖ ⋃ U n
n=1 n=1
is empty we deduce from part b that there is a value of n for which H ∖ U n = ∅ and for any such
integer n we have H ⊆ U n .
3. Suppose that U n is a sequence of open sets (not necessarily expanding) and that H is a closed bounded set
150
and that
∞
H⊆ ⋃ Un.
n=1
Prove that there exists a positive integer N such that
N
H⊆ ⋃ Un.
n=1
For each n we define
n
Vn = ⋃ Ui.
i=1
The sequence V n is expanding and, since
∞ ∞
H⊆ ⋃ Un = ⋃ Vn
n=1 n=1
it follows from Exercise 2 that there exists a positive integer n for which
n
H ⊆ Vn = ⋃ Ui.
i=1
4. The Cantor intersection theorem depends upon the completeness of the real number system. Where in the
proof of the theorem is the completeness used?
We use the completeness to guarantee that a nonempty closed bounded set has a least member
and then we use the completeness again to guarantee that the sequence of all the least members
of the given sets has a supremum.
151
c. Given that S is a bounded infinite set and that every nonempty subset of S has a least member, find an
example of a strictly increasing sequence in the set S. By considering the limit of this sequence, prove
that S must have a limit point.
Since S is a nonempty subset of itself, it has a least member. We define x 1 to be the least
member of S. Since S is infinite, the set S ∖ x 1 is a nonempty subset of S. We define x 2 to be
the least member of S ∖ x 1 . We note that x 1 < x 2 . Since S is infinite, the set S ∖ x 1 , x 2 is a
nonempty subset of S. We define x 3 to be the least member of S ∖ x 1 , x 2 and note that
x 2 < x 3 . Continuing in this way we obtain a strictly increasing sequence x n in the set S.
As we know, an increasing bounded sequence must converge. We define
x = n→∞
lim x n .
Given any number > 0 we know that the condition
x n ∈ x − , x +
must hold for all sufficiently large integers n and, since the sequence x n is one-one we
deduce that the interval x − , x + must contain more than one member of S. Therefore x is a
limit point of S.
Solution: If the set S ∩ n, n + 1 were countable for every n then, since
∞
S= ⋃ S ∩ n, n + 1,
n=−∞
the set S, being the union of a countable family of countable sets, would be countable by
an earlier theorem.
b. Prove that every uncountable set of real numbers must have a limit point.
Hint: Apply part a and the Bolzano-Weierstrass theorem to an uncountable set of the form
S ∩ n, n + 1.
2. a. Suppose that S is a set of real numbers, that > 0 and that for any two different members x and t of the
set S we have |x − t| ≥ . Prove that S is a countable set.
b. Suppose that S is an uncountable set of real numbers and, for each positive integer n, suppose that
S n = x ∈ S ∣ |x − y| ≥ 1
n for every y ∈ S ∖ x .
Prove that each set S n is countable and that
∞
S ∖ LS = ⋃ Sn.
n=1
c. Improve Exercise 1b by showing that if S is an uncountable set of real numbers then S has an uncountable
set of limit points that belong to S.
Solution: We deduce from part b that the set S ∖ LS is countable. Therefore, since
S = S ∖ LS ∪ S ∩ LS
and since the set S is countable, the set S ∩ LS must be uncountable.
3. Suppose that S is a set of real numbers and that > 0. For each integer n, in the event that the set
152
x ∈ S ∣ n ≤ x ≤ n + 1
is nonempty, suppose that a number x n has been chosen in this set. Prove that for every member x of the set S
there is an integer n for which the number x n is defined and for which
x ∈ x n − , x n + .
4. Prove that if S is any set of real numbers and > 0 then there exists a countable subset E of S such that
S⊆ ⋃x n − , x n + .
x∈E
153
that there exists an integer m ≥ n such that u < x m .
u xm y yn v
Thus the set of integers m for which u < x m is unbounded above and we have shown that x n is
frequently in the interval u, ∞.
7. State and prove an analogue of the preceding exercise for lower limits.
Suppose that x n is a bounded sequence that that, for each n we define
y n = infx m ∣ m ≥ n.
Then the sequence y n is decreasing and the limit of the sequence y n is lminf n→∞ x n .
This assertion can be proved by a mirror image of the proof that was used in Exercise 6 and it can
also be obtained from the statement of Exercise 6, in view of Exercise 3b.
8. Given that
zn = xn + yn
for every positive integer n, prove that
lmsup z n ≤ lmsup x n + lmsup y n .
n→∞ n→∞ n→∞
155
x n i ∈ S whenever i ≥ j.
2. If a sequence x n is frequently in a given set S then every subsequence of x n is frequently in S.
The assertion is false. If we define x n = −1 n for every positive integer n then, although x n is
frequently in the set −1, the subsequence x 2n fails to be frequently in the set −1.
3. If every subsequence of a sequence is frequently in a given set S then x n is frequently in S.
The statement is obviously true because every sequence is a subsequence of itself.
4. If every subsequence of a sequence x n is frequently in a given set S then x n is eventually in S.
The assertion is true. We shall show that if x n fails to be eventually in S then x n must have a
subsequence that is not frequently in S. Suppose that x n is a sequence that fails to be eventually
in a given set S. We know that x n is frequently in the set R ∖ S and from the preceding theorem we
deduce that x n has a subsequence in the set R ∖ S. Such a subsequence cannot be frequently in
S.
5. If x n is a sequence of real numbers and S ⊆ R, and if x n is not eventually in S then x n has a
subsequence that is eventually in R ∖ S.
Since a sequence that is not eventually in S must be frequently in R ∖ S, the desired result follows
at once from a theorem on subsequences.
156
lminf x n ≤ −q
n→∞
which gives us
q ≤ − lminf x n .
n→∞
Therefore − lminf n→∞ x n is the largest partial limit of the sequence −x n .
4. Suppose that x n is a sequence of real numbers, that
x = lmsup x n
n→∞
and that u < x < v.
a. Prove that the sequence x n must be bounded above.
The given inequality u < x < v tells us that x ≠ ∞ and so x n is bounded above.
b. Prove that the sequence x n must be frequently in the interval u, ∞.
The interval u, ∞ is a neighborhood of the partial limit x of x n .
c. Prove that the sequence x n cannot be frequently in the interval v, ∞.
u y yn v
Since
xm ≤ yN < v
whenever m ≥ N we know that the sequence x n cannot be frequently in the interval v, ∞.
On the other hand, given any integer n ≥ N it follows from the fact that
u < y n = supx m ∣ m ≥ n
154
3− < 3 < 3+ 2 2
n ≤ 3+ N < 3+
and so we have shown that x n is eventually in 3 − , 3 + .
3. Given that x n = 1/n for each positive integer n and that x ≠ 0, prove that x is not a partial limit of x n .
Solution: In the event that x < 0, the interval −∞, 0 is a neighborhood of x and it is clear that x n
fails to be frequently in this neighborhood. Therefore no negative number can be a partial limit of x n .
Suppose now that x > 0. The interval x/2, ∞ is a neighborhood of x
x x
0 2
and the condition x n ∈ x/2, ∞ must fail to hold whenever n > 2/x. Therefore the sequence x n cannot be
frequently in the interval x/2, ∞ and the number x cannot be a partial limit of x n .
4. Given that
−1 n n 3 if n is a multiple of 3
xn = 0 if n is one more than a multiple of 3 ,
4 if n is two more than a multiple of 3
Prove that the partial limits of x n are −∞, ∞, 0 and 4. Since x n is unbounded both above and below,
it follows from the discussion of infinite partial limits we saw earlier that both ∞ and −∞ are partial
limits of x n . Since the equation x n = 0 holds for infinitely many values of n we know that x n is
frequently in every neighborhood of 0 and so 0 is a partial limit of x n . In the same way we can see
that 4 is a partial limit of x n .
Now we need to explain why any real number other than 0 and 4 must fail to be a partial limit of
x n . Suppose that x ∈ R ∖ 0, 4.
In the event that 0 < x < 4, the fact that x is not a partial limit of x n follows from the fact that x n is
not frequently (or ever) in the interval 0, 4 which is a neighborhood of x.
Now suppose that x < 0.
x−1 x 0
In order to show that x is not a partial limit of x n we shall make the observation that x n is not
frequently in the interval x − 1, 0 which is a neighborhood of x. In fact, the inequality
x − 1 < xn < 0
can hold only when n is odd and
x − 1 < −n 3
which is equivalent to saying that n < 1 − x. Since there are only finitely many such positive
3
4 x x+1
In this case we observe that there can be only finitely many positive integers n for which
4 < n3 < x + 1
and so, once again, x can’t be a partial limit of x n .
5. Give an example of a sequence of real numbers whose set of partial limits is the set 1 ∪ 4, 5.
157
then we define
xn = m .
k
In all other cases we define x n = 1. Observe that the range of the sequence x n is the set
1 ∪ Q ∩4, 5
and then show that the set of partial limits of x n is 1 ∪ 4, 5.
Since the equation x n = 1 holds for infinitely many positive integers n the number 1 must be a
partial limit of x n . To see that every number in the interval 4, 5 must be a partial limit of x n ,
suppose that x ∈ 4, 5 and suppose that > 0. Since the interval x − δ, x + δ must contain infinitely
many members of the set Q ∩4, 5 we know that the condition x n ∈ x − δ, x + δ must hold for
infinitely many positive integers n and so x must be a partial limit of x n .
Finally we observe that if x ∈ R ∖ 1 ∪ 4, 5 then the open set R ∖ 1 ∪ 4, 5 is a
neighborhood of x and that x n fails to be frequently (or ever) in R ∖ 1 ∪ 4, 5 and so x can’t be
a partial limit of x n .
6. Given that
x n = 3 + 2n
5+n
for every positive integer n, prove that x n → 2 as n → ∞.
We begin by observing that if n is a positive integer then
3 + 2n − 2 = 7
5+n 5+n
Now suppose that > 0. The inequality
3 + 2n − 2 <
5+n
says that
7 <
5+n
which holds when
5+n > 1
7
in other words
n > 7 − 5
With these inequalities in mind we choose an integer N such that
N > 7 − 5
and we observe that whenever n is an integer and n ≥ N we have
3 + 2n − 2 < .
5+n
7. Given that
1
2n
if n is even
xn = 1
if n is odd
n 2 +1
prove that x n → 0 as n → ∞.
We observe that if n is a positive integer then
0 ≤ xn ≤ 1n.
Now suppose that > 0. Choose an integer N such that N > 1/. We observe that whenever n ≥ N,
|x n − 0| = x n < 1 1
n ≤ N < .
8. Suppose that x n is a sequence of real numbers and that x ∈ R. Prove that the following conditions are
equivalent:
158
a. x n → x as n → ∞.
b. For every number > 0 the sequence x n is eventually in the interval x − 5, x + 5.
To prove that condition a implies condition b we assume that x n → x as n → ∞.
Suppose that > 0 and, using the fact that x n → x as n → ∞, choose N such that the condition
x n ∈ x − , x +
will hold whenever n ≥ N. Then, whenever n ≥ N we have
x n ∈ x − , x + ⊆ x − 5, x + 5.
Now to prove that condition b implies condition a we assume that condition b holds. To prove that
condition a holds, suppose that > 0. Using the fact that /5 is a positive number, we choose an
integer N such that the condition
xn ⊆ x − 5 , x + 5
5 5
holds whenever n ≥ N. Thus for every n ≥ N we have
xn ⊆ x − 5 , x + 5 = x − , x + .
5 5
9. Prove that
n 2 + 3n + 1 → 1
2n 2 + n + 4 2
as n → ∞.
We begin by observing that if n is any positive integer then
n 2 + 3n + 1 − 1 = 5n − 2 ≤ 5n2 = 5 .
2n 2 + n + 4 2 4n 2 + 2n + 8 4n 4n
Now suppose that > 0. The inequality
n 2 + 3n + 1 − 1 <
2n 2 + n + 4 2
will hold when
5 <
4n
which requires that
n> 5
4
Choose an integer N such that N > 5/4 and observe that, whenever n ≥ N we have
n 2 + 3n + 1 − 1 ≤ 5 ≤ 5 < .
2n 2 + n + 4 2 4n 4N
10. Given that x n is a sequence in a metric space X and that x ∈ X, prove that x n → x as n → ∞ if and only if
dx n , x → 0
The condition x n → x as n → ∞ says that for every > 0 there exists an integer N such that
whenever n ≥ N we have dx n , x < .
The condition dx n , x → 0 as n → ∞ says that for every > 0 there exists an integer N such that
whenever n ≥ N we have |dx n , x − 0| < .
These two conditions clearly say the same thing. as n → ∞.
11. Suppose that x n is a sequence in a metric space X, that x ∈ X, and that y n is a sequence of real numbers
converging to 0. Suppose that the inequality
dx, x n ≤ y n
holds for every n. Prove that x n → x as n → ∞.
Suppose that > 0. Using the fact that y n → 0 as n → ∞, choose an integer N such that the
inequality y n < will hold whenever n ≥ N. We see at once that the inequality dx n , x < also holds
whenever n ≥ N.
159
12. Given that x n and y n are sequences of real numbers, that x n ≥ y n for each n and that y n → ∞ as n → ∞,
prove that x n → ∞ as n → ∞..
Suppose that w is a real number. Using the fact that y n → ∞ as n → ∞ we choose an integer N such
that the inequality y n > w holds whenever n ≥ N. Then whenever n ≥ N we have x n ≥ y n > w.
13. Suppose that x n and y n are sequences in a metric space X and that x and y are points of X.
a. Prove that for every n we have
dx, y ≤ dx, x n + dx n , y n + dy n , y
and deduce that
dx, y − dx n , y n ≤ dx, x n + dy n , y.
Then prove that for every n we have
dx n , y n − dx, y ≤ dx, x n + dy n , y
and deduce finally that
|dx n , y n − dx, y| ≤ dx, x n + dy n , y.
Given any n we have
dx, y ≤ dx, x n + dx n , y
≤ dx, x n + dx n , y n + dy n , y
and the inequality
dx, y − dx n , y n ≤ dx, x n + dy n , y.
follows at once. In the same way we can show that
dx n , y n − dx, y ≤ dx n , x + dy, y n .
Therefore
|dx n , y n − dx, y| ≤ dx, x n + dy n , y.
160
If a sequence is constant then it converges but its range, being finite, has no limit point.
c. Prove that if a sequence x n in a metric space X is one-one and if a point x is a partial limit of the
sequence x n then x must be a limit point of the range of x n .
Suppose that x n is a sequence in a metric space X and that x is a partial limit of x n .
Suppose that > 0. Since there are infinitely many integers n for which x n ∈ Bx, and since
the sequence x n is one-one we see that there is more than one member of the range of x n
in the ball Bx, . Therefore x is a limit point of the range of x n .
17. For each positive integer n, if n can be written in the form
n = 2m3k
where m and k are postive integers and m ≤ k then we define
xn = m .
k
Otherwise we define x n = 0. Prove that the set of partial limits of the sequence x n is 0, 1.
Since the range of x n is the set of all rational numbers in the interval 0, 1, every neighborhood of
a number x in the interval 0, 1 must contain infinitely many members of the range of x n and
must, therefore, contain the number x n for infinitely many integers n. Thus every member of the
interval 0, 1 is a partial limit of x n .
If x is any number in the set R ∖ 0, 1 then, since R ∖ 0, 1 is a neighborhood of x and x n is not
frequently (or, indeed, ever) in the set R ∖ 0, 1, the number x must fail to be a partial limit of x n .
1. The purpose of this exercise is to use Scientific Notebook to gain an intuitive feel for the limit
behaviour of a rather difficult sequence.
and then click on the button to supply the definition to Scientific Notebook. When you see the
screen
make the selection “A function argument” so that Scientific Notebook knows that you are defining a
sequence.
b. Point at the expression x n and click on the button to display the sequence graphically.
Revise your graph and set the domain interval as 1, 500. Double click into your graph to make the
buttons
appear in the top right corner and click on the bottom button to select it. Trace your graph with the
mouse and show graphically that
161
nn n
lim 0. 3989.
n→∞ n!e n
and ask Scientific Notebook to evaluate it numerically. Compare the result with the limit value you found
graphically.
d. Point at the expression and ask Scientific Notebook to evaluate it exactly to show that the limit is
1/ 2π .
2. Prove that 5 n /n! → 0 as n → ∞.
Solution: Whenever n ≥ 5 we have
n 54
0≤ 5 = 5 5 5 5 5 5 ⋯ 5
n ≤ 5
n
n! 1 2 3 4 5 6 4!
Now, to prove that 5 n /n! → 0 as n → ∞, suppose that > 0.
Choose an integer N such that
5
N > 5 .
4!
Then whenever n ≥ N we have
n 4 54
0≤ 5 ≤ 5 5 ≤
n
5 < .
n! 4! 4! N
162
Hint: Make use of the fact that for each n we have
0 ≤ ||x n | − |x|| ≤ |x n − x|.
8. Suppose that x n is a sequence of real numbers, that x ∈ R and that x n → x as n → ∞. Suppose that p is an
integer and that for every positive integer n we have
y n = x n+p .
Prove that y n → x as n → ∞.
Suppose that > 0. Using the fact that x n → x as n → ∞ we choose an integer N such that
whenever n ≥ N we have |x n − x| < . We observe that the inequality |y n − x| < will hold whenever
n + p ≥ N which is the same as saying that n ≥ N − p.
9. Given that a n ≤ b n for every positive integer n and given that a n → ∞, prove that b n → ∞.
Suppose that w is a real number. Using the fact that a n → ∞ as n → ∞ we choose an integer N such
that the inequality a n > w holds whenever n ≥ N. Then whenever n ≥ N we have b n ≥ a n > w.
10. Suppose that a n and b n are sequences of real numbers and that |a n − b n | ≤ 1 for every positive integer n
and that ∞ is a partial limit of the sequence a n . Prove that ∞ is a partial limit of b n .
We know that b n ≥ a n − 1 for each n. Suppose that w is a real number. Since ∞ is a partial limit of
a n there are infinitely many integers n for which a n > w + 1 and for all such integers we have
b n > w.
11. Two sequences a n and b n in a metric space X are said to be eventually close if for every number > 0
there exists an integer N such that the inequality da n , b n < holds for all integers n ≥ N.
a. Prove that if two sequences a n and b n in a metric space X are eventually close and if a point x is the
limit of the sequence a n then x is also the limit of the sequence b n .
Suppose that a n and b n are eventually close and that a n → x as n → ∞. To show that b n → x
as n → ∞, suppose that > 0.
Choose N 1 such that the inequality da n , x < 2 holds whenever n ≥ N 1 . Choose N 2 such that
the inequality da n , b n < 2 holds whenever n ≥ N 2 . We define N to be the larger of N 1 and N 2
and we see that whenever n ≥ N we have
db n , x ≤ db n , a n + da n , x < + = .
2 2
b. Prove that if two sequences a n and b n in a metric space X are eventually close and if a point x is a
partial limit of the sequence a n then x is also a partial limit of the sequence b n .
Suppose that a n and b n are eventually close and that x is a partial limit of a n . Suppose
that > 0. Choose an integer N such that the inequality da n , b n < 2 holds whenever n ≥ N.
Since there are infinitely many integers n for which da n , x < 2 there must be infinitely many
integers n ≥ N for which da n , x < 2 . For every one of these integers n we have
db n , x ≤ db n , a n + da n , x < + = .
2 2
12. Suppose that a n and b n are sequences of real numbers, that a n → a and that b n → b as n → ∞, and that
a < b. Prove that there exists an integer N such that the inequality a n < b n holds for all integers n ≥ N.
Choose a number p between a and b.
a p b
Using the fact that a n → a as n → ∞ and the fact that the interval −∞, p is a neighborhood of a,
choose an integer N 1 such that a n < p whenever n ≥ N 1 . Similarly, choose an integer N 2 such that
b n > p whenever n ≥ N 2 . We define N to be the larger of N 1 and N 2 and we observe that
a n < p < b n whenever n ≥ N.
13. Give an example of two sequences a n and b n of real numbers satisfying a n > b n for every positive
integer n even though the sequence a n has a partial limit a that is less than a partial limit b of the sequence
b n .
We define a n = 2 + −1 n and b n = 3 + −1 n for every positive integer n. We see that a n < b n for
163
each n and that 3 is a partial limit of a n and that 2 is a partial limit of b n .
Now, to show that xy is a partial limit of the sequence x n y n , suppose that > 0. Using the
fact that x n → x as n → ∞ we choose an integer N such that the inequality
|x n − x| <
2|y| + 1
holds whenever n ≥ N. Since there are only finitely many positive integers n < N, and y is a partial
limit of the sequence y n , there must be infinitely many integers n ≥ N for which the inequality
|y n − y| <
2p
holds. For each of these infinitely many integers n we have
|x n y n − xy| = |x n y n − x n y + x n y − xy|
≤ |x n y n − x n y| + |x n y − xy|
≤ p|y n − y| + |y||x n − x|
164
4. Suppose that x n and y n are sequences in R 3 that converge respectively to points x and y. Prove that
limx × y n = x × y.
n→∞ n
We write each point x n in the form
x n = a n , b n , c n
and each point y n in the form
y n = u n , v n , w n
and
x = a, b, c
and
y = u, v, w.
The given information tells us that as n → ∞ we have a n → a, b n → b, c n → c, u n → u, v n → v and
w n → w. Therefore
lim x × y n = n→∞
n→∞ n
limb n w n − c n v n , c n u n − a n w n , a n v n − b n u n
= bw − cv, cu − aw, av − bu = a, b, c × u, v, w = x × y.
5. Give an example of two divergent sequences x n and y n in R such that the sequence x n + y n is
convergent.
We define x n = −1 n and y n = −1 n−1 for each n. Note that the sequence x n + y n is the sequence
with constant value 0.
6. Give an example of two sequences x n and y n in R such that x n → 0 and y n → ∞ and
a. x n y n → 0
We define x n = n and y n = 1/n 2 for each n.
b. x n y n → 6
We define x n = n and y n = 6/n for each n.
c. x n y n → ∞
We define x n = n 2 and y n = 1/n for each n.
d. The sequence x n y n is bounded but has no limit.
We define x n = n and y n = −1 n /n for each n.
7. Given two sequences x n and y n of real numbers such that both of the sequences x n and x n + y n are
convergent, is it true that the sequence y n must be convergent?
Yes. Since
y n = x n + y n − x n
for each n it follows at once that
lim y = n→∞
n→∞ n
limx n + y n − n→∞
lim x n
Perhaps this exercise should have been given in R k .
8. Given that x n is a sequence of real numbers and that x n → 0, prove that
x 1 + x 2 + x 3 + ⋯ + x n → 0.
n
Solution: Suppose that > 0. Using the fact that x n → 0 as n → ∞, choose an integer N 1 such that
the inequality |x n | < /2 holds whenever n ≥ N 1 . Whenever n ≥ N 1 we see that
x 1 + x 2 + x 3 + ⋯ + x n = x 1 + x 2 + x 3 + ⋯ + x N 1 + x N 1 + x N 1 +1 + ⋯ + x n
n n n
x 1 + x 2 + x 3 + ⋯ + x N1 x N 1 + x N 1 +1 + ⋯ + x n
≤ n + n .
Now we choose an integer N 2 such that
165
2|x 1 + x 2 + x 3 + ⋯ + x N 1 |
N2 ≥
and we define N to be the larger of the two numbers N 1 and N 2 . Then whenever n ≥ N we have
x 1 + x 2 + x 3 + ⋯ + x n − 0 ≤ x 1 + x 2 + x 3 + ⋯ + x N 1 + x N 1 + x N 1 +1 + ⋯ + x n
n n n
x 1 + x 2 + x 3 + ⋯ + x N1 |x N 1 +1 | + |x N 1 +2 | + ⋯ + |x n |
≤ + n
N2
< + n − N 1 < .
2 n 2
9. Given that x n is a sequence of real numbers, that x is a real number and that x n → x, prove that
x 1 + x 2 + x 3 + ⋯ + x n → x.
n
Solution: Since x n − x → 0 as n → ∞ we have
x 1 − x + x 2 − x + x 3 − x + ⋯ + x n − x
n →0
as n → ∞. Therefore
x 1 + x 2 + x 3 + ⋯ + x n − x = x 1 − x + x 2 − x + x 3 − x + ⋯ + x n − x → 0
n n
as n → ∞.
10. Given that x n and y n are sequences of real numbers and that x n − y n → 0, prove that x n and y n have
the same set of partial limits.
Since x n = x n − y n + y n and y n = x n − x n − y n for each n the present result follows at once from
Exercise 1.
11. Suppose that x n and y n are sequences of real numbers, that x n − y n → 0 and that the number 0 fails to be
a partial limit of at least one of the sequences x n and y n . Prove that
xn
yn → 1
as n → ∞.
Solution: From Exercise 10 we know that x n and y n have the same sets of partial limits and we
know, therefore, that 0 is not a partial limit of either of these two sequences.
Using the fact that 0 is not a partial limit of y n , choose an integer N 1 and a number δ > 0 such that the
inequality
|y n | ≥ δ
holds whenever n ≥ N 1 . For every n ≥ N 1 we see that
x n − 1 = x n − y n ≤ |x n − y n |
yn yn δ
and so the fact that
xn
yn → 1
as n → ∞ follows from the sandwich theorem.
12. Give an example to show that the requirement in Exercise 11 that 0 not be a partial limit of at least one of the
two sequences is really needed.
We define x n = 2/n and y n = 1/n for each n and observe that, even though x n − y n → 0 as n → ∞,
x n /y n → 2 as n → ∞.
13. Suppose that x n and y n are sequences of real numbers, that x n /y n → 1 and that at least one of the
sequences x n and y n is bounded. Prove that x n − y n → 0. Give an example to show that the conclusion
x n − y n → 0 can fail if both x n and y n are unbounded.
Hint: Make the observation that both of the sequences x n and y n must be bounded. Explain
carefully how you arrive at this conclusion. Now make use of the fact that
166
x
|x n − y n | = |y n | y nn − 1
for every n.
14. Suppose that x n and y n are sequences of real numbers, that y n → 1 and that for each n we have
z n = x n y n . Prove that the sequences x n and z n have the same set of partial limits.
It follows from the part of Exercise 3 for which a solution is provided above that if x is an partial limit
of x n then the number x1 = x is a partial limit of the sequence z n . At the same time, since
x n = z n /y n for all sufficiently large n we know that if x is any partial limit of z n then the number
x/1 = x is a partial limit of the sequence x n .
15. Given that x n is a sequence in R k and that for every point x in R k we have x n ⋅ x → 0 as n → ∞, prove that
the sequence x n converges to the point O.
Taking x = 1, 0, ⋯, 0 we see that the sequence of first coordinates of the points x n converges to
zero. We can repeat this argument for each of the other coordinates.
Solution: We want to show that, for a given set S of real numbers, the following conditions are
equivalent:
a. The set S is unbounded below.
b. There exists a sequence x n in the set S such that x n → −∞ as n → ∞.
To show that condition b implies condition a, assume that condition b holds and choose a sequence x n in
S such that x n → −∞ as n → ∞. If w is any real number then it follows at once from the fact that the
sequence x n is eventually in the interval −∞, w that w is not a lower bound of S. Therefore S is not
bounded above.
Now to show that condition a implies condition b, assume that condition a holds. For each positive integer
n we use the fact that the number −n is not a lower bound of S to choose a number that we shall call x n
such that x n < −n. The sequence x n that we have made in this way is in the set S and it is clear that
x n → −∞.
2. Suppose that S is a nonempty set of real numbers and that α is an upper bound of S. Prove that the following
conditions are equivalent:
a. We have α = sup S.
wish.
4. Given a sequence x n that is frequently in a subset S of a metric space X, and given a partial limit x of the
sequence x n , is it necessarily true that x ∈ S?
No, this statement need not be true. If we define x n = −1 n for each n then, although x n is
frequently in the set −1 it has the partial limit 1 that is not close to −1.
4. Prove that a subset U of a metric space X is open if and only if every sequence in X that converges to a
167
member of U must be eventually in U.
We know from a recent theorem that a set H is closed if and only if no sequence that is frequently
in H can have a limit that doesn’t belong to H. Therefore if U is a set of real numbers then the set
R ∖ U is closed if and only if no sequence with a limit in U can fail to be eventually in U.
Of course the exercise can also be done directly.
5. Given that S is a subset of a metric space X and that x ∈ X, prove that the following conditions are equivalent:
Solution: The assertion in this exercise follows at once from the corresponding theorem about limits
of sequences and closure of a set, and from the fact that x is a limit point of S if and only if x ∈ S ∖ x.
6. Prove that if x n is a sequence in a metric space X then the set of all partial limits of x n is closed.
Suppose that x n is a sequence in a metric space X and write the set of partial limits of x n as H.
In order to show that H is closed we shall show that X ∖ H is open. Suppose that x ∈ X ∖ H. In other
words, suppose that x is not a partial limit of x n . Choose a number > 0 such that the condition
x n ∈ Bx,
holds for at most finitely many integers n. Given any number y ∈ Bx, , it follows from the fact that
Bx, is a neighborhood of y and the fact that x n belongs to this neighborhood of y for at most
finitely many integers n that y is not a partial limit of x n . In other words,
Bx, ⊆ R ∖ H
and we have shown, as promised, that the set X ∖ H is open.
7. (This exercise is more advanced than the others.) Prove that if X is a separable metric space then every
closed subset of X is the set of partial limits of some sequence.
1. Solution: Suppose that S is a closed subset of a separable metric space X. Using the fact that the
subspace S of X must also be separable, choose a countable dense subset of S. We express this countable
set in the form x n ∣ n = 1, 2, ⋯. Now we look at the sequence
y n = x 1 , x 1 , x 2 , x 1 , x 2 , x 3 , x 1 , x 2 , x 3 , x 4 , x 1 , x 2 , x 3 , x 4 , x 5 , ⋯.
A point of X lies in the closure of the set x n ∣ n = 1, 2, ⋯ if and only if it is a partial limit of the
sequence y n .
8. Suppose that A and B are nonempty sets of real numbers and that for every number x ∈ A and every number
y ∈ B we have x < y. Prove that the following conditions are equivalent:
a. We have sup A = inf B.
b. There exists a sequence x n in the set A and a sequence y n in the set B such that y n − x n → 0 as
n → ∞.
Solution: From the information given about A and B we know that sup A ≤ inf B. In the event that
sup A < inf B we know that for every sequence x n in A and every sequence y n in B we have
y n − x n → inf B − sup A > 0
for every n and so we can’t have y n − x n → 0 as n → ∞. Therefore if condition a is false then so is
condition b.
Suppose now that condition a is true; in other words, that sup A = inf B. For every positive integer n, we
use the fact that
sup A − 1n
is not an upper bound of A to choose a member x n of A such that
168
sup A − 1 n < xn.
For every positive integer n we use the fact that
inf B + 1
n
is not a lower bound of B to choose a member y n of B such that
y n < inf B + 1
n.
Thus for each n we have
sup A − 1 1
n < x n ≤ y n < inf B + n
and therefore
0 ≤ yn − xn < 2 n
from which it follows that y n − x n → 0 as n → ∞.
9. Suppose that S is a nonempty bounded set of real numbers. Prove that there exist two sequences x n and y n
in the set S such that
y n − x n → sup S − inf S
as n → ∞.
We have already seen that there exists a sequence x n in S such that x n → sup S as n → ∞. In the
same way we can see that there exists a sequence y n in S such that y n → inf S as n → ∞. We now
have
y n − x n → sup S − inf S
as n → ∞.
169
The fact that the sequence c n is increasing follows at once from the inequality
c n+1 = cc n > 1c n .
It now follows from the monotone sequences theorem that the sequence c n has a limit.
b. Call the limit x and show that if x is finite then the equation
c n+1 = cc n
leads to the equation x = cx, which implies that x = 0. But x cannot be equal to zero? Why not?
From the equation
c n+1 = cc n
we obtain
lim c n+1 = n→∞
n→∞
limcc n
which gives us x = cx. Since c n > 1 for every n we know that x ≥ 1 and therefore x ≠ 0.
3. Suppose that |c| < 1 and that, for every positive integer n,
n
xn = ∑ c i−1 .
i=1
Explain why
xn → 1 .
1−c
From the identity
n
1 − c ∑ c i−1 = 1 − c n
i=1
we deduce that
n
∑ c i−1 = 1 − cn
1−c
i=1
Now since 1/|c| > 1 we know that 1/|c| → ∞ as n → ∞ and we conclude that |c| n → 0 as n → ∞.
n
a. Use Scientific Notebook to work out the first twenty terms in the sequence x n .
To use Scientific Notebook for this purpose, place your cursor in the equation
fx = 3
6x + 1
8
and click on the button in your computing toolbar to supply the definition of the function f
to Scientific Notebook. Then open the Compute menu, scroll down to Calculus and move
across to Iterate. Fill the dialogue box giving the name of the function as f, the number of
iterations as 20 and the starting value as 0.
170
a. Prove that x n < 1 for every positive integer n.
We use mathematical induction. For each positive integer n we take p n to be the assertion that
x n < 1. Since x 1 = 0, the assertion p 1 is true. Now suppose that n is any positive integer for
which the statement p n is true. Then
8x 3n+1 = 6x n + 1 < 61 + 1
and so
x n+1 < 7 <1
3
8
from which it follows that the assertion p n+1 is also true. We deduce from mathematical
induction that the assertion p n is true for every positive integer n.
b. Prove that the sequence x n is strictly increasing.
Once again we use mathematical induction. For each positive integer n we take p n to be the
assertion that x n < x n+1 . Since x 1 = 0 < 12 = x 2 , the assertion p 1 is true. Now suppose that n is
any positive integer for which the assertion p n is true. Since
a. Ask Scientific Notebook to make a 2D plot of the graph of the function f defined by the equation
n
fn = 1 + 1
n
for 1 ≤ n ≤ 100.
171
b. Prove that x n < 3 for every n.
d. Deduce that the sequence x n converges to a number between 2 and 3. Have you seen this number
before?
The student is being asked informally whether he/she recognizes that this limit is the number e.
The number e will be seen in Chapter 10.
6. This exercise concerns the sequence x n defined by the fact that x 1 = 1 and that, for each n ≥ 1 we have
x n+1 = 5 4x n − 2 .
a. Use Scientific Notebook to work out the first twenty terms in the sequence x n .
d. Prove that the sequence has a limit x that satisfies the equation x 5 − 4x + 2 = 0. Ask Scientific
Notebook to make a 2D plot of the expression x 5 − 4x + 2 on the interval −2, 2 and to solve the
172
equation
x 5 − 4x + 2 = 0
x ∈ 1, 2
numerically. Compare the answer obtained here with the results that you obtained in part a.
7. a. Given that
fx = x + 9
2 2x
for every number x > 0, prove that fx ≥ 3 for each n and that the equation fx = 3 holds if and only if
x = 3.
Solution: The desired result follows at once from the fact that whenever x > 0 we have
x − 3 2
fx = x + 9 = + 3.
2 2x 2x
b. Given that x 1 = 4 and, for each n ≥ 1, we have
x n+1 = x n + 9 ,
2 2x n
prove that the sequence x n is decreasing and that the sequence converges to the number 3.
Solution: Since x n+1 = fx n for each n and since fx > 3 for every number x ≠ 3 we see at once
that x n > 3 for every n. To see that x n is decreasing we observe that if n is any positive integer then
x2 − 9
x n − x n+1 = x n − x n + 9 = n > 0.
2 2x n 2
Since the sequence x n is a decreasing sequence in the interval 3, ∞ we know that x n is
convergent. If we write the limit of this sequence as x then it follows from the relationship
x n+1 = x n + 9
2 2x n
that
x= x + 9
2 2x
from which we deduce that x = 3.
8. This exercise is a study of the sequence x n for which x 1 = 0 and
x n+1 = 1
2 + xn
for every positive integer n. We note that this sequence is bounded below by 0 and above by 1/2.
fx = 1
2+x
to Scientific Notebook. Then open your Compute menu, click on Calculus, and choose to iterate the
function f ten times, starting at the number 0. Evaluate the column of numbers that you have obtained
accurately to ten decimal places and, in this way, show the first ten members of the sequence x n .
b. Show that
x n+2 = 2 + x n
5 + 2x n
for every integer n ≥ 1, and then show that the sequence x 2n−1 is increasing and that the sequence x 2n
is decreasing and that these two sequences have the same limit 2 − 1.
Solution: For every positive number x we define
gx = 2 + x .
5 + 2x
Whenever 0 < t < x we see that
173
gx − gt = 2 + x − 2 + t = x−t >0
5 + 2x 5 + 2t 5 + 2x5 + 2t
and so the function g is strictly increasing. Since x 1 < x 3 we have gx 1 < gx 3 from which we
deduce that x 3 < x 5 . Continuing in this way we see that the sequence x 2n−1 is increasing. Since
x 2 > x 4 we have gx 2 > gx 4 from which deduce that x 4 > x 5 . Continuing in this way we see that
the sequence x 2n is decreasing. Therefore the sequences x 2n−1 and x 2n are convergent. If we
write
x = n→∞
lim x 2n−1
then it follows from the identity
x 2n+1 = 2 + x 2n−1
5 + 2x 2n−1
that
x = 2+x
5 + 2x
and we can see that the only positive solution of this equation is 2 − 1. Thus
lim x
n→∞ 2n−1
= 2 −1
and we can see similarly that
lim x
n→∞ 2n
= 2 − 1.
c. Deduce that x n → 2 − 1 as n → ∞.
174
lmsup−x n = − lminf x n .
n→∞ n→∞
Since lminf n→∞ x n is a partial limit of x n we know from part a that − lminf n→∞ x n is a partial limit
of the sequence −x n . Now given any partial limit q of −x n , we know that −q, being a partial
limit of x n , cannot be less than lminf n→∞ x n . In other words, whenever q is a partial limit of
−x n we have
lminf x n ≤ −q
n→∞
which gives us
q ≤ − lminf x n .
n→∞
Therefore − lminf n→∞ x n is the largest partial limit of the sequence −x n .
4. Suppose that x n is a sequence of real numbers, that
x = lmsup x n
n→∞
and that u < x < v.
a. Prove that the sequence x n must be bounded above.
The given inequality u < x < v tells us that x ≠ ∞ and so x n is bounded above.
b. Prove that the sequence x n must be frequently in the interval u, ∞.
The interval u, ∞ is a neighborhood of the partial limit x of x n .
c. Prove that the sequence x n cannot be frequently in the interval v, ∞.
175
Since
xm ≤ yN < v
whenever m ≥ N we know that the sequence x n cannot be frequently in the interval v, ∞.
On the other hand, given any integer n ≥ N it follows from the fact that
u < y n = supx m ∣ m ≥ n
that there exists an integer m ≥ n such that u < x m .
u xm y yn v
Thus the set of integers m for which u < x m is unbounded above and we have shown that x n is
frequently in the interval u, ∞.
7. State and prove an analogue of the preceding exercise for lower limits.
Suppose that x n is a bounded sequence that that, for each n we define
y n = infx m ∣ m ≥ n.
Then the sequence y n is decreasing and the limit of the sequence y n is lminf n→∞ x n .
This assertion can be proved by a mirror image of the proof that was used in Exercise 6 and it can
also be obtained from the statement of Exercise 6, in view of Exercise 3b.
8. Given that
zn = xn + yn
for every positive integer n, prove that
lmsup z n ≤ lmsup x n + lmsup y n .
n→∞ n→∞ n→∞
176
Prove that
∞
⋂ H i ≠ ∅.
i=1
For each n we define
n
Kn = ⋂ Hi
i=1
Since the sequence K n is a contracting sequence of nonempty closed bounded sets, we know
from the Cantor intersection theorem that
∞
⋂ K n ≠ ∅.
n=1
We observe finally that, since
∞ ∞
⋂ Hn = ⋂ Kn
n=1 n=1
the intersection of all of the sets H n must also be nonempty.
2. Suppose that H is a closed bounded set of real numbers and that U n is an expanding sequence of open sets.
a. Explain why the sequence of sets H ∖ U n is a contracting sequence of closed bounded sets.
For each n, it follows at once from the inclusion U n ⊆ U n+1 that
H ∖ U n+1 ⊆ H ∖ U n .
b. Use the Cantor intersection theorem to deduce that if H ∖ U n ≠ ∅ for every n then
∞
⋂H ∖ U n ≠ ∅.
n=1
Since H is closed and bounded and since
H ∖ U n = H ∩ R ∖ U n
for each n, the sets H ∖ U n must be closed and bounded. The desired result therefore follows
at once from the Cantor intersection theorem.
c. Prove that if
∞
H⊆ ⋃ Un
n=1
then there exists an integer n such that H ⊆ U n .
We suppose that
∞
H⊆ ⋃ Un.
n=1
Since the set
∞ ∞
⋂H ∖ U n = H ∖ ⋃ U n
n=1 n=1
is empty we deduce from part b that there is a value of n for which H ∖ U n = ∅ and for any such
integer n we have H ⊆ U n .
3. Suppose that U n is a sequence of open sets (not necessarily expanding) and that H is a closed bounded set
and that
∞
H⊆ ⋃ Un.
n=1
Prove that there exists a positive integer N such that
177
N
H⊆ ⋃ Un.
n=1
For each n we define
n
Vn = ⋃ Ui.
i=1
The sequence V n is expanding and, since
∞ ∞
H⊆ ⋃ Un = ⋃ Vn
n=1 n=1
it follows from Exercise 2 that there exists a positive integer n for which
n
H ⊆ Vn = ⋃ Ui.
i=1
4. The Cantor intersection theorem depends upon the completeness of the real number system. Where in the
proof of the theorem is the completeness used?
We use the completeness to guarantee that a nonempty closed bounded set has a least member
and then we use the completeness again to guarantee that the sequence of all the least members
of the given sets has a supremum.
178
Finally we need to observe that the function f belongs to ℓ ∞ S, in other words, that f is bounded. Using the
fact that ‖f n − f‖ ∞ → 0 as n → ∞, we choose an integer n such that ‖f n − f‖ ∞ < 1. We see that
‖f‖ ∞ = ‖f − f n + f n ‖ ∞ ≤ ‖f − f n ‖ ∞ + ‖f n ‖ ∞ < 1 + ‖f n ‖ ∞ < ∞.
3. Prove that if x n is a Cauchy sequence in a metric space X and if x ∈ X then the sequence of numbers
dx n , x converges in the metric space R.
Given any positive integers m and n we have
|dx m , x − dx n , x| ≤ dx m , x n
and it is therefore clear that the sequence dx n , x is a Cauchy sequence in R.
4. Give an example of a complete metric space X and a bounded sequence x n in X such that the sequence x n
has no partial limit.
Hint: Look for an example in a space of the form ℓ ∞ S.
We take S to be the set Z + of positive integers. For each n ∈ S we define the function f n : S → R by
the equation
1 if x = n
f n x =
0 if x ∈ S ∖ n
From the fact that ‖f m − f n ‖ ∞ = 1 whenever m ≠ n we see that f n has no partial limit in the space
ℓ ∞ S.
5. Give an example of a complete metric space X and a contracting sequence H n of nonempty closed bounded
sets such that
∞
⋂ H n = ∅.
n=1
We return to the functions f n that were defined in the solution to Exercise 4. For each n we define
H n = f m ∣ m ≥ n.
6. If X is a metric space then a function f : X → X is said to be a contraction on X if there exists a number α < 1
such that whenever x and t belong to X we have
dft, fx ≤ αdt, x.
a. Suppose that f is a contraction on a metric space X and that t ∈ X. Suppose that we have x 1 = t and that
for every positive integer n we have
x n+1 = fx n .
Prove that the sequence x n is a Cauchy sequence.
We observe first that
dx 2 , x 3 = dfx 1 , fx 2 ≤ αdx 1 , x 2
dx 3 , x 4 = dfx 2 , fx 3 ≤ αdx 2 , x 3 ≤ α 2 dx 1 , x 2
and, in general,
dx n , x n+1 ≤ α n−1 dx 1 , x 2 .
Now suppose that m and n are positive integers and that n > m. We see that
dx m , x n ≤ dx m , x m+1 + dx m+1 , x m+2 + ⋯ + dx n−1 , x n
< α m−1 dx 1 , x 2 + α m dx 1 , x 2 + α m+1 dx 1 , x 2 + ⋯ + α n−2 dx 1 , x 2
= α m−1 dx 1 , x 2 1 + α + α 2 + ⋯ + α n−m
α m−1 dx 1 , x 2
< .
1−α
179
To show that x n is a Cauchy sequence, suppose that > 0 and choose an integer N such that
α N−1 dx 1 , x 2
< .
1−α
Then whenever m ≥ N and n ≥ N, regardless of whether m < n or m = n or m > n, we have
dx m , x n < .
b. Suppose that f is a contraction on a complete metric space X. Prove that there exists a point x ∈ X such
that fx = x.
Choose a point t ∈ X. We define the sequence x n as in part a. Since X is complete and x n is
a cauchy sequence in X we know that x n is convergent. We define
x = n→∞
lim x n .
In order to show that fx = x
c. Suppose that f is a contraction on a complete metric space X. Prove that there is one and only one point
x ∈ X such that fx = x.
7. Prove that if X is a nonempty complete metric space and if every point of X is a limit point of X then X is
uncountable.
Solution: Suppose that X is a complete metric space and that every point of X is a limit point of X. To
obtain a contradiction, suppose that x n is a sequence in X and that X is the range of the sequence x n .
1. Since x 1 is a limit point of X the set X ∖ x 1 must be nonempty. Choose a point y 1 ∈ X ∖ x 1 and, using
the fact that X ∖ x 1 is a neighborhood of y 1 , choose a positive number δ 1 ≤ 1 such that the closed ball
By 1 , δ 1 is included in X ∖ x 1 , in other words,
By 1 , δ 1 ⊆ X ∖ x 1
Since y 1 is a limit point of X and By 1 , δ 1 is a neighborhood of y 1 , the ball By 1 , δ 1 must contain
infinitely many points and so the set By 1 , δ 1 ∖ x 2 must be nonempty. Choose a point
y 2 ∈ By 1 , δ 1 ∖ x 2
and, using the fact that By 1 , δ 1 ∖ x 2 is a neighborhood of y 2 , choose a positive number δ 2 ≤ 12 such
that
By 2 , δ 2 ⊆ By 1 , δ 1 ∖ x 2 .
Continuing this process we obtain a sequence y n in the space X and a sequence δ n of positive numbers
such that, for each n,
δn ≤ 1 n
and
By n+1 , δ n+1 ⊆ By n , δ n ∖ x n+1 .
We observe that
By n , δ n ⊆ X ∖ x 1 , x 2 , x 3 , ⋯, x n
for each n.
We shall obtain our contradiction by showing that the sequence y n is a Cauchy sequence and then we
shall observe that the limit of the sequence y n cannot belong to the range of the sequence x n .
To show that y n is a Cauchy sequence, suppose that > 0. Choose an integer N > 2/. Whenever m and
n are integers and m ≥ N and n ≥ N we know that both y m and y n belong to the ball By N , δ N and so
dy m , y n ≤ dy m , y N + dy N , y n < 1 + 1 < .
N N
Thus y n is a Cauchy sequence and, since the space X is complete, the sequence y n is convergent. We
define
y = n→∞
lim y n .
For each positive integer N, since the sequence y n is eventually in the closed ball By N , δ N we have
180
y ∈ By N , δ N ⊆ x 1 , x 2 , x 3 , ⋯, x N
and so y cannot belong to the range of the sequence x n and we have reached the desired contradiction.
8. This exercise is an improvement on Exercise 7 and is known as Baire’s theorem.
1. Suppose that H n is a sequence of closed subsets of a complete metric space X and that none of the sets H n
have any interior points. prove that the set
∞
⋃ Hn
n=1
also fails to have any interior points.
Solution: We want to show that the set
∞
⋃ Hn
n=1
cannot include any nonempty open set. Suppose that U is a nonemty open subset of X and, using the fact
that H 1 has no interior points we choose a point y 1 ∈ U ∖ H 1 and using the fact that the set U ∖ H 1 is a
neighborhood of y 1 we choose a positive number δ 1 ≤ 1 such that
By 1 , δ 1 ⊆ U ∖ H 1 .
Using the fact that the open set By 1 , δ 1 cannot be included in the set H 2 (because H 2 has no interior
points) we choose a point
y 2 ∈ By 1 , δ 1 ∖ H 2 = By 1 , δ 1 ∩ X ∖ H 1
and, using the fact that the latter set is a neighborhood of y 2 we choose a positive number δ 2 ≤ 12 such
that
By 2 , δ 2 ⊆ By 1 , δ 1 ∖ H 2 .
Continuing this process we obtain a sequence y n in the space X and a sequence δ n of positive numbers
such that, for each n,
δn ≤ 1 n
and
By n+1 , δ n+1 ⊆ By n , δ n ∖ H n+1 .
We observe that
n
By n , δ n ⊆ U ∖ ⋃ H j
j=1
To show that y n is a Cauchy sequence, suppose that > 0. Choose an integer N > 2/. Whenever m and
n are integers and m ≥ N and n ≥ N we know that both y m and y n belong to the ball By N , δ N and so
dy m , y n ≤ dy m , y N + dy N , y n < 1 + 1 < .
N N
Thus y n is a Cauchy sequence and, since the space X is complete, the sequence y n is convergent. We
define
y = n→∞
lim y n .
181
For each positive integer N, since the sequence y n is eventually in the closed ball By N , δ N we have
N
y ∈ By N , δ N ⊆ U ∖ ⋃ H j .
j=1
Thus
∞
y ∈ U ∖ ⋃ Hn
n=1
and the proof is complete.
Solution: To show that every sequence in X has a partial limit, suppose that x n is a sequence in X.
For each positive integer n we define
H n = x m ∣ m ≥ n.
Using the fact that the sequence H n is a contracting sequence of nonempty closed subsets of X, choose a
point x such that
∞
x∈ ⋂ Hn.
n=1
It is easy to see that x is a partial limit of the sequence x n . Write out the details.
2. Given a metric space X, prove that the following conditions are equivalent:
a. The space X is compact.
b. For every family ℑ of open balls that covers the space X there exists a finite subfamily of ℑ that still
covers X.
It is obvious that condition a implies condition b because every open ball is an open set. Now
suppose that condition b holds. Suppose that ℑ is a family of open sets that covers X. We define
ℑ ∗ to be the family of open balls B that are included in at least one member of the family ℑ. Given
any point x ∈ X, since ℑ covers X we know that x belongs to at least one member U of the family ℑ
and, since such a set U is open, there exists an open ball B such that x ∈ B ⊆ U. Therefore the
family ℑ ∗ covers the space X and, using condition b, we choose finitely many members, that we
shall call B 1 , B 2 , ⋯, B n , such that
n
X⊆ ⋃ Bj.
j=1
For each j we choose a member U j of the family ℑ such that B j ⊆ U j and, since
n
X⊆ ⋃ Uj
j=1
182
⋃X ∖ H ∣ H ∈ ℑ = X ∖ ⋂H ∣ H ∈ ℑ = X ∖ ∅ = X.
Therefore, since X is compact, it is possible to find finitely many members H 1 , H 2 , ⋯, H n of the
family ℑ such that
n
X= ⋃X ∖ H j
j=1
4. In a theorem we have just studied we saw that if X is a compact metric space then every sequence in X that
has no more than one partial limit must be convergent.
Is it true that if every sequence in a given metric space having no more than one partial limit must be
convergent, that X must be compact?
Yes, it is true. If every sequence that has no more than one partial limit has to be convergent then
every sequence must have at least one partial limit.
Now let’s change the question. Suppose that we know that, in a given metric space, that every
sequence with precisely one partial limit must be convergent. Must the space be compact. Again
the answer is yes. To see why, suppose that a metric space X fails to be compact and choose a
sequence x n in X such that x n has no partial limit. We now look at the sequence
x 1 , x, x 2 , x, x 3 , x, ⋯.
This sequence has precisely one partial limit but is not convergent.
5. Suppose that X is a compact metric space and that S ⊆ X. Prove that the metric space S is compact if and only
if S is closed in X.
The result follows at once from Theorem 7.12.14
6. Prove that if A and B are compact subspaces of R then A + B is also compact.
Hint: Show that every sequence in the set A + B has a subsequence that converges to a point of A + B.
Suppose that x n is a sequence in the set A + B. For each n, choose numbers a n ∈ A and b n ∈ B
such that x n = a n + b n . Using the fact that A is compact, choose a subsequence a n j of a n that
converges to a point a of the set A. For each j we have x n j = a n j + b n j . Using the fact that B is
compact, choose a subsequence b j i of b n j that converges to a point b of the set B. The
subsequence x n j i of x n converges to the point a + b of the set A + B.
7. Given a metric space X, is it true that every bounded infinite subset of X has a limit point if and only if every
closed bounded subset of X is compact as a subspace of X?
Yes, this assertion is true.
Suppose that every closed bounded subset of X is compact as a subspace of X and suppose that S
is a bounded infinite subset of X. Since S is compact, every infinite subset of S must have a limit
point. Therefore S must have a limit point.
Suppose that every bounded infinite subset of X has a limit point and that Y is a closed bounded
subset of X. Every infinite subset of Y, being bounded, must have a limit point and, since Y is
closed, any such limit point must belong to Y. Therefore the metric space Y must be compact.
183
1. Write careful proofs of each of the following assertions:
a. x 3 − 3x → 2 as x → −1.
c. x 3 − 8 → 12 as x → 2.
x2+x−6 5
x2 + x − 6 5 x − 2x + 3 5
x 2 + 2x + 4 − 12
=
x+3 5
x − 25x + 8
=
5x + 3
In order to keep the denominator of this fraction from becoming too small we need to keep x
184
away from −3 and, in order to keep |5x + 8| from becoming too large we need to keep x from
being too large. In fact, if x ≠ 2 and |x − 2| < 1 we have
x 3 − 8 − 12 = x − 25x + 8 < x − 253 + 8 < |x − 2|.
x2 + x − 6 5 5x + 3 53 + 3
Now suppose that > 0 and define δ to be the smaller of the two numbers 1 and . We see that
whenever x ≠ 2 and |x − 2| < δ we have
x 3 − 8 − 12 < |x − 2| < .
x2 + x − 6 5
2. Given that
x if 0 < x < 2
fx =
x2 if x > 2
prove that fx → 1 as x → 1 and that this function f has no limit at the number 2.
Solution: Before we prove that fx → 1 as x → 1 we make the observation that whenever |x − 1| < 1
we have
|x 2 − 1| = |x − 1||x + 1| < 3|x − 1|.
To prove that fx → 1 as x → 1, suppose that > 0. We observe that whenever x ≠ 2 and |x − 1| < /3
then, regardless of whether |fx − 1| = |x − 1| or |fx − 1| = |x 2 − 1| we have
|fx − 1| ≤ 3|x − 1| < 3 = .
3
With this fact in mind we define δ = /3 and we observe that |fx − 1| < whenever x lies in the domain
of f and x ≠ 1 and |x − 1| < δ.
Note that we also have the inequality |fx − 1| < when x = 1 but we do not need this fact.
Now we want to show that the function f has no limit at the number 2. To obtain a contradiction, suppose
that λ is a limit of the function f at 2. The key to the desired contradiction is the fact that when x > 2 we
have fx = x 2 which is close to 4 when x is close to 2, and when x < 2 we have fx = x which is close to 2
when x is close to 2. We shall use this observation to argue that both of the numbers 2 and 4 must lie close
to the limit value λ, in spite of the fact that the distance from 2 to 4 is 2.
Using the fact that 1 > 0 and that λ is a limit of f at 2, we choose a number δ > 0 such that the inequality
|fx − λ| < 1
holds whenever x ≠ 2 and |x − 2| < δ. Choose a number x 1 < 2 and a number x 2 > 2 such that
|x 1 − 2| < δ and |x 2 − 2| < δ. Then
|fx 1 − fx 2 | = |fx 1 − λ + λ − fx 2 |
≤ |fx 1 − λ| + |λ − fx 2 | < 1 + 1 = 2.
On the other hand, fx 1 = x 1 < 2 and fx 2 = x 2 2 > 4 which gives us
|fx 1 − fx 2 | > 2.
We have therefore reached the desired contradiction.
3. Given that
x if x is rational
fx =
x 2 if x is irrational
prove that fx → 1 as x → 1 and prove that this function f has no limit at the number 2.
Solution: This solution is very similar to the solution of Exercise 2 but we have to exercise a
little more care with the inequalities at the end.
Before we prove that fx → 1 as x → 1 we make the observation that whenever |x − 1| < 1 we have
185
|x 2 − 1| = |x − 1||x + 1| < 3|x − 1|.
To prove that fx → 1 as x → 1, suppose that > 0. We observe that whenever x ≠ 2 and
|x − 1| < /3 then, regardless of whether |fx − 1| = |x − 1| or |fx − 1| = |x 2 − 1| we have
|fx − 1| ≤ 3|x − 1| < 3 = .
3
With this fact in mind we define δ = /3 and we observe that |fx − 1| < whenever x lies in the
domain of f and x ≠ 1 and |x − 1| < δ.
Note that we also have the inequality |fx − 1| < when x = 1 but we do not need this fact.
Now we want to show that the function f has no limit at the number 2. To obtain a contradiction,
suppose that λ is a limit of the function f at 2. The key to the desired contradiction is the fact that
when x is irrational we have fx = x 2 which is close to 4 when x is close to 2, and when x is rational
we have fx = x which is close to 2 when x is close to 2. We shall use this observation to argue
that both of the numbers 2 and 4 must lie close to the limit value λ, in spite of the fact that the
distance from 2 to 4 is 2.
Using the fact that 1 > 0 and that λ is a limit of f at 2, we choose a number δ > 0 such that the
inequalities
|fx − λ| < 1
2
2 − 4| < 1
|x
2
|x − 2| < 1
2
all hold whenever x ≠ 2 and |x − 2| < δ. Choose a rational number x 1 and an irrational number x 2
such that |x 1 − 2| < δ and |x 2 − 2| < δ. Then
|fx 1 − fx 2 | = |fx 1 − λ + λ − fx 2 |
≤ |fx 1 − λ| + |λ − fx 2 | < 1 + 1 = 1.
2 2
On the other hand, fx 1 = x 1 and fx 2 = x 2 2 and so
4 − 2 ≤ |4 − fx 2 | + |fx 1 − fx 2 | + |fx 2 − 2| < 1 + 1 + 1 = 3
2 2 2 2
|fx 1 − fx 2 | > 2.
and we have therefore reached the desired contradiction.
4. Given that
fx = x − 9
2
|x − 3|
for every number x ≠ 3, prove that f has no limit at the number 3. Ask Scientific Notebook to draw the graph
of this function.
186
8
-4 -2 0 2 x 4
-2
-4
-6
x 2 −9
The Graph y = |x−3|
We observe that
−x − 3 if x < 3
fx =
x+3 if x > 3
To obtain a contradiction, suppose that the function f has a limit λ at 3. Choose δ > 0 such that
δ < 1 and such that whenever |x − 3| < δ and x ≠ 3 we have
|fx − λ| < 1.
Choose numbers x 1 and x 2 such that
3 − δ < x 1 < 3 < x 2 < 3 + δ.
We observe that
|fx 1 − fx 2 | ≤ |fx 1 − λ| + |fx 2 − λ| < 1 + 1 = 2.
On the other hand
fx 1 = −x 1 − 3 < −2 − 3 = −5
and
fx 2 = x 2 + 3 > 6
and so
|fx 1 − fx 2 | < 6 − −5 > 2.
This is the desired contradiction.
5. Given that S is a set of real numbers, that f : S → R, that λ is a real number and that a is a limit point of S,
prove that the following conditions are equivalent:
a. fx → λ as x → a.
b. For every number > 0 there exists a number δ > 0 such that the inequality |fx − λ| < 3 holds for
every number x in the set S ∖ a that satisfies the inequality |x − a| < δ.
c. For every number > 0 there exists a number δ > 0 such that the inequality |fx − λ| < 3 holds for
every number x in the set S ∖ a that satisfies the inequality |x − a| < 5δ.
Solution: We shall provide the proof that condition c implies condition a. Suppose that condition c
holds. To prove that condition a holds, suppose that > 0. Using the fact that the number /3 is positive
we now apply condition c to choose a number δ > 0 such that the inequality
|fx − λ| < 3
3
holds whenever x ∈ S ∖ a and |x − a| < 5δ. We see that |fx − λ| < whenever x ∈ S ∖ a and
|x − a| < δ.
6. Given that S is a set of real numbers, that f : S → R, that λ is a real number and that a is a limit point of S,
prove that the following conditions are equivalent:
187
a. fx → λ as x → a.
b. For every number > 0 there exists a neighborhood U of the number a such that the inequality
|fx − λ| < holds for every number x in the set U ∩ S ∖ a.
c. For every neighborhood V of the number λ there exists a number δ > 0 such that the condition fx ∈ V
holds for every number x in the set S ∖ a that satisfies the inequality |x − a| < δ.
To show that condition a implies condition b we assume that fx → λ as x → a. Suppose that > 0.
From condition a and the fact that the interval λ − , λ + is a neighborhood of λ we deduce that
there exists a neighborhood U of a such that the condition fx ∈ λ − , λ + holds whenever
x ∈ U ∩ S ∖ a.
To show that condition b implies condition a we assume that condition b holds. Suppose that V is a
neighborhood of λ. Choose a number > 0 such that λ − , λ + ⊆ V. Now, using condition b,
choose a neighborhood U of a such that the condition fx ∈ λ − , λ + holds whenever
x ∈ U ∩ S ∖ a. Then, whenever x ∈ U ∩ S ∖ a we have fx ∈ V.
To show that condition a implies condition c we assume that condition a holds. Suppose that V is a
neighborhood of λ and, using condition a, choose a neighborhood U of a such that the condition
fx ∈ V will hold whenever x ∈ U ∩ S ∖ a. Choose δ > 0 such that a − δ, a + δ ⊆ U. We observe
that whenever x ∈ S ∖ a and |x − a| < δ, we must have x ∈ U ∩ S ∖ a and so fx ∈ V.
To show that condition c implies condition a we assume that condition c holds. Suppose that V is a
neighborhood of λ. Using condition c we choose a number δ > 0 such that the condition fx ∈ V
will hold whenever x ∈ S ∩ a − δ, a + δ ∖ a. Since the interval a − δ, a + δ is a neighborhood of
a, condition a must hold.
7. Given that S is a set of real numbers, that f : S → R, that λ is a real number and that a is an interior point of S,
prove that the following conditions are equivalent:
a. fx → λ as x → a.
b. For every number > 0 there exists a number δ > 0 such that the inequality |fx − λ| < will hold for
every number x that satisfies the inequality |x − a| < δ.
The only way in which condition b differs from the , δ form of the assertion that fx → λ as x → a is
that it requires that |fx − λ| < for all numbers within a distance δ of a and unequal to a. It does
not merely assert that |fx − λ| < when x is a member of the set S unequal to a and within a
distance δ of a.
It is obvious that condition b implies condition a. To show that condition a implies condition b we
assume that fx → λ as x → a. Suppose that > 0. Choose a number δ 1 > 0 such that the
condition |fx − λ| < will hold whenever x ∈ S ∩ a − δ 1 , a + δ 1 ∖ a. Now, using the fact that a is
an interior point of S, choose a number δ 2 > 0 such that a − δ 2 , a + δ 2 ⊆ S. We define δ to be the
smaller of the two numbers δ 1 and δ 2 and we observe that the inequality |fx − λ| < will hold for
every number x that satisfies the inequality |x − a| < δ.
8. Suppose that S is a set of real numbers, that a is a limit point of S, that f : S → R and that λ is a real number.
Prove that if fx → λ as x → a then |fx| → |λ| as x → a. Compare this exercise with an earlier exercise.
The key to this exercise is the fact that if x is any number in S then
||fx| − |λ|| ≤ |fx − λ|.
To show that |fx| → |λ| as x → a, suppose that > 0. Choose δ > 0 such that the condition
|fx − λ| < will hold whenever x ∈ S ∩ a − δ, a + δ ∖ a. Then for all such numbers x we have
||fx| − |λ|| ≤ |fx − λ| < .
9. Suppose that S is a set of real numbers, that a is a limit point of S, that f : S → R and that λ is a real number.
Complete the following sentence: The function f fails to have a limit of λ at the number a when there exists a
number > 0 such that for every number δ > 0 ......
The function f fails to have a limit of λ at the number a when there exists a number > 0 such that
for every number δ > 0 there is at least one number x in the set S ∩ a − δ, a + δ ∖ a for which
188
|fx − λ| ≥ .
2. Given that
fx = 1
|x − 3|
for all numbers x ≠ 3, explain why f has a limit (an infinite limit) at 3.
We need to show that fx → ∞ as x → 3. Suppose that w is a real number. Given x ≠ 3, the
inequality fx > w says that
1 > w.
|x − 3|
We can’t simply turn these expressions over because w need not be positive but we can make the
observation that the inequality
1 >w
|x − 3|
will certainly hold when
1 > |w| + 1
|x − 3|
which says that
|x − 3| < 1 .
|w| + 1
We therefore define δ = |w|+11
and observe that the condition fx > w will hold whenever x ≠ 3 and
|x − 3| < δ.
3. Given that
fx = 1
x−3
for all numbers x ≠ 3, explain why f has an infinite limit from the left at 3 and also has an infinite limit from
the right at 3 but does not have a limit at 3.
The reason f has no two-sided limit at 3 is that the limits of f at 3 from the left and from the right are
not equal to each other. In fact, the limit from the right is ∞ and the limit from the left is −∞.
To see why the fx → ∞ as x → 3 +, suppose that w is any real number. Given x > 3, the inequality
fx > w says that
1 > w.
x−3
We can’t simply turn these expressions over because w need not be positive but we can make the
observation that the inequality
1 >w
x−3
189
will certainly hold when
1 > |w| + 1
x−3
which says that
x−3 < 1 .
|w| + 1
We therefore define δ = |w|+1
1
and observe that the condition fx > w will hold whenever
3 < x < 3+δ.
To see why the fx → −∞ as x → 3 −, suppose that w is any real number. Given x < 3, the inequality
fx < w says that
1 <w
x−3
which we can express as
1 > −w
3−x
We can’t simply turn these expressions over because −w need not be positive but we can make the
observation that the inequality
1 > −w
3−x
will certainly hold when
1 > |w| + 1
x−3
which says that
3−x < 1 .
|w| + 1
We therefore define δ = |w|+1
1
and observe that the condition fx < w will hold whenever
3 − δ < x < 3.
4. Prove that
x3 − 8 → ∞
x2 + x − 6
as x → ∞.
We begin by observing that x 2 + x − 6 > 0 whenever x > 2. Given any number x > 2 we have
x 3 − 8 = x 2 + 2x + 4 > x 2 = x.
x +x−6
2 x+3 x
Now suppose that w is any real number and define v to be the larger of the two numbers 2 and w.
The inequality
x3 − 8 > w
x +x−6
2
190
x 4 − 4x 3 − x 2 + x + 7 > w
x 3 − 2x 2 − 2x − 3
will hold whenever x > v.
6. Prove that
3x 2 + x − 1 → 3
5x 2 + 4 5
as x → ∞.
Given any number x we have
3x 2 + x − 1 − 3 |5x − 17|
= .
5x 2 + 4 5 55x 2 + 4
Whenever x > 17
5
we observe that
3x 2 + x − 1 − 3 |5x − 17|
=
5x 2 + 4 5 55x 2 + 4
= 5x − 17 < 5x = 1 .
55x 2 + 4 25x 2 5x
Now suppose that > 0. As long as x > 17
5
, the inequality
+x−1 − 3 <
3x 2
5x 2 + 4 5
will hold whenever 5x < which says that x > 5 . We define v to be the larger of the two numbers
1 1
17
5
and 51 and oberve that the inequality
3x 2 + x − 1 − 3 <
5x 2 + 4 5
holds whenever x > v.
7. Given that
1 if x is rational
fx =
0 if x is irrational
explain why f does not have a limit from the right at 2.
Solution: To obtain a contradiction, suppose that λ is a limit of the function f from the right at 2.
Using the fact that 1/2 > 0 we choose a number δ > 0 such that the inequality
|fx − λ| < 1
2
will hold for every number x ∈ 2, 2 + δ. Choose a rational number x and an irrational number t in the
interval x, x + δ. Then
1 = |fx − ft| ≤ |fx − λ| + |λ − ft| < 1 + 1 = 1
2 2
and we have reached the desired contradiction.
8. Suppose that a is an interior point of a set S of real numbers and that f : S → R. Suppose that fx → 0 as
x → a − and that fx → 1 as x → a +. Prove that the function f does not have a limit at the number a.
Since x must be a limit point of each of the sets −∞, a ∩ S and S ∩ a, ∞, the desired result follows
at once from Theorem 8.3.2.
191
for every number x, prove that the function f is continuous at the number 2.
All we have to show is that fx → 17 as x → 2. This fact can be deduced directly in the same way
that we did the earlier exercises on limits or, if you prefer, it can be deduced at once from
Theorem 8.5.4.
2. Given that
x sin 1
x if x ≠ 0
fx =
0 if x = 0
prove that the function f is continuous at the number 0. Hint: Use the fact that |fx| ≤ |x| for every number x
and use the sandwich theorem. The graph of this function is illustrated in the following figure.
Solution: Since the equation fx = 0 holds for x ∈ 0, 1 if and only if the number x is irrational, all
we have to do is show that for every number x ∈ 0, 1 we have
lim ft = 0.
t→x
Suppose that x ∈ 0, 1 and suppose that > 0. Choose an integer N > 1/. Since there are only finitely
many rational numbers that have a reduced form m/n for which n ≤ N we know that there are at most
finitely many numbers x in the interval 0, 1 for which fx ≥ . We shall call this finite set S. Since the set
S ∖ x, being finite, is closed, the set
R ∖ S ∖ x
must be open and is therefore a neighborhood of x. We also know that whenever
t ∈ 0, 1 ∩ R ∖ S ∖ x
we have
|ft − 0| = ft <
and so we have shown that ft → 0 as t → x.
4. Suppose that f and g are functions from a given set S of real numbers into R and that the inequality
|ft − fx| ≤ |gt − gx|
holds for all numbers t and x in S. Prove that f must be continuous at every number at which the function g is
continuous.
Suppose that the function g is continuous at a given number x. Suppose that > 0. Choose δ > 0
such that the inequality |gt − gx| < will hold whenever t ∈ S ∩ x − δ, x + δ. Then for every such
number t we have
192
|ft − fx| ≤ |gt − gx| < .
5. Given that f is a continuous function from a set S into R, prove that the function |f| is also continuous from S
into R.
Hint: Use the preceding exercises and the fact that whenever t and x belong to S we have
||ft| − |fx|| ≤ |ft − fx|.
6. Suppose that a and b are real numbers, that a < b and that
f : a, b → R.
Prove that the following conditions are equivalent:
a. The function f is continuous at the number a.
b. For every number > 0 there exists a number δ > 0 such that for every number x in the interval a, b
that satisfies the inequality x − a < δ we have |fx − fa| < .
This exercise is obvious because of the fact that |x − a| = x − a whenever x ∈ a, b. You can convert
this exercise into one that is a shade more interesting by removing the words “in the interval” from
condition b and replace them by the condition x > a. This change would require a slightly more
careful choice of δ to ensure that it does not exceed b − a so that any number x > a that lies within
a distance δ of a would automatically belong to the interval a, b.
7. Given that f is continuous on a closed set H and that x n is a convergent sequence in the set H, prove that the
sequence fx n is also convergent. Prove that this assertion is false if we omit the assumption that S is
closed.
Solution: Suppose that f is continuous on a closed set H and that x n is a convergent sequence in H.
We define
x = n→∞
lim x n .
Since H is closed we must have x ∈ H and therefore f is continuous at the number x. Therefore the fact
that x n → x as n → ∞ guarantees that fx n → fx as n → ∞.
To see why the assertion does not remain true without the assumption that H be closed we look at the
example in which
H= 1 n ∣n∈Z
+
and we define
0 if n is even
f 1
n =
1 if n is odd
Since no member of the set H is a limit point of H we know that f is continuous at every member of H.
However, in spite of the fact that the sequence 1/n converges (to 0), the sequence f1/n fails to
converge.
Actually, much more can be proved: If H is any set of real numbers and H fails to be closed then there
exists a convergent sequence x n in H and a continuous function f on H such that the sequence fx n
fails to converge. This stronger assertion is harder to prove and we omit the proof at this point. If you elect
to read the optional section on the distance function of a set that follows this set of exercises then you will
find a solution of this stronger assertion there.
8. Prove that if a set S has no limit points then every function f : S → R is continuous on S.
This exercise follows at once from the fact stated in Theorem 8.7.5 that every function must be
continuous at a number that is not a limit point of its domain.
9. Prove that if S is a set of real numbers and if no limit point of S belongs to the set S then every function
193
f : S → R is continuous on S.
This exercise follows in exactly the same way as Exercise 8.
10. Suppose that f and g are functions from a set S to R and that f is continuous at a given number a at which the
function g fails to be continuous.
a. What can we say about the continuity of the function f + g at the number a?
Were the function f + g to be continuous at a, it would follow from the fact that
g = f + g − f
that g is continuous at a. Therefore f + g cannot be continuous at a.
b. What can we say about the continuity of the function fg at the number a?
If fa ≠ 0 then, since the equation
fxgx
gx =
fx
would hold for every number x sufficiently close to a, we could use an argument like the one we
used in Part a to deduce that the function fg cannot be continuous at a.
However, execise 2 shows us to functions, one continuous at 0 and the other discontinuous at
0 whose product is continuous at 0.
c. What can we say about the continuity of the function fg at the number a if fa = 0 and g is a bounded
function?
Choose a number p such that |gx| < p for each x ∈ S. Whenever x ∈ S we have
|fxgx − faga| = |fxgx| ≤ p|fx|
and we can now use this inequality to prove that fg must be continuous at a.
Suppose that > 0. Using the fact that f is continuous at w and the fact that /p > 0 we choose
a number δ > 0 such that the condition |fx| < p whenever x ∈ S ∩ a − δ, a + δ. Then,
whenever x ∈ S ∩ a − δ, a + δ we have
|fxgx − faga| ≤ p|fx| < p p = .
12. Given that f is a continuous function from a closed set H into R and that a ∈ H, prove that the set
E = x ∈ H ∣ fx = fa
is closed. Hint: Consider the behavior of a convergent sequence in the set E.
Solution: Suppose that x n is any convergent sequence in the set E. We shall show that the limit of
this sequence, that we shall call x, must also belong to E. Since the set H is closed we know that x ∈ H and
therefore we know that f is continuous at the number x. Therefore
lim fx n = n→∞
fx = n→∞ lim fa = fa
and so x ∈ E as we promised.
13. Given that f and g are continuous functions from R to R and that
E = x ∈ R ∣ fx = gx
194
prove that the set E must be closed.
This exercise is very similar to Exercise 12. Suppose that x n is any convergent sequence in the
set E. We shall show that the limit of this sequence, that we shall call x, must also belong to E. We
now observe that
lim fx n = n→∞
fx = n→∞ lim gx n = gx
and so x ∈ E as we promised.
14. Given that f and g are continuous functions from R to R and that fx = gx for every rational number x,
prove that f = g.
The set of numbers x for which fx = gx is closed and includes the set Q of rational numbers.
Therefore this set is all of R.
15. Given that f : Z + → R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all positive integers x and t, prove that fx = x for every positive integer x.
Solution: If you are familiar with the method of proof by mathematical induction which is available
in this book in an optional section then you should use mathematical induction to do this exercise.
Otherwise we can use the method of proof by contradiction as follows: To obtain a contradiction, suppose
that their are positive integers n for which the equation fn = n fails to hold and define k to be the least of
these positive integers. Since we are given that f1 = 1, we know that k > 1. Therefore k − 1 is a positive
integer that is less than k and we conclude that fk − 1 = k − 1. Therefore
fk = fk − 1 + 1 = fk − 1 + f1 = k − 1 + 1 = k
which contradicts the way in which the integer k was chosen.
16. Given that f : Z → R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all integers x and t, prove that fx = x for every integer x.
First we observe that, since
f0 = f0 + 0 = f0 + f0
we have f0 = 0. Now we know from Exercise 15 that fx = x for every positive integer x. If x is a
negative integer then, since f−x = −x we have
0 = f0 = fx + −x = fx + f−x = fx − x,
and so fx = x.
17. Given that f : Q → R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every rational number x.
Solution: By the preceding exercise we know that the equation fx = x holds whenever x is an
integer. We shall now show that if x is any real number and n is a positive integer then fnx = nfx. Once
again, you can use the method of proof by mathematical induction if you are familiar with it but we shall
use the method of proof by contradiction.
Suppose that x is any real number and, to obtain a contradiction, suppose that there are positive integers n
for which the equation fnx = nfx fails to hold. We define k to the least of these integers. Since we know
that the equation fnx = nfx holds when n = 1, we know that k > 1. Therefore k − 1 is a positive integer
less than k and so
fkx = fk − 1x + x = fk − 1x + fx = k − 1x + x = kx
which contradicts the way in which k was chosen.
To complete the exercise, suppose that x is any rational number and choose integers m and n such that
n > 0 and x = m/n. We see that
fx = 1 1 1
n nfx = n fnx = n fm = n .
m
195
18. Given that f is a continuous function from R to R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every real number x.
In view of the fact that fx = x for every rational number x (by Exercise 17), the desired result
follows at once from Exercise 13.
19. Given that f is an increasing function from R to R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every real number x.
Solution: Suppose that x is any real number and choose two sequences a n and b n of rational
numbers such that
an ≤ x ≤ bn
for each n and
lim a
n→∞ n
= n→∞
lim b n = x.
Since the function f is increasing we know that for each n we have
a n = fa n ≤ fx ≤ fb n ≤ b n
and so it follows from the sandwich theorem for limits that fx = x.
196
We define
fx = 1x
for every number x ≥ 1. This function f is continuous from the closed set 1, ∞ onto the set 0, 1
which fails to be closed.
3. Given that f is a continuous function from R to R and that S is a set of real numbers, prove that
fS ⊆ fS.
Solution: Suppose that f is continuous from R to R and that S ⊆ R. Sinse the set fS is a closed set
we know that the set f −1 fS is closed. Therefore since
S ⊆ f −1 fS
we have
S ⊆ f −1 fS
and we conclude that
fS ⊆ fS
Now we prove the “if” part of the exercise. Suppose that the inequality
fS ⊆ fS
holds for every subset S of R. To prove that f is continuous, suppose that H is closed. We shall show that
the set f −1 H is closed. Now
f f −1 H ⊆ ff −1 H ⊆ H = H
and therefore
f −1 H ⊆ f −1 H
and we have shown that f −1 H is closed.
4. Given that f : R → R and that for all numbers x and t we have
|fx − ft| ≤ |x − t| 2 ,
prove that the function f must be constant. Note that although this exercise is quite difficult right now, it will
become considerably easier after we have studied the concept of a derivative.
I am resisting the urge to write a direct solution of this exercise. Those students who wish to
attempt it now will probably want to be left alone. All others can wait until after the mean value
theorem when the fact that f is constant will follow at once from the obvious fact that f ′ x = 0 for
every number x.
197
U = x ∈ R ∣ ρ A x − ρ B x < 0
and
V = x ∈ R ∣ ρ A x − ρ B x > 0.
Since the function ρ A − ρ B is continuous on R we deduce from the first of some earlier exercises that the
sets U and V are open.
3. Given two sets A and B of real numbers, prove that the following conditions are equivalent:
a. We have
A ∩ B = ∅.
5. Suppose that S is a set of real numbers and that S fails to be closed. Prove that there exists a convergent
sequence x n in S and a continuous function f on the set S such that the sequence fx n fails to converge.
198
fails to be closed.
We can define fx = 1x for x ≥ 1. This function f is continuous on the closed set 1, ∞ and its range
is 0, 1 which is not closed.
2. Give an example of a function f that is continuous on a closed set H such that the range fH of the function f
fails to be bounded.
We can define fx = x for every x ∈ R.
3. Give an example of a function f that is continuous on a bounded set H such that the range fH of the function
f fails to be closed.
We can define fx = x for 0 < x < 1.
4. Give an example of a function f that is continuous on a bounded set H such that the range fH of the function
f fails to be bounded.
We can define fx = 1x for 0 < x < 1.
5. Prove that if a set H of real numbers is unbounded above and fx = x for every number x in H, then f is a
continuous function on H and f fails to have a maximum.
Since the range of f is the set H which is assumed to be unbounded, the function f must be
unbounded above.
6. Prove that if H is a set of real numbers and a number a is close to H but does not belong to H, and if we
define
fx = 1
|x − a|
for every x ∈ H then f is a continuous function on H but f has no maximum.
Solution: We can see that f has no maximum by showing that f is unbounded above. Given any
positive number q the inequality
fx > q
says that
1 >q
|x − a|
which holds when
|x − a| < 1q
But since a is close to the set H we know that there do indeed exist members x of H for which the
inequality
|x − a| < 1q
holds. Therefore there are members x in H for which fx > q and we have shown that f fails to be
bounded above.
Hint: Once you have shown that f is strictly increasing and continuous on S, the fact that S is an
interval if and only if fS is an interval will follow from the Bolzano intermediate value theorem and
this theorem.
2. Prove that there are three real numbers x satisfying the equation
x 3 − 4x − 2 = 0.
Solution: First look at a sketch of the graph y = x 3 − 4x − 2
199
4
-2 -1 1 x 2
0
-2
-4
We now define fx = x 3 − 4x − 2 for every real number x and observe that f−2 < 0 and f−1 > 0.
Therefore Bolzano’s intermediate theorem guarantees that the equation x 3 − 4x − 2 = 0 has a solution
between −2 and −1. Since f−1 > 0 and f0 < 0 we know that there is a solution of the equation between
−1 and 0. Finally, from the fact that f0 < 0 and f3 > 0 we know that there is a solution of the equation
between 0 and 3.
3. Is it true that if a set S of real numbers is not an interval then there must exist a one-one continuous function
on S whose inverse function fails to be continuous?
Not at all. In fact, we know that if S is closed and bounded then every one-one continuous function
S must have a continuous inverse function. Look also at the case in which S is the union of two
open intervals that do not intersect with each other. If f is a one-one continuous function on S then
the range of f is also the union of two open intervals that do not intersect with each other and the
inverse function of f will be continuous.
4. Is it true that if a set S of real numbers is not an interval and is not closed then there must exist a one-one
continuous function on S whose inverse function fails to be continuous?
Hint: Look at the case in which S is the union of two mutually disjoint open intervals.
See the remarks about Exercise 3.
5. Is it true that if a set S of real numbers is not an interval and is not bounded then there must exist a one-one
continuous function on S whose inverse function fails to be continuous?
Again the answer is no. The remarks about Exercise 3 are not confined to bounded intervals.
6. Prove that if f is a continuous function from the interval 0, 1 into 0, 1 then there must be at least one
number x ∈ 0, 1 such that fx = x. This assertion is the one-dimensional form of the Brouwer fixed point
theorem.
200
2. Given that
1 if 0 ≤ x < 2
fx =
0 if 2 < x ≤ 3
prove that f is continuous but not uniformly continuous on the set 0, 2 ∪ 2, 3.
Since the number 2 does not belong to the domain of f, the function f is constant in a neighborhood
of every number in its domain. Therefore f is continuous on the set 0, 2 ∪ 2, 3. To see why f fails
to be uniformly continuous we observe that given any positive number δ we can find a number
t ∈ 0, 2 and a number x ∈ 2, 3 such that |t − x| < δ, and for any such choice of numbers x and t
we must have
|ft − fx| = |1 − 0| = 1.
3. Given that fx = sinx 2 for all real numbers x, prove that f is not uniformly continuous on the set R.
0.5
0 2 4 6 8 10
x
-0.5
-1
We define
xn = 2nπ + π
2
and
t n = 2nπ
for every positive integer n. Since fx n = 1 and ft n = 0 for every n we know that fx n − ft n does
not approach 0 as n → ∞. Now
x n − t n = 2nπ + π − 2nπ
2
π π
2nπ + 2
− 2nπ 2nπ + 2
+ 2nπ
=
π
2nπ + 2
+ 2nπ
π
= 2
→0
π
2nπ + 2
+ 2nπ
as n → ∞ and so it follows from the relationship between limits of sequences and uniform continuity
that the function f fails to be uniformly continuous.
4. Ask Scientific Notebook to make some 2D plots of the function f defined by the equation
fx = sinx log x
for x > 0. Plot the function on each of the intervals 0, 50, 50, 100, 100, 150 and 150, 200. Revise your
plot and increase its sample size if it appears to contain errors. Why do these graphs suggest that f fails to be
unformly continuous on the interval 0, ∞? Prove that this function does, indeed, fail to be uniformly
continuous.
Solution: To prove that f fails to be uniformly continuous we shall show that for every number δ > 0
there exist two positive numbers a and b such that |a − b| < δ and |fa − fb| ≥ 1. We begin by choosing
a number p such that whenever x ≥ p we have
201
log x > π .
2δ
Now choose a positive integer n such that
p log p < nπ.
Since x log x > nπ for x sufficiently large x, we can use the Bolzano intermediate value theorem to choose
a number a > p such that a log a = nπ. Now since
a + δ loga + δ = a loga + δ + δ loga + δ
> a log a + δ π = nπ + π
2δ 2
we can use the Bolzano intermediate value theorem again to choose a number b ∈ a, a + δ such that
b log b = nπ + π .
2
We now observe that
|fa − fb| = sin nπ − sin nπ + π =1
2
and so the proof is complete.
5. a. A function f is said to be Lipschitzian on a set S if there exists a number k such that the inequality
|ft − fx| ≤ k|t − x|
holds for all numbers t and x in S. Prove that every Lipschitzian function is uniformly continuous.
Suppose that f is a function defined on a set S, that k is a positive number and that the
inequality
|ft − fx| ≤ k|t − x|
holds for all numbers t and x in the set S. Suppose that > 0. We define δ = /k and observe
that, whenever t and x belong to S and |t − x| < δ we have
|ft − fx| ≤ k|t − x| < k = .
k
b. Given that fx = x for all x ∈ 0, 1 prove that f is uniformly continuous but not lipschitzian on 0, 1.
Solution: The fact that f is uniformly continuous on the closed bounded set 0, 1 follows at once
from the fact that f is continuous there. Now, to prove that f fails to be Lipschitzian, suppose that k is
any positive number. Given x ∈ 0, 1 we see that
|fx − f0|
= 1
|x − 0| x
and this exceeds k whenever x < 1/k 2 .
6. a. Suppose that f is uniformly continuous on a set S, that x n is a sequence in the set S and that x n has a
partial limit x ∈ R. Prove that it is impossible to have fx n → ∞ as n → ∞.
Using the fact that f is uniformly continuous on S we choose a number δ > 0 such that the
inequality
|ft − fs| < 1
holds whenever t and s belong to S and |t − s| < δ. Since x is a partial limit of the sequence x n
we know that the condition
xn ∈ x − δ , x + δ
2 2
holds for infinitely many positive integers n. Choose a positive integer N such that
xN ∈ x − δ , x + δ .
2 2
For every one of the infinitely many positive integers n for which the condition
xn ∈ x − δ , x + δ
2 2
holds, since
202
|x n − x N | ≤ |x n − x| + |x − x N | < δ + δ = δ,
2 2
we have
fx n ≤ 1 + fx N .
Therefore the sequence of numbers fx n is frequently in the interval −∞, 1 + fx N and so it
cannot approach ∞.
Of course, this sequence cannot approach −∞ either.
b. Did you assume that x ∈ S in Part a? If you did, go back and do the exercise again. You have no
information that x ∈ S. If you didn’t assume x ∈ S, you can sit this question out.
c. Suppose that f is uniformly continuous on a bounded set S and that x n is a sequence in S. Prove that it
is impossible to have fx n → ∞ as n → ∞.
The assertion follows at once from Part a and the fact that every bounded sequence of
numbers has a partial limit in R.
d. Prove that if f is uniformly continuous on a bounded set S then the function f is bounded.
203
|fs − ft| <
holds whenever s and t belong to S and |s − t| < δ/2.
We write the limit of x n as x and choose an integer N such that the inequality |x n − x| < δ2
holds whenever n ≥ N. Using the fact that y is a partial limit of the sequence fx n we choose
an integer m ≥ N such that |fx m − y| < . Now given any integer n ≥ N, since
|x n − x m | ≤ |x n − x| + |x − x m | < δ + δ = δ
2 2
we must have
|fx n − fx m | <
and consequently
|y − fx n | ≤ |y − fx m | + |fx n − fx m | < 2
y fx m fx n z
Thus if n ≥ N, the number fx n cannot lie in the neighborhood z − , z + of z and we conclude
that z fails to be a partial limit of the sequence fx n .
b. In Part a, did you assume that the limit of the sequence x n belongs to S? If so, go back and do the
problem again.
c. Prove that if f is uniformly continuous on a set S and x n is a convergent sequence in S then the sequence
fx n is also convergent. Do not assume that the limit of x n belongs to S.
In view of Part a, the present result follows at once from an earlier theorem on limits of
sequences.
d. Suppose that f is uniformly continuous on a set S, that x is a real number and that x n and t n are
sequences in S that converge to the number x. Prove that
lim fx n = n→∞
n→∞
lim ft n .
The existence of these limits was guaranteed in Part c. Now since t n − x n → 0 as n → ∞ we
deduce from the relationship between uniform continuity and limits of sequences that
ft n − fx n → 0 as n → ∞.
e. Suppose that f is uniformly continuous on a set S and that x ∈ S ∖ S. Explain how we can use Part d to
extend the definition of the function f to the number x in such a way that f is continuous on the set
S ∪ x.
We know that there exists a sequence x n in S that converges to x and we know that there is a
single limit for all of the sequences fx n that can be made in this way. We define fx to be
this common limit value. This extension of the function f to the set S ∪ x is uniformly
continuous. The proof will be given in the more extended case that we consider below in Part f.
f. Prove that if f is uniformly continuous on a set S then it is possible to extend f to the closure S of S in
such a way that f is uniformly continuous on S.
For every number x ∈ S ∖ S we define fx by the method described in Part e. To show that the
extension of f to S is uniformly continuous, suppose that > 0. Using the uniform continuity of f
on S we choose δ > 0 such that the inequality
|ft − fx| <
2
holds whenever t and x belong to S and |t − x| < δ. We shall now observe that whenever t and x
belong to S and |t − x| < δ we must have |ft − fx| < . To make this observation, suppose that
t and x belong to S and that |t − x| < δ.
choose a sequence t n in S that converges to t and a sequence x n in S that converges to x.
Since
|t − x| = n→∞
lim|t n − x n |
we know that the inequality |t n − x n | < δ must hold for all n sufficiently large and therefore, since
204
lim|ft n − fx n |
|ft − fx| = n→∞
and since
|ft n − fx n | <
2
for all n sufficiently large we must have
|ft − fx| ≤ < .
2
10. Suppose that f is a continuous function on a bounded set S. rove that the following two conditions are
equivalent:
a. The function f is uniformly continuous on S.
b. It is possible to extend f to a continuous function on the set S.
The fact that condition a implies condition b follows from Exercise 9. On the other hand, if f has a
continuous extension to the set S then, this extension, being a continuous function on a closed
bounded set, must be uniformly continuous; and so f must be uniformly continuous on S.
11. Given that f is a function defined on a set S of real numbers, prove that the following conditions are
equivalent:
a. The function f fails to be uniformly continuous on the set S.
b. There exists a number > 0 and there exist two sequences t n and x n in S such that t n − x n → 0 as
n → ∞ and
|fx n − ft n | ≥
for every n.
At the suggestion of my good friend Sean Ellermeyer this exercise was upgraded to a theorem. I
have left in the exercise. Sometimes I find it interesting to see which of my students recognize that
an item is the same as one they have already seen.
205
|x 3 − 3x − 2| = |x + 1x 2 − x − 2| ≤ 8|x + 1|.
Now suppose that > 0. We define to be the smaller of the two numbers 1 and /8. Then,
whenever |x + 1| < δ we have
|x 3 − 3x − 2| = |x + 1x 2 − x − 2| ≤ 8|x + 1| < 8 = .
8
We conclude that the inequality
|x 3 − 3x − 2| <
holds whenever x ≠ −1 and |x + 1| < δ (and, as a matter of fact, the inequality is also true when
x = −1).
b. 1 → 1 as x → 3.
x 3
We begin with the observation that if x is any nonzero number we have
1 − 1 = |3 − x| .
x 3 3|x|
To keep the denominator of this fraction from becoming too small we need to keep x away from
0. In fact, if |x − 3| < 1 then, since 2 < x < 4 we have
1 − 1 = |3 − x| < |3 − x| .
x 3 3|x| 6
Now suppose that > 0. We define δ to be the smaller of the two numbers 1 and and we
observe that whenever |x − 3| < δ we have
1 − 1 = |3 − x| < |3 − x| < < .
x 3 3|x| 6 6
We conclude that the inequality
1 − 1 <
x 3
holds whenever x ≠ 3 and |x − 3| < δ (and, as a matter of fact, the inequality is also true when
x = 3).
c. x 3 − 8 → 12 as x → 2.
x2+x−6 5
x +x−6
2 5 x − 2x + 3 5
= x 2 + 2x + 4 − 12
x+3 5
x − 25x + 8
=
5x + 3
In order to keep the denominator of this fraction from becoming too small we need to keep x
away from −3 and, in order to keep |5x + 8| from becoming too large we need to keep x from
being too large. In fact, if x ≠ 2 and |x − 2| < 1 we have
x 3 − 8 − 12 = x − 25x + 8 < x − 253 + 8 < |x − 2|.
x2 + x − 6 5 5x + 3 53 + 3
Now suppose that > 0 and define δ to be the smaller of the two numbers 1 and . We see that
whenever x ≠ 2 and |x − 2| < δ we have
x 3 − 8 − 12 < |x − 2| < .
x +x−6
2 5
2. Given that
x if 0 < x < 2
fx =
x 2 if x > 2
206
prove that fx → 1 as x → 1 and that this function f has no limit at the number 2.
Solution: Before we prove that fx → 1 as x → 1 we make the observation that whenever |x − 1| < 1
we have
|x 2 − 1| = |x − 1||x + 1| < 3|x − 1|.
To prove that fx → 1 as x → 1, suppose that > 0. We observe that whenever x ≠ 2 and |x − 1| < /3
then, regardless of whether |fx − 1| = |x − 1| or |fx − 1| = |x 2 − 1| we have
|fx − 1| ≤ 3|x − 1| < 3 = .
3
With this fact in mind we define δ = /3 and we observe that |fx − 1| < whenever x lies in the domain
of f and x ≠ 1 and |x − 1| < δ.
Note that we also have the inequality |fx − 1| < when x = 1 but we do not need this fact.
Now we want to show that the function f has no limit at the number 2. To obtain a contradiction, suppose
that λ is a limit of the function f at 2. The key to the desired contradiction is the fact that when x > 2 we
have fx = x 2 which is close to 4 when x is close to 2 and when x < 2 we have fx = x which is close to 2
when x is close to 2. We shall use this observation to argue that both of the numbers 2 and 4 must lie close
to the limit value λ, in spite of the fact that the distance from 2 to 4 is 2.
Using the fact that 1 > 0 and that λ is a limit of f at 2, we choose a number δ > 0 such that the inequality
|fx − λ| < 1
holds whenever x ≠ 2 and |x − 2| < δ. Choose a number x 1 < 2 and a number x 2 > 2 such that
|x 1 − 2| < δ and |x 2 − 2| < δ. Then
|fx 1 − fx 2 | = |fx 1 − λ + λ − fx 2 |
≤ |fx 1 − λ| + |λ − fx 2 | < 1 + 1 = 2.
On the other hand, fx 1 = x 1 < 2 and fx 2 = x 2 2 > 4 which gives us
|fx 1 − fx 2 | > 2.
We have therefore reached the desired contradiction.
3. Given that
x if x is rational
fx =
x 2 if x is irrational
prove that fx → 1 as x → 1 and prove that this function f has no limit at the number 2.
Solution: This solution is very similar to the solution of Exercise 2 but we have to exercise a
little more care with the inequalities at the end.
Before we prove that fx → 1 as x → 1 we make the observation that whenever |x − 1| < 1 we have
|x 2 − 1| = |x − 1||x + 1| < 3|x − 1|.
To prove that fx → 1 as x → 1, suppose that > 0. We observe that whenever x ≠ 2 and
|x − 1| < /3 then, regardless of whether |fx − 1| = |x − 1| or |fx − 1| = |x 2 − 1| we have
|fx − 1| ≤ 3|x − 1| < 3 = .
3
With this fact in mind we define δ = /3 and we observe that |fx − 1| < whenever x lies in the
domain of f and x ≠ 1 and |x − 1| < δ.
Note that we also have the inequality |fx − 1| < when x = 1 but we do not need this fact.
Now we want to show that the function f has no limit at the number 2. To obtain a contradiction,
suppose that λ is a limit of the function f at 2. The key to the desired contradiction is the fact that
when x is irrational we have fx = x 2 which is close to 4 when x is close to 2, and when x is rational
we have fx = x which is close to 2 when x is close to 2. We shall use this observation to argue
207
that both of the numbers 2 and 4 must lie close to the limit value λ, in spite of the fact that the
distance from 2 to 4 is 2.
Using the fact that 1 > 0 and that λ is a limit of f at 2, we choose a number δ > 0 such that the
inequalities
|fx − λ| < 1
2
2 − 4| < 1
|x
2
|x − 2| < 1
2
all hold whenever x ≠ 2 and |x − 2| < δ. Choose a rational number x 1 and an irrational number x 2
such that |x 1 − 2| < δ and |x 2 − 2| < δ. Then
|fx 1 − fx 2 | = |fx 1 − λ + λ − fx 2 |
≤ |fx 1 − λ| + |λ − fx 2 | < 1 + 1 = 1.
2 2
On the other hand, fx 1 = x 1 and fx 2 = x 2 2 and so
4 − 2 ≤ |4 − fx 2 | + |fx 1 − fx 2 | + |fx 2 − 2| < 1 + 1 + 1 = 3
2 2 2 2
|fx 1 − fx 2 | > 2.
and we have therefore reached the desired contradiction.
4. Given that
fx = x − 9
2
|x − 3|
for every number x ≠ 3, prove that f has no limit at the number 3.
-4 -2 0 2 x 4
-2
-4
-6
x 2 −9
The Graph y = |x−3|
We observe that
−x − 3 if x < 3
fx =
x+3 if x > 3
To obtain a contradiction, suppose that the function f has a limit λ at 3. Choose δ > 0 such that
δ < 1 and such that whenever |x − 3| < δ and x ≠ 3 we have
|fx − λ| < 1.
Choose numbers x 1 and x 2 such that
3 − δ < x 1 < 3 < x 2 < 3 + δ.
We observe that
|fx 1 − fx 2 | ≤ |fx 1 − λ| + |fx 2 − λ| < 1 + 1 = 2.
On the other hand
fx 1 = −x 1 − 3 < −2 − 3 = −5
and
208
fx 2 = x 2 + 3 > 6
and so
|fx 1 − fx 2 | < 6 − −5 > 2.
This is the desired contradiction.
5. Given that S is a set of real numbers, that f : S → R, that α is a real number and that a is a limit point of S,
prove that the following conditions are equivalent:
a. fx → α as x → a.
b. For every number > 0 there exists a number δ > 0 such that the inequality |fx − α| < 3 holds for
every number x in the set S ∖ a that satisfies the inequality |x − a| < δ.
c. For every number > 0 there exists a number δ > 0 such that the inequality |fx − α| < 3 holds for
every number x in the set S ∖ a that satisfies the inequality |x − a| < 5δ.
Solution: We shall provide the proof that condition c implies condition a. Suppose that condition c
holds. To prove that condition a holds, suppose that > 0. Using the fact that the number /3 is positive
we now apply condition c to choose a number δ > 0 such that the inequality
|fx − λ| < 3
3
holds whenever x ∈ S ∖ a and |x − a| < 5δ. We see that |fx − λ| < whenever x ∈ S ∖ a and
|x − a| < δ.
6. Given that S is a set of real numbers, that f : S → R, that α is a real number and that a is a limit point of S,
prove that the following conditions are equivalent:
a. fx → α as x → a.
b. For every number > 0 there exists a neighborhood U of the number a such that the inequality
|fx − α| < holds for every number x in the set U ∩ S ∖ a.
c. For every neighborhood V of the number α there exists a number δ > 0 such that the condition fx ∈ V
holds for every number x in the set S ∖ a that satisfies the inequality |x − a| < δ.
To show that condition a implies condition b we assume that fx → λ as x → a. Suppose that > 0.
From condition a and the fact that the interval λ − , λ + is a neighborhood of λ we deduce that
there exists a neighborhood U of a such that the condition fx ∈ λ − , λ + holds whenever
x ∈ U ∩ S ∖ a.
To show that condition b implies condition a we assume that condition b holds. Suppose that V is a
neighborhood of λ. Choose a number > 0 such that λ − , λ + ⊆ V. Now, using condition b,
choose a neighborhood U of a such that the condition fx ∈ λ − , λ + holds whenever
x ∈ U ∩ S ∖ a. Then, whenever x ∈ U ∩ S ∖ a we have fx ∈ V.
To show that condition a implies condition c we assume that condition a holds. Suppose that V is a
neighborhood of λ and, using condition a, choose a neighborhood U of a such that the condition
fx ∈ V will hold whenever x ∈ U ∩ S ∖ a. Choose δ > 0 such that a − δ, a + δ ⊆ U. We observe
that whenever x ∈ S ∖ a and |x − a| < δ, we must have x ∈ U ∩ S ∖ a and so fx ∈ V.
To show that condition c implies condition a we assume that condition c holds. Suppose that V is a
neighborhood of λ. Using condition c we choose a number δ > 0 such that the condition fx ∈ V
will hold whenever x ∈ S ∩ a − δ, a + δ ∖ a. Since the interval a − δ, a + δ is a neighborhood of
a, condition a must hold.
7. Given that S is a subset of a metric space X, that f is a function from X into a metric space Y, that α ∈ Y and
that a is an interior point of S, prove that the following conditions are equivalent:
a. fx → α as x → a.
b. For every number > 0 there exists a number δ > 0 such that the inequality dfx, α < will hold for
every point x ∈ X ∖ a that satisfies the inequality dx, a < δ.
209
The only way in which condition b differs from the , δ form of the assertion that fx → λ as x → a is
that it requires that dfx, α < for all points x within a distance δ of a and unequal to a. It does not
merely assert that dfx, α < when x is a member of the set S unequal to a and within a distance
δ of a.
It is obvious that condition b implies condition a. To show that condition a implies condition b we
assume that fx → λ as x → a. Suppose that > 0. Choose a number δ 1 > 0 such that the
condition dfx, α < will hold whenever x ∈ S ∩ Ba, δ 1 ∖ a. Now, using the fact that a is an
interior point of S, choose a number δ 2 > 0 such that Ba, δ 2 ⊆ S. We define δ to be the smaller of
the two numbers δ 1 and δ 2 and we observe that the inequality dfx, α < will hold for every point
x that satisfies the inequality da, x < δ.
8. Suppose that S is a set of real numbers, that a is a limit point of S, that f : S → R and that α is a real number.
Complete the following sentence: The function f fails to have a limit of α at the number a when there exists a
neighborhood V of α such that ......
The function f fails to have a limit of λ at the number a when there exists a number > 0 such that
for every number δ > 0 there is at least one number x in the set S ∩ a − δ, a + δ ∖ a for which
|fx − λ| ≥ .
9. Prove that
1 − x + xy
→ 1
1 + x 2 + xy + y 2 4
as x, y → 1, 2.
We begin with the observation that if u = x − 1 and v = y − 2 then
1 − x + xy 1 − u + 1 + u + 1v + 2
− 1 = − 1
1 + x 2 + xy + y 2 4 1 + u + 1 2 + u + 1v + 2 + v + 2 2 4
= 1 u 2 + v 2 + v − 3uv .
4 8 + u 2 + 4u + uv + 5v + v 2
In the event that |x − 2| < 12 and |y − 2| < 12 we see that
|8 + u 2 + 4u + uv + 5v + v 2 | ≥ 8 + u 2 + v 2 − 4 1 − 1 1 −5 1 ≥ 3
2 2 2 2
and so
1 u 2 + v 2 + v − 3uv |u 2 + v 2 + v − 3uv|
≤ .
4 8 + u 2 + 4u + uv + 5v + v 2 12
Suppose that > 0 and define δ to be the smaller of the two numbers 12 and . Then whenever
x, y ≠ 1, 2 and ‖x, y − 1, 2‖ < δ, defining, u = x − 1 and v = y − 2, we have
1 − x + xy |u 2 + v 2 + v − 3uv|
− 1 ≤ < 6 < .
1 + x + xy + y
2 2 4 12 12
10. In each of the following cases, determine whether or not the function f has a limit at 0, 0. Use
Scientific Notebook to view the graph of the function f in each case.
a. For each point x, y ≠ 0, 0 we define
x2y
fx, y = .
x2+ y2
210
2
-2
y
2 -4
-2
x
4
4
Since
x2 ≤1
x2 + y2
whenever x, y ≠ 0, 0 we have |fx, y| ≤ |y| whenever x, y ≠ 0, 0. Now we can show that
fx, y → 0 as x, y → 0, 0. Suppose that > 0. We define δ = and observe that, whenever
x, y ≠ 0, 0 and ‖x, y − 0, 0‖ < δ we have |fx, y| < .
b. For each point x, y ≠ 0, 0 we define
x2y
fx, y = .
x4+ y2
0.5
0
-0.5
4
2 y0
0x
2
4
Whenever y ≠ 0 we have f0, y = 0 and so, if f has a limit at 0, 0 then this limit is 0. Note also
that if x ≠ 0 then fx, 0 = 0 which again suggests that, if there is a limit, then the limit is 0.
However, whenever x ≠ 0 we have
fx, x 2 = x2x2 = 1
x + x 2 2
4 2
and so,if there is a limit, then the limit must be 12 . Therefore f has no limit at the point 0, 0.
The figure illustrates how the function values remain at 12 as x, y → 0, 0 along the parabola
y = x2.
c. For each point x, y ≠ 0, 0 we define
x4y4
fx, y = .
x6+ y6
211
12
10
8
6
4
2
0
-5
y 0
5 x0 -4
4 2
6
4
2
0
-2
-4
-6
0
y -2 -4
4 2 x
5
Since
xy
≤ 1
x2 + y2 2
whenever x, y ≠ 0, 0 we have
|x 2 − y 2 | x2 + y2
|fx, y| ≤ ≤ .
2 2
Now we can show that fx, y → 0 as x, y → 0, 0. Suppose that > 0. We define δ to be the
smaller of the numbers 1 and . Whenever x, y ≠ 0, 0 and ‖x, y‖ < we have |fx, y| < .
e. For each point x, y ≠ 0, 0 we define
xyx 2 − y 2
fx, y = 3/2
.
x 2 + y 2
212
1
0.5
0
-0.5
-1
-2 -4
0y -2
x
0
2 2
4 4
Since
xy
≤ 1
x2 + y2 2
whenever x, y ≠ 0, 0 we have
|x 2 − y 2 | x2 + y2
|fx, y| ≤ 1 ≤
2 x2 + y2 2
Now we can show that fx, y → 0 as x, y → 0, 0. Suppose that > 0. We define δ = .
Whenever x, y ≠ 0, 0 and ‖x, y‖ < we have |fx, y| < .
f. For each point x, y ≠ 0, 0 we define
xyx 2 − y 2
fx, y = 2
.
x 2 + y 2
0.2
0.1
0
-0.1
-0.2
y0
-4
4 2 x
4
Whenever x ≠ 0 we have fx, 0 = 0. Therefore, if f has a limit at 0, 0 then the limit is zero.
However, if x ≠ 0 then
x2
x x
x2 −
f x, x = 2 4
= 6 .
2 x2 2 25
x2 + 4
Therefore if f has a limit at 0, 0 then the limit must be 6
25
and we conclude that f has no limit at
0, 0.
g. For each point x, y ≠ 0, 0 we define
x 2 y 2 x 2 − y 2
fx, y = 2
.
x 2 + y 2
213
3
2
1
0
-1
-2
-3
-5
y
-2 -4
5 4 2 x
-1
-4 -4
-2 -2
0y x0
2 2
4 4
214
0.5
-0.5
0
y -2 -4
x
5 4
215
dft 1 , ft 2 ≤ dft 1 , λ + dλ, ft 2 < + = .
4 4 2
This is the desired contradiction.
2. Given that
fx = 1
|x − 3|
for all numbers x ≠ 3, explain why f has a limit (an infinite limit) at 3.
We need to show that fx → ∞ as x → 3. Suppose that w is a real number. Given x ≠ 3, the
inequality fx > w says that
1 > w.
|x − 3|
We can’t simply turn these expressions over because w need not be positive but we can make the
observation that the inequality
1 >w
|x − 3|
will certainly hold when
1 > |w| + 1
|x − 3|
which says that
|x − 3| < 1 .
|w| + 1
We therefore define δ = |w|+11
and observe that the condition fx > w will hold whenever x ≠ 3 and
|x − 3| < δ.
3. Given that
fx = 1
x−3
for all numbers x ≠ 3, explain why f has an infinite limit from the left at 3 and also has an infinite limit from
the right at 3 but does not have a limit at 3.
The reason f has no two-sided limit at 3 is that the limits of f at 3 from the left and from the right are
not equal to each other. In fact, the limit from the right is ∞ and the limit from the left is −∞.
To see why the fx → ∞ as x → 3 +, suppose that w is any real number. Given x > 3, the inequality
fx > w says that
1 > w.
x−3
We can’t simply turn these expressions over because w need not be positive but we can make the
observation that the inequality
216
1 >w
x−3
will certainly hold when
1 > |w| + 1
x−3
which says that
x−3 < 1 .
|w| + 1
We therefore define δ = |w|+1
1
and observe that the condition fx > w will hold whenever
3 < x < 3+δ.
To see why the fx → −∞ as x → 3 −, suppose that w is any real number. Given x < 3, the inequality
fx < w says that
1 <w
x−3
which we can express as
1 > −w
3−x
We can’t simply turn these expressions over because −w need not be positive but we can make the
observation that the inequality
1 > −w
3−x
will certainly hold when
1 > |w| + 1
x−3
which says that
3−x < 1 .
|w| + 1
We therefore define δ = |w|+1
1
and observe that the condition fx < w will hold whenever
3 − δ < x < 3.
4. Prove that
x3 − 8 → ∞
x2 + x − 6
as x → ∞.
We begin by observing that x 2 + x − 6 > 0 whenever x > 2. Given any number x > 2 we have
x 3 − 8 = x 2 + 2x + 4 > x 2 = x.
x2 + x − 6 x+3 x
Now suppose that w is any real number and define v to be the larger of the two numbers 2 and w.
The inequality
x3 − 8 > w
x +x−6
2
217
w− 5
3
and observe that the inequality
x 4 − 4x 3 − x 2 + x + 7 > w
x 3 − 2x 2 − 2x − 3
will hold whenever x > v.
6. Prove that
3x 2 + x − 1 → 3
5x 2 + 4 5
as x → ∞.
Given any number x we have
3x 2 + x − 1 − 3 |5x − 17|
= .
5x 2 + 4 5 55x 2 + 4
Whenever x > 17
5
we observe that
3x 2 + x − 1 − 3 |5x − 17|
=
5x 2 + 4 5 55x 2 + 4
= 5x − 17 < 5x = 1 .
55x 2 + 4 25x 2 5x
Now suppose that > 0. As long as x > 17
5
, the inequality
+x−1 − 3 <
3x 2
5x 2 + 4 5
1
will hold whenever 5x < which says that x > 51 . We define v to be the larger of the two numbers
17
5
and 51 and oberve that the inequality
3x 2 + x − 1 − 3 <
5x 2 + 4 5
holds whenever x > v.
7. Given that
1 if x is rational
fx =
0 if x is irrational
explain why f does not have a limit from the right at 2.
Solution: To obtain a contradiction, suppose that λ is a limit of the function f from the right at 2.
Using the fact that 1/2 > 0 we choose a number δ > 0 such that the inequality
|fx − λ| < 1
2
will hold for every number x ∈ 2, 2 + δ. Choose a rational number x and an irrational number t in the
interval x, x + δ. Then
1 = |fx − ft| ≤ |fx − λ| + |λ − ft| < 1 + 1 = 1
2 2
and we have reached the desired contradiction.
8. Suppose that a is an interior point of a set S of real numbers and that f : S → R. Suppose that fx → 0 as
x → a − and that fx → 1 as x → a +. Prove that the function f does not have a limit at the number a.
Since x must be a limit point of each of the sets −∞, a ∩ S and S ∩ a, ∞, the desired result follows
at once from Theorem 8.3.2.
218
x2y
if x, y ≠ 0, 0
fx, y = x 2 +y 2 .
0 if x, y = 0, 0
-2
-4
-2 x0
0y 2
4 4
Since |fx, y| ≤ |y| for each point x, y we see that fx, y → 0 as x, y → 0, 0 and so f is
continuous at 0, 0.
b. We define
x2y
if x, y ≠ 0, 0
fx, y = x 4 +y 2 .
0 if x, y = 0, 0
-4
0.5
x
0
2
-0.5
-4 4
y 2 4
We saw in an earlier exercise that the function f has no limit at 0, 0 and therefore f can’t be
continuous at 0, 0.
c. We define
x4y4
if x, y ≠ 0, 0
fx, y = x 6 +y 6 .
0 if x, y = 0, 0
12
10
8
6
4
2
0
-5
5 x0 -4
4 2
219
|x 3 y 3 | |xy|
|fx, y| = |xy| ≤ .
x6 + y6 2
The continuity of the function f at 0, 0 now follows simply from the sandwich theorem.
2. Given that X is a metric space, that a ∈ X and that
fx = da, x
for every point x ∈ X, prove that the function f is continuous on X.
Hint: First make the observation that whenever x and u belong to the space X we have
|fx − fu| ≤ dx, u.
This inequality has come up several times already. To show that f is continuous at a given point
x ∈ X, suppose that > 0. We define δ = and observe that whenever u ∈ Bx, δ we have
dfx, fu ≤ dx, u < .
3. Suppose that f and g are functions from a metric space X into a metric space Y and that the inequality
dft, fx ≤ dgt, gx
holds for all numbers t and x in S. Prove that f must be continuous at every point at which the function g is
continuous.
Suppose that x ∈ X and that g is continuous at x. To show that f is continuous at x, suppose that
> 0. Choose δ > 0 such that, whenever t ∈ Bx, δ we have
dgt, gx < .
Then, for every t ∈ Bx, δ we have
dft, fx < .
4. Prove that if f is a continuous function from a metric space X into R k then the function ‖f‖ is continuous from
X into R.
Since
|‖ft‖ − ‖fx‖| ≤ ‖ft − fx‖
whenever t and x belong to the space X, the continuity of ‖f‖ follows from Exercise 4.
5. Give an example of a continuous function f from a metric space X to a metric space Y and a closed subset H of
X such that set fH fails to be closed in Y.
We take X = R and Y = 0, 1 and we define
fx = 1
1 + x2
for every x ∈ R. We see that fR = 0, 1 which is not closed in Y.
6. Give an example of a continuous function f from a metric space X to a metric space Y and an open subset U of
X such that set fU fails to be open in Y.
We take X = 0, 1 ∪ 2, 3 and we define
x if 0 ≤ x ≤ 1
fx =
x − 1 if 2 ≤ x ≤ 3.
This function f is continuous from X to the metric space 0, 2 and, even though 0, 1 is an open
subset of X, the set f0, 1 fails to be open in the space 0, 2.
Of course we could have taken a discrete space for X. A challenge question would be to ask
whether the student can come up with an example in which the space X is connected. In fact, if
X = 0, 1 then X is connected and, if we define
fx = x, 0
for all x ∈ X, then f fails to send open sets to open subsets of R 2 .
7. Suppose that X is a metric space, that k is a positive integer and that f j : X → R for each j = 1, 2, ⋯, k.
220
Suppose that
fx = f 1 x, f 2 x, ⋯, f k x
for every point x ∈ X. Prove that the function f is continuous on X if and only if each of the functions f j is
continuous on X.
This exercise follows almost at once from the corresponding fact about limits.
8. Suppose that a and b are real numbers, that a < b and that f is a function from the metric space a, b to a
metric space Y. Prove that the following conditions are equivalent:
a. The function f is continuous at the number a.
b. For every number > 0 there exists a number δ > 0 such that for every number x in the interval a, b
that satisfies the inequality x − a < δ we have dfx, fa < .
This exercise is obvious because of the fact that |x − a| = x − a whenever x ∈ a, b. You can
convert this exercise into one that is a shade more interesting by removing the words “in the
interval” from condition b and replace them by the condition x > a. This change would require a
slightly more careful choice of δ to ensure that it does not exceed b − a so that any number
x > a that lies within a distance δ of a would automatically belong to the interval a, b.
9. Prove that if a metric space X has no limit point and f is a function from X to a metric space Y then f must be
continuous on X.
This result follows at once from the fact that a function is always continuous at a point in its domain
if that point is not a limit point of the domain.
10. Suppose that f is a continuous function from a closed subset H of a metric space X into a metric space Y and
suppose that x n is a convergent sequence in the set H. Prove that the sequence fx n is convergent in the
space Y. Is this conclusion still valid if we don’t assume that H is closed?
Solution: Suppose that f is continuous on a closed set H and that x n is a convergent sequence in H.
We define
x = n→∞
lim x n .
Since H is closed we must have x ∈ H and therefore f is continuous at the number x. Therefore the fact
that x n → x as n → ∞ guarantees that fx n → fx as n → ∞.
To see why the assertion does not remain true without the assumption that H be closed we look at the
example in which
H= 1 n ∣n∈Z
+
and we define
0 if n is even
f 1
n =
1 if n is odd
Since no member of the set H is a limit point of H we know that f is continuous at every member of H.
However, in spite of the fact that the sequence 1/n converges (to 0) in the metric space R, the sequence
f1/n fails to converge.
Actually, much more can be proved: If H is any subset of a metric space X and H fails to be closed then
there exists a convergent sequence x n in H and a continuous function f on H such that the sequence
fx n fails to converge. This stronger assertion is harder to prove and we omit the proof at this point.
This stronger assertion will be clear after we have studied the distance function of a set in Section 8.10.
11. Is it true that if f is a continuous function from a metric space X to a metric space Y and if x n is a Cauchy
sequence in X then the sequence fx n is a Cauchy sequence in the space Y?
No. This statement is false. Define fx = 1/x for every number x ∈ 0, 1 and look at the sequence
1/n in the space 0, 1.
12. Suppose that f is a continuous function from an open subset S of a metric space X into a metric space Y and
that x ∈ S. Prove that for every number > 0 there exists a number δ > 0 such that for every t ∈ Bx, δ we
221
have dft, fx < . Is this conclusion still valid if we don’t assume that S is open?
Suppose that > 0. Using the fact that f is continuous at the point x of the metric space S, choose
δ 1 > 0 such that the inequality dft, fx < will hold whenever t ∈ S and dt, x < δ 1 . Using the
fact that S is open in X, choose δ 2 > 0 such that Bx, δ 2 ⊆ X. Define δ to be the smaller of the two
numbers δ 1 and δ 2 .
No, this statement is not true if S fails to be open in X because it may happen that no ball Bx, δ
can be included in S; in which case, no assertion can be made about ft for every t ∈ Bx, δ.
13. Given that f is a function from a metric space X into a metric space Y, prove that f is continuous on X if and
only if for every subset S of X we have
fS ⊆ fS
Solution: Suppose that f is continuous from X to Y and that S ⊆ X. Since the set fS is a closed
subset of the space Y we know that the set f −1 fS is closed in the space X. Therefore since
S ⊆ f −1 fS
we have
S ⊆ f −1 fS
and we conclude that
fS ⊆ fS
Now we prove the “if” part of the exercise. Suppose that the inequality
fS ⊆ fS
holds for every subset S of X. To prove that f is continuous, suppose that H is a closed subset of the space
Y. We shall show that the set f −1 H is closed in X. Now
f f −1 H ⊆ ff −1 H ⊆ H = H
and therefore
f −1 H ⊆ f −1 H
and we have shown that f −1 H is closed in X.
14. Given that
ft = cos t, sin t
for each number t in the metric space 0, 2π explain why, although f is a continuous one-one function from
the metric space 0, 2π onto the metric space
Y = x, y ∈ R ∣ x 2 + y 2 = 1,
the inverse function f −1 fails to be continuous from Y to 0, 2π.
The function f −1 fails to be continuous at the point 1, 0. To see why, suppose that δ > 0. Using the
fact that
limcos t, sin t = 1, 0,
t→0
choose a number t between 0 and 1 such that
‖cos t, sin t − 1, 0‖ < δ.
Using the fact that
lim cos t, sin t = 1, 0,
t→2π
choose a number s between 2π − 1 and 2π such that
‖cos s, sin s − 1, 0‖ < δ.
We observe that
|f −1 t − f −1 s| > 2π − 2.
Therefore the function f −1 can’t have a limit at the point 1, 0.
222
cos t, sint
1, 0
coss, sins
15. Suppose that f and g are functions from a metric space X to R and that f is continuous at a given point a at
which the function g fails to be continuous.
a. What can we say about the continuity of the function f + g at the point a?
Were the function f + g to be continuous at a, it would follow from the fact that
g = f + g − f
that g is continuous at a. Therefore f + g cannot be continuous at a.
b. What can we say about the continuity of the function fg at the point a?
If fa ≠ 0 then, since the equation
fxgx
gx =
fx
would hold for every number x sufficiently close to a, we could use an argument like the one we
used in Part a to deduce that the function fg cannot be continuous at a.
However, execise 2 shows us to functions, one continuous at 0 and the other discontinuous at
0 whose product is continuous at 0.
c. What can we say about the continuity of the function fg at the point a if fa = 0 and g is a bounded
function?
Choose a number p such that |gx| < p for each x ∈ S. Whenever x ∈ S we have
|fxgx − faga| = |fxgx| ≤ p|fx|
and we can now use this inequality to prove that fg must be continuous at a.
Suppose that > 0. Using the fact that f is continuous at w and the fact that /p > 0 we choose
a number δ > 0 such that the condition |fx| < p whenever x ∈ S ∩ a − δ, a + δ. Then,
whenever x ∈ Ba, δ we have
|fxgx − faga| ≤ p|fx| < p p = .
17.
a. Given that f is a continuous function from a closed subset H of R into R and that a ∈ H, prove that the
set
223
E = x ∈ H ∣ fx = fa
is closed.
Solution: Suppose that x n is any convergent sequence in the set E. We shall show that the limit of
this sequence, that we shall call x, must also belong to E. Since the set H is closed we know that x ∈ H and
therefore we know that f is continuous at the number x. Therefore
lim fx n = n→∞
fx = n→∞ lim fa = fa
and so x ∈ E as we promised.
b. Given that f and g are continuous functions from a metric space X to a metric space Y and that
E = x ∈ X ∣ fx = gx
prove that the set E must be closed in X.
This exercise is very similar to part a. Suppose that x n is any convergent sequence in the set
E. We shall show that the limit of this sequence, that we shall call x, must also belong to E. We
now observe that
lim fx n = n→∞
fx = n→∞ lim gx n = gx
and so x ∈ E as we promised.
18.
a. Given that f and g are continuous functions from R to R and that fx = gx for every rational number x,
prove that f = g.
The set of numbers x for which fx = gx is closed and includes the set Q of rational numbers.
Therefore this set is all of R.
224
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every rational number x.
Solution: By the preceding exercise we know that the equation fx = x holds whenever x is an
integer. We shall now show that if x is any real number and n is a positive integer then fnx = nfx.
Once again, you can use the method of proof by mathematical induction if you are familiar with it but
we shall use the method of proof by contradiction.
Suppose that x is any real number and, to obtain a contradiction, suppose that there are positive
integers n for which the equation fnx = nfx fails to hold. We define k to the least of these integers.
Since we know that the equation fnx = nfx holds when n = 1, we know that k > 1. Therefore k − 1
is a positive integer less than k and so
fkx = fk − 1x + x = fk − 1x + fx = k − 1x + x = kx
which contradicts the way in which k was chosen.
To complete the exercise, suppose that x is any rational number and choose integers m and n such
that n > 0 and x = m/n. We see that
fx = 1 1 1
n nfx = n fnx = n fm = n .
m
e. Given that f is a continuous function from R to R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every real number x.
In view of the fact that fx = x for every rational number x (by part d), the desired result follows
at once from Exercise 17b.
f. Given that f is an increasing function from R to R, that f1 = 1 and that the equation
fx + t = fx + ft
holds for all rational numbers x and t, prove that fx = x for every real number x.
Solution: Suppose that x is any real number and choose two sequences a n and b n of rational
numbers such that
an ≤ x ≤ bn
for each n and
lim a
n→∞ n
= n→∞
lim b n = x.
Since the function f is increasing we know that for each n we have
a n = fa n ≤ fx ≤ fb n ≤ b n
and so it follows from the sandwich theorem for limits that fx = x.
19. Given that f : R → R and that for all numbers x and t we have
|fx − ft| ≤ |x − t| 2 ,
prove that the function f must be constant. Note that although this exercise is quite difficult right now, it will
become considerably easier after we have studied the concept of a derivative.
I am resisting the urge to write a direct solution of this exercise. Those students who wish to
attempt it now will probably want to be left alone. All others can wait until after the mean value
theorem when the fact that f is constant will follow at once from the obvious fact that f ′ x = 0 for
every number x.
225
ρ A x − ρ B x < 0
whenever x ∈ A and
ρ A x − ρ B x > 0
whenever x ∈ B.
We know that if x ∈ A then ρ A x = 0, and that, since x does not belong to B, we have ρ B x > 0.
Therefore the inequality
ρ A x − ρ B x < 0
holds whenever x ∈ A and the same kind of argument shows that
ρ A x − ρ B x > 0
whenever x ∈ B.
2. Prove that if two sets A and B are separated from each other then there exist two open sets U and V that are
disjoint from each other such that A ⊆ U and B ⊆ V.
Solution: Suppose that A and B are subsets of a metric space X and that A and B are separated from
each other. Define
U = x ∈ X ∣ ρ A x − ρ B x < 0
and
V = x ∈ X ∣ ρ A x − ρ B x > 0
3. Given two subsets A and B of a metric space X, prove that the following conditions are equivalent:
a. We have
A ∩ B = ∅.
The fact that condition a implies condition b is just Urysohn’s lemma. Now suppose that condition b
holds and choose a continuous function f : R →0, 1 such that
0 if x ∈ A
fx =
1 if x ∈ B.
Since
A ⊆ x ∈ X ∣ fx = 0
and since the set x ∈ X ∣ fx = 0 is closed, we have
A ⊆ x ∈ X ∣ fx = 0.
In the same way,
B ⊆ x ∈ X ∣ fx = 1
and therefore A ∩ B = ∅.
4. Suppose that A, B and C are closed subsets of a metric space X, and that no two of these three sets intersect.
Prove that there exists a continuous function f : X → R such that
1 if x ∈ A
fx = 2 if x ∈ B .
3 if x ∈ C
226
Define
ρ ρ 2ρ ρ
f = 1 + ρ ρA +Cρ + ρ ρ A + Bρ .
A C B A B C
5. Suppose that S is a subset of a metric space and that S fails to be closed. Prove that there exists a convergent
sequence x n in S and a continuous function f from S to R such that the sequence fx n fails to converge.
227
|x − a| < 1
q
holds. Therefore there are members x in H for which fx > q and we have shown that f fails to be
bounded above.
7. Is it true that if every continuous function from a given metric space X to 0, ∞ has a minimum then X must
be compact?
Yes, it’s true. The theorems of this section tell us that if a metric space X is not compact then there
exists a continuous unbounded real function on X. For any such function f, the function
g= 1
1 + f2
is continuous (and bounded) on X and has no minimum.
8. Is it true that if X is a complete metric space and f is a continuous function from X onto a metric space Y then
Y must also be complete?
The answer is no. Define
fx = 1x
for every number x in the complete metric space 1, ∞. The range of f is the metric space 0, 1,
which is not complete.
9. Is it true that if X is a totally bounded metric space and f is a continuous function from X onto a metric space
Y, then Y must also be totally bounded?
Of course not. We have seen continuous functions on totally bounded spaces such as 0, 1 whose
ranges are not bounded.
10. Give an example of a metric space X and two closed subsets H and K of X such that H ∩ K = ∅ in spite of the
fact that
inf dx, y ∣ x ∈ H and y ∈ K = 0.
Take X = R and
H = n ∈ Z + ∣ n ≥ 2
and
K= n+ 1 +
n ∈Z ∣n≥2
For another example, take X = R 2 and
H= x, 1x ∣x≥1
and
K= x, − 1x ∣x≥1
11. Suppose that X is a metric space, that H and K are closed subsets of X and are disjoint from each other and
that the subspace K of X is compact. Prove that
inf dx, y ∣ x ∈ H and y ∈ K > 0.
The function ρ H is continuous on the compact space K and therefore has a mininimum. Since
ρ H y > 0 for every y ∈ K there must be a positive number δ such that ρ H y ≥ δ for every y ∈ H.
228
For such a number δ we must have dx, y ≥ δ for all x ∈ H and all y ∈ K.
12. a. Suppose that S is a compact subspace of a metric space X and that f is a continuous function from X to
R. Suppose that c is a point of the set S, that fc = 1 and that fx > 1 for all x ∈ X ∖ S. Prove that the
function f has a minimum.
On the compact space S, the function f must have a minimum. Since fc = 1 we know that the
minimum value of f on S cannot exceed 1. Since fx > 1 whenever x ∈ X ∖ S, we conclude that
the minimum value of f on the subspace S is the minimum value of f on the whole space X.
b. Prove that if f is a quartic polynomial of the form
fx = x 4 + ax 3 + bx 2 + cx + d
for every number x then the function f must have a minimum.
Since
fx = x 4 1 + ax + b2 + c3 + d4
x x x
for all x ≠ 0, it is clear that fx → ∞ as n → ∞. Using this fact we choose a number p > 0 such
that fx > d whenever |x| > p.
−p 0 p
The minimum value that f has on the interval −p, p is the minimum of f on the entire line R.
Hint: Once you have shown that f is strictly increasing and continuous on S, the fact that S is an
interval if and only if fS is an interval will follow from the Bolzano intermediate value theorem and
this theorem.
2. Prove that there are three real numbers x satisfying the equation
x 3 − 4x − 2 = 0.
Solution: First look at a sketch of the graph y = x 3 − 4x − 2
4
-2 -1 1 x 2
0
-2
-4
We now define fx = x 3 − 4x − 2 for every real number x and observe that f−2 < 0 and f−1 > 0.
Therefore Bolzano’s intermediate theorem guarantees that the equation x 3 − 4x − 2 = 0 has a solution
between −2 and −1. Since f−1 > 0 and f0 < 0 we know that there is a solution of the equation between
−1 and 0. Finally, from the fact that f0 < 0 and f3 > 0 we know that there is a solution of the equation
between 0 and 3.
3. Is it true that if a set S of real numbers is not an interval then there must exist a one-one continuous function
on S whose inverse function fails to be continuous?
Not at all. In fact, we know that if S is closed and bounded then every one-one continuous function
S must have a continuous inverse function. Look also at the case in which S is the union of two
open intervals that do not intersect with each other. If f is a one-one continuous function on S then
229
the range of f is also the union of two open intervals that do not intersect with each other and the
inverse function of f will be continuous.
4. Is it true that if a set S of real numbers is not an interval and is not closed then there must exist a one-one
continuous function on S whose inverse function fails to be continuous?
Hint: Look at the case in which S is the union of two mutually disjoint open intervals.
See the remarks about Exercise 3.
5. Is it true that if a set S of real numbers is not an interval and is not bounded then there must exist a one-one
continuous function on S whose inverse function fails to be continuous?
Again the answer is no. The remarks about Exercise 3 are not confined to bounded intervals.
6. Prove that if f is a continuous function from the interval 0, 1 into 0, 1 then there must be at least one
number x ∈ 0, 1 such that fx = x. This assertion is the one-dimensional form of the Brouwer fixed point
theorem.
3. Given that fx = sinx 2 for all real numbers x, prove that f is not uniformly continuous on the set R.
230
1
0.5
0 2 4 6 8 10
x
-0.5
-1
We define
xn = 2nπ + π
2
and
t n = 2nπ
for every positive integer n. Since fx n = 1 and ft n = 0 for every n we know that fx n − ft n does
not approach 0 as n → ∞. Now
x n − t n = 2nπ + π − 2nπ
2
π π
2nπ + 2
− 2nπ 2nπ + 2
+ 2nπ
=
π
2nπ + 2
+ 2nπ
π
= 2
→0
π
2nπ + 2
+ 2nπ
as n → ∞ and so it follows from the relationship between limits of sequences and uniform continuity
that the function f fails to be uniformly continuous.
4. Ask Scientific Notebook to make some 2D plots of the function f defined by the equation
fx = sinx log x
for x > 0. Plot the function on each of the intervals 0, 50, 50, 100, 100, 150 and 150, 200. Revise your
plot and increase its sample size if it appears to contain errors. Why do these graphs suggest that f fails to be
unformly continuous on the interval 0, ∞? Prove that this function does, indeed, fail to be uniformly
continuous.
Solution: To prove that f fails to be uniformly continuous we shall show that for every number δ > 0
there exist two positive numbers a and b such that |a − b| < δ and |fa − fb| ≥ 1. We begin by choosing
a number p such that whenever x ≥ p we have
log x > π .
2δ
Now choose a positive integer n such that
p log p < nπ.
Since x log x > nπ for x sufficiently large x, we can use the Bolzano intermediate value theorem to choose
a number a > p such that a log a = nπ. Now since
a + δ loga + δ = a loga + δ + δ loga + δ
> a log a + δ π = nπ + π
2δ 2
we can use the Bolzano intermediate value theorem again to choose a number b ∈ a, a + δ such that
b log b = nπ + π .
2
We now observe that
231
|fa − fb| = sin nπ − sin nπ + π =1
2
and so the proof is complete.
5. a. A function f from a metric space X to a metric space Y is said to be Lipschitzian on a set S if there exists
a number k such that the inequality
dft, fx ≤ kdt, x
holds for all points t and x in S. Prove that every lipschitzian function is uniformly continuous.
Suppose that f is a function from a metric space X to a metric space Y, that k is a positive
number and that the inequality
dft, fx ≤ kdt, x
holds for all points t and x in the space X. Suppose that > 0. We define δ = /k and observe
that, whenever t and x belong to X and dt, x < δ we have
dft, fx ≤ kdt, x < k = .
k
b. Given that fx = x for all x ∈ 0, 1 prove that f is uniformly continuous but not lipschitzian on 0, 1.
Solution: The fact that f is uniformly continuous on the closed bounded set 0, 1 follows at once
from the fact that f is continuous there. Now, to prove that f fails to be Lipschitzian, suppose that k is
any positive number. Given x ∈ 0, 1 we see that
|fx − f0|
= 1
|x − 0| x
and this exceeds k whenever x < 1/k 2 .
6. a. Prove that if f is a uniformly continuous function from a totally bounded metric space X onto a metric
space Y then Y is also totally bounded.
We suppose that f is a uniformly continuous function from a totally bounded metric space X
onto a metric space Y. To show that Y is totally bounded, suppose that > 0. Choose δ > 0
such that whenever t and x belong to X and dx, t < δ we have dfx, ft < . Using the fact
that X is totally bounded, choose finitely many points x 1 , x 2 , ⋯, x n in the space X such that
n
X= ⋃ Bx j , δ.
j=1
Suppose that y ∈ Y. Using the fact that the function f is onto the space Y, we choose a member
x of X such that y = fx. Choose j such that x ∈ Bx j , δ. We see that y ∈ Bfx j , .
b. Give an example of a uniformly continuous function from a bounded metric space onto an unbounded
metric space.
If X is the discrete space in which
0 if x = y
dx, y =
1 if x ≠ y
then every function from X to another metric space is continuous.
c. Prove that if a function f is uniformly continuous on a bounded subset S of R k into a metric space Y then
the range of f is a bounded subset of Y.
We know that whenever S is a bounded subset of R k , the subspace S is totally bounded.
d. Give a quick proof that if fx = 1/x for all x ∈ 0, 1 then f fails to be uniformly continuous on the
interval 0, 1.
232
Had this function been uniformly continuous then its range would have had to be bounded. But
its range is 0, ∞.
7. Suppose that f is a uniformly continuous function from a subset S of a metric space X into a metric space Y.
a. Prove that if x n is a Cauchy sequence in the set S then the sequence fx n is a Cauchy sequence in the
space Y.
Suppose that x n is a Cauchy sequence in the set S, and, to show that fx n is a Cauchy
sequence in the space Y, suppose that > 0. Using the fact that f is uniformly continuous on S,
choose δ > 0 such that whenever t and x belong to S and dt, x < δ, we have dft, fx < .
Using the fact that x n is a Cauchy sequence, choose an integer N such that, whenever m ≥ N
and n ≥ N, we have dx m , x n < δ. Then, whenever m ≥ N and n ≥ N, we have
dfx m , fx n < .
b. Prove that if the space Y is complete then whenever a sequence x n in the set S converges to a point
x ∈ X the sequence fx n converges in the space Y.
We assume that Y is complete and that x n is a sequence in S that converges to a point x of X.
Note that we cannot simply claim that fx n → fx because we have not said that the point x
must belong to the set S. However, the sequence x n must be a Cauchy sequence and
therefore, by part a, the sequence fx n must be a Cauchy sequence in Y, and must therefore
converge in Y because Y is complete.
c. Prove that if x ∈ S and if x n and t n are two sequences in the set S both of which converge to x and if
the space Y is complete then
lim fx n = n→∞
n→∞
lim ft n .
We assume that x n and t n are sequences in the set S and that both of these sequences
converge to x. We now consider the sequence x 1 , t 1 , x 2 , t 2 , ⋯. More precisely, we define
t n/2 if n is even
un =
x n+1/2 if n is odd.
Since the sequence u n also converges to x, it is also a Cauchy sequence. Therefore the
sequence fu n is convergent in the space Y. Since both lim n→∞ fx n and lim n→∞ ft n are
partial limits of the sequence fu n we deduce that
lim fx n = n→∞
n→∞
lim ft n = n→∞
lim fu n .
d. Given that Y is complete and that x ∈ S ∖ S, explain how we can use Part c to extend the definition of the
function f to the point x in such a way that the extension is continuous on the set S ∪ x.
The continuity of f at the point x is really very simple. If y n is any sequence in the set S ∪ x
converging to x then it is clear that fy n → fx. This part of the exercise also follows at once
from part e that we shall prove below.
e. Prove that if Y is complete then there exists a uniformly continuous function g from the set S into Y such
that gx = fx for every point x ∈ S.
For each point x ∈ S ∖ S we define fx by choosing a sequence x n in S that converges to x
and defining
fx = n→∞
lim fx n .
We shall now show that this extension of the function f to S is uniformly continuous on S.
Suppose that > 0.
First Proof (a bit messy, perhaps). Using the fact that f is uniformly continuous on S, choose
δ > 0 such that whenever u and v belong to S and du, v < δ we have dfu, fv < /3. Now
suppose that u and v are any points of S satisfying the inequality du, v < δ/3. Choose a
sequence u n in S converging to u and a sequence v n in S converging to v. Using the facts
that u n → u and v n → v and fu n → fu and fv n → fv as n → ∞, choose N such that
whenever n ≥ N we have
233
dfu n , fu <
3
dfv n , fv <
3
du n , u < δ
3
and dv n , v < δ .
3
Since
du N , v N ≤ du N , u + du, v + dv, v N < δ + δ + δ = δ
3 3 3
and therefore
dfu N , fv N < .
3
We conclude that
dfu, fv ≤ dfu, fu N + dfu N , fv N + dfv N , fv < + + = .
3 3 3
Second Proof. (less messy but a little too slick, perhaps) Using the fact that f is uniformly
continuous on S, choose δ > 0 such that whenever u and v belong to S and du, v < δ we have
dfu, fv < . Now suppose that u and v are any points of S satisfying the inequality
du, v < δ. Choose a sequence u n in S converging to u and a sequence v n in S converging
to v. Since u n → u and v n → v and fu n → fu and fv n → fv as n → ∞, we see that
du n , v n → du, v and dfu n , fv n → dfu, fv. Using the fact that du, v < δ, choose N
such that the inequality du n , v n < δ holds whenever n ≥ N. Thus, for all n ≥ N we have
dfu n , fv n < and therefore
lim dfu n , fv n ≤ .
dfu, fv = n→∞
8.
a. Given that S is a set of real numbers, that a ∈ S ∖ S and that
fx = x −1 a
for all x ∈ S, prove that f is continuous on S but not uniformly continuous. (Use this exercise.)
The result follows at once.
b. Given that S is a set of real numbers and that S fails to be closed, prove that there exists a continuous
function on S that fails to be uniformly continuous on S.
The result follows from part a.
c. Is it true that if S is an unbounded set of real numbers then there exists a continuous function on S that
fails to be uniformly continuous on S?
No, it isn’t true. Every function defined on the set Z of integers is uniformly continuous there.
9. Given that f is a function defined on a metric space X, prove that the following conditions are equivalent:
This exercise was left in accidentally after being elevated to the status of a theorem. It appears as
Theorem 8.15.4.
a. The function f fails to be uniformly continuous on the space X.
b. There exists a number > 0 and two sequences t n and x n in X such that dx n , t n → 0 as n → ∞ and
dfx n , ft n ≥
for every n.
10. Is it true that the composition of a uniformly continuous function with a uniformly continuous function is
uniformly continuous?
Yes, it’s true. Suppose that f is a uniformly continuous function from a metric space X to a metric
space Y and that g is a uniformly continuous function from Y to a metric space Z. To show that the
composition g ∘ f is uniformly continuous, suppose that > 0. Using the fact that g is uniformly
234
continuous on the space Y, choose δ > 0 such that, whenever y 1 and y 2 belong to Y, and
dy 1 , y 2 < δ, we have dgy 1 , gy 2 < . Now, using the fact that f is uniformly continuous on the
space X, choose γ > 0 such that, whenever x 1 and x 2 belong to X and dx 1 , x 2 < γ, we have
dfx 1 , fx 2 < δ. Then, whenever x 1 and x 2 belong to X and dx 1 , x 2 < γ we have
dgfx 1 , gfx 2 < .
11. Suppose that f is a continuous function on a subset S of a compact metric space X. Prove that the following
two conditions are equivalent:
a. The function f is uniformly continuous on S.
b. It is possible to extend f to a continuous function on the set S.
The fact that condition a implies condition b follows at once from Exercise 7. Since S is compact, a
continuous function on S must be uniformly continuous. Therefore, if f has a continuous extension
to S, then f must be uniformly continuous on S.
12. Is it true that if f is a uniformly continuous function from a bounded metric space X onto a metric space Y
then Y is bounded?
Not a chance! If X is the discrete space in which
0 if x = y
dx, y =
1 if x ≠ y
then every function from X to another metric space must be uniformly continuous.
13. Is it true that if f is a uniformly continuous function from a complete metric space X onto a metric space Y
then Y is complete?
No, this statement is false. For example, if we define
fx = 1
1 + x2
for x ∈ 0, ∞ then f is a uniformly continuous function from 0, ∞ onto 0, 1.
14. Suppose that f is a one-one uniformly continuous function from a metric space X onto a metric space Y and
that the inverse function f −1 of f is continuous on Y. Prove that if Y is complete then so is X.
Suppose that x n is a Cauchy sequence in the space X. Since f is uniformly continuous from X to
Y, it is easy to see that the sequence fx n is a Cauchy sequence in the space Y. Since Y is
complete, the sequence fx n must converge. We define
y = n→∞
lim fx n .
Since the function f −1 is continuous at the point y we have f −1 fx n → f −1 y as n → ∞. In other
words, x n → f −1 y as n → ∞ and we have shown that the sequence x n is convergent.
15. True or false: If f is a uniformly continuous one-one function from a complete metric space X onto a
complete metric space Y then the inverse function f −1 of f must be continuous.
No, this statement is false. We take X = 0, 1 ∪ 2, ∞ and we define
x if 0 ≤ x ≤ 1
fx =
1+ 1
x if x ≥ 2
235
1.4
1.2
0.8
0.6
0.4
0.2
0 1 2 3 x4 5 6 7 8
The above figure also shows the line y = 1 in red. We see that f is a uniformly continuous one-one
function from the complete space 0, 1 ∪ 2, ∞ onto the complete space 0, 32 .
16. We shall say that a subset S of a metric space X is compressed if for every number > 0 there exist two
different points x and t in S such that dt, x < .
a. Prove that every compressed subset of a metric space must be infinite.
This statment is obvious because any finite set positive numbers has a least member that is
positive.
b. Prove that if a subset S of a metric space X has a limit point then S must be compressed.
Suppose that S is a subset of a metric space X and that S has a limit point x. Suppose that
> 0. Choose a point u ∈ Bx, /2 ∖ x. Now, using the fact that the number dx, u is positive,
choose a point v ∈ Bx, dx, u ∖ x. Since both u and v belong to the ball Bx, /2 we have
du, v < .
c. Give an example of a compressed subset S of the metric space R such that S has no limit point.
Look at the set
Z+ ∪ n + 1 n ∣n∈Z .
+
d. Is it true that if neither of two subsets A and B of a metric space X is compressed then the set A ∪ B
cannot be compressed?
No! Again, look at the set
Z+ ∪ n + 1 n ∣n∈Z .
+
e. Prove that if A is a finite subset of a metric space X and B is a subset of X and B is not compressed then
the set A ∪ B is not compressed.
Choose a number δ 1 > 0 such that whenever x and y belong to B and x ≠ y we have
dx, y ≥ δ 1 . We know that, since neither of the sets A and B has a limit point, nor does the set
A ∪ B. Using the fact that A is finite and the fact that no member of A is a limit point of A ∪ B,
choose a number δ 2 > 0 such that, whenever x ∈ A we have
Bx, δ 2 ∩ A ∪ B ∖ x = ∅.
We now define δ to be the smaller of the two numbers δ 1 and δ 2 and we observe that
whenever x and y belong to A ∪ B and x ≠ y we have dx, y ≥ δ.
17. We shall say that a metric space X is strongly complete if every compressed subset of X has a limit point.
a. Prove that every strongly complete metric space is complete.
Suppose that X is a strongly complete metric space and that x n is a Cauchy sequence in X.
From the Cauchy condition we see that, unless the sequence x n is constant from some point
on, the range of x n is compressed and has a limit point to which the sequence x n must
converge.
b. Prove that every compact metric space is strongly complete.
Every compressed set is infinite and every infinite subset of a compact space must have a limit
point.
236
c. Prove that the metric space Z of integers is strongly complete but not compact.
The metric space Z has no compressed subsets and therefore cannot have a compressed
subset that fails to have a limit point. Therefore Z is strongly complete. The fact that Z fails to
be compact is obvious: No subset of Z can have a limit point, even though Z is infinite.
d. Prove that if d is the discrete metric on an infinite set X then the metric space X, d is strongly complete
but not compact.
We can repeat, almost word for word, what we said about the space Z.
e. Improve the principal theorem on uniform continuity by proving that every continuous function from
a strongly complete metric space X to a metric space Y must be uniformly continuous on X.
a. Solution: Suppose that X is a strongly complete metric space and that f is a continuous function
from X to a metric space Y. To obtain a contradiction we shall assume that the function f fails to be
uniformly continuous on X. Choose a number > 0 such that for every number δ > 0 there exist
points x and t in the space X such that dt, x < δ and dft, fx ≥ .
For every positive integer n we now choose points that we shall call t n and x n in X such that
dt n , x n < δ and
d ft n , fx n ≥ .
Now we define
S = t n ∣ n = 1, 2, ⋯ ∪ x n ∣ n = 1, 2, ⋯
and, using the fact that S is compressed and the fact that the space X is strongly complete, we choose a
limit point u of the set S.
Using the fact that the function f is uniformly continuous at the point u we choose a number δ > 0
such that whenever x ∈ X and du, x < δ we have
d ft, fx < .
2
Now since u is a limit point of S we know that infinitely many members of S must lie in the ball
Bu, δ/2 and, using this fact, we choose a positive integer n > 2/δ such that either t n or x n lies in the
ball Bu, δ/2. Since one of the points t n and x n lies within a distance δ/2 or u and since
dt n , x n < 1 δ
n < 2
we know that both t n and x n lie within a distance δ of u. Thus
dft n , fx n ≤ dft n , fu + dfu, fx n
< + =
2 2
which contradicts the way in which the points t n and x n were chosen.
f. Suppose that S is a compressed subset of a metric space X. Prove that it is possible to find two sequences
a n and b n in the set S such that
a n ∣ n ∈ Z + ∩ b n ∣ n ∈ Z + = ∅
and such that the inequality da n , b n < 1/n holds for every n ∈ Z + .
Solution: Using the fact that S is compressed we choose two members of S, that we shall call a 1
and b 1 such that a 1 ≠ b 1 and da 1 , b 1 < 1. Since S is compressed and the set a 1 , b 1 is finite we
know that the set
S ∖ a 1 , b 1
is compressed. Using this fact we choose two members that we shall call a 2 and b 2 of the set
S ∖ a 1 , b 1 such that a 2 ≠ b 2 and
da 2 , b 2 < 1 .
2
By continuing this process we arrive at the desired sequences a n and b n .
237
g. Suppose that A and B are subsets of a metric space X, that A ∪ B has no limit point, that A ∩ B = ∅ and
that for every positive number δ it is possible to find a member a of the set A and a member b of the set B
such that da, b < δ. Prove that there exists a continuous function f from X to R such that f is not
uniformly continuous on X. Hint: Use Urysohn’s lemma.
Since A ∪ B has no limit point, the two sets A and B are closed. The continuous function
ρA
ρA + ρB
fails to be uniformly continuous on X.
h. Prove that if every continuous function from a given metric space X is uniformly continuous then the
space X must be strongly complete.
This part follows at once from parts f and g.
9 Differentiation
Exercises on Derivatives
1. Given that fx = |x| for every number x, prove that f ′ 0 does not exist.
Since
ft − f0
lim = lim t = 1
t→0+ t−0 t→0+ t
and
ft − f0
lim = lim −t = −1
t→0− t−0 t→0+ t
the two sided limit
ft − f0
lim
t→0 t−0
fails to exist.
2. Given that fx = |x| for all x ∈ −2, −1 ∪ 0, 1, prove that f ′ 0 does exist.
Hint: Observe that whenever x ∈ −2, −1 ∪ 0, 1 and |x − 0| < 1 we have x ≥ 0 and therefore, if x ≠ 0
we have
fx − f0
= x − 0 = 1.
x−0 x−0
3. Given that fx = x|x| for every number x, determine whether or not f ′ 0 exists.
We observe that
ft − f0 t|t|
lim = lim = lim|t| = 0
t→0 t−0 t→0 t t→0
and so f ′ 0 = 0. Students may want to sketch the graph of this function using Scientific Notebook.
x|x|
238
4. This exercise concerns the function f defined by the equation
x 2 sin 1
x if x ≠ 0
fx = .
0 if x = 0
You should assume all the standard formulas for the derivatives of the functions sin and cos.
0.04
0.02
-0.02
-0.04
b. Prove that the function f is differentiable on R but that the function f ′ is not continuous at the number 0.
For each t ≠ 0 we have
ft − f0 t 2 sin 1t
= = t sin 1
t−0 t t
and, since
ft − f0
= t sin 1 ≤ |t|
t−0 t
for each t ≠ 0 we can deduce from the sandwich theorem that
ft − f0
lim = 0.
t→0 t−0
Now given any x ≠ 0 we have
f ′ x = 2x sin 1x − cos 1x
and the latter expression does not approach a limit as x → 0. Therefore f ′ is not continuous at
0.
5. This exercise concerns the function f defined by the equation
x 3 sin 1
x if x ≠ 0
fx = .
0 if x = 0
239
a. Ask Scientific Notebook to make a 2D plot of the expression x 3 sin 1
x on the interval −. 05, . 05
and then drag each of the expressions x3 and −x 3 into your plot. Revise the plot and give the components
different colors.x 3 sin 1x
0.0001
5e-05
-5e-05
-0.0001
b. Prove that the function f ′ is continuous at the number 0 but does not have a derivative there.
The fact that f ′ 0 = 0 follows in exactly the same way as Exercise 4. Now given any x ≠ 0 we
have
f ′ x = 3x 2 sin 1x − x cos 1x
and since
|f ′ x| ≤ 3x 2 + |x|
for x ≠ 0 we have
lim f ′ x = 0 = f ′ 0. To see why f ′ has no derivative at 0 we can argue as in Exercise 4.
x→0
6. Suppose that f is a function defined on an open interval a, b and that x ∈ a, b.
a. Prove that if f ′ x exists then
fx + h − fx
f ′ x = lim .
h→0 h
240
fx + h − fx − h
f ′ x = lim
h→0 2h
Hint: Use the fact that whenever h ≠ 0 and is sufficiently small we have
fx + h − fx − h fx + h − fx − fx − h − fx
=
2h 2h
1 fx + h − fx fx + −h − fx
= + 1
2 h 2 −h
d. Prove that if f ′ x exists then
ft − fu
f ′ x = lim lim
t→x u→x t−u
Since f ′ x exists, the function f must be continuous at x. Therefore the right side is
ft − fu ft − fx
lim lim = lim = f ′ x.
t→x u→x t−u t→x t−x
Solution: Suppose that a and b are numbers in the interval S and a < b. We shall show that
fa < fb. Applying the mean value theorem to the function f on the interval a, b we choose a
number c between a and b such that
fb − fa
f ′ c = .
b−a
Since f ′ c > 0 and b − a > 0 we deduce that fb − fa > 0 which gives us fa < fb.
c. Given that f is a function defined on an interval S and that f ′ x < 0 for every x ∈ S, prove that f must be
strictly decreasing on S.
Suppose that a and b are numbers in the interval S and a < b. We shall show that fa > fb.
Applying the mean value theorem to the function f on the interval a, b we choose a number c
between a and b such that
fb − fa
f ′ c = .
b−a
Since f ′ c < 0 and b − a > 0 we deduce that fb − fa < 0 which gives us fa > fb.
2. Suppose that f and g are functions defined on an interval S and that f ′ x = g ′ x for every number x ∈ S.
Prove that there exists a real number c such that the equation
fx = gx + c
holds for every number x ∈ S.
241
3. Suppose that f is continuous on an interval a, b and differentiable on the interval a, b and that fa = fb.
Suppose that a < c < b and that f ′ x > 0 when a < x < c and f ′ x < 0 when c < x < b. Prove that fc is
the maximum value of the function f.
Since f is strictly increasing on the interval a, c we have fx < fc whenever a ≤ x < c and since f
is strictly decreasing on the interval c, b we have fc > fx whenever c < x ≤ b.
4. Given that f is a strictly increasing differentiable function on an interval S, is it true that f ′ x must be positive
for every x ∈ S?
No. If we define fx = x 3 for every number x then, although f is strictly increasing, we have
f ′ 0 = 0.
5. Prove that if f is a differentiable function on an interval S and f ′ x ≠ 0 for every x ∈ S then the function f
must be one-one.
Hint: You should be able to make your conclusion very quickly from Rolle’s theorem.
We assume that f ′ x ≠ 0 for every number x in an interval S. Given numbers a and b in the interval,
if a ≠ b and fa = fb then we could apply Rolle’s theorem to find a number c between a and b
such that f ′ c = 0, which is impossible. Therefore f is one-one.
Note: Had this exercise told us that f ′ x > 0 for every x ∈ S we could have used Exercise 1 to deduce that f
is strictly increasing and if we had been told that f ′ x < 0 for each x then we would know that f is strictly
decreasing. Some students have wanted to argue that the given information, that f ′ x ≠ 0 for every x ∈ S
guarantees that f ′ x must either be always positive or always negative. This is true but we don’t know it yet.
The intermediate value theorem for derivatives is deduced in Exercises 10 and 11 below.
6. Given that f is differentiable on an interval S and that the function f ′ is bounded on S, prove that f must be
lipschitzian on S.
Using the fact that f ′ is bounded we choose a positive number k such that |f ′ x| ≤ k for every
number x ∈ S. Now suppose that t and x are any numbers in the interval S. We shall show that
|ft − fx| ≤ k|t − x|.
If t = x this inequality is obvious. Suppose that t ≠ x. Using the mean value theorem we choose a
number c between t and x such that
ft − fx
f ′ c =
t−x
and observe that
ft − fx
≤ |f ′ c| ≤ k
t−x
242
b. Prove that the function f 2 + g 2 is constant.
If we define h = f 2 + g 2 then h ′ = 2ff ′ + 2gg ′ = 2fg − 2fg = 0 and so h is constant.
9. Given that f is differentiable on the interval 0, ∞ and that f ′ x → λ as x → ∞, prove that
fx + 1 − fx → λ
as x → ∞.
Solution: Suppose that > 0 and, using the fact that f ′ x → λ as x → ∞, choose a number w such
that the inequality
|f ′ x − λ| <
holds whenever x ≥ w. We shall now show that the inequality
fx + 1 − fx − λ <
holds whenever x ≥ w. Suppose that x ≥ w.
Applying the mean value theorem to f on the interval x, x + 1 we now choose a number c between x and
x + 1 such that
fx + 1 − fx
= f ′ c
x + 1 − x
and we observe that
fx + 1 − fx
fx + 1 − fx − λ = − λ = |f ′ c − λ| < .
x + 1 − x
10. Given that f is continuous on a, b and differentiable on a, b, and that f ′ x approaches a limit w ∈ R as
x → a, prove that f must be differentiable at the number a and that f ′ a = w.
We need to show that
ft − fa
→w
t−a
as t → a +. Suppose > 0 and choose δ > 0 such that the condition |f ′ x − w| < whenever
x ∈ a, b and x < a + δ. Given any number t ∈ a, b satisfying the inequality a < t < a + δ we choose
x between a and t such that
ft − fa
= f ′ x
t−a
and conclude that
ft − fa
− w < .
t−a
a x t a+δ
11. Prove that if f is differentiable on an interval a, b and f ′ a < 0 and f ′ b > 0 then there must be at least
one number c ∈ a, b for which f ′ c = 0.
Hint: Look at the number at which the function f takes its minimum value.
We know from Fermat’s theorem that f does not have its minimum at a or at b and so f must have
its minimum at some number c between a and b. From Fermat’s theorem again we deduce that
f ′ c = 0.
12. Prove that if f is differentiable on an interval S then the range of the function f ′ must be an interval.
243
that if
fx
gx = x
for all x > 0 then the function g is increasing on 0, ∞.
Solution: In order to prove that the differentiable function g is increasing on 0, ∞ we shall show
that g ′ x ≥ 0 for every number x > 0. We therefore need to show that
xf ′ x − fx
≥0
x2
for all x > 0 and we can express this desired inequality as
fx ′
x ≤ f x.
Suppose that x > 0. We now apply the mean value theorem to the function f on the interval 0, x to choose
a number c between 0 and x such that
fx − f0
= f ′ c.
x−0
Since c < x and since the function f ′ is increasing we know that f ′ c ≤ f ′ x and we have therefore
deduced that the inequality
fx ′
x ≤ f x
holds.
14. Suppose that f is defined on an open interval S and that f ′′ x < 0 for every number x ∈ S. Suppose that
a ∈ S. Prove that if x ∈ S and x > a then
fx < fa + x − af ′ a.
In other words, explain why, to the right of the point a, fa, the graph of f lies below the tangent line to the
graph at a, fa.
Suppose that x ∈ S and that a < x. Using the mean value theorem we choose a number c between
a and x such that
fx − fa
x−a = f ′ c.
Now since f ′′ is everywhere negative in S the function f ′ must be strictly decreasing and so
fx − fa
x−a = f ′ c < f ′ a
from which we deduce that
fx < fa + x − af ′ a.
15. Suppose that f is defined on an open interval S and that f ′′ x < 0 for every number x ∈ S. Suppose that a
and b belong to S and that a < b. Suppose that
fb − fa
gx = fx − fa − x − a
b−a
for all x ∈ a, b.
a. Prove that there exists a number c ∈ a, b such that g ′ c = 0.
We apply Rolle’s theorem to g exactly as in the proof of the mean value theorem.
b. Prove that the function g ′ is strictly decreasing on the interval a, b.
The function g ′ is strictly decreasing because g ′′ x = f ′′ x < 0 for each x.
c. Prove that the function g is strictly increasing on a, c and strictly decreasing on c, b.
Since g ′ c = 0 and g ′ is strictly decreasing we know that g ′ x > 0 whenever a ≤ x < c and
g ′ x < 0 whenever c < x ≤ b.
d. Prove that gx > 0 for every x ∈ a, b.
Since ga = 0 and g is strictly increasing on a, c we have gx > 0 whenever a < x ≤ c. Since
244
gb = 0 and g is strictly decreasing on c, b we have gx > 0 whenever c ≤ x < b.
e. Prove that the straight line segment that joins the points a, fa and b, fb lies under the part of the
graph of f that lies between the two points a, fa and b, fb.
This exercise is asking us to prove that
fb − fa
fa + x − a < fx
b−a
whenever a < x < b and this fact follows at once from Part d.
16. A function f defined on an interval S is said to be convex on S if whenever a, x and b belong to S and
a < x < b we have
fx − fa fb − fx
x−a ≤ .
b−x
Prove that if f is differentiable on an interval S then f is convex on S if and only if the function f ′ is
increasing.
This exercise is asking us for two proofs.
Part 1: We assume that f is a convex function on an interval S and we want to prove that f ′ is
increasing on S. We begin by making the observation that if a and s and b and t belong to S and if
a<t<s<b
a t s b
then
ft − fa fs − ft fb − fs
≤ ≤
t−a s−t b−s
Suppose now that a and b are any two numbers in S and that a < b. If t and s are numbers unequal
to a and b but sufficiently close to a and b, respectively, then t < s and, regardless of the order in
which a and t appear and the order in which s and b appear we have
ft − fa fs − fb
≤ .
t−a s−b
Therefore
ft − fa fs − fb
f ′ a = lim ≤ lim = f ′ b
t→a t−a s→b s−b
Part 2: We assume that the function f ′ is increasing and we want to prove that f is a convex
function. Suppose that a and x and b lie in the interval S and that a < x < b. Using the mean value
theorem we choose a number c between a and x and a number d between x and b such that
fx − fa fb − fx
x−a = f ′ c and = f ′ d.
b−x
Since f ′ is increasing we have
fx − fa fb − fx
x−a = f ′ c ≤ f ′ d ≤ .
b−x
17. Prove that if f is a convex function on an open interval S then f must be continuous on S.
a. Solution: Suppose that x ∈ S. We shall show that f must be continuous at x. Choose numbers a,
b, c and d in S such that a < b < x < c < d.
a b x c d
Now given any number t between x and c
a b x t c d
we have
fx − fb ft − fx fc − ft fd − fc
≤ ≤ ≤
x−b t−x c−t d−c
from which we deduce that
245
fx − fb fd − fc
t − x ≤ ft − fx ≤ t − x
x−b d−c
and the fact that
lim ft − fx =0
t→0+
follows at once from the sandwich theorem. We can show similarly that
lim ft − fx = 0
t→0−
and we therefore know that f is continuous at the number x.
18. By clicking on the icon you can reach some exercises that introduce Newton’s method for
approximating roots of an equation.
246
f j 0 nn − 1⋯n − j + 1
=
n! n!
1. Evaluate each of the following limits. In each case, use Scientific Notebook to verify that your limit
value is correct.
log1 + x
lim tan x −3 sin x lim x
x→0 x x→0
e − 1 + x 1/x
lim 1 + x 1/x lim x
x→0 x→0
247
lim sec x − 1 1 − cos 2 x
2
= lim
x→0 1 − cos x x→0 1 − cos x cos 2 x
1 − cos x1 + cos x
= lim = lim 1 + cos x =2
x→0 1 − cos x cos 2 x x→0 cos 2 x
To find the limit
lim 1 + x 1/x
x→0
we make the observation that if x > −1 and x ≠ 0 we have
log1 + x
1 + x 1/x = exp x
Since
log1 + x
lim x =1
x→0
we have
log1 + x
lim 1 + x 1/x = lim exp x
x→0 x→0
1 + x log1 + x − x 1 log1 + x
= lim lim exp
x→0 1 + xx 2 x→0 1+x x
1 + x log1 + x − x
= e lim
x→0 x2
248
Since
lim1 + x log1 + x − x = limx 2 = 0,
x→0 x→0
L’Hôpital’s rule guarantees us the equality
1 + x log1 + x − x 1 + log1 + x − 1
e lim = e lim
x→0 x2 x→0 2x
as long as the latter limit exists. One more application of L’Hôpital’s rule (or a direct method) shows that
1 + log1 + x − 1
lim = 1
x→0 2x 2
and we conclude that
e − 1 + x 1/x
lim x = e
x→0 2
lim x
log x
x lim x log x
x→∞ x→∞
x + 1 logx+1
e x − log1 + x − 1
lim lim 4 x 4 − 5x 3 + 8x 2 − 2x + 1 − x
x→0 x 2 x + 2 x→∞
lim x 100 .
x→∞
exp log x 2
It is possible to use L’Hôpital’s rule to yield the equation
but this fact doesn’t seem to be particularly useful. On the other hand, if we make the substitution
u = log x then the limit we are trying to find takes on the form
exp100u
lim = u→∞
lim exp100u − u 2
u→∞ expu 2
and so the limit is obviously 0. The only question that remains is whether the idea of substitution
u = log x really makes sense and whether the procedure is actually valid. What we are really
saying, when making the substitution is that the desired limit can be expressed as
explog x 100
lim
x→∞
exp log x 2
and that the equation
explog x 100 exp u 100
lim = u→∞
lim
x→∞
exp log x 2 expu 2
follows from the composition theorem for limits.
249
log sin x
lim tan x log sin x = lim sin x cos x
x→π/2 x→π/2
log sin x log sin x
= lim sin x lim cos x = lim cos x
x→π/2 x→π/2 x→π/2
Applying L’Hôpital’s rule to the latter limit we obtain
log sin x
lim = lim cot x =0
x→π/2 cos x x→π/2 − sin x
and so it follows from the composition theorem for limits that
lim sin x tan x = exp0 = 1
x→π/2
Now we discuss the limit
log x
lim
x→∞
x x .
Since this limit can be expressed as
log x 2
lim
x→∞
exp x
and since
log x 2
lim
x→∞ x =0
we have
log x
lim
x→∞
x x = exp0 = 1.
Now we discuss the limit
x log x exp log x 2
lim = lim
x→∞
x + 1 logx+1 x→∞
exp logx + 1 2
= lim
x→∞
exp log x 2 − logx + 1 2
We look first at
lim
x→∞
logx + 1 2 − log x 2
It is possible to find this limit using L’Hôpital’s rule by expressing it as
log1 + 1
x
lim
x→∞
logx + 1 − log xlogx + 1 + log x = lim
x→∞
1
log x 2 +x
which gives us
x
− 1
x+1 x2
lim
x→∞
−1 2x+1
log x 2 +x
2 x 2 +x
which can be seen easily to be 0. Almost every student will want to do the problem this way. On the
other hand, one can also use the mean value theorem to choose a number that we shall call fx
between x and x + 1 such that
logx + 1 2 − log x 2 2 logfx
logx + 1 2 − log x 2 = = .
x + 1 − x fx
Since the function g defined by the equation
log u
gu = u
for u > e, having a negative derivative, must be decreasing we have
250
1 − log x 2 logfx 1 − logx + 1
≥ ≥
x fx x+1
and it follows that
2 logfx
lim = 0.
x→∞ fx
From either method we deduce that
lim x log x = exp0 = 1.
x→∞
x + 1 logx+1
logx + 1 x
logx + 1 x log x
lim lim
x→∞ log x x→∞ log x
For the latter two limits, check the limit value with Scientific Notebook.
The limit
lim
x→∞
logx + 1 α − log x α
is an extension of the limit
lim
x→∞
logx + 1 2 − log x 2
that is discussed above. We understand α to be a given constant in this exercise. In the case α = 2
we approached the problem using L’Hôpital’s rule and again using the mean value theorem. This
251
time we shall use only the mean value theorem. For each x > 0 we choose a number fx between
x and x + 1 such that
αlogfx α−1
logx + 1 α − log x α = .
fx
If we define
log u α−1
gu = u
for u > 0 then since
α − 1log u α−2 − log u α−1 α − 1 − log u
g ′ u = = log u α−2 <0
u2 u2
whenever u > expα − 1 we have
αlog x α−1 α α αlogx + 1 α−1
≥ logx + 1 − log x ≥
x x+1
whenever x > expα − 1 and so
lim
x→∞
logx + 1 α − log x α = 0.
= lim
x→∞
exp x log logx + 1 − log log x
= lim
x→∞
exp x log x log logx + 1 − log log x
252
Arguing as above we see that
x log x log logx + 1 − log log x x log x
≤ ≤
x log x 1 x + 1 logx + 1
x log x
and so
log logx + 1 − log log x
lim
x→∞ 1
=1
x log x
and we conclude that
logx + 1 x log x
lim = exp1 = e.
x→∞ log x
c. Prove that
lim
x→∞
logx + 1 log log x − log x log log x = 0.
Solution: The assertion we want to prove is obviously true when q = 0. We now consider the case
253
q > 0.
We need to show that
q log x
q log x + x log 1 − x →0
as x → ∞. Since
log x
lim
x→∞ x =0
we know that
q log x
1− x >0
whenever x is sufficiently large. Thus, for x sufficiently large we have
q log x x − q log x
q log x + x log 1 − x = q log x + x log x
= q log x + x logx − q log x − x log x
Now given any sufficiently large number x, we can apply the mean value theorem to the function log on
the interval x − q log x, log x to obtain a number fx between x − q log x and log x at which the derivative
of the function log is equal to
log x − logx − q log x
x − x − q log x
and we can express fx in the form x − gx where 0 ≤ gx ≤ q log x. Thus
log x − logx − q log x 1
=
q log x x − gx
and we conclude that
q log x
q log x + x logx − q log x − x log x = q log x − x
x − gx
= qlog x 1 − x
x − gx
Therefore
q log x x
q log x + x log 1 − x = qlog x −1
x − gx
≤ qlog x x −1
x − q log x
log x 2
q 2 log x 2 q2 x
= =
x − q log x log x
1−q x
and the latter expression approaches 0 as x → ∞. This completes our consideration of the case q > 0.
Finally we consider the case q < 0. We write p = −q. Then p > 0 and we want to show that
x
lim 1 1 + p log x = 1.
x→∞ x p x
We need to show that
p log x
x log 1 + x − p log x → 0
as x → ∞. Now whenever x is sufficiently large we have
p log x x + p log x
x log 1 + x − p log x = x log x − p log x
254
p log x px log x
x log 1 + x − p log x = − p log x
x + gx
and so
p log x x
x log 1 + x − p log x = plog x 1 −
x + gx
≤ plog x 1 − x
x + p log x
log x 2
p
= x
log x
1 +p x
and the latter expression approaches 0 as x → ∞.
6. Suppose that we want to evaluate the limit
lim 3 .
1 + x + x2
x→∞
Would it be correct to use L’Hôpital’s rule by taking fx = 3 and gx = 1 + x + x 2 for every x and then
arguing that
3 fx f ′ x 0
lim
x→∞ 1 + x + x 2
= lim
x→∞ gx
= lim
x→∞ g ′ x
= lim
x→∞ 1 + 2x
= 0?
The answer is certainly correct, but is the reasoning correct? Have we made a valid use of L’Hôpital’s rule?
Solution: Yes, we have made a valid application of L’Hôpital’s rule. The fact that the denominator of
the fraction
3
1 + x + x2
approaches ∞ as x → ∞ is all we need; even though most elementary calculus books give the impression
that L’Hôpital’s rule requires both the numerator and the denominator to approach ∞.
7. Evaluate the limits
lim e sin x and lim xe sin x .
x→∞ x x→∞ log x
255
30
25
20
15
10
10 20 x 30 40 50
2. Given that a is a positive number and that a ≠ 1, and given that fx = log a x for every x > 0, prove that
f ′ x = 1
xlog a
for every number x > 0.
For each x > 0 we have
a fx = x
which gives us
loga fx = log x.
Therefore
fx log a = log x
and so
log x
fx =
log a
from which the desired result follows at once.
3. Given that f and g are differentiable functions and f is positive, use the fact that
fx gx = expgxlogfx
for each x to find a formula for the derivative of the function f g .
The value of the derivative of f g at a given number x is
256
gx ′
expgxlogfx g ′ x logfx + f x = fx gx g ′ x logfx + gxfx gx−1 f ′ x.
fx
f
4. Given that f is differentiable on R, that f0 = 1 and that f ′ = f, prove that the function exp is constant and
then conclude that f = exp.
Since
′
f f ′ exp − f exp ′ f exp − f exp
exp = 2
= =0
exp exp 2
f
the function exp must be constant. To see that the constant is 1 we observe that
f0
= 1.
exp 0
5. Suppose that f : R → R and that f ′′ x = fx for every real number x.
a. Given that g = f ′ + f, prove that g ′ = g and deduce that there exists a real number a such that
g ′ x = 2ae x for every number x.
We see that
g ′ = f ′′ + f ′ = f + f ′ = g.
From Exercise 4 we know that the function g ′ / exp is constant. If we call this constant 2a then
we have g ′ x = 2ae x for every number x.
b. Given that hx = fxe x for every real number x, prove that the equation h ′ x = 2ae 2x holds for every
number x and deduce that there is there is a number b such that the equation
fx = ae x + be −x
holds for every real number x.
For every number x we have
h ′ x = f ′ xe x + fxe x = gxe x = 2ae 2x .
It follows that the function whose value at every number x is hx − ae 2x has a zero derivative at
every number and must therefore be constant. We call this constant b. Thus we have
hx = ae 2x + b
for every x, in other words
fx = ae x + be −x .
a. Prove that either fx = 0 for every real number x or fx ≠ 0 for every real number x.
Suppose that there exists a number at which the function f is zero. Choose such a number and
call it c. Given any number x we have
fx = fx − c + c = fx − cfc = 0
and so f is zero everywhere.
b. Prove that if f is not the constant zero, then f0 = 1 and that fx > 0 for every number x.
We suppose that f is not the constant zero. From the equation
f0 = f0 + 0 = f0f0
and from the fact that f0 ≠ 0 we deduce that f0 = 1. Finally, if x is any real number then the
equation
2
fx = f x + x = f x
2 2 2
that fx > 0.
257
c. Prove that if f is not the constant zero and if a = f1 then for every rational number x we have fx = a x .
Deduce that if f is continuous on the set R then the equation fx = a x holds for every real number x.
Compare this exercise with the last few exercises on continuity.
This exercise follows in exactly the same way as that earlier sequence of exercises.
7. Suppose that α is a nonzero real number and that
S = x ∈ R ∣ 1 + αx > 0.
a. Prove that if
gx = αx − 1 + αx log1 + αx
for all x ∈ S then gx < 0 for every nonzero number x ∈ S.
b. Prove that if
log1 + αx
fx = x
for every nonzero number x ∈ S and if f0 = α then the function f is continuous and strictly decreasing
on S. Deduce that the inequality fx < α holds for every positive number x ∈ S.
258
Solution: This fact follows at once from the fact that
log1 + αx
1 + αx 1/x = exp x = expfx
whenever x ∈ S ∖ 0
8. a. By applying the higher order mean value theorem to the function exp on the interval 0, 1, show that
if n is a positive integer then there must exist a number c ∈ 0, 1 such that
e = 1+1+ 1 + 1 +⋯+ 1 + ec .
2! 3! n! n + 1!
The higher order mean value theorem tells us that if n is a positive integer then there is a
number c between 0 and 1 such that
n
exp j 0 exp n+1 c
exp1 = ∑ j!
+
n + 1!
j=0
The inequality
n
0 < e−∑ 1 < 3
j=0
j! n + 1!
follows at once from the inequality
n
0 < e−∑ 1 < e
j=0
j! n + 1!
and the fact that e < 3. The fact that
259
n
lim e − ∑ 1 =0
n→∞ j!
j=0
Solution: To obtain a contradiction, suppose that e is rational. Choose two positive integers p
p
and q such that e = q . Since
n
lim
n→∞
∑ 1 = e,
j!
j=0
we have
n n q q
lim
n→∞
∑ 1
j!
= n→∞
lim ∑ 1 −∑ 1
j! j!
= e−∑ 1
j!
j=q+1 j=0 j=0 j=0
n−q
1− 1
= n→∞ 1 q+1
= 1
lim
q+1 1 − q+1
1 q ≤1
is an integer that lies between 0 and 1 and so we have reached the desired contradiction.
9. Prove that if x n is a sequence of positive numbers and if
260
lim xxn+1
n→∞ n
=α
then
lim n x n = α.
n→∞
Deduce that
lim n = e.
n→∞ n
n!
Solution: We look first at the case α > 0. In order to show that
lim n x n = α
n→∞
we shall show that no number other than α can be a partial limit of the sequence n x n . Suppose that u is
any number that is unequal to α and choose a number δ between 0 and 1 such that the interval
αδ, α
δ
does not contain the number u. We now use the facts that
αδ < α < α
δ
and
lim x n+1 = α
n→∞ x n
to choose a positive integer N such that the inequality
αδ < xxn+1 < α
n δ
holds whenever n ≥ N.
Now whenever n > N we have
x n = x N xxN+1
N
x N+2
x N+1 ⋯ xxn−1
n
and so
x N αδ n−N < x n < x N α
n−N
δ
which we can express as
xN δ N x N α.
αδ < n xn < n
n
α N δ N αN δ
Since
xN δ N x N
lim = lim n =1
n→∞ n α N δ N n→∞ αN
we deduce that no partial limit of the sequence n x n can lie outside of the interval
αδ, α
δ
and we conclude that u is not a partial limit of x n .
n
261
x n+1 < δ
xn
holds whenever n ≥ N.
Now whenever n > N we have
x n = x N xxN+1
N
x N+2
x N+1 ⋯ xxn−1
n
< x N δ n−N
which we can write as
n xn < xN δ.
n
δN
Since
xN = 1
lim
n→∞ n
δN
we deduce that no partial limit of the sequence n x n can be more than δ and, therefore, that the number
u cannot be a partial limit of the sequence n x n .
Solution: We define
0 if 0 ≤ x ≤ 2
fx =
1 if 2 <x≤2
262
Now if P is any regular partition of the interval 0, 2 then, since the irrationality of 2 makes it
impossible to find integers n and j such that
2j
2 = 0+ n
we know that 2 can’t be a point of P. In other words, the number 2 must be in one of the open
intervals of P and f fails to be constant in that interval.
4. Explain why a step function must always be bounded.
Suppose that f is a step function on an interval a, b. Choose a partition P of a, b such that f steps
with P. We express P in the form x 0 , x 1 , ⋯, x n . Since f is constant in each subinterval x j−1 , x j , the
range of f must be a finite set and therefore f is bounded.
5. Prove that if f and g are step functions on an interval a, b then so are their sum f + g and their product fg.
Hint: You can find a proof of this assertion in the section on linearity of integration of step functions.
6. Prove that if f and g are step functions then so are their sum f + g and their product fg.
Choose an interval a, b such that both of the functions f and g take the value 0 at every number in
R ∖ a, b. We deduce from Exercise 2 that both f and g are step functions on the interval a, b and
it follows from Exercise 5 that f + g and fg are step functions on a, b and we conclude that these
functions are step functions.
7. Prove that a continuous step function on an interval must be constant on that interval.
Suppose that f is a continuous step function on an interval a, b and choose a partition
P =x 0 , x 1 , ⋯, x n
of a, b within which f steps. If c is the constant value of f on the interval x 0 , x 1 then, since f is
continuous at x 0 and at x 1 we have fx 0 = fx 1 = c. Therefore, since f is continuous at x 1 , the
number c must also be the constant value of f on x 1 , x 2 . Continuing in this way we see that f has
the constant value c throughout the interval a, b.
263
3
-2 0 2 4 6 8 10
-1
∞
evaluate ∫ f.
−∞
3. Given that f is a function defined on R and that the set of numbers x for which fx ≠ 0 is finite, explain why f
must be a step function and why
∞
∫ −∞ f = 0.
We define a and b to be the smallest and largest members, respectively, of the set x ∣ fx ≠ 0. If
we arrange the members of the set x ∣ fx ≠ 0 in ascending order then we obtain a partition of
a, b within which f steps and we see at once that the sum of f over this partition is zero. Since f is
zero outside the interval a, b we conclude that f is a step function and that
∞
∫ −∞ f = 0.
4. Given that f is a nonnegative step function and that
∞
∫ −∞ f = 0,
prove that the set of numbers x for which fx ≠ 0 must be finite.
Hint: We begin by choosing an interval a, b and a partition P of a, b such that fx = 0 whenever a
number x lies outside the interval a, b and such that f steps within the partition P. Now explain briefly
why f must have the constant value 0 on each of the open intervals of P.
If α j is the constant value of f in the interval x j−1 , x j for each j = 1, 2, ⋯, n, then, since each number
α j is nonnegative we see that for each j,
n
∫ a f = ∑x i − x i−1 α i ≥ x j − x j−1 α j ≥ 0
b
0=
i=1
from which it follows that each number α j must be zero.
5. Given that f and g are step functions and that c is a real number, prove that
264
∞ ∞
∫ −∞ cf = c ∫ −∞ f
and
∞ ∞ ∞
∫ −∞ f + g = ∫ −∞ f + ∫ −∞ g.
These results follow at once when we choose an interval a, b outside of which both f and g are
∞
zero and then replace ∫ by ∫ .
b
−∞ a
Solution: We begin by choosing a lower bound a and an upper bound b of the set A ∪ B. By looking
at the different cases we can see easily that whenever x ∈ a, b we have
χ A∪B = χ A + χ B − χ A∩B .
Therefore
∫ a χ A∪B = ∫ a χ A + χ B − χ A∩B
b b
mA ∪ B =
∫ a χ A + ∫ a χ B − ∫ a χ A∩B
b b b
=
265
Solution: Choose a lower bound a and an upper bound b of the set E. Since the set E ∖ F is
elementary, if we want to show that mE ∖ F > 0 then, from Exercise 2, all we have to show is that the set
E ∖ F cannot be finite. The fact that E ∖ F is not finite follows from the fact that finite sets are always
closed, that F is closed and that the set E, which isn’t closed is the union of the two sets F and E ∖ F.
7. Given that f is a step function, that E is an elementary set and that fx = 0 whenever x ∈ R ∖ E, prove that
∞
∫E f = ∫ −∞ f.
Solution: The desired equality follows at once from the definitions and the fact that
f = fχ E .
8. Given that f and g are step functions, that E is an elementary set and that fx ≤ gx whenever x ∈ E, prove
that
∫E f ≤ ∫E g.
Choose an interval a, b outside of which both of the functions f and g are zero. Since fχ E ≤ gχ E , it
follows from the nonnegativity property of integrals of step functions that
∫E f = ∫ a fχ E ≤ ∫ a gχ E = ∫E g
b b
9. Given that f is a nonnegative step function, that A and B are elementary sets and that A ⊆ B, prove that
∫A f ≤ ∫B f.
The desired inequality follows at once from the fact that fχ A ≤ fχ B . We choose an interval a, b that
includes the set B and use the nonnegativity property to obtain
∫A f = ∫ a fχ A ≤ ∫ a fχ B = ∫B f
b b
10. Given that f is a step function and that E is an elementary set, prove that
∫E f ≤ ∫E |f|.
Hint: Use the fact that
− |f|χ E ≤ fχ E ≤ |f|χ E .
The fact that these expressions are equal to mA ∩ B follows at once from the fact that
χ A χ B = χ A∩B .
The on-screen version of this book contains a special group of exercises that are designed to be done as a
special project. These exercises require you to have read some of the chapter on infinite series. To reach this
group of exercises, click on the icon .
266
Series
1. Given that H is a closed elementary set and U n is a sequence of open elementary sets and that
∞
H⊆ ⋃ Un,
n=1
use this earlier exercise to deduce that, for some positive integer N we have
N
mH ≤ ∑ mU n
n=1
and deduce that
∞
mH ≤ ∑ mU n .
n=1
Choose a positive integer N such that
N
H⊆ ⋃ Un.
n=1
We have
N N ∞
mH ≤ m ⋃ Un ≤ ∑ mU n ≤ ∑ mU n .
n=1 n=1 n=1
2. Given that E is an elementary set and that U n is a sequence of open elementary sets and that
∞
E⊆ ⋃ Un,
n=1
prove that
∞
mE ≤ ∑ mU n .
n=1
Hint: Make use of the theorem on approximation by open sets and closed sets.
Given any closed subset H of E we know from Exercise 1 that
∞
mH ≤ ∑ mU n .
n=1
∞
Since ∑ n=1 mU n is an upper bound of the set
mH ∣ H is elementary and closed and H ⊆ E
and since mE is the least upper bound of this set we have
∞
mE ≤ ∑ mU n .
n=1
3. Given that A n is a sequence of elementary sets and that > 0 and that the series ∑ mA n is convergent,
and given that for each positive integer n the set U n is an open elementary set that includes A n and satisfies
the inequality
mU n < mA n + n ,
2
prove that
∞ ∞
∑ mU n < ∑ mA n + .
n=1 n=1
The desired result follows at once from the fact that
267
∞
∑ = .
2n
n=1
4. Given that E is an elementary set and that A n is a sequence of elementary sets and that
∞
E⊆ ⋃ An,
n=1
prove that
∞
mE ≤ ∑ mA n .
n=1
To obtain a contradiction, assume that
∞
mE > ∑ mA n .
n=1
Choose > 0 such that
∞ ∞ ∞
mE > ∑ mA n + = ∑ mA n + ∑ 2n .
n=1 n=1 n=1
For each n, choose an open elementary set U n that includes A n such that
mU n < mA n + n .
2
We see that
∞ ∞ ∞
mE > ∑ mA n + ∑ 2n > ∑ mU n
n=1 n=1 n=1
which, in view of Exercise 2, is impossible because
∞
E⊆ ⋃ Un.
n=1
5. Suppose that E is an elementary set and that A n is a sequence of elementary sets with the property that
whenever i and j are positive integers and i ≠ j we have
A i ∩ A j = ∅.
Suppose that E is an elementary set and that
∞
E= ⋃ An.
n=1
Prove that
∞
mE = ∑ mA n .
n=1
Given any postiive integer N we see that
N N
mE ≥ m ⋃ An = ∑ mA n .
n=1 n=1
Therefore
N ∞
mE ≥ lim
N→∞
∑ mA n = ∑ mA n ,
n=1 n=1
and the desired result therefore follows from Exercise 4.
268
Some Exercises on the Riemann Integral
1. Prove that the integral
∫ 1 3x 2 dx
4
Solution: This exercise will become obsolete when we reach the fundamental theorem of calculus
later on in the chapter. The solution given here is a bare hands approach and repeats portions of the proof
that monotone functions are integrable.
We define fx = 3x 2 for each number x ∈ 1, 4. Given any positive integer n, if
P n = x 0 , x 1 , ⋯, x n
is the regular n-partition of the interval 1, 4 then we define two step functions s n and S n by making
s n x = S n x = f x
whenever x is a point of the partition P n and, in each interval x j−1 , x j of the partition P n we make s n and
S n take the constant values f x j−1 and f x j respectively. Since
n
∫ 1 S n − s n = ∑f x j − f x j−1 4 −n 1
4
j=1
n
= 3
n ∑f x j − f x j−1
j=1
914n 2 + 15n + 3
= → 63
2n 2
as n → ∞.
2. In this exercise we take fx = x for x ∈ 0, 1. Given a positive integer n, we shall take P n to be the
partition of 0, 1 defined by the equation
2 2 2 2
P n = 0 2 , 1 2 , 2 2 , ⋯, n 2 .
n n n n
Prove that if we define a step function S n on 0, 1 by making
S n x = x
whenever x is a point of the partition P n and giving S n the constant value j/n in each interval
j − 1 2 j 2
, 2
n2 n
of the partition P n , then
269
∫0 ∫0 Sn =
1 1
x dx = n→∞
lim 2.
3
Solution: For each positive integer n we define the function S n as described in the exercise and we
define a step function s n on 0, 1 by making
S n x = x
whenever x is a point of the partition P n and giving s n the constant value j − 1/n in each interval
j − 1 2 j 2
, 2
n2 n
We see at once that s n ≤ f ≤ S n for each n and that
n
j−1 j2 j − 1 2
∫ 0 S n − s n = ∑
1 j
lim n − n 2
− = 1
n →0
n→∞
j=1
n n2
as n → ∞. We conclude that the pair of sequencess n and S n squeezes f on the interval 0, 1 and that
∫ 0 S n = ∫ 0 f.
1 1
lim
n→∞
Therefore
n
j2 j − 1 2
∫ 0 f = n→∞
lim ∫ S n = n→∞
lim ∑
1 1 j
n −
0
j=1
n2 n2
= n→∞
lim 4n 2 + 3n − 1 = 2 .
6n 2 3
3. Prove that
∫0
1
x dx = 3 . 3
4
This exercise is very similar to Exercise 2. This time we take
3 3 3 3
P n = 0 3 , 1 3 , 3 3 , ⋯, n 3
n n n n
for each n and, for each n, we define S n to be the step function that takes the value 3 x at each
point of P n and whose constant value in each interval
j − 1 3 j 3
, 3
n3 n
is j/n. We observe that
n
j3 j − 1 3
∫ 0 S n = n→∞
lim ∑
1 j
lim n 3
−
n→∞
j=1
n n3
n
3j 3 − 3j 2 + j
= n→∞
lim ∑ n4
j=1
lim 3n + 2n −1 = 3.
2
= n→∞
4n 2 4
In the same way we can show that if s n x at each point of P n and whose constant value in each
3
interval
j − 1 3 j 3
, 3
n3 n
is j − 1/n then
lim ∫ s = 3
1
n→∞ 0 n 4
and so the pair of sequences s n and S n squeezes the cube root function on 0, 1.
270
Some Exercises on Riemann Integrability
1. Suppose that
1
1 if x has the form n for some positive integer n
fx = .
0 otherwise
Solution: For each positive integer n we define P n to be the following partition of the interval 0, 1:
P n = 0, 1 1 1 1
n , n − 1 , ⋯, 3 , 2 , 1 .
For each n we see easily that
∫ 0 lP n , f = 0 ∫ 0 uP n , f =
1 1
and 1
n
and therefore
∫ 0 lP n , f = n→∞
lim ∫ uP n , f = 0.
1 1
lim
n→∞ 0
2. Suppose that f is defined on the interval in such a way that whenever x ∈ 0, 1 and x has the form 1n for some
positive integer n we have fx = 0 and whenever x belongs to an interval of the form n+1 1
, 1n for some
positive integer n we have
fx = 1 + −1 n .
Draw a rough sketch of the graph of this function and explain why it is integrable on the interval 0, 1.
Solution:
1 1 1 1 1
0 6 5 4 3 2
1
For each positive integer n we define P n to be the following partition of the interval 0, 1:
P n = 0, 1 1 1 1
n , n − 1 , ⋯, 3 , 2 , 1 .
For each n we see easily that
n−1
∫ 0 lP n , f = ∑
1
1 − 1 1 + −1 j
j j+1
j=1
and
n−1
∫ 0 uP n , f = 2n + ∑ 1j − j +1 1
1
1 + −1 j
j=1
and so
271
∫ 0 uP n , f − ∫ 0 lP n , f
1 1
lim
n→∞
lim 2
= n→∞ n =0
and we have shown that f is integrable on 0, 1.
Incidentally, we have also shown that
n−1
∫ 0 f = n→∞
lim ∑
1
1 − 1 1 + −1 j
j j+1
j=1
n
= n→∞
lim ∑ 2
2j2j + 1
j=1
n
= n→∞
lim ∑ 1
j2j + 1
j=1
In the chapter on infinite series you will learn how to show that the latter limit is 2 − 2 log 2.
3. Given that f is a bounded function on an interval a, b, prove that the following conditions are equivalent:
a. The function f is integrable on the interval a, b.
b. For every number > 0 there exist step functions s and S on the interval a, b such that s ≤ f ≤ S and
∫ a S − s < .
b
c. For every number > 0 there exist step functions s and S on the interval a, b such that s ≤ f ≤ S and
such that if
E = x ∈ a, b ∣ Sx − sx ≥ ,
we have mE < .
To show that condition a implies condition b we assume that condition a holds. In other words, we
assume that f is integrable on a, b. Suppose that > 0. Using the first criterion for integrability we
choose a partition P of a, b such that
∫ a wP, f < .
b
We define S = uP, f and s = lP, f and observe that the functions s and S have the desired
properties.
The proof that condition a implies condition c is very similar. This time, the partition P is chosen
using the second criterion for integrability.
To prove that condition b implies condition a we assume that condition b holds. What we shall
show is that the first criterion for integrability holds. Suppose that > 0. Using condition b we
choose step functions s and S on the interval a, b such that s ≤ f ≤ S and
∫ a S − s < .
b
Choose a partition P of a, b such that both s and S step within P and observe that since
s ≤ lP, f ≤ uP, f ≤ S
we have
∫ a wP, f = ∫ a uP, f − lP, f ≤ ∫ a S − s < .
b b b
The proof that condition c implies condition a is very similar. This time we show that f is integrable
by showing that the second criterion for integrability holds.
4. Suppose that f is a bounded function on an interval a, b and that for every number > 0 there exists an
elementary subset E of a, b such that mE < and such that the function f1 − χ E is Riemann integrable
on a, b. Prove that f must be Riemann integrable on the interval a, b.
272
Solution: In order to show that f is integrable on a, b we shall show that f satisfies the
second criterion for integrability. Suppose that > 0.
Using the given property of f we choose an elementary subset A of a, b such that mA < /2 and such
that the function f1 − χ A is integrable on a, b. Choose a partition P 1 of a, b such that the function χ A
steps within P. Now, using the fact that f1 − χ A satisfies the second criterion for integrability we choose
a partition P 2 of a, b such that if we define
B = x ∈ a, b ∣ wP, f 1 − χ A x ≥ .
then mB < /2. We now define P to be the common refinement of P 1 and P 2 and we express P as
P = x 0 , x 1 , ⋯, x n .
For each j = 1, 2, ⋯, n, if the open interval x j−1 , x j is not included in A ∪ B then, since the functions f
and f1 − χ A agree in the interval x j−1 , x j the condition
wP, f x = wP, f 1 − χ A x <
must hold whenever x ∈ x j−1 , x j . Since
mA ∪ B ≤ mA + mB < + =
2 2
we have succeeded in showing that f satisfies the second criterion for integrability.
5.
a. Suppose that f is a nonnegative function defined on an interval a, b and that for every number > 0, the
set
x ∈ a, b ∣ fx ≥
is finite. Prove that f must be integrable on a, b and that ∫ f = 0.
b
a
We shall show that f satisfies the first criterion for integrability. Suppose that > 0. Choose a
finite set S such that
fx <
b−a
whenever x ∈ a, b ∖ S and define P to be the partition of a, b whose points are the numbers a
and b and the members of S arranged in increasing order. Since lP, f is nonnegative and
uP, f never exceeds the value /b − a, we have
∫ a wP, f = ∫ a uP, f − lP, f ≤ ∫ a uP, f ≤ .
b b b
Since f satisfies the first criterion for integrability, f is integrable on a, b and the same
argument shows that whenever > 0 we have ∫ f ≤ from which we deduce that ∫ f = 0.
b b
a a
b. Prove that if f is the ruler function that was introduced in an earlier example then f is an integrable
function on the interval 0, 1, even though f is discontinuous at every rational number in the interval.
The ruler function obviously has the property described in part a.
6. Given that f is a bounded nonnegative function defined on an interval a, b, prove that the following
conditions are equivalent:
b. For every number > 0 there exists an elementary set E such that mE < and such that
x ∈ a, b ∣ fx ≥ ⊆ E.
To show that condition a implies condition b we assume that f is integrable on a, b. Suppose that
> 0. To obtain the desired set E we shall use the same sort of technique as was used in the proof
of Theorem 11.8.4. Choose a step function S ≥ f such that
273
∫a S < 2
b
and define
E = x ∈ a, b ∣ Sx ≥ .
We observe that
x ∈ a, b ∣ fx ≥ ⊆ E.
Now since S is a step function, the set E is elementary and we have
∫ a S ≥ ∫E S ≥ ∫E = mE
b
2 >
from which we deduce that mE < .
To show that condition b implies condition a we assume that condition b holds. Once again we
borrow from the proof of proof of Theorem 11.8.4. Using the fact that f is bounded we choose a
number k such that fx < k for every x ∈ a, b. For each positive integer n we choose an
elementary set E n such that mE n < 1n and such that
x ∈ a, b ∣ fx ≥ 1
n ⊆ En.
For each n we have
∫ a uP n , f = ∫E uP n , f + ∫
b
uP n , f
n a,b∖E n
≤ ∫E n
k+∫
a,b∖E n
1 ≤ kmE n + ∫ b 1
n a n
< nk + b −
n
a
1. Prove that for every number > 0 there exists an elementary set E such that mE < and such that
x ∈ a, b ∣ fx ≥ ⊆ E.
This exercise is a duplicate of the last exercise in the exercises on exercises on integrability.
274
2. Prove that if, for every positive integer n, we choose an elementary set E n such that
mE n < b −n a
2
and such that
x ∈ a, b ∣ fx ≥ b −n a ⊆ E n
2
then for every elementary E satisfying
∞
E⊆ ⋃ En
n=1
we have mE < b − a. To obtain this proof you will need to make use of the special group of exercises on
elementary sets that can be reached by clicking on the icon .
The existence of the sets E n follows from Exercise 1. Now if
∞
E⊆ ⋃ En
n=1
then the special exercises on elementary sets guarantee that
∞ ∞
mE ≤ ∑ mE n < ∑ b − a = b − a.
2n
n=1 n=1
275
∞
hold for each n. Continue as above. Of course, we don’t have a guarantee that a, b ∖ ⋃ n=1 E n is
nonempty unless < b − a.
Solution: We shall write the set of partial limits of x n as y 1 , y 2 , ⋯, y k . To prove that f satisfies the
junior Lebesgue criterion, suppose that > 0.
We define
k
U= ⋃ yj − , yj −
j=1
2k 2k
and we observe that
k k
mU ≤ ∑m yj − , yj − = ∑ = .
2k 2k k
j=1 j=1
Since the set a, b ∖ U is closed and bounded and since the sequence x n has no partial limits in
a, b ∖ U we know that x n cannot be frequently in the set a, b ∖ U. Therefore, if
F = x n ∣ n = 1, 2, ⋯ ∖ U
then the set F is finite and so mF = 0. We have thus found an elementary subset U ∪ F of a, b such
that mU ∪ F ≤ and such that f is continuous at every number x ∈ a, b ∖ U ∪ F.
4. This exercise does not ask you for a proof. Suppose that x n is a sequence in an interval a, b and that f is a
bounded function on a, b that is continuous at every member of a, b that does not belong to the range of
the sequence x n . Do you think that the function f has to be integrable on a, b? What does your intuition
tell you?
Solution: The function f must be integrable. This fact will follow from the full version of the
Lebesgue criterion for integrability that will appear in the chapter on sets of measure zero.
276
fx if fx ≤ gx
f ∧ gx = .
gx if fx > gx
Given Riemann integrable functions f and g on an interval a, b, make the observations
f + g + |f − g|
f∨g =
2
and
f + g − |f − g|
f∧g =
2
and deduce that the functions f ∨ g and f ∧ g are also integrable on a, b.
There really isn’t much to do in this exercise. The equation
fx + gx + |fx − gx|
f ∨ gx =
2
and
fx + gx − |fx − gx|
f ∧ gx =
2
for each x follow at once when we consider the cases fx ≤ gx and fx > gx.
2. Given that f is a nonnegative integrable function on an interval a, b, explain why the function f is
integrable.
This exercise follows at once from the fact that the square root function is uniformly continuous on
the range of f.
3. Given that f is integrable on an interval a, b, that f x ≥ 1 for every x ∈ a, b and that
gx = logf x
for every x ∈ a, b, explain why the function g must be integrable on a, b.
Since the function log is uniformly continuous on the interval 1, ∞, the integrability of g follows at
once from the composition theorem.
4. Suppose that f is integrable on an interval a, b and that α ≤ f x ≤ β for every x ∈ a, b. Show how the
junior version of the composition theorem for integrability can be used to show that if h is any continuous
function on the interval α, β the function h ∘ f is integrable on a, b.
The result follows at once from the fact that any continuous function on the interval α, β must be
uniformly continuous.
Solution: We define ux = sin x for every number x ∈ 0, 2π and observe that
∫0 ∫0
2π 2π
fsin x cos xdx = fuxu ′ xdx
∫ u0 ∫0 f = 0
u2π 0
= f=
b. Given that f is a continuous function on the interval 0, 1, prove that
π/2 π
∫0 fsin xdx = ∫ π/2 fsin xdx.
Solution: We define ux = π − x for every number x ∈ 0, π
2
and observe that
277
π/2 π/2
∫0 fsin xdx = − ∫
0
fsinπ − xu ′ xdx
π/2
= −∫ fsinuxu ′ xdx
0
π/2
= −∫ fsin tdt = − ∫
uπ/2
fsin tdt
u0 π
π
= ∫ π/2 fsin tdt
π
Of course, it makes no difference whether we write t or x in the integral ∫ fsin tdt.
π/2
Solution: We define ux = 2x for all x ∈ 0, π/2 and observe that
π/2 π/2 π/2
2α ∫ sin α x cos α xdx = ∫0 2 α sin α x cos α xdx = ∫0 2 sin x cos x α dx
0
π/2 π/2
= 1
2
∫0 sin α 2x2dx = 1
2
∫0 sin α uxu ′ xdx
π
∫ u0 ∫ 0 sin α tdt
uπ/2
= 1 sin α tdt = 1
2 2
π/2 π
= 1 ∫ sin α tdt + ∫ sin α tdt
2 0 π/2
and from part b we deduce that the latter expression is equal to
π/2 π/2 π/2
1
2
∫0 sin α tdt + ∫
0
sin α tdt = ∫0 sin α tdt.
2. Given that u is a differentiable function on an interval a, b and that its derivative u ′ is integrable on a, b
and given that ua = ub and that f is integrable on the range of u, prove that
∫ a futu ′ tdt = 0.
b
3. Given that f is integrable on an interval a, b and that c is any number, prove that
∫ a ftdt = ∫ a+c ft − cdt
b b+c
For every number t we define ut = t − c. We observe that u ′ t = 1 for every t. Now
∫ a+c ft − cdt = ∫ a+c futu ′ tdt = ∫ ua fxdx = ∫ a ftdt.
b+c b+c ub b
I have changed the name of the dummy variable back to t to match the expression in the exercise.
4. Given that a, b and c are real numbers, that ac < bc and that f is a continuous function on the interval
ac, bc, prove that
∫ ac ftdt = c ∫ a fctdt.
bc b
278
c ∫ fctdt = ∫ a futu ′ tdt = ∫ ac fxdx = ∫ ac ftdt
b b bc bc
5. a. Suppose that f is a continuous function on an interval a, b, that g is nonnegative and integrable on a, b.
Prove that, if m and M are, respectively, the minimum and maximum values of f, then
m∫ g ≤ ∫ a fg ≤ M ∫ a g
b b b
a
and deduce that there exists a number c ∈ a, b such that
∫ a f g = f c ∫ a g.
b b
This fact is sometimes called the mean value theorem for integrals.
Since
m ≤ fx ≤ M
for every x ∈ a, b we have
∫ a mg ≤ ∫ a fg ≤ ∫ a Mg
b b b
which gives us
m∫ g ≤ ∫ a fg ≤ M ∫ a g
b b b
a
and so
∫ a fg
b
m≤ ≤ M.
∫a g
b
The existence of the number c follows at once from the Bolzano intermediate value theorem.
b. Given that f is continuous on an interval a, b, prove that there exits a number c ∈ a, b such that
∫ a f = fcb − a.
b
a. Given that f is a nonnegative continuous function on an interval a, b where a < b and that ∫ f = 0,
b
6.
a
prove that f is the constant zero function.
To obtain a contradiction, suppose that c ∈ a, b and that fc > 0. Using the fact that f is
continuous at c, choose δ > 0 such that the inequality
fc
fx >
2
holds for every number x ∈ a, b ∩ c − δ, c + δ. The set a, b ∩ c − δ, c + δ is an interval with
positive length that we shall write as c, d. In fact, c is the larger of the two numbers a and c − δ
and d is the smaller of the two numbers b and c + δ. Since
∫ a f ≥ ∫ c f ≥ ∫ c fc
b d d fc
= d − c > 0
2 2
which gives us our desired contradiction.
b. Given that f is a continuous function on an interval a, b where a < b and that ∫ f = 0, for every
x
a
x ∈ a, b, prove that f is the constant zero function.
We know that if
∫a f
x
Fx =
for each x then F ′ x = fx for each x. Since F is the constant function zero we conclude that
fx = 0 for each x.
7. In this exercise we consider another proof of the “u decreasing” form of the change of variable theorem.
a. Given that f is an integrable function on an interval a, b and that gt = f−t whenever −b ≤ t ≤ −a,
279
give a direct proof that g is integrable on the interval −b, −a and that
−a
∫ −b gtdt = ∫ a fxdx.
b
Suppose first that f is a step function on a, b that steps within the partition
P =x 0 , x 1 , ⋯, x n
taking the constant value α j on each interval x j−1 , x j . We define
Q = −x n , −x n−1 , ⋯, −x 1 , −x 0
and observe that Q is a partition of the interval −b, −a. Now we define gt = f−t for each
t ∈ a, b and we observe that g is a step function that takes the value α j on each interval
−x j , x j−1 . We see at once that
n n
−a
∫ a f = ∑ α j x j − x j−1 = ∑−x j−1 − −x j α j = ∫ −b g
b
j=1 j=1
We can now handle the general case. Using the fact that f is integrable on the interval a, b,
choose a pair of sequences of step functions that squeezes f on the interval b, a. In other words,
sn ≤ f ≤ Sn
for each n and
∫ a S n − s n = 0.
b
lim
n→∞
For each n we define s ∗n t = s n −t and S ∗n t = S n −t and we observe that
s ∗n ≤ g ≤ S ∗n
and, by the case we have already considered we deduce that
−a
∫ −b S ∗n − s ∗n = ∫ a S n − s n → 0
b
as n → ∞.
It follows that the function g is integrable on the interval −b, −a and that
−a −a
∫ −b g = n→∞
lim ∫ s ∗n = n→∞
lim ∫ s n = ∫ f .
b b
−b a a
1. a. Suppose that u is a decreasing differentiable function on an interval a, b and that the derivative u ′ of u is
integrable on a, b. Apply the form of the monotone version of the change of variable theorem
proved above to the function v defined by the equation vt = −ut for −b ≤ t ≤ −a to show that the
equation
∫ a futu ′ tdt = ∫ ua fxdx
b ub
From the monotone version of the theorem proved earlier we also see that
−ub
∫ −ua g = ∫ va g = ∫ a gvtv ′ tdt
vb b
280
To reach some additional exercises that invite you to develop some important inequalities, click on the icon
.
Solution:
a. First we shall motivate this problem by looking at the special case in which f has a continuous
derivative. In this case we can change variable in the integral
∫ fa f −1
fb
to obtain
∫ fa f −1 = ∫ a f −1 ftf ′ tdt = ∫ a tf ′ tdt
fb b b
So the desired identity is true in this special case. Incidentally, this special case is all that we need for
the application of the identity to Exercise 3.
b. Now we consider the general case. The proof in this case is not difficult but it depends upon
Darboux’s theorem. (As a matter of fact, all the proof needs is the application of Darboux’s theorem
to continuous functions and this form of Darboux’s theorem is easier to prove.) Suppose that
P = x 0 , x 1 , ⋯, x n
is a the regular n-partition of the interval a, b for each n and, for each j, suppose that y j = fx j .
Then if Q n is the partition
Q n = y 0 , y 1 , ⋯, y n
of the interval fa, fb then, since f is uniformly continuous on a, b, the mesh of the partition Q n
must approach 0 as n → ∞. Now for each n we see that
n n n n
∑x j − x j−1 fx j + ∑y j − y j−1 f −1 y j−1 = ∑x j − x j−1 y j + ∑y j − y j−1 x j−1
j=1 j=1 j=1 j=1
n
= ∑ x j − x j−1 y j + y j − y j−1 x j−1
j=1
n
= ∑ x j y j − y j−1 x j−1 = xnyn − x0y0
j=1
= bfb − afa
and so, letting n → ∞, we see that
281
∫ a f + ∫ fa f −1 = bfb − afa.
b fb
2. Given that f is a strictly increasing continuous unbounded function on the interval 0, ∞ and that f0 = 0,
prove that for all positive numbers a and b we have
∫ 0 f + ∫ 0 f −1 .
a b
ab ≤
Solution:
The Case b = fa:
The case b = fa is illustrated in the following figure.
(a,f(a))
(0,0)
∫ 0 f + ∫ 0 f −1 .
a b
ab ≤
Now we say it precisely:
It follows from the preceding exercise that
∫0 f + ∫0 f −1 + ∫
a fa b
ab = afa + ab − fa = a
fa
∫0 f + ∫0 f −1 + ∫ ∫ 0 f + ∫ 0 f −1 .
a fa b a b
≤ f −1 ydy =
fa
The case b < fa:
The case b < fa is illustrated in the following figure.
282
The case b < fa
In this case the number ab is the area of the yellow region below the horizontal line at b plus the area of
the turquoise region. If we add on the area of the purple region then we obtain the sum of the two
integrals ∫ f and ∫ f −1 and so
a b
0 0
∫ 0 f + ∫ 0 f −1 .
a b
ab ≤
Now we say it precisely: We write g = f −1 . Since a > gb we can apply the case just considered to the
function g to obtain
∫ 0 g + ∫ 0 g −1
a b
ab ≤
and this is exactly the desired result.
3. Given that a and b are positive numbers, that p and q are positive numbers satisfying the equation
1 + 1 = 1,
p q
prove that
p q
ab ≤ ap + bq .
This inequality is known as W.H. Young’s inequality.
Hint:
Apply the preceding exercise to the function f defined by the equation fx = x p−1 for all x > 0.
The inequality
∫ 0 f + ∫ 0 f −1
a b
ab ≤
gives us
∫ 0 x p−1 dx + ∫ 0 t 1/p−1 dt
a b
ab ≤
which yields
p 1+1/p−1 p q
ab ≤ ap + b = ap + bq
1 + 1/p − 1
4. If f is an integrable function on an interval a, b then the p-norm ‖f‖ p of f is defined by the equation
1/p
∫ a |f| p
b
‖f‖ p = .
Prove that if f and g are integrable on an interval a, b and if p and q are positive numbers satisfying the
equation
1 + 1 = 1,
p q
then the following assertions are true:
283
a. For every number x ∈ a, b we have
p q
|fxgx| |fx| |gx|
≤ 1
p + 1
q .
‖f‖ p ‖g‖ q ‖f‖ p ‖g‖ q
This inequality follows at once from Exercise 3.
b. Integrating both sides of the preceding inequality and applying additivity yields the inequality
∫ a fg ≤ ‖f‖ p ‖g‖ q .
b
5. This exercise makes use of the concept of a convex function that was introduced in earlier exercises.
Suppose that f is integrable on the interval 0, 1 and that
α ≤ fx ≤ β
for every number x ∈ 0, 1 and that
∫ 0 f = I.
1
Prove that if h is a convex function on an open interval that includes the interval α, β then the following
assertions hold:
a. There is a number k such that the inequality
hy − hI
≤k
y−I
holds whenever α ≤ y < I and the inequality
hy − hI
≥k
y−I
holds whenever I ≤ y ≤ β.
We suppose that h is a convex function on an interval p, q where p < α and β < q.
Define
hy − hI
A= ∣α≤y<q
y−I
and
hy − hI
B= ∣p<y≤β .
y−I
Since h is a convex function we know that whenever p < y < I < z < q
p y I z q
we have
hy − hI hz − hI
≤
y−I z−I
284
and therefore sup A ≤ inf B and any number k in the interval sup A, inf B will have the desired
properties.
b. If k is chosen with the property specified in part a then for every number x ∈ 0, 1 we have
hfx − hI ≥ kfx − I.
The desired inequality becomes clear when we consider the cases fx < I, fx = I and
fx > I.
c. Integrating both sides of the preceding inequality yields the inequality
∫ 0 hfxdx ≥ h ∫ 0 fxdx
1 1
.
This inequality follows at once from Jensen’s inequality because the function exp, having an
increasing derivative, must be convex.
b. Prove that if f is integrable on the interval 0, 1 and if for some number δ > 0 we have fx > δ for every
x ∈ 0, 1 then
∫ 0 fxdx ≥ exp ∫ 0 logfxdx
1 1
.
Since the function log is uniformly continuous on the interval δ, ∞ we know that the function
g = log ∘ f
is integrable on 0, 1. It follows from Part a that
∫ 0 expgxdx ≥ exp ∫ 0 gxdx
1 1
which gives us
∫ 0 fxdx ≥ exp ∫ 0 logfxdx
1 1
.
c. Given positive numbers c 1 , c 2 , ⋯, c n , apply part b to an appropriate step function f on 0, 1 to obtain the
inequality
c1 + c2 + ⋯ + cn ≥
n c 1 c 2 ⋯c n 1/n .
In other words, the arithmetic mean of the numbers c 1 , c 2 , ⋯, c n is not less than the geometric mean.
We define
P = x 0 , x 1 , ⋯, x n
to be the regular n-partition of 0, 1 and we define f to be the step function on 0, 1 that takes
the constant value c j on each interval x j−1 , x j and we apply Part b.
285
Alternative 11 The Riemann-Stieltjes Integral
Some Exercises on Step Functions
1. True or false? If f is a step function on an interval a, b and c, d is a subinterval of a, b then f is a step
function on c, d.
Solution: We define
0 if 0 ≤ x ≤ 2
fx =
1 if 2 <x≤2
Now if P is any regular partition of the interval 0, 2 then, since the irrationality of 2 makes it
impossible to find integers n and j such that
2j
2 = 0+ n
we know that 2 can’t be a point of P. In other words, the number 2 must be in one of the open
intervals of P and f fails to be constant in that interval.
4. Explain why a step function must always be bounded.
Suppose that f is a step function on an interval a, b. Choose a partition P of a, b such that f steps
with P. We express P in the form x 0 , x 1 , ⋯, x n . Since f is constant in each subinterval x j−1 , x j , the
range of f must be a finite set and therefore f is bounded.
5. Prove that if f and g are step functions on an interval a, b then so are their sum f + g and their product fg.
Hint: You can find a proof of this assertion in the section on linearity of integration of step functions.
6. Prove that if f and g are step functions then so are their sum f + g and their product fg.
Choose an interval a, b such that both of the functions f and g take the value 0 at every number in
R ∖ a, b. We deduce from Exercise 2 that both f and g are step functions on the interval a, b and
it follows from Exercise 5 that f + g and fg are step functions on a, b and we conclude that these
286
functions are step functions.
7. Prove that a continuous step function on an interval must be constant on that interval.
Suppose that f is a continuous step function on an interval a, b and choose a partition
P =x 0 , x 1 , ⋯, x n
of a, b within which f steps. If c is the constant value of f on the interval x 0 , x 1 then, since f is
continuous at x 0 and at x 1 we have fx 0 = fx 1 = c. Therefore, since f is continuous at x 1 , the
number c must also be the constant value of f on x 1 , x 2 . Continuing in this way we see that f has
the constant value c throughout the interval a, b.
-2 0 2 4 6 8 10
-1
= −19 − 3 + 0 1 − −1 + 12 − 1 + −13 − 2 + −116 − 9 + 225 − 16 + 349 − 25 + 0100 − 49
and since
−19 − 3−13 − 2 + −116 − 9 = −116 − 2
we have
ΣQ, f, φ = ΣP, f, φ = 77.
287
∞
2. Given that f is the function whose graph appears in the figure, evaluate ∫ f.
−∞
-2 0 2 4 6 8 10
-1
a. We define
2 if −1 ≤ x < 1
fx =
0 if x ∈ R ∖ −1, 1
and
0 if x < −1
φx = .
3 if x ≥ −1
∞
∫ −∞ fdφ = ∫ −1 fdφ = 23 − 0 + 23 − 3 = 6
1
b. We define
2 if −1 < x < 1
fx =
0 if x ∈ R ∖ −1, 1
and
0 if x < −1
φx = .
3 if x ≥ −1
∞
∫ −∞ fdφ = ∫ −1 fdφ = 03 − 0 + 23 − 3 = 0
1
c. We define
2 if −1 ≤ x < 1
fx =
0 if x ∈ R ∖ −1, 1
and
0 if x ≤ −1
φx = .
3 if x > −1
∞
∫ −∞ fdφ = ∫ −1 fdφ = 23 − 0 + 23 − 3 = 6
1
288
d. We define
2 if −1 ≤ x < 1
fx =
0 if x ∈ R ∖ −1, 1
and
0 if x < −1
φx = 2 if x = −1 .
3 if x ≥ −1
∞
∫ −∞ fdφ = ∫ −1 fdφ = 23 − 0 + 23 − 3 = 6
1
e. We define
2 if 0 ≤ x < 1
fx = −1 if 2 ≤ x ≤ 6
0 if x ∈ R ∖ 0, 1 ∪ 2, 6
and
−5 if x ≤ 0
φx = 0 if 0 < x < 3
x if x ≥ 3
0 1 2 3 6
∞
∫ −∞ fdφ = ∫ 0 fdφ
6
4. Prove that if φ is an increasing function and f is a step function then the function |f| is a step function and
∞ ∞
∫ −∞ fdφ ≤ ∫ −∞ |f|dφ.
The fact that |f| is a step function whenever f is a step function follows at once from the fact that |f|
is constant on any interval on which the function f is constant. Since −|f| ≤ f ≤ |f|, it follows from
nonnegativity that
∞ ∞ ∞
−∫ |f|dφ ≤ ∫ −∞ fdφ ≤ ∫ −∞ |f|dφ
−∞
and we conclude that
∞ ∞
∫ −∞ fdφ ≤ ∫ −∞ |f|dφ.
5. Given that f is a function defined on R and that the set of numbers x for which fx ≠ 0 is finite, explain why f
must be a step function and why if φ is a continuous increasing function we must have
∞
∫ −∞ fdφ = 0.
We define a and b to be the smallest and largest members, respectively, of the set x ∣ fx ≠ 0. If
we arrange the members of the set x ∣ fx ≠ 0 in ascending order then we obtain a partition of
a, b within which f steps. Since the jump of φ at each of the numbers in the set x ∣ fx ≠ 0 is
zero, the sum of f over this partition is zero. Since f is zero outside the interval a, b we conclude
that f is a step function and that
∞
∫ −∞ f = 0.
289
6. Given that f is a nonnegative step function and that φ is a strictly increasing function and that
∞
∫ −∞ fdφ = 0,
prove that the set of numbers x for which fx ≠ 0 must be finite.
We begin by choosing an interval a, b and a partition
P = x 0 , x 1 , ⋯, x n
of a, b such that fx = 0 whenever a number x lies outside the interval a, b and such that f steps
within the partition P. If the constant value of f in each interval x j−1 , x j is α j then
n n
∞
∑ fx j Jφ, x j + ∑ α j φx j − − φx j−1 + = ∫ −∞ fdφ = 0
j=0 j=1
and, since every term in this summation is nonnegative we know that every term must be zero. For
each j, the fact that φ is strictly increasing and the fact that
α j φx j − − φx j−1 + =0
guarantees that α j = 0.
7. Given that f and g are step functions, that φ is an increasing function and that c is a real number, prove that
∞ ∞
∫ −∞ cfdφ = c ∫ −∞ fdφ
and
∞ ∞ ∞
∫ −∞ f + gdφ = ∫ −∞ fdφ + ∫ −∞ gdφ.
These results follow at once when we choose an interval a, b outside of which both f and g are
∞
zero and then replace ∫ by ∫ .
b
−∞ a
8. Given that f is a step function and that φ and ψ are increasing functions, prove that
∞ ∞ ∞
∫ −∞ fdφ + ψ = ∫ −∞ fdφ + ∫ −∞ fdψ.
We begin by choosing an interval a, b and a partition
P = x 0 , x 1 , ⋯, x n
of a, b such that fx = 0 whenever a number x lies outside the interval a, b and such that f steps
within the partition P. If the constant value of f in each interval x j−1 , x j is α j then
n n
∞
∫ −∞ fdφ + ψ = ∑ fx j Jφ + ψ, x j + ∑ α j φ + ψx j − − φ + ψx j−1 +
j=0 j=1
n n
= ∑ fx j Jψ, x j + Jφ, x j + ∑ α j φx j − + ψx j − − φx j−1 + − ψx j−1 +
j=0 j=1
∞ ∞
= ∫ −∞ fdφ + ∫ −∞ fdψ.
9. Given that f is a step function and that φ is an increasing function and that c is a nonnegative number, prove
that
∞ ∞
∫ −∞ fdcφ = c ∫ −∞ fdφ.
We begin by choosing an interval a, b and a partition
P = x 0 , x 1 , ⋯, x n
of a, b such that fx = 0 whenever a number x lies outside the interval a, b and such that f steps
within the partition P. If the constant value of f in each interval x j−1 , x j is α j then
290
n n
∞
∫ −∞ fdcφ = ∑ fx j Jcφ, x j + ∑ α j cφx j − − cφx j−1 +
j=0 j=1
n n
∞
= c ∑ fx j Jφ, x j + c ∑ α j φx j − − φx j−1 + = c∫ fdφ.
−∞
j=0 j=1
Solution: We begin by choosing a lower bound a and an upper bound b of the set A ∪ B. By looking
at the different cases we can see easily that whenever x ∈ a, b we have
χ A∪B = χ A + χ B − χ A∩B .
Therefore
∫ a χ A∪B dφ = ∫ a χ A + χ B − χ A∩B dφ
b b
varφ, A ∪ B =
∫ a χ A dφ + ∫ a χ B dφ − ∫ a χ A∩B dφ
b b b
=
Solution: Choose a lower bound a and an upper bound b of the set E. Since the set E ∖ F is
elementary, if we want to show that mE ∖ F > 0 then, from Exercise 2, all we have to show is that the set
E ∖ F cannot be finite. The fact that E ∖ F is not finite follows from the fact that finite sets are always
291
closed, that F is closed and that the set E, which isn’t closed is the union of the two sets F and E ∖ F.
7. Given that φ is an increasing function, that f is a step function, that E is an elementary set and that fx = 0
whenever x ∈ R ∖ E, prove that
∞
∫E fdφ = ∫ −∞ fdφ.
Solution: The desired equality follows at once from the definitions and the fact that
f = fχ E .
8. Given that φ is an increasing function, that f and g are step functions, that E is an elementary set and that
fx ≤ gx whenever x ∈ R, prove that
∫E fdφ ≤ ∫E gdφ.
Choose an interval a, b outside of which both of the functions f and g are zero. Since fχ E ≤ gχ E , it
follows from the nonnegativity property of integrals of step functions that
∫E fdφ = ∫ a fχ E dφ ≤ ∫ a gχ E dφ = ∫E gdφ
b b
9. Given that φ is an increasing function, that f is a nonnegative step function, that A and B are elementary sets
and that A ⊆ B, prove that
∫A fdφ ≤ ∫B fdφ.
The desired inequality follows at once from the fact that fχ A ≤ fχ B . We choose an interval a, b that
includes the set B and use the nonnegativity property to obtain
∫A f = ∫ a fχ A ≤ ∫ a fχ B = ∫B f
b b
10. Given that φ is an increasing function, that f is a step function and that E is an elementary set, prove that
∫E fdφ ≤ ∫E |f|dφ.
Hint: Use the fact that
− |f|χ E ≤ fχ E ≤ |f|χ E .
The fact that these expressions are equal to mA ∩ B follows at once from the fact that
χ A χ B = χ A∩B .
For some additional exercises on the variation of a function φ on elementary sets click on the following icon.
.
292
1. Given that H is a closed elementary set and U n is a sequence of open elementary sets and that
∞
H⊆ ⋃ Un,
n=1
use this earlier exercise to deduce that, for some positive integer N we have
N
varφ, H ≤ ∑ varφ, U n
n=1
and deduce that
∞
varφ, H ≤ ∑ varφ, U n .
n=1
Choose a positive integer N such that
N
H⊆ ⋃ Un.
n=1
We have
N N ∞
varφ, H ≤ var φ, ⋃ U n ≤ ∑ varφ, U n ≤ ∑ varφ, U n .
n=1 n=1 n=1
2. Given that E is an elementary set and that U n is a sequence of open elementary sets and that
∞
E⊆ ⋃ Un,
n=1
prove that
∞
varφ, E ≤ ∑ varφ, U n .
n=1
Hint: Make use of the theorem on approximating by closed sets and open sets
Given any closed subset H of E we know from Exercise 1 that
∞
varφ, H ≤ ∑ varφ, U n .
n=1
∞
Since ∑ n=1 varφ, U n is an upper bound of the set
varφ, H ∣ H is elementary and closed and H ⊆ E
and since varφ, E is the least upper bound of this set we have
∞
varφ, E ≤ ∑ varφ, U n .
n=1
3. Given that A n is a sequence of elementary sets and that > 0 and that the series ∑ varφ, A n is
convergent, and given that for each positive integer n the set U n is an open elementary set that includes A n
and satisfies the inequality
varφ, U n < varφ, A n + n ,
2
prove that
∞ ∞
∑ varφ, U n < ∑ varφ, A n + .
n=1 n=1
The desired result follows at once from the fact that
293
∞
∑ = .
2n
n=1
4. Given that E is an elementary set and that A n is a sequence of elementary sets and that
∞
E⊆ ⋃ An,
n=1
prove that
∞
varφ, E ≤ ∑ varφ, A n .
n=1
To obtain a contradiction, assume that
∞
varφ, E > ∑ varφ, A n .
n=1
Choose > 0 such that
∞ ∞ ∞
varφ, E > ∑ varφ, A n + = ∑ varφ, A n + ∑ 2n .
n=1 n=1 n=1
For each n, choose an open elementary set U n that includes A n such that
varφ, U n < varφ, A n + n .
2
We see that
∞ ∞ ∞
varφ, E > ∑ varφ, A n + ∑ 2n > ∑ varφ, U n
n=1 n=1 n=1
which, in view of Exercise 2, is impossible because
∞
E⊆ ⋃ Un.
n=1
5. Suppose that E is an elementary set and that A n is a sequence of elementary sets with the property that
whenever i and j are positive integers and i ≠ j we have
A i ∩ A j = ∅.
Suppose that E is an elementary set and that
∞
E= ⋃ An.
n=1
Prove that
∞
varφ, E = ∑ varφ, A n .
n=1
Given any postiive integer N we see that
N N
varφ, E ≥ var φ, ⋃ A n = ∑ varφ, A n .
n=1 n=1
Therefore
N ∞
varφ, E ≥ lim
N→∞
∑ varφ, A n = ∑ varφ, A n ,
n=1 n=1
and the desired result therefore follows from Exercise 4.
294
Function
1. Prove the claim that was made earlier that if φ is the Cantor function and I is one of the component intervals
of the elementary set E n then
varφ, I = 1n .
2
Solution: We can express the left endpoint of I in the form
n
∑ aj
3j
j=1
2. The preceding examples show that a function f can be Riemann integrable on the interval 0, 1 even though it
fails to be Riemann-Stieltjes integrable with respect to the Cantor function φ. Can you give an example of a
function f that is Riemann-Stieltjes integrable with respect to φ on 0, 1 but fails to be Riemann integrable on
0, 1?
We can make use of the fact that the Cantor function is constant in the interval 13 , 23 . We define
0 if x is irrational
fx = 0 if x ∈ 0, 1 ∖ 1
3
, 2
3
1 if x is rational and x ∈ 1
3
, 2
3
295
Once again we recall that C is the intersection of the family of sets E n that were defined
in our discussion of the Cantor set and that each set E n is the union of 2 n closed intervals. Look,
once again, at the set E 2 :
0 1 2 1 27 8 1
9 9 3 39 9
The function φ takes the value 14 at each of the points 19 and 29 and takes the value 12 at each of
the points 13 and 23 and takes the value 34 at each of the points 79 and 89 . Therefore, if I is any one
of the four component intervals of E 2 then we have
varφ, I = 1 .
4
More generally we may see that for each positive integer n, if I is any one of the 2 n component
intervals of E n then
varφ, I = 1n .
2
For each natural number n we define P n to be the partition of 0, 1 whose points are the endpoints
of the component intervals of the set E n . For example,
P 2 = 0, 1 , 2 , 1 , 2 , 7 , 8 , 1 .
9 9 3 3 9 9
For each n, if the partition P n is expressed as
P = x 0 , x 1 , ⋯, x 2 n+1
then we define two step functions s n and S n on 0, 1 by defining
s n x j = S n x j = φx j
for every j = 0, 1, 2, ⋯, 2 and by defining
n
0 xj−1 xj 1
We observe that s n ≤ φ ≤ S n . Now given any two consecutive points x j−1 and x j of the partition P n
there are two possibilities: Either the interval x j−1 , x j is a component interval of the set E n ; in which
case
varφ, x j−1 , x j = 1n
2
or the interval x j−1 x j is a gap between two component intervals of E n ; in which case
varφ, x j−1 , x j = 0.
We deduce that
∫ 0 S n − s n dφ =
1
1 1 = 1 .
2n 2n 4n
Since the latter expression approaches 0 as n → ∞ we know that the pair of sequences s n and
S n squeezes φ with respect to φ and so φ is Riemann-Stieltjes integrable with respect to itself on
the interval 0, 1. To find the value of the integral ∫ φdφ we observe that for each n we have
1
0
2n
2 n 2 n + 1
∫ 0 S n dφ = ∑
1 j 1 = 1n
2n 2n 4 2
j=1
and so
296
∫ 0 S n dφ =
1
lim 1.
n→∞ 2
Therefore
∫ 0 φdφ =
1
1.
2
1
The fact that this integral is 2 becomes obvious after one has studied the integration by parts
identity. As a matter of fact, if φ is any increasing continuous function on an interval a, b then
0 1 2
3 3
1
By looking at the two cases a 2 = 0 and a 2 = 2 we can go a step further and see that C is included in the set
E 2 = 0, 1 ∪ 2 , 3 ∪ 6 , 7 ∪ 8 , 1
9 9 9 9 9 9
0 1 2 1 2 7 8 1
9 9 3 3 9 9
and, in general, if n is any positive integer then C is included in the set E n that is the union of 2 n closed
intervals of length 1/3 n and whose left endpoints are the numbers
n
∑ aj
3j
j=1
297
∞
The value of the Cantor function φ at each member ∑ n=1 an
3n
of the set C is defined by the equation
∞ ∞
φ ∑ an
3n
= ∑ an .
2 n+1
n=1 n=1
Thus
φ0 = 0
∞ ∞
φ1 = φ ∑ 2
3n
= ∑ 2 =1
2 n+1
n=1 n=1
φ 1 =φ 2 = 1
3 3 2
φ 1 =φ 2 = 1
9 9 4
φ 7 =φ 8 = 3.
9 9 4
The function φ is a continuous strictly increasing function from C onto the interval 0, 1. We now extend φ to
an increasing function from 0, 0 onto 0, 1 by making φ constant on every component interval of the open
set 0, 1 ∖ C. The graph of φ is shown in the following figure:
The purpose of this document is to explore some integrals of the form ∫ x p dφx where p is a positive
1
0
integer. Note that such an integral always exists because the integrand is an increasing function. However, it
is worth showing the existence of the integrals directly. We define fx = x p for each x ∈ 0, 1. For each
positive integer n we define P n to be the partition of 0, 1 whose points are the endpoints of the component
intervals of the set E n . For example,
P 2 = 0, 1 , 2 , 1 , 2 , 7 , 8 , 1 .
9 9 3 3 9 9
0 1 2 1 2 7 8 1
9 9 3 3 9 9
For each n, if the partition P n is expressed as
P = x 0 , x 1 , ⋯, x 2 n+1
then we define two step functions s n and S n on 0, 1 by defining
p
s n x j = S n x j = x j
for every j = 0, 1, 2, ⋯, 2 n and by defining
p
s n x = x j−1
and
p
S n x = x j
whenever
298
x j−1 < x < x j
0 xj−1 xj 1
We observe that s n ≤ f ≤ S n . Now given any two consecutive points x j−1 and x j of the partition P n there are
two possibilities: Either the interval x j−1 , x j is a component interval of the set E n ; in which case
varφ, x j−1 , x j = 1n
2
or the interval x j−1 x j is a gap between two component intervals of E n ; in which case
varφ, x j−1 , x j = 0.
When x j−1 , x j is a component interval of E n we have
p
x j − x j−1 = 1n x j + x j x 1j−1 + x j x 2j−1 + ⋯ + x j−1 < n
p p p−1 p−2 p−3 p−1
3 3
and so
2n
∫ 0 S n − s n dφ = ∑
1 p
x j − x j−1
p 1
2n
j=1
2n
= ∑ 1 x p−1 + x p−2 x 1 + x p−3 x 2 + ⋯ + x p−1
3n j j j−1 j j−1 j−1
1
2n
j=1
p
< n.
3
Since the latter expression approaches 0 as n → ∞ we know that the pair of sequences s n and S n squeezes
f with respect to φ and so f is Riemann-Stieltjes integrable with respect to φ on the interval 0, 1. We deduce
that
∫ 0 s n dφ = ∫ 0 x p dφx
1 1
lim
n→∞
We now look at the step functions s n more closely. We write the 2 n left endpoints of the component intervals
of E n as
c 1 , c 2 , c 3 , ⋯, c 2 n
and for each k = 1, 2, 3, ⋯, 2 we express c k in the form
n
n
a kj
ck = ∑ 3j
.
j=1
∫ 0 s n dφ = ∑ ∑ a kj
1
1
3j 2n
k=1 j=1
and, in the special cases that follow, we shall write the number
2n
1
2n ∑ a kj a kj ⋯a kj
1 2 p
k=1
as gj 1 , j 2 , j 3 , ⋯, j p . As will be explained below in the special cases, the value of the function g at any
member j 1 , j 2 , j 3 , ⋯, j p of its domain depends upon the number of (distinct) members in the set
j 1 , j 2 , j 3 , ⋯, j p .
299
1 if j 1 , j 2 , j 3 , ⋯, j p has p members
2 if j 1 , j 2 , j 3 , ⋯, j p has p − 1 members
gj 1 , j 2 , j 3 , ⋯, j p = 4 if j 1 , j 2 , j 3 , ⋯, j p has p − 2 members
⋮ ⋮ ⋮
2p if j 1 , j 2 , j 3 , ⋯, j p has only 1 member
k=1 j=1
3j 2n
n 2n n 2n
a kj 1
= ∑∑ 3j 2n
= 1n
2 ∑ 1
3j
∑ a kj
j=1 k=1 j=1 k=1
Now for each j, exactly 2 n−1 of the integers k ∈ 1, 2, ⋯, 2 n give us a kj = 2 and the other 2 n−1 values of k
give us a kj = 0. Therefore
n
∫0 ∑
1
s n dφ = 1 = − 1 3 −n + 1 → 1
j=1
3j 2 2 2
as n → ∞, and we conclude that
∫ 0 xdφx =
1
1.
2
Some Special Cases
The Integral ∫ x 2 dφx
1
0
When p = 2 we have
2n n 2 2n n n
∫ 0 s n dφ = ∑ ∑ a kj
∑ ∑∑
a kj a ki
1
1 = 1
3j 2n 2n 3j 3i
k=1 j=1 k=1 j=1 i=1
n n 2n
= 1n
2 ∑∑ 1 1
3i 3j
∑ a kj a ki
j=1 i=1 k=1
Now for each i, there are exactly values of k for which a ki = 2 and, whenever j ≠ i, exactly 2 n−2 of these
2 n−1
2 values of k give us a jk = 2. Therefore
n−1
n n 2n n n
1
2n ∑∑ 1 1
3i 3j
∑ a kj a ki = ∑ ∑ 1 1 gi, j
3i 3j
j=1 i=1 k=1 j=1 i=1
where
2 if i = j
gi, j =
1 if i ≠ j
and we conclude that
300
n n
∫ 0 s n dφ = ∑ ∑
1
1 1 gi, j
j=1 i=1
3i 3j
n n n 2
= ∑∑ 1 1 +∑ 1
3i 3j 3j
j=1 i=1 j=1
= − 1 3 −n + 1 − 1 3 −n + 1 − 1 9 −n + 1
2 2 2 2 8 8
and we conclude that
∫ 0 x 2 dφx = n→∞
lim ∫ s n dφ =
1 1
3.
0 8
∫ 0 s n dφ = ∑ ∑ a kj
1
1
3j 2n
k=1 j=1
2n n n n
= 1n
2 ∑∑∑∑ a kr a ks a kt
3r 3s 3t
k=1 r=1 s=1 t=1
n n n 2n
= 1n
2 ∑∑∑ 1
3r3s3t
∑ a kr a ks a kt
r=1 s=1 t=1 k=1
n n n
= ∑∑∑ 1 gr, s, t
3r3s3t
r=1 s=1 t=1
where
4 if r = s = t
gr, s, t = 2 if the set r, s, t has two members
1 if the set r, s, t has three members
We observe that
n n n n n n n n
∑∑∑ 1 gr, s, t =
3r3s3t
∑∑∑ 1
3r3s3t
+ 3 ∑ ∑ r 12 t
r=1 s=1 t=1 r=1 s=1 t=1 r=1 t=1 3 3
n n n n n
∑ ∑ ∑ ∑ ∑
2
= 1 1 1 +3 1 1
3r 3s 3t 3r 3t
r=1 s=1 t=1 r=1 t=1
= − 1 3 −n + 1 − 1 3 −n + 1 − 1 3 −n + 1
2 2 2 2 2 2
1
+3 − 9 + −n 1 1
− 3 + −n 1
8 8 2 2
and so
∫ 0 x 3 dφx = n→∞
lim ∫ s n dφ =
1 1
5 .
0 16
301
2n n 4
∫ 0 s n dφ = ∑ ∑ a kj
1
1
3j 2n
k=1 j=1
2n n n n n
= 1n
2 ∑∑∑∑∑ a kr a ks a kt a ku
3r 3s 3t 3u
k=1 r=1 s=1 t=1 u=1
n n n n 2n
= 1n
2 ∑∑∑∑ 1
3r3s3t3u
∑ a kr a ks a kt a ku
r=1 s=1 t=1 u=1 k=1
n n n n
= ∑∑∑∑ 1
3r3s3t3u
gr, s, t, u
r=1 s=1 t=1 u=1
where
8 if r, s, t, u has one member
4 if r, s, t, u has two members
gr, s, t, u =
2 if r, s, t, u has three members
1 if r, s, t, u has four members
We observe that
n n n n
∑∑∑∑ 1
3r3s3t3u
gr, s, t, u
r=1 s=1 t=1 u=1
n n n n n n n
∑∑∑∑ + 4 ∑ ∑ ∑ 1r
2
= 1 1 1
3r3s3t3u 3 3s 3t
r=1 s=1 t=1 u=1 r=1 s=1 t=1
n n n
+ 6∑∑ − 3∑
2 2 4
1 1 1
3r 3s 3r
r=1 s=1 r=1
n n n n
= ∑ 1
3r ∑ 1
3s ∑ 1
3t
∑ 1
3u
r=1 s=1 t=1 u=1
n n n
+4 ∑ 1
3 2r
∑ 1
3s ∑ 1
3t
r=1 s=1 t=1
n n n
+6 ∑ 1
3 2r
∑ 1
3 2s
− 3∑ 1
3 4r
r=1 s=1 r=1
= − 1 3 −n + 1 − 1 3 −n + 1 − 1 3 −n + 1 − 1 3 −n + 1
2 2 2 2 2 2 2 2
1
+4 − 9 + −n 1 1
− 3 + −n 1 1
− 3 + −n 1
8 8 2 2 2 2
1
+6 − 9 + −n 1 − 1 9 −n + 1 − 3 − 1 81 −n + 1
8 8 8 8 80 80
= 11 −n
81 + 3 1
9 − 3 −n +
−n 39
160 16 2 160
and we conclude that
∫ 0 x 4 dφx = n→∞
lim ∫ s n dφ =
1 1
39 .
0 160
302
1. Prove that the integral
∫ 1 3x 2 dx
4
Solution: This exercise will become obsolete when we reach the fundamental theorem of calculus
later on in the chapter. The solution given here is a bare hands approach and repeats portions of the proof
that monotone functions are integrable.
We define fx = 3x 2 for each number x ∈ 1, 4. Given any positive integer n, if
P n = x 0 , x 1 , ⋯, x n
is the regular n-partition of the interval 1, 4 then we define two step functions s n and S n by making
s n x = S n x = f x
whenever x is a point of the partition P n and, in each interval x j−1 , x j of the partition P n we make s n and
S n take the constant values f x j−1 and f x j respectively. Since
n
∫ 1 S n − s n = ∑f x j − f x j−1 4 −n 1
4
j=1
n
= 3
n ∑f x j − f x j−1
j=1
914n 2 + 15n + 3
= → 63
2n 2
as n → ∞.
2. In this exercise we take fx = x for x ∈ 0, 1. Given a positive integer n, we shall take P n to be the
partition of 0, 1 defined by the equation
2 2 2 2
P n = 0 2 , 1 2 , 2 2 , ⋯, n 2 .
n n n n
Prove that if we define a step function S n on 0, 1 by making
S n x = x
whenever x is a point of the partition P n and giving S n the constant value j/n in each interval
j − 1 2 j 2
, 2
n2 n
of the partition P n , then
∫ 0 x dx = n→∞ lim ∫ S n = 2 .
1 1
0 3
Solution: For each positive integer n we define the function S n as described in the exercise and we
303
define a step function s n on 0, 1 by making
S n x = x
whenever x is a point of the partition P n and giving s n the constant value j − 1/n in each interval
j − 1 2 j 2
, 2
n2 n
We see at once that s n ≤ f ≤ S n for each n and that
n
j−1 j2 j − 1 2
∫ 0 S n − s n = ∑
1 j
lim n − n − = 1
n →0
n→∞
j=1
n2 n2
as n → ∞. We conclude that the pair of sequencess n and S n squeezes f on the interval 0, 1 and that
∫ 0 S n = ∫ 0 f.
1 1
lim
n→∞
Therefore
n
j2 j − 1 2
∫ 0 f = n→∞
lim ∫ S n = n→∞
lim ∑
1 1 j
n −
0
j=1
n2 n2
lim 4n + 3n −1 = 2.
2
= n→∞
6n 2 3
3. Prove that
∫0
1
x dx = 3 . 3
4
This exercise is very similar to Exercise 2. This time we take
3 3 3 3
P n = 0 3 , 1 3 , 3 3 , ⋯, n 3
n n n n
for each n and, for each n, we define S n to be the step function that takes the value 3 x at each
point of P n and whose constant value in each interval
j − 1 3 j 3
, 3
n3 n
is j/n. We observe that
n
j3 j − 1 3
∫ 0 S n = n→∞
lim ∑
1 j
lim n −
n→∞
j=1
n3 n3
n
3j 3 − 3j 2 + j
= n→∞
lim ∑ n4
j=1
lim 3n + 2n −1 = 3.
2
= n→∞
4n 2 4
In the same way we can show that if s n 3 x at each point of P n and whose constant value in each
interval
j − 1 3 j 3
, 3
n3 n
is j − 1/n then
lim ∫ s = 3
1
n→∞ 0 n 4
and so the pair of sequences s n and S n squeezes the cube root function on 0, 1.
4. Prove that the integral
∫ 0 xdx 3
1
304
Solution: This exercise will become obsolete when we reach the theorem on reduction of
Riemann-Stieltjes integrals to Riemann integrals. The solution given here is a bare hands approach. We
define φx = x 3 for each x. For each positive integer n we define
Pn = 0 1 2 n
n , n , n , ⋯, n ,
j j
we define s n and S n to be the step functions that take the value n at each point n of the partition P n and
j−1 j j−1 j
that takes the constant values n and n respectively on each interval n , n of the partition.
For each n we see that
n
j−1 3
j−1 3
∫0 ∑
1 j j
S n − s n dφ = n − n n − n = 1
n
j=1
and the latter expression approaches 0 as n → ∞. Therefore the required integral exists. Now for each n
we see that
n 3
j−1 3
∫ 0 S n dφ = ∑ = 3n + 2n −1
1 j j 2
n n − n
j=1
4n 2
and the latter expression approaches 3
4
as n → ∞. Therefore
∫ 0 xdx 3 =
1
3.
4
5. Suppose that
x if x ≤ 0
φx = .
2x if x > 0
Prove that the integral
∫ −1 1 + xdφx
1
305
and the latter expression approaches 7
2
as n → ∞.
6. Suppose that
x if x ≤ 0
φx = .
x + 1 if x > 0
Prove that the integral
∫ −1 1 + xdφx
1
and the latter expression approaches 0 as n → ∞. Therefore the required integral exists. Now for
each n we see that
306
n 2
j−1
∫ 0 S n dφ = ∑ = 2n + 3n +1
1 j j 2
n n − n 6n 2
j=1
∫ 0 xd
1
x = 1.
3
Solution: For each positive integer n we define P n to be the following partition of the interval 0, 1:
P n = 0, 1 1 1 1
n , n − 1 , ⋯, 3 , 2 , 1 .
For each n we see easily that
∫ 0 lP n , f = 0 ∫ 0 uP n , f =
1 1
and 1
n
and therefore
∫ 0 lP n , f = n→∞
lim ∫ uP n , f = 0.
1 1
lim
n→∞ 0
2. Suppose that f is defined on the interval in such a way that whenever x ∈ 0, 1 and x has the form 1n for some
positive integer n we have fx = 0 and whenever x belongs to an interval of the form n+1 1
, 1n for some
positive integer n we have
fx = 1 + −1 n .
Draw a rough sketch of the graph of this function and explain why it is Riemann integrable on the interval
0, 1.
Solution:
1 1 1 1 1
0 6 5 4 3 2
1
For each positive integer n we define P n to be the following partition of the interval 0, 1:
P n = 0, 1 1 1 1
n , n − 1 , ⋯, 3 , 2 , 1 .
For each n we see easily that
n−1
∫ 0 lP n , f = ∑
1
1 − 1 1 + −1 j
j j+1
j=1
307
and
n−1
∫ 0 uP n , f = 2 +∑ 1 − 1
1
1 + −1 j
n j j+1
j=1
and so
∫ 0 uP n , f − ∫ 0 lP n , f
1 1
lim
n→∞
lim 2
= n→∞ n =0
and we have shown that f is integrable on 0, 1.
Incidentally, we have also shown that
n−1
∫ 0 f = n→∞
lim ∑
1
1 − 1 1 + −1 j
j j+1
j=1
n
= n→∞
lim ∑ 2
2j2j + 1
j=1
n
= n→∞
lim ∑ 1
j2j + 1
j=1
In the chapter on infinite series you will learn how to show that the latter limit is 2 − 2 log 2.
3. Given that φ is an increasing function f is a bounded function on an interval a, b, prove that the following
conditions are equivalent:
a. The function f is integrable with respect to φ on the interval a, b.
b. For every number > 0 there exist step functions s and S on the interval a, b such that s ≤ f ≤ S and
∫ a S − sdφ < .
b
c. For every number > 0 there exist step functions s and S on the interval a, b such that s ≤ f ≤ S and
such that if
E = x ∈ a, b ∣ Sx − sx ≥ ,
we have varφ, E < .
d. For every number > 0 there exist functions g and h that are Riemann-Stieltjes integrable with respect to
φ on the interval a, b such that g ≤ f ≤ h and
∫ a h − gdφ < .
b
To show that condition a implies condition b we assume that condition a holds. In other words, we
assume that f is integrable with respect to φ on a, b. Suppose that > 0. Using the first criterion
for integrability we choose a partition P of a, b such that
∫ a wP, fdφ < .
b
We define S = uP, f and s = lP, f and observe that the functions s and S have the desired
properties.
The proof that condition a implies condition c is very similar. This time, the partition P is chosen
using the second criterion for integrability.
To prove that condition b implies condition a we assume that condition b holds. What we shall
show is that the first criterion for integrability holds. Suppose that > 0. Using condition b we
choose step functions s and S on the interval a, b such that s ≤ f ≤ S and
∫ a S − sdφ < .
b
Choose a partition P of a, b such that both s and S step within P and observe that since
308
s ≤ lP, f ≤ uP, f ≤ S
we have
∫ a wP, fdφ = ∫ a uP, f − lP, fdφ ≤ ∫ a S − sdφ < .
b b b
The proof that condition c implies condition a is very similar. This time we show that f is integrable
by showing that the second criterion for integrability holds.
4. Suppose that φ is an increasing function, that f is a bounded function on an interval a, b and that for every
number > 0 there exists an elementary subset E of a, b such that varφ, E < and such that the function
f1 − χ E is integrable with respect to φ on a, b. Prove that f must be integrable with respect to φ on the
interval a, b.
Solution: In order to show that f is integrable on a, b we shall show that f satisfies the
second criterion for integrability. Suppose that > 0.
Using the given property of f we choose an elementary subset A of a, b such that varφ, A < /2 and such
that the function f1 − χ A is integrable with respect to φ on a, b. Choose a partition P 1 of a, b such that
the function χ A steps within P. Now, using the fact that f1 − χ A satisfies the second criterion for
integrability we choose a partition P 2 of a, b such that if we definè
B = x ∈ a, b ∣ wP, f 1 − χ A x ≥ .
then varφ, B < /2. We now define P to be the common refinement of P 1 and P 2 and we express P as
P = x 0 , x 1 , ⋯, x n .
For each j = 1, 2, ⋯, n, if the open interval x j−1 , x j is not included in A ∪ B then, since the functions f
and f1 − χ A agree in the interval x j−1 , x j the condition
wP, f x = wP, f 1 − χ A x <
must hold whenever x ∈ x j−1 , x j . Since
varφ, A ∪ B ≤ varφ, A + varφ, B < + =
2 2
we have succeeded in showing that f satisfies the second criterion for integrability.
5.
a. Suppose that φ is an increasing function, that f is a nonnegative function defined on an interval a, b and
that for every number > 0, the set
x ∈ a, b ∣ fx ≥
is finite. Prove that f must be integrable with respect to φ on a, b and that ∫ fdφ = 0.
b
a
We shall show that f satisfies the first criterion for integrability. Suppose that > 0. Choose a
finite set S such that
fx <
varφ, a, b
whenever x ∈ a, b ∖ S and define P to be the partition of a, b whose points are the numbers a
and b and the members of S arranged in increasing order. Since lP, f is nonnegative and
uP, f never exceeds the value /b − a, we have
∫ a wP, fdφ = ∫ a uP, f − lP, fdφ ≤ ∫ a uP, fdφ ≤ .
b b b
Since f satisfies the first criterion for integrability, f is integrable on a, b and the same
argument shows that whenever > 0 we have ∫ fdφ ≤ from which we deduce that ∫ fdφ = 0.
b b
a a
b. Prove that if f is the ruler function that was introduced in an earlier example then f is a Riemann
integrable function on the interval 0, 1, even though f is discontinuous at every rational number in the
interval.
The ruler function obviously has the property described in part a.
6. Given that φ is an increasing function and that f is a bounded nonnegative function defined on an interval
309
a, b, prove that the following conditions are equivalent:
a. The function f is integrable with respect to φ on the interval a, b and ∫ fdφ = 0.
b
a
b. For every number > 0 there exists an elementary set E such that varφ, E < and such that
x ∈ a, b ∣ fx ≥ ⊆ E.
To show that condition a implies condition b we assume that f is integrable with respect to φ on
a, b. Suppose that > 0. To obtain the desired set E we shall use the same sort of technique as
was used in the proof of Theorem 11.9.4. Choose a step function S ≥ f such that
∫ a Sdφ < 2
b
and define
E = x ∈ a, b ∣ Sx ≥ .
We observe that
x ∈ a, b ∣ fx ≥ ⊆ E.
Now since S is a step function, the set E is elementary and we have
∫ a Sdφ ≥ ∫E Sdφ ≥ ∫E dφ = varφ, E
b
2 >
from which we deduce that varφ, E < .
To show that condition b implies condition a we assume that condition b holds. Once again we
borrow from the proof of proof of Theorem 11.9.4. Using the fact that f is bounded we choose a
number k such that fx < k for every x ∈ a, b. For each positive integer n we choose an
elementary set E n such that varφ, E n < 1n and such that
x ∈ a, b ∣ fx ≥ 1
n ⊆ En.
For each n we have
≤ ∫E n
kdφ + ∫
a,b∖E n
1 dφ ≤ k varφ, E n + ∫ b 1 dφ
n a n
and this shows that f is integrable with respect to φ and that ∫ fdφ = 0.
b
a
This chapter provides a special group of exercises that are designed to be done as a special project and which
depend upon the special group of exercises on elementary sets that appeared earlier. The main purpose of
these exercises is to invite you to prove the following interesting fact about integrals:
If f is a nonnegative function on an interval a, b and f is Riemann-Stieltjes integrable with respect to an
increasing function φ and if varφ, a, b > 0 and if ∫ f dφ = 0 then there must be at least one number
b
a
x ∈ a, b for which f x = 0.
310
Positive Integrable Functions Have Positive Integrals
Suppose that φ is an increasing function, that f is a nonnegative function that is integrable with respect to φ on
an interval a, b. Suppose that varφ, a, b > 0 and that
∫ a fdφ = 0.
b
1. Prove that for every number > 0 there exists an elementary set E such that varφ, E < and such that
x ∈ a, b ∣ fx ≥ ⊆ E.
This exercise is a duplicate of the last exercise in the exercises on exercises on integrability
2. Prove that if, for every positive integer n, we choose an elementary set E n such that
varφ, a, b
varφ, E n <
2n
and such that
varφ, a, b
x ∈ a, b ∣ fx ≥ ⊆ En
2n
then for every elementary E satisfying
∞
E⊆ ⋃ En
n=1
we have
varφ, E < varφ, a, b.
To obtain this proof you will need to make use of the special group of exercises on elementary sets that can
be reached by clicking on the icon .
The existence of the sets E n follows from Exercise 1. Now if
∞
E⊆ ⋃ En
n=1
then the special exercises on elementary sets guarantee that
∞ ∞
varφ, a, b
varφ, E ≤ ∑ varφ, E n < ∑ 2n
= varφ, a, b.
n=1 n=1
311
∞
x ∈ a, b ∖ ⋃ E n
n=1
we have fx = 0.
b. For every elementary set E satisfying
∞
E⊆ ⋃ En
n=1
we have varφ, E < .
Suppose that > 0. We choose a sequence E n of elementary sets such that the conditions
varφ, E n < n
2
and
x ∈ a, b ∣ fx ≥ n ⊆ E n
2
∞
hold for each n. Continue as above. Of course, we don’t have a guarantee that a, b ∖ ⋃ n=1 E n is
nonempty unless < b − a.
2. Suppose that x n is a convergent sequence in an interval a, b and that f is a bounded function on a, b that
is continuous at every member of a, b that does not lie in the range of the sequence x n . Prove that f is
Riemann integrable on a, b.
Solution: We shall write the set of partial limits of x n as y 1 , y 2 , ⋯, y k . To prove that f satisfies the
junior Lebesgue criterion, suppose that > 0.
For each j = 1, 2, ⋯, k, we choose a number u j < y j and a number v j > y j such that
φv j − φu j < Jφ, y j + .
k
We define
312
k
U= ⋃u j , v j
j=1
Since the set a, b ∖ U is closed and bounded and since the sequence x n has no partial limits in
a, b ∖ U we know that x n cannot be frequently in the set a, b ∖ U. Therefore, if
F = x n ∣ n = 1, 2, ⋯ ∖ U
then the set F is finite. We have thus found an elementary subset U ∪ F of a, b such that
varφ, U ∪ F ≤ varφ, U + varφ, F
k
< + ∑ Jφ, y j + ∑ Jφ, x
j=1 x∈F
Solution: The function f must be integrable. This fact will follow from the full version of the
Lebesgue criterion for integrability that will appear in the chapter on sets of measure zero.
313
2. Given that f is a nonnegative function that is integrable on an interval a, b with respect to an increasing
function φ, explain why the function f is integrable with respect to φ on a, b.
This exercise follows at once from the fact that the square root function is uniformly continuous on
the range of f.
3. Given that f is integrable with respect to an increasing function φ on an interval a, b, that fx ≥ 1 for every
x ∈ a, b and that
gx = logfx
for every x ∈ a, b, explain why the function g must be integrable with respect to φ on a, b.
Since the function log is uniformly continuous on the interval 1, ∞, the integrability of g follows at
once from the composition theorem.
4. Suppose that f is integrable with respect to an increasing function φ on an interval a, b and that α ≤ fx ≤ β
for every x ∈ a, b. Show how the junior version of the composition theorem for integrability can be used to
show that if h is any continuous function on the interval α, β then the function h ∘ f is integrable with
respect to φ on a, b.
The result follows at once from the fact that any continuous function on the interval α, β must be
uniformly continuous.
Solution: We define ux = sin x for every number x ∈ 0, 2π and observe that
∫0 ∫0
2π 2π
fsin x cos xdx = fuxu ′ xdx
∫ u0 ∫0 f = 0
u2π 0
= f=
b. Given that f is a continuous function on the interval 0, 1, prove that
π/2 π
∫0 fsin xdx = ∫ π/2 fsin xdx.
Solution: We define ux = π − x for every number x ∈ 0, π
2
and observe that
π/2 π/2
∫0 fsin xdx = − ∫
0
fsinπ − xu ′ xdx
π/2
= −∫ fsinuxu ′ xdx
0
π/2
= −∫ fsin tdt = − ∫
uπ/2
fsin tdt
u0 π
π
= ∫ π/2 fsin tdt
π
Of course, it makes no difference whether we write t or x in the integral ∫ fsin tdt.
π/2
Solution: We define ux = 2x for all x ∈ 0, π/2 and observe that
314
π/2 π/2 π/2
2α ∫ sin α x cos α xdx = ∫0 2 α sin α x cos α xdx = ∫0 2 sin x cos x α dx
0
π/2 π/2
= 1
2
∫0 sin α 2x2dx = 1
2
∫0 sin α uxu ′ xdx
π
∫ u0 ∫ 0 sin α tdt
uπ/2
= 1 sin α tdt = 1
2 2
π/2 π
= 1 ∫ sin α tdt + ∫ sin α tdt
2 0 π/2
and from part b we deduce that the latter expression is equal to
π/2 π/2 π/2
1
2
∫0 sin α tdt + ∫
0
sin α tdt = ∫0 sin α tdt.
2. Given that u is a differentiable function on an interval a, b and that its derivative u ′ is integrable on a, b
and given that ua = ub and that f is integrable on the range of u, prove that
∫ a futu ′ tdt = 0.
b
3. Given that f is integrable on an interval a, b and that c is any number, prove that
∫ a ftdt = ∫ a+c ft − cdt
b b+c
For every number t we define ut = t − c. We observe that u ′ t = 1 for every t. Now
∫ a+c ft − cdt = ∫ a+c futu ′ tdt = ∫ ua fxdx = ∫ a ftdt.
b+c b+c ub b
I have changed the name of the dummy variable back to t to match the expression in the exercise.
4. Given that a, b and c are real numbers, that ac < bc and that f is a continuous function on the interval
ac, bc, prove that
∫ ac ftdt = c ∫ a fctdt.
bc b
5. a. Suppose that f is a continuous function on an interval a, b, that g is nonnegative and integrable on a, b.
Prove that, if m and M are, respectively, the minimum and maximum values of f, then
m∫ g ≤ ∫ a fg ≤ M ∫ a g
b b b
a
and deduce that there exists a number c ∈ a, b such that
∫ a f g = f c ∫ a g.
b b
This fact is sometimes called the mean value theorem for integrals.
Since
m ≤ fx ≤ M
for every x ∈ a, b we have
∫ a mg ≤ ∫ a fg ≤ ∫ a Mg
b b b
315
which gives us
m∫ g ≤ ∫ a fg ≤ M ∫ a g
b b b
a
and so
∫ a fg
b
m≤ ≤ M.
∫a g
b
The existence of the number c follows at once from the Bolzano intermediate value theorem.
b. Given that f is continuous on an interval a, b, prove that there exits a number c ∈ a, b such that
∫ a f = fcb − a.
b
a. Given that f is a nonnegative continuous function on an interval a, b where a < b and that ∫ f = 0,
b
6.
a
prove that f is the constant zero function.
To obtain a contradiction, suppose that c ∈ a, b and that fc > 0. Using the fact that f is
continuous at c, choose δ > 0 such that the inequality
fc
fx >
2
holds for every number x ∈ a, b ∩ c − δ, c + δ. The set a, b ∩ c − δ, c + δ is an interval with
positive length that we shall write as c, d. In fact, c is the larger of the two numbers a and c − δ
and d is the smaller of the two numbers b and c + δ. Since
∫ a f ≥ ∫ c f ≥ ∫ c fc
b d d fc
= d − c > 0
2 2
which gives us our desired contradiction.
b. Given that f is a continuous function on an interval a, b where a < b and that ∫ f = 0, for every
x
a
x ∈ a, b, prove that f is the constant zero function.
We know that if
∫a f
x
Fx =
for each x then F ′ x = fx for each x. Since F is the constant function zero we conclude that
fx = 0 for each x.
7. In this exercise we consider another proof of the “u decreasing” form of the change of variable theorem.
a. Given that f is an integrable function on an interval a, b and that gt = f−t whenever −b ≤ t ≤ −a,
give a direct proof that g is integrable on the interval −b, −a and that
−a
∫ −b gtdt = ∫ a fxdx.
b
Suppose first that f is a step function on a, b that steps within the partition
P =x 0 , x 1 , ⋯, x n
taking the constant value α j on each interval x j−1 , x j . We define
Q = −x n , −x n−1 , ⋯, −x 1 , −x 0
and observe that Q is a partition of the interval −b, −a. Now we define gt = f−t for each
t ∈ a, b and we observe that g is a step function that takes the value α j on each interval
−x j , x j−1 . We see at once that
n n
−a
∫ a f = ∑ α j x j − x j−1 = ∑−x j−1 − −x j α j = ∫ −b g
b
j=1 j=1
We can now handle the general case. Using the fact that f is integrable on the interval a, b,
choose a pair of sequences of step functions that squeezes f on the interval b, a. In other
words,
316
sn ≤ f ≤ Sn
for each n and
∫ a S n − s n = 0.
b
lim
n→∞
For each n we define s ∗n t = s n −t and S ∗n t = S n −t and we observe that
s ∗n ≤ g ≤ S ∗n
and, by the case we have already considered we deduce that
−a
∫ −b S ∗n − s ∗n = ∫ a S n − s n → 0
b
as n → ∞.
It follows that the function g is integrable on the interval −b, −a and that
−a −a
∫ −b g = n→∞
lim ∫ s ∗n = n→∞
lim ∫ s n = ∫ f .
b b
−b a a
b. Suppose that u is a decreasing differentiable function on an interval a, b and that the derivative u ′ of u is
integrable on a, b. Apply the form of the monotone version of the change of variable theorem
proved above to the function v defined by the equation vt = −ut for −b ≤ t ≤ −a to show that the
equation
∫ a futu ′ tdt = ∫ ua fxdx
b ub
From the monotone version of the theorem proved earlier we also see that
−ub
∫ −ua g = ∫ va g = ∫ a gvtv ′ tdt
vb b
To reach some additional exercises that invite you to develop some important inequalities, click on the icon
.
317
of a, b satisfying the inequality ‖P‖ < δ and every choice of numbers t j ∈ x j−1 , x j for each j we have
n
∑ ft j φx j − φx j−1 − ∫ a fdφ
b
< .
j=1
Since the function φ is continuous on the interval a, b, it is uniformly continuous there. Suppose
that > 0. Using Darboux’s theorem, choose a number δ 1 > 0 such that the inequality
n
∑ ft j φx j − φx j−1 − ∫ a fdφ
b
<
j=1
Suppose that > 0. We write the set of discontinuities of φ in the interval a, b as y 1 , y 2 , y 3 , ⋯.
Choose a number k such that the inequality |fx| ≤ k holds for every number x in the interval a, b
and choose an integer N such that
∞
∑ kJφ, y n < .
4
n=N
Using the fact that f is continuous at each of the numbers y n for n ≤ N, choose δ > 0 such that
whenever n ≤ N and |t − y n | < δ we have
|ft − fyn| < .
2 varφ, a, b
Now suppose that
P = x 0 , x 1 , ⋯, x p
is any partition of a, b for which ‖P‖ < δ and that t j ∈ x j−1 , x j for each j, and define g to be the
step function that takes the value fx j at each number x j and that takes the constant value ft j in
each interval x j−1 , x j . We see that
∞ ∞
∫a gdφ − ∫ fdφ = ∑ gy n Jφ, y n − ∑ fy n Jφ, y n
b b
a
n=1 n=1
N N ∞ ∞
≤ ∑ gy n Jφ, y n − ∑ fy n Jφ, y n + ∑ |gy n |Jφ, y n + ∑ |fy n |Jφ, y n
n=1 n=1 n=N+1 n=N+1
N ∞
≤ ∑|gy n − fy n |Jφ, y n + 2 ∑ kJφ, y n
n=1 n=N+1
N
< ∑ Jφ, y n + ≤
n=1
2 varφ, a, b 2
3. By combining the preceding two exercises, obtain an analog of Exercise 2 that does not require the
assumption that φ varies discretely on a, b.
318
The desired extension to the case in which φ is an arbitrary increasing function follows at once
when we split φ into its continuous and discrete parts.
12 Infinite Series
= 2 + 2 + 2 − 1 − 1 − 1 − 1 − 1 − 1
2 3 n+1 1 2 3 n+1 n+2 n+3
→ 2 + 2 − 1 − 1 − 1 = −1
2 3 1 2 3 6
as n → ∞.
2. a. Find the derivative of the nth partial sum of the series ∑ x n .
If n is any positive integer and x ≠ 1 then
n
x1 − x n
∑ xj = 1−x
.
j=1
Differentiating we obtain
n
1 − x n − nx n + nx n+1 = 1 − x − nx 1 − x
n n
∑ jx j−1 = 1 − x 2 1 − x 2
j=1
b. Find the nth partial sum of the series ∑ nx n−1 . Deduce that if |x| < 1 we have
∞
∑ nx n−1 = 1
1 − x 2
.
n=1
In order to deduce the identity
∞
∑ nx n−1 = 1
1 − x 2
n=1
we need to take the limit as n → ∞ of each side of of the identity
n
∑ jx j−1 = 1 − x n − nx n + nx n+1
1 − x 2
j=1
319
and for this purpose we need to know that
lim nx n = 0
n→∞
whenever |x| < 1. Later in this chapter, we shall see some simple ways of finding the latter limit.
Perhaps the simplest way to find it right now is to use L’Hôpital’s rule. Suppose that |x| < 1. To
show that n|x| n → 0 as n → ∞ we use the fact that
n|x| n = n
1/|x| n
We define c = log1/|x|. Note that c > 0 and
n|x| n = ncn
e
and the fact that n|x| n → 0 as n → ∞ follows from the fact that
lim tct = 0
t→∞ e
which follows easily from L’Hôpital’s rule.
An alternative to L’Hôpital’s rule is to give the students the assignment of proving the inequality
2 2
e ct ≥ 1 + ct + c t
2
for all t ≥ 0. This inequality follows easily from the mean value theorem and from it we obtain
the above limit easily.
3. Given that |x| < 1 and that
n
sn = ∑3j − 1x 2j
j=1
We observe that
n n
s n 1 − x 2 = ∑3j − 1x 2j − x 2 ∑3j − 1x 2j
j=1 j=1
320
Using this fact, deduce that
2n
lim
n→∞
∑ 1 = log 2.
j
j=n+1
The identity
2n 2n n
∑ 1 =
j ∑ 1 − log 2n
j
− ∑ 1 − log n
j
+ log 2.
j=n+1 j=1 j=1
is clear and the final result follows at once from the fact that
2n n
lim
n→∞
∑ 1 − log 2n
j
= n→∞
lim ∑ 1 − log n
j
= γ.
j=1 j=1
2. Explain why
2n 2n
−1 j−1
∑ j
= ∑ 1
j
j=1 j=n+1
Deduce that
2n+1
−1 j−1
lim
n→∞
∑ j
j=1
2n n n
−1 j−1
∑ j
= ∑ 2j − 1 ∑ 2j
1 − 1
j=1 j=1 j=1
n n n
= ∑ 2j − 1 ∑ 2j
1 + 1 − 2∑ 1
2j
j=1 j=1 j=1
2n n 2n
= ∑ 1 −∑ 1 =
j j ∑ 1
j
j=1 j=1 j=n+1
we conclude that
2n+1
−1 j−1
lim
n→∞
∑ j
= log 2.
j=1
321
∞
−1 j−1
∑ j
= log 2,
j=1
and
2n+1
−1 j−1
∑ j
− log 2 <
j=1
whenever n ≥ 2N + 1.
3. Express the rational expression
1
j2j − 1
in partial fractions and show that if n is any positive integer we have
n 2n
∑ 1
j2j − 1
= 2∑ 1.
j
j=1 j=n+1
Deduce that
∞
∑ 1
j2j − 1
= log 4.
j=1
322
1 = 1 − 2
j2j + 1 j 2j + 1
we see that if n is any positive integer then
n n n
∑ 1
j2j + 1
= ∑ 1 −∑ 2
j 2j + 1
j=1 j=1 j=1
n n n n
= ∑ 1 +∑ 2 −∑ 2 −∑ 2
j 2j 2j 2j + 1
j=1 j=1 j=1 j=1
n 2n+1 2n
= ∑ 2 −∑ 2 +2 = 2−2
j j ∑ 1 −
j
2
2n + 1
j=1 j=1 j=n+1
Therefore
∞ 2n
∑ 1
j2j + 1
lim 2 − 2 ∑ 1 −
= n→∞
j
2
2n + 1
= 2 − log 4.
j=1 j=n+1
We conclude that
∞ ∞
∑ 1
j2j − 1
−∑
j2j
1
+ 1
= 4 log 2 − 2
j=1 j=1
We see that
pn pn qn
lim
n→∞
∑ 1 = lim
j n→∞
∑ 1 −∑ 1
j j
j=qn+1 j=1 j=1
pn qn
= n→∞
lim ∑ 1 − logpn
j
− ∑ 1 − logqn
j
p
+ log q
j=1 j=1
p p
= γ − γ + log q = log q .
323
and we conclude that
np
lim
n→∞
∑ 1 = log p.
j log j
j=n+1
1. ∑ 1
n 3/2 + n
Solution: We define
an = 1
n 3/2 + n
and
bn = 1
n 3/2
for each n. Since the series ∑ b n is a convergent p-series and since
1
a n 3/2 + n n 3/2
lim n
= n→∞
lim = n→∞
lim 3/2
n→∞ b n 1 n +n
n 3/2
= n→∞
lim 1 =1
1 + 1n
we see that ∑ a n is convergent.
Note that we could have achieved this solution more rapidly by observing that a n ≤ b n for each n.
However, taking the limit was worth while because it applies just as well to Exercise 2.
2. ∑ 1
n 3/2 − n
We define
an = 1
n 3/2 − n
and
bn =1
n 3/2
for each n. Since ∑ b n is a convergent p-series and since
lim a n = 1
n→∞ b n
3. ∑ n
n4 − n2 + 2
Solution: In order to see how to proceed observe that, for large n, the expression
n
n4 − n2 + 2
behaves like
n = 1
n
n4
because −n 2 + 2 is much smaller than n 4 . Now we begin.
324
We define
an = n
n4 − n2 + 2
and
bn = 1 n
for each n. Since ∑ b n is a divergent p-series and since
n
lim a n = lim n − n 2 + 2 = lim
4
n4 =1
n→∞ b n n→∞ 1
n
n→∞ n4 − n2 + 2
we deduce that ∑ a n is divergent.
4. ∑ n log n
n5 − n2 + 2
Solution: The key to this exercise is the fact that, although n log n is larger than n, it is not much
larger because of the fact that
log n
lim =0
n→∞ nδ
whenever δ > 0. The denominator of the fraction
n log n
n5 − n2 + 2
behaves like n 5/2 . We can therefore consider that
n log n
n5 − n2 + 2
behaves like
n log n log n log n 1
= 3/2 = .
n 5/2 n n 1/4 n 5/4
With this in mind, we define
n log n
an =
n5 − n2 + 2
and
1
bn =
n 5/4
for each n. We observe that ∑ b n is a convergent p-series and that
log n
lim a n = n→∞
n→∞ b n
lim 1/4 = 0
n
and so ∑ a n is convergent.
5. ∑ 1
n 1+log n/n
325
log n 2 log n 2
lim exp
n→∞ n = exp n→∞
lim n = exp 0 = 1
we conclude that
1
n 1+log n/n
behaves like 1/n for large n . We define
an = 1
n 1+log n/n
and
bn = 1 n
for each n. Since ∑ b n is a divergent p-series and since
lim a n = n→∞
lim 1 =1
n→∞ b n log n 2
exp n
6. ∑ 1
1+log n 2 /n
n
Thus ∑ 1 is divergent.
1+log n 2 /n
n
7. ∑ 1
1+ log n log log n /n
n
Now
log log n 2
log n log log n = exp log log n 2 = exp log n
log n
and since
log log n 2
lim =0
n→∞ log n
we conclude that if n is sufficiently large then
log log n 2
log n log log n = exp log n
log n
< exp 1 log n = n 1/2
2
Therefore, for n sufficiently large we have
log n log n log log n log nn 1/2 log n
0< n < n = 1/2
n
and we conclude that
326
log n log n log log n
lim
n→∞ n =0
Now we define
an = 1
1+ log n log log n /n
n
and
bn = 1 n
for each n. Since ∑ b n is a divergent p-series and since
lim a n = n→∞
lim 1 =1
n→∞ b n log n log n log log n
exp n
∑
n log n
8. n
n+1
log n
and, using L’Hôpital’s rule twice, we can see that
lim log n + n log n log n =0
n→∞ n+1
327
Thus
lim a n = n→∞
lim exp log n + n log n log n = exp 0 = 1
bnn→∞ n+1
Since ∑ b n is a divergent p-series, it follows that ∑ a n is divergent.
nlog n 2
9. ∑ n
n+1
Solution: As n → ∞, the expression log n increases much more slowly than n. So we proceed as
follows. For each n we define
3
an = 1
log n
and
bn = 1
n.
Since
lim a n = n→∞
lim n =∞
bn
n→∞
log n 3
and since ∑ b n is a divergent p-series we deduce that ∑ a n is divergent.
n
11. ∑ 1
log n
Solution: Since log log n > 2 whenever n > expexp 2 we know that the inequality
328
log n log n = explog nlog log n > exp2 log n = n 2
holds whenever n is sufficiently large. Therefore
log n
1 < 12
log n n
for all sufficiently large n and it follows from the fact that ∑ 1/n 2 is a convergent p-series that the series
log n
∑ log1 n is convergent.
log n
13. ∑ 1
log log n
Hint: Use the fact that log log log n > 2 whenever n > expexpexp 2 .
Thus, for n sufficiently large we have
log n
1 = 1 < 1 = 12 .
log log n explog nlog log log n exp2log n n
log n
Since ∑ 12 is a convergent p-series it follows that the series ∑ 1 is convergent.
n log log n
log log n
14. ∑ 1
log n
Solution: Since
log log n 2
=0
lim
log n n→∞
we know that the inequality log log n 2 < log n holds whenever n is sufficiently large. Therefore, if n is
sufficiently large we have
log n log log n = exp log log n 2 < explog n = n
which gives us
log log n
1 > 1
log n n.
log log n
Since ∑ 1/n is a divergent p-series we conclude that ∑ 1 is divergent.
log n
log n
15. ∑ 1
log log log n
For n sufficiently large we have log log log log n > 2 and for all such n we have
log n
1 = 1 < 1 = 12 .
log log log n explog nlog log log log n exp2log n n
log n
Since ∑ 12 is a convergent p-series it follows that the series ∑ 1 is convergent.
n log log n
log log n
16. ∑ 1
log log n
Since log log n < log n for all n sufficiently large we know from Exe5rcise 14 that if n is sufficiently
large then
log log n log log n
1 > 1 > 1
log log n log n n
log log n
and so ∑ 1 is divergent.
log log n
329
log log n log log n
17. ∑ 1
log log n
330
20. Prove that if a n is a sequence of positive numbers and ∑ a n converges then so does the series ∑ a 2n .
We assume that a n is a sequence of positive numbers and that ∑ a n is convergent. Since a n → 0
as n → ∞ we have a n < 1 for n sufficiently large and for all such n we have a 2n < a n . Since ∑ a n is
convergent we deduce from the comparison test that ∑ a 2n is convergent.
21. In this exercise we encounter a series that diverges very slowly. We begin by defining
log x if x ≥ e
Lx = .
1 if x < e
The graph of this function is illustrated in the following figure:
2.5
1.5
0.5
0
-20 -10 10 20
If k is any positive number we shall write L k for the composition of the function L with itself k times. Thus if
x is a given number then L 3 x = LLLx. We also define L 0 x = x for every x.
a. Given any number x, explain why we must have L k x = 1 for all sufficiently large values of k. For a
given positive integer n, give a simple meaning to the “infinite product”
∞
∏ L k n = L 0 nL 1 nL 2 n⋯.
k=0
If we define fx = e x − 2x for every number x then, since f1 = e − 2 > 0 and f ′ x > 0
whenever x ≥ 1 it follows that fx > 0 whenever x ≥ 1.
(As a matter of fact it is easy to show that fx > 0 for every real number x.) For each positive
integer k we define
a k = exp k 1
where exp stands for the composition of exp with itself k times. Since a k > 2 k for each k it
k
follows that a k → ∞ as k → ∞. Now if x is any positive number and k is a positive integer and
L k x ≠ 1 then
L k x = log k x > 1
and so x > a k . Since the inequality x < a k must hold for sufficiently large k we deduce that
L k x = 1 for sufficiently large k. the meaning of the expression
∞
∏ L k n
k=0
is now obvious.
b. For each positive integer n, we define
an = 1 .
∞
∏ k=0 L k n
Using the integral test (or otherwise), show that the series ∑ a n is divergent.
For every number x ≥ 1 we define
gx = 1 .
∞
∏ k=0 L k x
The function g is a positive decreasing function on 1, ∞. Now we observe that
331
∫ 1 gxdx = ∫ 1
e e
1 dx = 1
x
ee ee
∫e gxdx = ∫e 1 dx = 1
x log x
exp 3 1 exp 3 1
∫ exp 1 gxdx = ∫ exp 1
2 2
1
x log x log log x
dx = 1
and, in general,
exp n+1 1
∫ exp 1 n
gxdx = 1
and so it follows from the integral test that the series ∑ a n ia divergent.
Solution: We define
2n! 3
an =
3n! 2
for each n. For each n we have
2n + 1! 3
a n+1 = 3n + 1! = 2n + 2 3 2n + 1 3
2
an → 64
2n! 3 3n + 3 2 3n + 2 2 3n + 1 2 729
3n! 2
332
n log n
an = 3 .
n!
Since e < 3 we have the inequality
n log n n log n n
an = 3 > e = n
n! n! n!
To show that ∑ a n is divergent, it is sufficient to show that ∑ n n /n! is divergent. But this fact follows at
once from d’Alembert’s test and the fact that
n+1 n+1
lim n +
n+1! n
lim = n→∞ 1 = e > 1.
n→∞ nn n
n!
log n n
4. ∑ e n log 2log 3⋯log n
333
n − α p
n 1 − aan+1 = n 1−
n n + 1 p
n + 1 p − n − α p
=n
n + 1 p
n + 1 p − n − α p n + 1 − n − α
=n
n + 1 − n − α n + 1 p
Using the mean value theorem we choose a number u n between n − α and n + 1 such that
n + 1 p − n − α p
= pu n p−1 .
n + 1 − n − α
Thus for each n we have
p−1
n 1 − aan+1 = pα + 1 n un
n n+1 n+1
Since
lim n − α lim n + 1
p−1 p−1
n→∞ n + 1
= n→∞ =1
n+1
we deduce from the sandwich theorem for limits of sequences that
un p−1
lim
n→∞ n + 1
=1
and we conclude that
lim n 1 − aan+1
n→∞ n
= p1 + α.
We deduce from Raabe’s test that
∑ αα − 1α − 2⋯α
n!
− n + 1 p
334
n + 1 αn+1
n + 1!
lim =0
n→∞ n αn
n!
αn
and ∑ n converges. In the event that α = 1 we have
n!
n + 1 αn+1
n + 1!
lim =e>1
n→∞ n αn
n!
αn
and the series ∑ n diverges in this case.
n!
c. ∑ n n−log n
n!
For each n we have
n + 1 n+1−logn+1
n + 1!
= n+n
1 n n log n
n n−log n
n + 1 logn+1
n!
and we deduce from one of the parts of Exercise 1 of the exercises in indeterminate forms that
n + 1 n+1−logn+1
n + 1!
lim n +
n
lim = n→∞ 1 n log n =e>1
n→∞ n n−log n n n + 1 logn+1
n!
A simple application of d’Alembert’s test shows that this series converges if x < 1 and diverges if
x > 1. When x = 1 the series reduces to the one we considered in Example 1 of Subsection 12.6.8.
9. ∑ n!
xx + 1x + 2⋯x + n − 1
where x is a given positive number
If we define
an = n!
xx + 1x + 2⋯x + n − 1
for each n then for each n we have
n + 1!
xx + 1x + 2⋯x + n − 1
a n+1 =
an = nn +
+x
1
n!
xx + 1x + 2⋯x + n + 1 − 1
Therefore
lim n 1 − aan+1
n→∞ n
lim n 1 − nn +
= n→∞ 1
+x = x−1
and we deduce from Raabe’s test that ∑ a n is convergent when x > 1 and divergent when x < 1.
335
When x = 1 we have a n = 1 for all n and, of course, ∑ a n diverges.
10. a. ∑ e n n!
nn
This series is a special case of the series mentioned in the discussion that follows Exercise 7c
above. If we define
n
a n = e n!
nn
for each n then
e n+1 n+1!
n+1 n+1
lim n 1 − aan+1
n→∞ n
= n→∞
lim n 1− e n n!
nn
which can be shown to be − 12 . We can deduce the divergence of ∑ a n from Raabe’s test but
there is really no need for such big guns. Since the limit above is negative we know that
a n+1 > 1
an
for sufficiently large n and so a n cannot approach 0 as n → ∞.
b. ∑ nn
e n n!
If we define
an = nn
e n n!
for each n then
n+1 n+1
e n+1 n+1!
lim n 1 − aan+1
n→∞ n
= n→∞
lim n 1− nn
e n n!
n
= 1e n→∞
lim n e − 1 + 1
n = 1
2
and so it follows from Raabe’s test that ∑ a n diverges.
p
2n!
11. ∑ 4 n n! 2
where p is a given number
We already know that this series diverges when p = 1 and from the comparison test it follows that
the series also diverges when p < 1. From now on we suppose that p > 1. We define
p
2n!
an =
4 n n! 2
for each n and observe that
a n+1 = 2n + 1 p
an 2n + 2
and so
lim n 1 − aan+1 = n→∞ 2n + 1 p
lim n 1 −
n→∞ n 2n + 2
2n + 2 p − 2n + 1 p
= n→∞
lim n
2n + 2 p
p
To see that the latter limit is 2 , we use mean value theorem to chooce a number c n between 2n + 1
and 2n + 2 such that
p−1
2n + 2 p − 2n + 1 p pc n
n =n
2n + 2 p 2n + 2 p
and observe that
336
p−1
p2n + 1 p−1 pc n p2n + 2 p−1
n ≤n ≤n .
2n + 2 p 2n + 2 p 2n + 2 p
We deduce from Raabe’s test that the given series converges when p > 2 and diverges when
p < 2.
We must now consider the case p = 2. In this case we shall use the more powerful form of Raabe
test:
lim nlog n 1 − 1n − aan+1 lim nlog n 1 − 1
= n→∞ 2n + 1 2
n→∞ n n − 2n + 2
= n→∞
lim nlog n − 5n + 4 =0
4nn + 1 2
and we conclude that the series diverges when p = 2.
n 2j+ 1
12. ∑ π2
nn+3
∏ j=1
n 2j+1
j j j!
2
2 nn+1 e 2 n 11/12
lim nlog n 1 − 1
n→∞ n − gn =0<1
and so the series diverges.
337
αα + 1α + 2⋯α + n − 1
13. ∑ ββ + 1β + 2⋯β + n − 1
where α and β are given numbers
Our understanding of this problem is that β is automatically prohibited from being 0 or any negative
integer.
For each n we define
αα + 1α + 2⋯α + n − 1
an =
ββ + 1β + 2⋯β + n − 1
and we observe that
|α + n|
lim n 1 − aan+1 = n→∞
lim n 1 −
n→∞ n |β + n|
lim n 1 − α + n = β − α.
= n→∞
β+n
We deduce from Raabe’s test that ∑ a n converges if β > α + 1 and diverges if β < α + 1. In the
event that β = α + 1 we have
αα + 1α + 2⋯α + n − 1
an = = αα +n
ββ + 1β + 2⋯β + n − 1
Except for the trivial case α = 0, the series ∑| α+n
α
| is divergent.
2
αα + 1α + 2⋯α + n − 1
14. ∑ ββ + 1β + 2⋯β + n − 1
where α and β are given numbers
338
convergence then so can d’Alembert’s ratio test.
The desired assertion follows at once from that previous exercise which is where all the hard
work lies.
16. Prove the following more powerful root test:
If a n ≥ 0 for all n and if
n 1 − a n 1/n → p
log n
as n → ∞, then the series ∑ a n converges if p > 1 and diverges if p < 1.
This form of the root test is one of the results that are developed in the special document on ratio and root
tests and that can be reached by clicking on the icon .
for every n, the Leibniz test follows at once from Dirichlet’s test.
2. Given that a n is a decreasing sequence of positive numbers and that for each n we have
b n = 1 − aan+1
n
,
prove that the series ∑−1 a n is convergent if and only if the series ∑ b n is divergent.
n
339
−1 n log n
a. ∑ n
If
log x
fx = x
for x > 0 then for each x > 0 we have
1 − log x
f ′ x =
x2
and we see easily that f is decreasing on the interval e, ∞. Since
log n
lim n = 0,
n→∞
−1 n log n
the convergence of ∑ n follows at once from Dirichlet’s test.
b. ∑ sinnπ/4
n
Of course this series can be handled directly; but it is also a special case of the series ∑ sin nx
n
that was discussed in Example 2 of Subsection 12.7.9.
c. ∑ 1 −1
2
1 −1 ⋯ 1 −1
3 n
= n→∞
lim nlog n − 1 =0<1
nn + 1
and so the series ∑|a n | must be divergent.
d. ∑ 1 −1
2δ
1 − 1 ⋯ 1 − 1 where δ > 0.
3δ nδ
Hint: The series converges absolutely when 0 ≤ δ < 1, converges conditionally when δ = 1 and
diverges when δ > 1. Use Raabe’s test when δ < 1 and show that the nth term fails to approach 0 as
n → ∞ when δ > 1.
The case 0 ≤ δ < 1:
For each n we define
an = 1 −1 1 −1 ⋯ 1 −1
2δ 3δ nδ
and observe that
|a n | = 1 − 1δ 1 − 1δ ⋯ 1 − 1δ
2 3 n
If δ = 0 then the series ∑|a n | is obviously convergent. Assume now that 0 < δ < 1. Since
340
1 − 1δ 1 − 1δ ⋯ 1 − 1δ 1− 1
|a | 2 3 n n + 1 δ
lim n 1 − n+1 = n→∞
lim n 1−
n→∞ |a n |
1 − 1δ 1 − 1δ ⋯ 1 − 1δ
2 3 n
= n→∞
lim n =∞
n + 1 δ
the convergence of ∑|a n | follows from Raabe’s test.
The case δ > 1:
For each n we define
an = 1 −1 1 −1 ⋯ 1 −1
2δ 3δ nδ
and observe that
|a n | = 1 − 1δ 1 − 1δ ⋯ 1 − 1δ
2 3 n
it follows from an earlier theorem and the convergence of ∑ 1δ that |a n | fails to approach 0 as
n
n → ∞.
2 log 2 − 13 log 3 − 1⋯n log n − 1
e. ∑ n!log 2log 3⋯log n
For each n we define
2 log 2 − 13 log 3 − 1⋯n log n − 1
an =
n!log 2log 3⋯log n
and we observe that
a n+1 = n + 1 logn + 1 − 1
an n + 1 logn + 1
and since
n + 1 logn + 1 − 1
lim n 1 − aan+1 = n→∞
lim n 1 −
n→∞ n n + 1 logn + 1
= n→∞
lim n =0<1
n + 1 lnn + 1
we conclude that ∑ a n is divergent.
4. Determine for what values of x the following series converge and for what values of x the series converge
absolutely.
3x − 2 n
a. ∑ n
The given series must be divergent if |3x − 2| > 1 because, in this case, the expression
3x − 2 n |3x − 2| n
n fails to approach 0 as n → ∞. In the event that |3x − 2| < 1, the series ∑ n
converges by a simple application of d’Alembert’s test. We are left with the case |3x − 2| = 1
−1 n
which occurs when x = 13 or x = 1. When x = 13 the given series becomes ∑ n which is
conditionally convergent and when x = 1 it becomes ∑ 1n which is divergent.
Thus the series converges absolutely when 13 < x < 1, converges conditionally when x = 13
and diverges otherwise.
log x n
b. ∑ n
This series converges absolutely when |log x| < 1, converges conditionally when log x = −1 and
diverges otherwise. In other words, the series converges absolutely when 1e < x < e,
converges conditionally when x = 1e and diverges otherwise.
341
−1 n x n
c. ∑ log n x
For each n ≥ 2 we define
−1 n x n
an =
log n x
and observe that
x
log n
lim aan+1 = n→∞
lim|x| = |x|.
n→∞ n logn + 1
Therefore ∑ a n converges absolutely when |x| < 1. If |x| > 1 then, since a n fails to approach 0
as n → ∞, the series ∑ a n diverges. When x = −1 the series is ∑ log n which diverges. When
−1 n
x = 1 the series is ∑ which is conditionally convergent.
log n
3n!x n
d. ∑ 2n!n!
For each n we define
3n!x n
an =
2n!n!
and observe that
a n+1 3n + 33n + 23n + 1
an = |x|
2n + 22n + 1n + 1
and so
27|x|
lim aan+1 = .
n→∞ n 4
3n!x n
Therefore the series ∑ converges absolutely when |x| < 4
. If |x| > 4
then, since
2n!n! 27 27
a n fails to approach 0 as n → ∞, the series ∑ a n diverges.
Now suppose x = 27 4
. The series ∑ a n becomes
3n!4 n
∑ 2n!n!27 n
3n!x n
which converges by Dirichlet’s test. Therefore the series ∑ converges absolutely
2n!n!
when |x| < 274
, converges conditionally when x = − 27 4
and diverges for other values of x.
e. ∑ nnxn
n!
For each n we define
n n
an = n x
n!
and observe that
n
a n+1 1 + 1n
an = |x| e
and so
342
lim aan+1
nn→∞
= e|x|.
Therefore the series ∑ n x converges absolutely when |x| <
n n 1
e . If |x| > 1
e then, since a n fails
n!
to approach 0 as n → ∞, the series ∑ a n diverges.
c. ∑ cos 2 nx
n
d. ∑ |cos nx|
n
343
Since
2 |cos nx|
0 ≤ cosn nx ≤ n
for all n and x we deduce from Part c that the series
∑ |cosnnx|
diverges for every number x.
e. ∑ cos 3 nx
n
is
∑ 1n
which diverges. If 3x is an integer multiple of 2π but x is not then, since
∑ cosnnx
is convergent and
∑ cosn3nx
is divergent, the series
∑ cosn nx = ∑ 34 cosnnx + 14 cosn3nx
3
is divergent. If 3x is not an integer multiple of 2π then nor is x and, since both ∑ cosnnx and
∑ cosn3nx are convergent, so is
∑ cosn nx .
3
f. ∑ cos 4 nx
n
Given any number x positive integer n we have
cos 4 nx = 3 + 1 cos 2nx + 1 cos 4nx .
n 8n 2 n 8 n
In the event that x is an integer multiple of π/2 then the series
∑ cosn nx
4
is either
∑ 1n or ∑ 2n 1
and is therefore divergent. In the event that x is not an integer multiple of π/2, both of the series
∑ cosn2nx and ∑ cosn4nx
are convergent and, since
∑ 8n 3
344
∑ cos 4 nx
n
diverges for every number x.
6. With an eye on the preceding exercise give an example of a convergent series ∑ a n such that the series
∑ a 3n is divergent.
The series
cos 2nπ
∑ 3 n3
is convergent but the series
2nπ 3
cos
∑ 3 n
3
is divergent.
7. Find the values of x and α for which the binomial series
∑ αn x n
is convergent.
If α is a nonnegative integer then, since αn = 0 whenever n > α the series ∑ αn x n converges for
every number x. From now on we assume that α fails to be a nonnegative integer. Since
α
x n+1
lim n+1
= |x|
n→∞ | αn x n |
we know that the series
∑ αn x n
is divergent whenever |x| > 1 and is absolutely convergent when |x| < 1. Now we need to consider
the cases x = ±1.
Now we saw earlier that the series
∑ αn
is absolutely convergent when α > 0. We also saw that the nth term of this series fails to approach
0 as n → ∞ when α ≤ −1. Finally we saw that the series
∑ αn
is conditionally convergent when −1 < α < 0 and that
α = −1 n α
n n
for each α and n. We can summarize these facts as follows:
• If α is a nonnegative integer then the given series converges for all x.
• If α is not an integer and α > 0 then the series converges absolutely when |x| ≤ 1 and diverges if
|x| > 1.
• If α ≤ −1 then the series converges absolutely when |x| < 1 and diverges if |x| ≥ 1.
• If −1 < α < 0 then the series converges absolutely when |x| < 1, converges conditionally when
x = 1 and diverges when either x ≤ −1 or x > 1.
8. Prove that if x is not an integer multiple of 2π then
∞
∑ sin jx
j
≤ 1
sin 2x
j=1
345
Hint: Use the inequality obtained after Dirichlet’s test.
9. Prove Abel’s test for convergence of a series which states that if a n is a decreasing sequence of positive
numbers and if ∑ b n is a convergent series then the series ∑ a n b n is convergent. This theorem may be
proved by the method of proof of Dirichlet’s test but it also follows very simply from the statement of
Dirichlet’s test. Which proof do you prefer?
We show the proof that uses the statement of Dirichlet’s test. Assume that
lim a = a.
n→∞ n
From Dirichlet’s test we know that
∑a n − ab n
is convergent. Therefore, since the series
∑ ab n
is convergent and
a n b n = a n − ab n + ab n
for each n, it follows that
∑ anbn
converges.
10. Give an example of a sequence a n of positive numbers and a sequence b n of real numbers such that each
of the following conditions holds:
a. We have a n → 0 as n → ∞.
b. The sequence of number ∑ j=1 b j is bounded.
n
11. Give an example of sequences a n and b n such that the following conditions hold:
a. The sequence a n is a decreasing sequence of positive numbers.
b. The sequence of number ∑ j=1 b j is bounded.
n
346
∞
∑−1 n x n = 1
1+x
n=0
and
∞
∑ xn = 1
1−x
n=0
The nth term of the Cauchy product of ∑ −1 n x n and ∑ x n is
n
x n if n is even
∑−1 n−j x n−j x j =
j=0 0 if n is odd
and so the Cauch product is ∑ x 2n . We observe that
∞ ∞ ∞
∑ x 2n = 1
1 − x2
= 1
1+x
1
1−x
= ∑ −1 n x n ∑ xn .
n=0 n=0 n=0
2. This exercises requires a knowledge of the binomial theorem. Show that the Cauchy product of the two
series ∑ x n /n! and ∑ y n /n! is ∑x + y n /n!. As you may know, the sums of these series are e x and e y and
e x+y respectively, and you will see this fact officially in a later subsection. What does Cauchy’s theorem say
for these three series?
The nth term of the Cauchy product of ∑ x n /n! and ∑ y n /n! is
n n
yj
∑ x n−j
n − j! j!
= ∑x n−j y j n!
n − j!j!
1
n!
j=0 j=0
n
x + y n
= 1
n!
∑x n−j y j n
j
=
n!
j=0
Assuming that the three series ∑ and ∑ and ∑x + y n /n! converge, respectively, to e x
x n /n! y n /n!
y x+y
and e and e we can interpret Cauchy’s theorem as saying that
e x+y = e x e y .
This exercise is a very slight variation of the proof of the technical lemma that precedes Mertens’
theorem. The solution below is almost a carbon copy of the proof of that lemma.
We remark first that for every j we have |f j| ≤ α j and so the absolute convergence of the series
∑ f j and the series ∑ f n j for any given positive integer n is guaranteed by the comparison test.
In order to show that
347
∞ ∞
lim
n→∞
∑ f n j = ∑ f j,
j=0 j=0
Now that N 1 has been chosen, choose a positive integer N 2 such that whenever n ≥ N 2 we have
N1 N1
We define N to be the larger of the two numbers N 1 and N 2 . Now we observe that whenever n ≥ N we have
∞ ∞ N1 N1 ∞ ∞
∑ f n j − ∑ f j = ∑ f n j − ∑ f j + ∑ f n j − ∑ f j
j=0 j=0 j=0 j=0 j=N 1 +1 j=N 1 +1
N1 N1 ∞ ∞
≤ ∑ f n j − ∑ f j + ∑ f n j + ∑ f j < + + = .
3 3 3
j=0 j=0 j=N 1 +1 j=N 1 +1
2. Prove that if α > 0 and β > 1 then the Cauchy product of the series
∑ n−1 −1 n
n
+ 1 α and ∑ n + 1 β
is convergent.
Since both series converge and the second series converges absolutely, the desired result follows
at once from Mertens’ theorem
3. Given that
n
Sn = ∑ 1
j+1
j=0
Hint: Make use of an exercise proved in the document that provides a sharper form of the integral test.
To reach the exercise, click here. If you have not read that integral test document, you can look for the
same exercise when we study power series in this chapter of the text.
4. Prove that if α and β are positive numbers and α + β ≤ 1 then the Cauchy product of the series
∑ n−1 −1 n
n
+ 1 α and ∑ n + 1 β
diverges.
The nth term of this Cauchy product is
n n
−1 n−j −1 j
∑ α
n − j + 1 j + 1 β
= −1 n ∑ 1
α β
j=0 j=0 n − j + 1 j + 1
and since
n − j + 1 α j + 1 β ≤ n + 1 α n + 1 β = n + 1 α+β ≤ n + 1
whenever 0 ≤ j ≤ n we see that
348
n n
−1 n ∑ 1 ≥ ∑ 1 = 1.
n − j + 1 α j + 1 β n+1
j=0 j=0
Since the nth term of the Cauchy product does not approach 0 as n → ∞, the Cauchy product
diverges.
5. Suppose that ∑ c n is the Cauchy product of two convergent series ∑ a n and ∑ b n and suppose that, for
some number δ > 0, the sequences na n log n and n δ b n are bounded. Prove that the series ∑ c n
converges.
Hint: Apply Neder’s theorem with φn = n δ for each n.
3. True or false? If a number x in the interval 0, 1 can be expressed as a ternary decimal expansion of the form
∞
x= ∑ an
3n
n=1
and if there exists a value of n for which a n = 1 then the number x can’t belong to the Cantor set.
This statement is false. For example, we have seen that
∞
1 =
3 ∑ 2 ∈ C.
3n
n=2
349
ternary decimal form
∞
x= ∑ an
3n
n=1
where each number a n is either 0 or 2. Now if for a given positive integer k we define
an if n ≠ k
bn =
2 − a n if n = k
and if we define the number y by the equation
∞
y= ∑ bn
3n
n=1
then y belongs to C and is unequal to x and we have
ak bk
φy − φx
1
− k
=
2 2k 2k
= 1 3 .
y−x ak bk 2 2
−
3k 3k
Therefore, since the difference quotients of φ at x form an unbounded set, the limit
φy − φx
lim
y→x y−x
cannot exist (and be finite) and so φ fails to be differentiable at x whenever x ∈ C.
13 Improper Integrals
1. Evaluate each of the following improper integrals, when possible, and specify those that diverge. If you
can’t see how to evaluate the integral exactly yourself, ask Scientific Notebook to evaluate it for you. (Before
asking Scientific Notebook to evaluate one of these intgrals, remove the arrow sign from the limits of
integration.)
→∞
a. ∫ 1
3/2
dx
0 1+x 2
∫0
arctan w
= w→∞
lim 1 lim sinarctan w − 0 = 1.
sec 2 udu = w→∞
3/2
1 + tan 2 u
→∞
b. ∫ 1
dx
2 x x 2 −1
350
c. ∫
2 1
dx
1← x x 2 −1
∫
arcsec 2
= lim 1du = arcsec 2 − 1
w→1+ arcsec w
→∞
d. ∫ 1
dx
1← x x 2 −1
→π/2
e. ∫ tan xdx
0
This integral is
∫ tan xdx = w→π/2−
w
lim lim log sec w = ∞
w→π/2− 0
which means that the given integral diverges.
→π/2
f. ∫ tan x sin x dx
0
This integral is
∫
w
lim sin x dx = lim 2 − 2 cos w = 2.
w→π/2− 0 cos x w→π/2−
This limit is 1
1−p
if p < 1 and is ∞ if p > 1. We see also that
∫ 0←
1
1 dx = lim log 1 − log w = ∞.
x w→0−
351
b. Prove that the integral
→∞
∫1 1 dx
xp
converges when p > 1 and diverges when p ≤ 1.
As long as p ≠ 1 we have
∞
∫11 dx = lim ∫ w 1 dx = lim
xp w→∞ 1 x p
1 w 1−p − 1
w→∞ 1 − p 1−p
.
This limit is 1
p−1
if p > 1 and is ∞ if p < 1. We see also that
∞
∫1 1 dx = lim log w − log 1 = ∞.
x w→∞
5. Prove that if f is bounded on an interval a, b and is improper Riemann integrable on a, b then f is Riemann
integrable on a, b and
→b
∫a ∫ a f.
b
f=
To show that f satisfies the second criterion for integrability, suppose that > 0. Using the fact that f
is integrable on the interval a, b − 2 choose a partition
P = x 0 , x 1 , ⋯, x n
of the interval a, b − 2
such that if
x ∈ a, b − ∣ wP, fx ≥
E=
2 2
then mE < 2 . Now we extend the partition P to make a partition Q of the interval a, b by adding
the point b. Thus
Q =x 0 , x 1 , ⋯, x n , b
and since
x ∈ a, b − ∣ wQ, fx ≥ ⊆ E ∪ b − , b
2 2 2
the measure of the latter set is less than .
Now to show that
352
∫a f = ∫a f
w b
lim
w→b−
we need only note that if a ≤ w < b then
∫a f − ∫a f ∫w f
b w b
= ≤ sup|f|b − w
∫ fxdx
w
lim
w→b− a
→b
which is a number. When we say that ∫ fxdx is convergent we do not really mean what we are
a
→b
saying. Literally, the statement that ∫ fxdx is convergent is the statement that the value of the
a
limit
∫ fxdx
w
lim
w→b− a
is convergent. Thus, if the limit is 2 then we should be saying that the number 2 is convergent. Of
course such an interpretation is not intended. Instead, we mean that the limit exists and is finite. In
→b
that sense, saying that ∫ fxdx is convergent is not as precise as saying that f is improper
a
Riemann integrable on a, b.
Since
x
lim x2 −x+1 = 1
x→∞ 1
x 3/2
→∞
dx is convergent, the integral ∫
→∞ x
and since ∫ 1
dx is convergent.
1 x 3/2 1 x2 − x + 1
∫ 0←
1
b. 1 dx
x + x2
Since
1
x+x 2
lim 1
=1
x→0+
x
353
Since
2
0 ≤ sin2 x ≤ 12
x x
→∞
dx is convergent, the integral ∫
∞ 1 sin 2 x dx is
for all x ≥ 1 and since the integral ∫
1 x2 1 x2
convergent.
→∞
d. ∫ 0← sin 2 x dx
x2 x
We break thisintegral into the two parts ∫
1
sin 2 x dxand ∫ →∞ sin 2 x dx.
0← x2 x 1 x2 x
Since
sin 2 x
x2 x
lim 1 =1
x→0+
x
∫ 1←
2
f. 1 dx
log x
Since
1
log x
lim 1 =1
x→1+
x−1
354
− log sin x
lim 1
=0
x→0
x
π/2
and since the integral ∫ dx is convergent, the integral ∫
1 1
x
− log sin xdx is convergent and
0← 0←
π/2
therefore the integral ∫ log sin xdx is convergent.
0←
→∞
h. ∫2 1 dx
log x log x
Hint: This problem is the integral analogue of the problems that occurred earlier on the
comparison test for series.
For x sufficiently large we have
1 = 1 ≤ 1 = 12 .
log x log x explog xlog log x exp2 log x x
→∞
dx is convergent, the integral ∫
→∞ 1
Since the integral ∫ 1 dx is convergent.
2 x2 2 log x log x
→∞
i. ∫3 1 dx
log log x log x
For x sufficiently large we have
1 = 1 ≤ 1 = 12 .
log log x log x explog xlog log log x exp2 log x x
→∞
dx is convergent, the integral ∫
→∞ 1
Since the integral ∫ 1 dx is convergent.
2 x2 2 log log x log x
→∞
j. ∫ 30 1 dx
log log log x log x
For x sufficiently large we have
1 = 1 ≤ 1 = 12 .
log log log x log x explog xlog log log log x exp2 log x x
→∞
dx is convergent, the integral ∫
→∞ 1
Since the integral ∫ 1 dx is convergent.
2 x2 2 log log log x log x
→∞
k. ∫3 1 dx
log x log log x
Since
log log x 2
lim =0
log x
x→∞
we know that log log x 2 ≤ 12 log x whenever x is sufficiently large. For such x we have
1 = 1 ≥ 1 = 1 .
log x log log x exp log log x 2 exp 1 log x x
2
→∞
dx is divergent, the integral ∫
→∞
Since the integral ∫ 1 1 dx is divergent.
3 x 3 log x log log x
→∞
l. ∫1 1 dx
exp log x
Since
log x ≤ 1 log x
2
whenever x is sufficiently large we have
1 ≥ 1 = 1
1 x
exp log x exp 2
log x
355
→∞
for x sufficiently large. Therefore, since the integral ∫ 1
x
dx is divergent, the integral
1
→∞
∫1 1 dx is divergent.
exp log x
→∞
In this way we see that the integral ∫ sin 3 x dx is convergent.
x
2
→∞ e x sine x
c. ∫1 x dx
356
e x sine x
It is instructive to ask Scientific Notebook to sketch the graph y = x .
20
10
-10
-20
As we move from left to right, the function oscillates with a rapidly expanding amplitude but the
peaks, as they become higher, also become very narrow and, as we shall see in a moment,
→∞ e x sine x
the integral ∫ x dx is convergent.
1
Given any number w ≥ 1 we have
ew
∫ 1 e x sin e x dx ∫e
w
= sin udu ≤ 2
→∞ e x sine x
and therefore Dirichlet’s test guarantees that the integral ∫ x dx is convergent.
1
and deduce that each of the following four improper integrals equals
→∞
∫ 0 sinx x dx.
→∞
a. ∫0 2 sin x cos x dx
x
→∞
∫0 2 sin x cos x dx = 2 ∫ →∞ sin 2x dx
x 0 2x
lim ∫ sin 2x dx
w
= 2 w→∞
0 2x
and the substitution u = 2x yields
→∞
∫0 ∫0
2w
lim sin u du = sin x dx.
w→∞ u x
→∞
b. ∫0 sin 2 x dx
x2
→∞
∫0 ∫0 ∫0
w w
lim 2 sin x cos x dx = lim sin 2 x dx + lim sin 2 w = sin 2 x dx.
w→∞ x w→∞ x2 w→∞ w x2
→∞
c. ∫0 2 sin 2 x cos 2 x dx
x2
→∞
∫0 ∫0
w
2 sin 2 x cos 2 x dx = lim 2 sin 2 x cos 2 x dx
x2 w→∞ x2
lim 2 ∫ sin 2x
w 2
= w→∞ dx
0 2x 2
→∞
∫0 ∫0
2w
= w→∞
lim sin 2 u du = sin 2 x dx.
u2 x2
→∞
d. ∫0 2 sin 4 x dx
x2
357
→∞ →∞ 2 sin 2 x1 − cos 2 x
∫0 2 sin 4 x dx =
x2
∫0 x2
dx
→∞
= ∫0 2 sin 2 x dx − ∫ →∞ 2 sin 2 x cos 2 x dx
x2 0 x2
→∞ →∞
= ∫0 2 sin x dx − ∫
2
sin x dx = ∫ →∞ sin 2 x dx.
2
x 2 0 x2 0 x2
1. For each of the following definitions of the function f n on the interval 0, 1 prove that the sequence
f n converges pointwise to the function 0 on 0, 1 and determine whether the sequence converges
boundedly and whether it converges uniformly. In each case, determine whether or not we have
∫ 0 f n = 0.
1
lim
n→∞
In each case, use Scientific Notebook to sketch some graphs of the given function and ask yourself whether
your conclusion is compatible with what you see in the graphs.
a. f n x = nx exp−nx for each x ∈ 0, 1 and each positive integer n.
Hint: To see that the sequence converges boundedly but not uniformly to the constant 0, observe
that each function f n has its maximum when
n exp−nx − n 2 x exp−nx = 0
which occurs when x = 1/n. Note that f n 1/n = 1/e for each n.
0.35
0.3
0.25
0.2
0.15
0.1
0.05
358
b. f n x = n 2 x exp−nx for each x ∈ 0, 1 and each positive integer n.
Arguing as we did in Part a, we see that each function f n has its maximum value ne at the
number 1n . Since sup f n → ∞ as n → ∞ we see that f n fails to converge boundedly.
When x = 0 the condition
lim n 2 x exp−nx = 0
n→∞
is obvious and when x ≠ 0 the condition
2x2
lim n 2 x exp−nx = 1x n→∞
lim n nx =0
n→∞ e
follows from the fact that
2
lim uu = 0.
e u→∞
Therefore the sequence f n converges pointwise to the constant function 0. Finally we observe
that
∫ 0 f n xdx = ∫ 0 n 2 xe −nx dx = 1 −
1 1
n − 1 →1
en en
as n → ∞. So even though the sequence f n converges pointwise to the constant function 0 we
do not have
∫0 fn = ∫0 0
1 1
lim
n→∞
0.4
0.3
0.2
0.1
1 = 1 . fn
2n 2e
From this observation we see that the sequence f n converges boundedly to the constant
function 0.
Finally we observe that
359
∫ 0 f n xdx = ∫ 0 nxe −n x dx = − 12 e −n − 1 → 0
1 1 2
2 2
n
as n → ∞.
d. f n x = nx exp−nx 2 for each x ∈ 0, 1 and each positive integer n.
2.5
1.5
0.5
1 = n exp − 1
fn
2n 2 2
from which we deduce that the sequence f n fails to be boundedly convergent on the interval
0, 1. As in the earlier examples the sequence f n converges pointwise on 0, 1 to the
constant function 0.
Finally we observe that
∫ 0 f n xdx = ∫ 0 nx exp−nx 2 dx = − 12 e −n +
1 1
1 → 1
2 2
as n → ∞.
e. f n x = nx exp−n 2 x for each x ∈ 0, 1 and each positive integer n.x exp−x
0.35
0.3
0.25
0.2
0.15
0.1
0.05
= 1 − 1 − 13 → 0
n 3 expn 2 n expn 2 n
as n → ∞.
360
2. Given that f n x = x n for all x and n, prove that the series ∑ f n converges pointwise, but not uniformly, on
the interval 0, 1 and that ∑ f n converges uniformly on the interval 0, δ whenever 0 ≤ δ < 1.
The fact that ∑ f n converges pointwise on the interval 0, 1 follows from the fact that
∞
∑ xn = 1
1−x
n=0
whenever 0 ≤ x < 1. Now given any n we have
n
1−x ∑
sup 1 − xn ∣ 0 ≤ x < 1 = sup 1 − 1 − x n+1 ∣0≤x<1
1−x 1−x
j=0
1−x ∑
sup 1 − xn ∣ 0 ≤ x < 1
j=0
3. Given that f n x = sin nx/n 2 for all n and x, prove that the series ∑ f n converges uniformly on R.
Use Scientific Notebook to sketch some of the graphs of these functions to motivate your conclusions.
1
0.8
0.6
0.4
0.2
-4 -2 0 2 x 4
-0.2
-0.4
-0.6
-0.8
-1
Since
|f n x| ≤ 12
n
for all n and x the uniform convergence of ∑ f n follows at once from the comparison test.
4. Prove that the series ∑ x n /n! converges uniformly in x on every bounded interval but does not converge
uniformly in x on the entire line R.
Hint: You do not need to know that the sum of this series is e x for each x in order to answer this
question. Note that whenever x > 0 and n is a positive integer we have
∞ n
∑ xj − ∑ xj
j! j!
≥ x n+1
n + 1!
j=0 j=0
361
does not converge uniformly in x on the interval −1, 1 but that it does converge uniformly on the interval
−δ, δ whenever 0 ≤ δ < 1.
6. Prove that the series ∑x log x n converges uniformly in x on the interval 0, 1.
We begin by observing that x log x → 0 as x → 0 (from the right). Now the expression x log x takes its
minimum value when log x + 1 = 0, in other words, when x = 1e . Therefore the maximum value of
|x log x| is 1e and the fact that
x log x n ≤ 1n
e
for every positive integer n and every number x ∈ 0, 1 allows us to use the comparison test to
deduce that ∑x log x n converges uniformly in x on the interval 0, 1.
7. Given that f n and g n are sequences of real valued functions defined on a set S, that f and g are functions
defined on S and that f n → f and g n → g pointwise as n → ∞, prove that
a. f n + g n → f + g pointwise as n → ∞.
Given any x ∈ S, the fact that f n x → fx and g n x → gx as n → ∞ guarantees that
f n x + g n x → fx + gx.
b. f n − g n → f − g pointwise as n → ∞.
c. f n g n → fg pointwise as n → ∞.
d. In the event that gx ≠ 0 for every number x in the set S we have f n /g n → f/g pointwise as n → ∞.
8. Given that f n and g n are sequences of real valued functions defined on a set S, that f and g are functions
defined on S and that f n → f and g n → g boundedly as n → ∞, prove that
a. f n + g n → f + g boundedly as n → ∞.
b. f n − g n → f − g boundedly as n → ∞.
c. f n g n → fg boundedly as n → ∞.
d. In the event that there exists a number δ > 0 such that |g n x| ≥ δ for each n and every number x in the
362
set S we have f n /g n → f/g boundedly as n → ∞.
These assertions follow at once from Exercise 7 after we have observed that if f n and g n
are bounded sequences of functions then so are f n + g n etc.
9. Suppose that f n is a sequence of real valued functions defined on a set S and that f is a given function
defined on S. Prove that the following conditions are equivalent:
a. The sequence f n converges uniformly to the function f on the set S.
b. For every number > 0 there exists an integer N such that the inequality
sup|f n − f| <
holds for all n ≥ N.
c. For every number > 0 there exists an integer N such that the inequality
|f n x − fx| <
holds for all n ≥ N and all x ∈ S.
Conditions a and b are obviously the same and it is clear that these imply condition c. To show
that condition c implies condition b, suppose that > 0. Using the fact that 2 is a positive
number, choose an integer N such that the inequality
|f n x − fx| <
2
holds whenever n ≥ N and x ∈ S. Then for all n ≥ N we have
sup|f n − f| ≤ < .
2
10. Suppose that f n is a sequence of real valued functions defined on a set S and that f is a given function
defined on S. Examine the following two conditions:
• For every number > 0 there exists an integer N such that the inequality
|f n x − fx| <
holds for all n ≥ N and all x ∈ S.
• For every number > 0 and every number x ∈ S there exists an integer N such that the inequality
|f n x − fx| <
holds for all n ≥ N.
The first of these conditions asserts that the sequence f n converges uniformly to the function f while the
second one asserts that f n converges pointwise to f. Make sure that you can distinguish between the two
conditions and see that they are not saying the same thing.
This exercise departs from the conventional mould. It doesn’t have a solution in the conventional
sense. Instead, it asks the student to think about the statements and make sure that the distinction
between them has been appreciated.
11. Given that a sequence f n converges uniformly to a function f on a set S and that the function f is bounded,
prove that (if we start the sequence at a sufficiently large value of n) the sequence f n converges boundedly
to f.
Suppose that the sequence f n converges uniformly on a set S to a bounded function f. Choose a
number p such that the inequality |fx| ≤ p holds for all x ∈ S. Using the fact that f n converges
uniformly to f, choose N such that the inequality
sup|f n − f| < 1
holds whenever n ≥ N. Then for all n ≥ N we have
sup|f n | = sup|f n − f + f|
≤ sup|f n − f| + sup|f| ≤ p + 1.
Thus, if we start the sequence f n at the integer N then f n converges boundedly to its limit f.
12. Prove that if sequences f n and g n converge uniformly on a set S to functions f and g respectively then
363
f n + g n → f + g uniformly on S.
Suppose that f n and g n converge uniformly on S to functions f and g respectively. To show that
f n + g n → f + g uniformly on S, suppose that > 0.
Choose integers N 1 and N 2 such that sup|f n − f| < 2 whenever n ≥ N 1 and sup|g n − g| < 2
whenever n ≥ N 2 . We define N to be the larger of N 1 and N 2 and we observe that whenever n ≥ N
we have
sup|f n + g n − f + g| ≤ sup|f n − f| + sup|g n − g| < + = .
2 2
13. Give an example of sequences f n and g n that converge uniformly on a set S to functions f and g
respectively such that the sequence f n g n fails to converge uniformly to the function fg.
Solution: We define fx = x whenever x > 0 and for each positive integer n we define
f n x = x − 1
n
whenever x > 0. Since
sup|f − f n | = 1
n →0
and
sup|f 2 − f 2n | = sup2nx − 1 ∣ x > 0 = ∞
n2
we see that f n converges uniformly to f on 0, ∞ but that f 2n fails to converge uniformly to f 2 on 0, ∞.
14. Prove that if sequences f n and g n converge uniformly and boundedly on a set S to functions f and g
respectively then f n g n → fg uniformly on S.
Suppose that f n → f and g n → g uniformly and boundedly on a set S. Choose a number p such that
sup|f n | ≤ p and sup|g n | ≤ p for every n. We observe that
sup|f n g n − fg| = sup|f n g n − fg n + fg n − fg|
≤ sup|f n g n − fg n | + sup|fg n − fg|
≤ sup|f n − f||g n | + sup|f||g n − g|
≤ sup p|f n − f| + sup p|g n − g|
and the latter expression approaches 0 as n → ∞.
15. Given that f n is a decreasing sequence of nonnegative continuous functions on a closed bounded set S and
that f n converges pointwise to the function 0, prove that f n converges uniformly to the function 0.
Solution: We need to show that sup f n → 0 as n → ∞. Note that the sequence sup f n is decreasing.
To obtain a contradiction, suppose that the sequence sup f n fails to converge to 0 and, using this
assumption, choose a number > 0 such that the inequality
sup f n >
holds for every n. For each n, choose a number x n ∈ S such that f n x n > and, using the fact that x n is
a sequence in the closed bounded set S, choose a partial limit x of the sequence x n .
Using the fact that f n x → 0 as n → ∞, choose an integer N such that f N x < . Now, using the fact that
the function f N is continuous at the number x, choose a number δ > 0 such that the inequality f N t <
holds for every number t ∈ S ∩ x − δ, x + δ.
Using the fact that x is a partial limit of the sequence x n we now choose an integer n > N such that
x n ∈ x − δ, x + δ. Then we have
f n x n ≤ f N x n <
contradicting the way in which the number x n was chosen.
364
1. Prove that the series
−1 n−1 sin1 + x
∑ n
n
converges uniformly in x on the interval −1, 1 and converges pointwise on the entire line R.
n
converges. If p is any given positive number and if we define
sin1 + nx
f n x =
n
then starting at a sufficiently large integer N the sequence of functions decreases uniformly to 0 on
the interval 0, p as n → ∞. By Dirichlet’s test for uniform convergence the series
+ nx
∑ −1 sin1
n−1
n
converges uniformly in x on the interval 0, p.
Now suppose that x < 0. It is clear that
sin1 + x
lim
n→∞
n
=0
n
but, before we can use Dirichlet’s test, we need to show that this sequence is decreasing. We write
sin1 + xt
ft =
t
for t > 0 and we observe that for each t we have
−x cos1 + xt − 2t sin1 + xt
f ′ t =
t 5/2
′
and it is clear that f t < 0 if t is sufficiently large. A similar argument shows that if p > 0 then it is
possible to find an integer N such that starting at n = N, the sequence
sin1 + nx
n
decreases to zero for every number x ∈ −p, 0 and it is clear that this convergence is uniform. It
therefore follows from Dirichlet’s test for uniform convergence that
+ nx
∑ −1 sin1
n−1
n
converges uniformly on the interval −p, 0.
We conclude that the series converges uniformly on every bounded set of real numbers, which is
more than the exercise requested.
2. Prove that if we define
∞
−1 n−1 sin1 + x
fx = ∑ n
n
n=1
for every real number x then the function f is differentiable at every real number and for every number x we
have
365
∞
−1 n−1 cos1 + x
f ′ x = ∑ n 3/2
n
n=1
The solution of this exercise follows at once from the theorem on term by term differentiation of
series, from Exercise 1 and from the uniform convergence in x of the series
+ nx
∑ −1 ncos1
n−1
3/2
.
a u x v b
Using the fact that x belongs to the open set R ∖ H, choose δ > 0 such that
x − δ, x + δ ∩ H = ∅.
We now define u to be the larger of the numbers a and x − δ/2 and v to be the smaller of the
numbers b and x + δ/2.
2. Suppose that H n is a sequence of closed subsets of an interval a, b where a < b and that none of
the sets H n has any interior points. Find a contracting sequence of subintervals a n , b n of the interval a, b
such that
H n ∩ a n , b n = ∅
for each n. By looking at a number that lies in the intersection of all the intervals a n , b n , prove that there
exists a number in the interval a, b that does not belong to the set
∞
⋃ Hn.
n=1
Using the fact that the set H 1 ≠ a, b, choose a number x 1 ∈ a, b ∖ H 1 . Using Exercise 1, choose
two numbers a 1 and b 1 such that a 1 < b 1 and a ≤ a 1 ≤ x 1 ≤ b 1 ≤ b and
H 1 ∩ a 1 , b 1 = ∅.
Since a 1 < b 1 and since the set H 2 has no interior point, the open interval a 1 , b 1 must contain
numbers that do not belong to H 2 . Choose x 2 ∈ a 1 , b 1 ∖ H 2 . We now use Exercise 1 again to
choose two numbers a 2 and b 2 such that a 2 < b 2 and a 1 ≤ a 2 ≤ x 2 ≤ b 2 ≤ b 1 . Continuing in this
way we obtain the desired sequence of intervals a n , b n .
3. Suppose that H n is a sequence of closed subsets of an interval a, b where a < b and that none of the sets
H n has any interior points. Prove that the set
∞
a, b ∖ ⋃ H n
n=1
is dense in the interval a, b.
Hint: If c, d is a subinterval of the interval a, b, apply Exercise 2 to the sequence of sets
H n ∩ c, d.
We can observe that whenever c, d is a nonempty open interval of a, b, the set
∞
c, d ∖ ⋃ H n ≠ ∅.
n=1
366
∞
a, b = ⋃ Hn.
n=1
For each n, suppose that U n is the set of interior points of the set H n . Prove that the set
∞
⋃ Un
n=1
is a dense open subset of the interval a, b.
Suppose that c, d is a nonempty open subinterval of a, b. Since
n
c, d = ⋃ H n ∩ c, d,
n=1
it follows from Exercise 2 that at least one of the set H n ∩ c, d must have an interior point and an
interior point of H n ∩ c, d must belong to U n .
5. Suppose that f n is a sequence of continuous functions on an interval a, b where a < b and that f n
converges pointwise on a, b to a function f. Suppose that > 0 and that for each n, suppose that H n is
defined to be the set of all those numbers x ∈ a, b for which the inequality
|f i x − f j x| ≤
3
holds whenever i ≥ n and j ≥ n. Suppose finally that U n is the set of interior points of H n for each n.
a. Prove that the set
∞
V= ⋃ Un
n=1
is an open dense subset of the interval a, b.
This assertion follows at once from Exercise 4 and the fact that
∞
a, b = ⋃ Hn.
n=1
b. Prove that for every number x ∈ V there exists a number δ > 0 such that for every number t satisfying
the inequality |t − x| < δ we have |ft − fx| ≤ .
Choose n such that x ∈ U n . Choose δ 1 > 0 such that x − δ, x + δ ⊆ U n . Using the fact that the
function f n is continuous at the number x, choose δ 2 > 0 such that the inequality
|f n t − f n x| <
3
holds whenever |t − x| < δ 2 . We now define δ to be the smaller of the the numbers δ 1 and δ 2 .
Whenever |t − x| < δ we have
|ft − fx| ≤ |ft − f n t| + |f n t − f n x| + |f n x − fx|.
Now, whenever |t − x| < δ, the fact that both t and x belong to the set U n gives us
|ft − f n t| = lim|f j t − f n t| ≤
j→∞ 3
and
|fx − f n x| = lim|f j x − f n x| ≤
j→∞ 3
and we conclude that |ft − fx| ≤ .
6. Suppose that f n is a sequence of continuous functions on an interval a, b where a < b and that f n
converges pointwise on a, b to a function f. Suppose that for every positive number , the set V introduced
in Exercise 4 is now called V. Apply Exercise 2 to the sequence of sets
a, b ∖ V 1
n
and deduce that if
367
∞
D= ⋂V 1
n
n=1
then D is a dense subset of the interval a, b. Prove that the function f is continuous at every number in that
belongs to this dense set D.
From Exercise 5a we know that each of the set V 1n is an open dense subset of a, b and it
follows from Exercise 3 that the set
∞ ∞
D= ⋂V 1
n = a, b ∖ ⋃ R ∖ V 1
n
n=1 n=1
is dense in a, b. To see that f is continuous on D, suppose that x ∈ D and that > 0. Choose a
positive integer n such that 1/n < , and, using Exercise 5b, and the fact that x ∈ V 1n , choose
δ > 0 such that, whenever |t − x| < δ we have
|ft − fx| ≤ 1
n.
368
|f N t − f N x| <
5
holds whenever t ∈ S and |t − x| < δ 1 . Now we use the fact that there are only finitely many positive
integers n < N to choose a number δ 2 > 0 such that the inequality
|f n t − f n x| <
5
holds whenever t ∈ S and |t − x| < δ 2 and 1 ≤ n < N. Finally, we define δ to be the smaller of the two
numbers δ 1 and δ 2 . Now given any member t of S satisfying the condition |t − x| < δ, the condition
|f n t − f n x| < <
5
is already known for 1 ≤ n < N and if n ≥ N then we have
|f n t − f n x| = |f n t − ft + ft − f N t + f N t − f N x + f N x − fx + fx − f n x|
≤ |f n t − ft| + |ft − f N t| + |f N t − f N x| + |f N x − fx| + |fx − f n x| < .
4. Invent a meaning for equi-uniform continuity of a family ℑ on a set S and decide whether or not your
definition provides an analogue of the preceding exercise.
A family ℑ of functions on a set S is said to be equi-uniformly continuous on S if for every > 0
there exists a number δ > 0 such that whenever t and x belong to S and |t − x| < δ and f ∈ ℑ we
have
|ft − fx| < .
The point of this exercise is to invite the student to show that if f n is a uniformly convergent
sequence of uniformly continuous functions on a set S then the family f n ∣ n = 1, 2, 3, ⋯ is
equi-uniformly continuous on S. The proof is similar to the one used in Exercise 3.
∫ c f ′n tdt
x
≤ |f n c| + ≤ q + pb − a.
369
|f n x| = sin a n x − sin a n+1 x 2 ≤ 4.
If the sequence f n converged pointwise (and therefore boundedly) on the interval 0, 2π to
the constant function 0 then the bounded convergence theorem would give us
∫0 ∫0
2π 2π
lim
n→∞
f n xdx = 0 = 0.
However,
∫0 ∫0
2π 2π
f n xdx = sin a n x − sin a n+1 x 2 dx = 2π
for each n and we conclude that the sequence f n cannot converge pointwise to 0.
b. Prove that there must be at least one number x ∈ 0, 2π for which the sequence sin a n x diverges.
Given any number x, if the sequence sin a n x converges then the sequence f n x must
converge to the number 0 and we know from part a that there are numbers x for which f n x
does not converge to 0.
3. Suppose that for each positive integer n we have
∑ j=0
n
−x j if −1 < x < 1
f n x = .
1
2
if x = 1
a. Prove that if
1 fx =
1+x
for −1 < x ≤ 1 then the sequence f n converges boundedly to the function f on the interval 0, 1.
This statement is obvious.
b. Explain why each function f n is integrable on the interval 0, 1 and why
n
−1 j
∫0 fn = ∑
1
j+1
j=0
Each function f n is bounded and is continuous at all but one number in the interval 0, 1.
Therefore each function f n is integrable on 0, 1. We see at once that, for each n,
n n
−1 j
∫ 0 f n = ∫ 0 ∑−x j dx = ∑
1 1
.
j+1
j=0 j=0
∫0
1
= 1 dx = log 2.
1+x
c. Given any number x satisfying −1 < x < 1, prove that the series ∑ f n converges boundedly to f on the
closed interval running between 0 and x and deduce that the equation
∞
−1 j x j+1
∑ j+1
= log1 + x
j=0
370
This part of the exercise is simpler than part b because the comparison test guarantees that
the series
∑ −1
j j+1
t
j+1
converges absolutely and uniformly in t on the closed interval running between 0 and x. We
repeat the argument used in part b but with integration from 0 to x.
4. Suppose that for each positive integer n we have
∑ j=0
n j
−x 2 if 0 ≤ x < 1
f n x = .
1
2
if x = 1
Repeat the steps of the preceding for this sequence of functions and deduce that
∞
−1 j
∑ = π.
2j + 1 4
j=0
371
whenever t ≥ x. The fact that ft ≤ e −x whenever t ≥ x will follow if we can show that the function f is
increasing. Now whenever t ≥ x we have
ft = exp t log 1 − x
t
and so all we have to show is that if we define
gt = t log 1 − x
t
for t ≥ x then the function g is increasing. Since gx = 0 and since g is continuous on the interval
x, ∞ it will follow that g is increasing when we have shown that g ′ t ≥ 0 whenever t > x. Now
whenever t > x we have
x
g ′ t = log 1 − x + t
t 1− x
t
and therefore what we want to show is that the inequality
log1 − u + u ≥ 0
1−u
holds whenever 0 ≤ u < 1. We define
hu = log1 − u + u
1−u
and observe that h0 = 0 and that whenever 0 < u < 1 we have
1 − u + u
h ′ u = −1 + = u >0
1−u 1 − u 2
−
u 1 2
Therefore hu > 0 whenever 0 < u < 1 and our proof is complete.
b. Use the dominated convergence theorem to show that
lim ∫
n
1 − x n x α−1 = ∫ →∞ e −x x α−1 dx = Γα.
n→∞ 1/n n 0
= 2n + 2 > 1
a n+1 = 2n+2!
an n! 2 4 n 2n + 1
2n!
we see that a n does not approach 0 as n → ∞ and so the given series must diverge when
x = ±4. Thus the interval of convergence is −4, 4 and the radius of convergence is 4.
2n!x n
b. ∑ n! 2
An easy application of d’Alembert’s test shows that the series converges when
372
2n+2!
= 1 2n + 1 = 2n + 1 < 1
a n+1 = 4 n+1 n+1! 2
an 2n! 2 n+1 2n + 2
4 n!
n 2
= n→∞
lim n 1 − e = −1
n
1 + 1n 2
we know that the sequence a n does not approach zero and ∑ a n diverges. When x = −e we
have
n!x n n!e n
n = −1 n
n nn
and, once again, because this nth term fails to approach zero the series diverges. The interval
n!x n
of convergence of the series ∑ is therefore −e, e.
nn
d. ∑ n x
n n
n!
We saw in an earlier group of exercises that the interval of convergence of this series is
− 1e , 1e .
2. Given that c ≠ 1 and that
1
fx =
1−x
whenever x ≠ 1, expand the function f in a power series with center c and find the interval of convergence of
this series.
373
x−c <1
1−c
which occurs when
c − |1 − c| < x < c + |1 − c|.
If c < 1 then the latter inequality says that 2c − 1 < x < 1 and if c > 1 the inequality says that
1 < x < 2c − 1.
3. Does a power series have to have the same interval of convergence as its derived series?
No. Look at the intervals of convergence of ∑ xn+1 and of ∑ x n . The first of these intervals
n+1
6. Use Scientific Notebook to calculate a variety of nth partial sums of the Maclaurin series of the
function f defined by the equation
x
fx = e sin6x
1+x
for every real number x. Then use Scientific Notebook to plot some of these nth partial sums with the graph of
f on the interval −2, 2 and explore the accuracy of these partial sums as approximation so f on the interval.
Solution:
expx = expc expx − c
∞ ∞
= ec ∑ 1 x − c n =
n!
∑ e c x − c n .
n!
n=0 n=0
2. Prove that
∞
−1 n
∫ 0 e −x dx = ∑
1 2
n=0
2n + 1n!
From the fact that
374
∞
−1 n x 2n
e −x
2
= ∑ n!
n=0
−1 n x 2n
and from the fact that the series ∑ n!
converges bounded (in fact, uniformly) in x on the inteval
0, 1, we see that
∞
−1 n x 2n
∫0 ∫0 ∑
1 1
e −x dx =
2
dx
n!
n=0
∞ ∞
−1 n x 2n −1 n
∑ ∫0 ∑
1
= dx =
n=0
n!
n=0
2n + 1n!
3. Show that even before we have showed that the function f defined in the proof of the above theorem is the
exponential function exp we could have seen from the binomial theorem and Cauchy’s theorem on products
of series (click here to see it) that for all numbers x and y we have
fxfy = fx + y.
4. a. Prove that
∞
e= ∑ 1 .
n!
n=0
c. Prove that if m is any positive integer then the number m!e is not an integer and deduce that the number
e is irrational.
Solution: This problem also appeared in Chapter 10 where it was provided with a solution.
375
Some Exercises on Binomial Series
1. Given that α > −1, prove that
∞
2α = ∑ α .
n
n=0
Solution: We know from earlier work that the series ∑ αn converges and it therefore follows from
Abel’s theorem that
∞ ∞
2 α = lim 1 + x α = lim ∑ α xn = ∑ α .
x→1− x→1− n n
n=0 n=0
3. Given that α and β are any real numbers and |x| < 1, apply Cauchy’s theorem on products of series to the
Maclaurin expansions of 1 + x α and 1 + x β to deduce that the equation
n
α β α+β
∑ n−j j
= n
j=0
and since this Cauchy product must converge on the interval −1, 1 to
∞ ∞
α xn β n
∑ n ∑ n x = 1 + x α 1 + x β = 1 + x α+β
n=0 n=0
the equation
∞ n ∞
α β α+β n
∑ ∑ n−j j
xn = ∑ n x
n=0 j=0 n=0
holds for all x ∈ −1, 1. From the theorem on uniqueness of coefficients of a power series we
deduce that
n
α β α+β
∑ n−j j
= n .
j=0
4. The motivation and notation used in this exercise is the theory of Cesàro summability of series that
can be found in the book Divergent Series by G. H. Hardy.
In this exercise we define
α + 1α + 2⋯α + n
A αn =
n!
whenever α > −1 and n is a positive integer. We also define A α0 = 1.
a. Prove that if α > −1 and n is a nonnegative integer we have
−α − 1 = −1 n A α .
n n
376
This identity is obvious.
b. Use the preceding exercise to prove that if α and β are greater than −1 and n is a nonnegative integer
then
n
∑ A αn−j A βj = A α+β+1
n .
j=0
We observe that
n n
−α − 1 −β − 1
∑ A αn−j A j =
β
∑−1 n−j −1 j n−j j
j=0 j=0
n
−α − 1 −β − 1
= −1 n ∑
n−j j
j=0
−α − β − 2 α+β+1
= −1 n n = An
377
gx = f1 − x 2 = 1 − 1 − x 2 = |x|.
d. Use Scientific Notebook to calculate some nth Maclaurin polynomials of the function f defined in
part a. For each chosen value of n, if f n is the nth Maclaurin polynomial, and h n x = f n 1 − x 2 for each
x, ask Scientific Notebook to sketch the graph of the function h together with the graph of the absolute
value function and observe graphically that the sequence h n is converging uniformly to the absolute
value function on the interval −1, 1. The case n = 35 is illustrated in the following figure.
0.8
0.6
0.4
0.2
-1 -0.5 0 0.5 1
This exercise is of considerable importance because it may be used as the starting point for a major
theorem known as the Stone-Weierstrass . You can find an elementary presentation of the
Stone-Weierstrass theorem in Rudin reference starting with Corollary 7.27.
Solution: We know that sin π = sin 0 = 0 and that sin x > 0 whenever 0 < x < π. We also know that
whenever x and y are numbers and sin x = sin y = 0 we have
sinx ± y = sin x cos y ± sin y cos x = 0
and from this fact we see that sin nπ = 0 for every integer n. Now suppose that x is any number for which
the equation sin x = 0 holds. If we define n to the the greatest integer that does not exceed the number x/π
then we have
0 ≤ x − nπ < π
and since sinx − nπ = 0 we conclude that x = nπ.
A similar argument may be used to show that
x ∈ R ∣ cos x = 0 = nπ ∣ n is an integer .
2
Finally, if G is the set of integers n for which the equation cos nπ = −1 n is true then we know that 1 ∈ G
and that the sum and difference of any two members of G must belong to G. Therefore the equation
cos nπ = −1 n holds for every integer n.
2. Prove that if α is any real number then the equation
sinx + α = sin x
holds for every real number x if and only if α is an even multiple of π.
378
holds for every real number x. Since
sin α = sin0 + α = sin 0 = 0
we know that α is an integer multiple of π. We can therefore express α as nπ for some integer n. Since
1 = sin π = sin π + nπ = cos nπ = −1 n
2 2
we know that n is even.
3. Prove that the restriction of the function sin to the interval −π/2, π/2 is a strictly increasing function from
−π/2, π/2 onto the interval −1, 1. Prove that if the function arcsin is now defined to be the inverse function
of this restriction of sin then for every number u ∈ −1, 1 we have
arcsin u = ∫
u
1 dt.
0 1 − t2
Solution: We have already seen that the restriction of the function sin to the interval −π/2, π/2 is
strictly increasing and that the range of this function is the interval −1, 1. The function arcsin is
therefore a strictly increasing continuous function from −1, 1 onto −π/2, π/2 and, from the facts about
differentiation of inverse functions studied earlier we know that for every number u between −1 and 1 we
have
arcsin ′ u = 1
cosarcsin u
Since the function cos is nonnegative on the interval −π/2, π/2 we deduce that
arcsin ′ u = 1 = 1 = 1
cosarcsin u 1 − sin 2 arcsin u 1 − u2
Therefore whenever −1 < u < 1 we have
∫0
u
arcsin u = 1 dt.
1 − t2
4. By analogy with the preceding exercise, give a definition of the function arctan and deduce that if u is any
real number then
arctan u = ∫
u
1 dt
0 1 + t2
The function tan is, of course, defined by the equation
tan x = cossin x
x
whenever cos x ≠ 0. At any such number x we have
tan ′ x = 1 >0
cos 2 x
and we conclude that the restriction of the function tan to the interval − π2 , π2 is a strictly
increasing function whose derivative is everywhere positive. Furthermore, since
lim tan x = lim cos sin x = ∞
x→π/2− x→π/2− x
and
lim tan x = lim cossin x = −∞,
x→−π/2+ x→−π/2+ x
the range of the restriction of tan to − π2 , π2is the entire set R.
We define arctan to be the inverse function of the restriction of tan to − π2 , π2 . We deduce from the
theorem on differentiation of inverse functions that if x is any real number we have
arctan ′ x = 1 = 1 = 1 = 1 .
tan ′ arctan x 1 1 + tan 2 arctan x 1 + x2
2cos arctan x
It follows from the fundamental theorem that if u is any real number we have
379
∫0
u
arctan u = 1 dt.
1 + t2
5. Prove that the restriction of the function cos to the interval 0, π is a strictly decreasing function from the
interval 0, π onto the interval −1, 1. Prove that if the function arccos is now defined to be the inverse
function of this restriction of cos then for every number u ∈ −1, 1 we have
arccos u = π − ∫
u
1 dt.
2 0 1 − t2
We know that cos 0 = 1 and cos π = −1 and that
cos ′ x = − sin x < 0
whenever 0 < x < π. Therefore cos is a strictly decreasing differentiable function from the interval
0, π onto −1, 1 whose derivative is positive at every number between −1 and 1. We define arccos
to be the inverse function of the restriction of the function cos to 0, π. Note that because sin u ≥ 0
whenever 0 ≤ u ≤ π we have the identity
sinarccos x = 1 − cos 2 arccos x = 1 − x2
whenever −1 ≤ x ≤ 1. We deduce from the theorem on differentiation of inverse functions that if
−1 < x < 1 then
arccos ′ x = 1 =− 1 =− 1
cos ′ arccos x sinarccos x 1 − x2
and it follows from the fundamental theorem that if −1 < u < 1 then
arccos u = arccos 0 + ∫ − 1 2 dt
u
0 1−t
π −∫
u
= 1 dt.
2 0 1 − t2
6. Prove that if x and y are real numbers that are not both zero and if
α = arccos x
x2 + y2
then
y
sin α = ± .
x2 + y2
Deduce that if x and y are real numbers that are not both zero then there exists a positive number r and a real
number θ ∈ 0, 2π such that x = r cos θ and y = r sin θ.
Suppose that x and y are real numbers that are not both zero and that
α = arccos x .
x2 + y2
We see that
sin α = ± 1 − cos 2 α
= ± 1 − cos 2 arccos x
x2 + y2
2
x y
= ± 1− =± .
x2 + y2 x2 + y2
380
x = r cos α
and
y = ±r sin α.
In the event that the latter equation says that y = r sin α we define θ = α and if the equation
y = r sin α is false (in which case y = −r sin α) we define θ = π + α. In either event we have the two
equations
x = r cos θ
y = r sin θ
Finally we observe that since 0 ≤ α ≤ π we must have 0 ≤ θ ≤ 2π. However, if α = π then the
equation y = r sin α is true and θ = α = π. Thus the case θ = 2π cannot occur and we conclude that
0 ≤ θ < 2π.
exp − 1
if x ≠ 0
x2
fx = ,
0 if x = 0
prove that f is analytic on R ∖ 0 but is not analytic on R.
In spite of the fact that this function f has derivatives of all orders at every number, we saw in an
381
earlier example that f can’t be expressed as the sum of it’s Taylor series center 0 in any
neighborhood of 0. On the other hand, the composition theorem for analytic functions guarantees
that f is analytic on the set R ∖ 0.
4. Prove that a rational function is analytic on any open set in which its denominator does not vanish.
This fact follows at once from the fact that the quotient of two analytic functions is analytic as long
as the denominator is not zero.
5. Given that
1 + x 1/x if x ≠ 0
fx =
e if x = 0
prove that f is analytic on the interval −1, 1. Use Scientific Notebook to work out the first few terms of some
of the series expansions of this function. To do so, point at the expression 1 + x 1/x , open the Maple menu
and click on the Power Series option.
We begin by observing that
∞
−1 n n+1
log1 + x = ∑ n+1
x
n=0
whenever |x| < 1. We now define
∞
−1 n n
gx = ∑ n+1
x
n=0
and we observe that, since g0 = 1 and
log1 + x
gx = x
for every x ∈ −1, 1 ∖ 0 we have
fx = expgx
whenever |x| < 1. Since g is analytic on the interval −1, 1 the composition theorem for analytic
functions guarantees that f is analytic on −1, 1.
6. Suppose that ∑ a n x n and ∑ b n x n are two power series that converge in an interval −r, r where r > 0, and
suppose that the set of numbers x ∈ −r, r for which the equation
∞ ∞
∑ anxn = ∑ bnxn
n=0 n=0
has a limit point in −r, r. Prove that a n = b n for every n.
The desired result follows at once from the fact that the sum of a power series is analytic and that
two analytic functions on an open interval must be identical if they agree on a set that has a limit
point in that interval.
7. Given that f is analytic and nonconstant on an open interval U and that c ∈ U, prove that there exists a
positive integer n such that f n c ≠ 0.
Since the equation
∞
f n c
fx = ∑ n!
x − c n
n=0
must hold for all x sufficiently close to c the desired result follows at once.
8. Given that f is analytic and nonconstant on an open set U and that K is a closed bounded subset of U, prove
that the set
x ∈ K ∣ fx = 0
is finite.
If the set
382
x ∈ K ∣ fx = 0
were infinite then it would have to have a limit point in K and so f would have to be the constant
function 0.
9. Given that f is analytic and nonconstant on an open interval U prove that the set
x ∈ U ∣ fx = 0
is countable.
This solution makes use of the distance function of a set. For each positive integer n we define
K n = −n, n ∩ x ∈ U ∣ ρ R∖U x ≤ 1 n .
Each set K n is closed and bounded and
∞
U= ⋃ Kn.
n=1
Since
∞
x ∈ U ∣ fx = 0 = ⋃x ∈ K n ∣ fx = 0
n=1
we deduce that the set
x ∈ U ∣ fx = 0
is countable.
∫ 0 exp−x 2 dx = 2π .
→∞
For every number x we see from the theorem on differentiating a partial integral that
h ′ x = 2fxf ′ x + g ′ x
1 −2xt 2 + 1 exp−x 2 t 2 + 1
= 2exp−x 2 ∫ exp−t 2 dt + ∫
x
dt
0 0 t2 + 1
= 2exp−x 2 ∫ exp−t 2 dt − 2exp−x 2 ∫ x exp−x 2 t 2 dt
x 1
0 0
In the latter integral we make the substitution u = tx and we deduce that
h ′ x = 2exp−x 2 ∫ exp−t 2 dt − 2exp−x 2 ∫ exp−u 2 du = 0
x x
0 0
for every number x. Therefore the function h is constant. Now since
383
2 exp−0 2 t 2 + 1
∫ 0 exp−t 2 dt +∫ dt = π
0 1
h0 =
0 t2 + 1 4
We deduce that hx = π4 for every number x.
Now we use the fact that hn = π4 for every positive integer n. From the
bounded convergence theorem we see that
1 exp−n 2 t 2 + 1
lim ∫ dt = ∫ 2 0 dt = 0
1
n→∞ 0 t +1
2 0 t +1
and so
∞ 2
π = lim hn =
4 n→∞
∫ 0 exp−t 2 dt +0
from which we deduce that
∞ π
∫ 0 exp−t 2 dt = 2
.
2. Given that
→∞
gy = ∫0 exp−x 2 cos 2xydx and fy = expy 2 gy
for every real number y, prove that the function f must be constant. What is the value of this constant?
Since
|exp−x 2 cos 2xy| ≤ exp−x 2
and
|D 2 exp−x 2 cos 2xy| = |−2x exp−x 2 sin 2xy| ≤ 2x exp−x 2
for all x and y we see that the hypotheses of the theorem on differentiation of a Partial Improper
Riemann Integral are satisfied and so if y is any real number we have
→∞
g ′ y = − ∫ 2x exp−x 2 sin 2xydx.
0
Therefore, for each y we have
f ′ y = 2y expy 2 gy + expy 2 g ′ y
→∞
= 2y expy 2 gy − expy 2 ∫ 2x exp−x 2 sin 2xydx
0
384
→∞ →∞
∫0 ∫0 exp−x 2 cos 2xydxdy
What happens in this integral if we invert the order of integration?
If we invert the order of integration, the inside integral diverges. Since the order of integration can’t
be inverted we know that the given integral converges conditionally.
→∞ →∞
5. Apply Fichtenholz’s theorem to the integral ∫ ∫ 0 fx, ydxdy where
0
exp−y 3 if x < y 2
fx, y = .
0 if x ≥ y 2
Now evaluate the integral
→∞ →∞
∫0 ∫ x
exp−y 3 dydx.
We apply the version of the Fichtenholz theorem for improper integrals to obtain
→∞ →∞ →∞ →∞
∫0 ∫0 fx, ydxdy = ∫0 ∫0 fx, ydydx
which gives us
→∞ y2 →∞ →∞
∫0 ∫0 exp−y 3 dxdy = ∫0 ∫ x
exp−y 3 dydx
6. a. Express the integrand of the following integral in partial fractions and show that if x and y are positive
numbers then
→∞
∫ 0 1 + t 2 x 2 1
1
+ t2y2
dt = π
2x + y
.
1 x2 y2
= −
1 + t 2 x 2 1 + t2y2 x 2 − y 2 1 + t2x2 x 2 − y 2 1 + t2y2
and so
→∞ y2
∫0 ∫0 ∫0
w w
1 dt = w→∞
lim x2 dt − w→∞
lim dt
1 + t 2 x 2 1 + t2y2 x 2 − y 2 1 + t2x2 x 2 − y 2 1 + t2y2
x y
= w→∞
lim arctantx − w→∞
lim 2 arctanty
x2 − y2 x − y2
= π π
x y
− 2 = .
2 x2 −y 2 x − y2 2x + y
∫ 0 arctan
→∞ x 2
2
dx = π log 2.
x
We begin by observing that
385
→∞
∫ ←0 ∫ 0 π ∫ ←0 ∫ 0 ∫ 0
1 1 1 1
dxdy = 1 dtdxdy
2x + y 1 + t 2 x 2 1 + t 2 y 2
→∞
∫ ←0 ∫ 0 ∫ 0
1 1
= 1 dxdtdy
1 + t 2 x 2 1 + t 2 y 2
→∞
∫ 0 ∫ ←0 ∫ 0
1 1
= 1 dxdydt
1 + t 2 x 2 1 + t 2 y 2
→∞
∫ 0 ∫ ←0 1 + t 2 y 2 1t arctan tdydt
1
=
→∞ arctan t 2
= ∫0 t2
dt
On the other hand,
∫ ←0 ∫ 0 π dxdy = π ∫ ←0 log1 + y − log ydy = π log 2.
1 1 1
2x + y 2
386
π/2 π/2
∫0 x 2 dx = lim
sin 2 x u→0+
∫u x 2 f ′ xdx
π/2 π/2
= lim x 2 fx
u→0+
− lim
u→0+
∫u 2xf xdx
u
π/2 π/2
∫
2
= lim − x cos x + lim 2x cot xdx
u→0+ sin x u
u→0+ u
π/2
= 2∫ x cot xdx
0
π/2
∫0 x 2 dx = 2 ∫ π/2 x cot xdx
sin 2 x 0
and therefore
π/2
π log 2 = 2 ∫ x cot xdx
0
from which we see that
π/2 π log 2
∫0 x cot xdx =
2
.
a. Prove that
387
→∞ →∞ →∞ →∞ →∞ →∞
∫ ←0 ∫ ←0 hx, ydxdy = ∫ ←0 ∫ ←y fx − ygydxdy = ∫ ←0 f ∫ ←0 g .
and
→∞ →∞
∫1 ∫1 hx, ydxdy
to obtain
→∞ →∞ →∞ →∞
∫ ←0 ∫ ←0 hx, ydydx = ∫ ←0 ∫ ←0 hx, ydxdy
This equation becomes
→∞ →x →∞ →∞
∫ ←0 ∫ ←0 fx − ygydydx = ∫ ←0 f ∫ ←0 g .
1. Apply the above exercise to the functions f and g defined by the equations
fx = x α−1 e −x and gx = x β−1 e −x
for all x > 0. Deduce that
→∞ →x
ΓαΓβ = ∫ 0← ∫ 0← e −x x − y α−1 y β−1 dydx.
There really isn’t anything to do here. The desired equation
→∞ →x
ΓαΓβ = ∫ 0← ∫ 0← e −x x − y α−1 y β−1 dydx
follows at once from the earlier exercise.
2. By making the substitution y = ux in the inside integral in Exercise 1, deduce that
ΓαΓβ = Γα + βBα, β.
The substitution y = ux gives us
388
→∞ →x →∞ →1
∫ 0← ∫ 0← e −x x − y α−1 y β−1 dydx = ∫ 0← ∫ 0← e −x x − ux α−1 ux β−1 xdudx
→∞ →1
= ∫ 0← e −x x α−1+β−1+1 ∫ 0← 1 − u α−1 u β−1 du dx
3. Apply the method of integration by parts to the integral that defines Γα and deduce that
Γα + 1 = αΓα.
→∞
∫ 0← t α e −t dt = n→∞
lim ∫ t α e −t dt
n
Γα + 1 =
1/n
α
e −1/n − ∫
n
lim −n α e −n +
= n→∞ 1 αt α−1 −e −t dt = αΓα.
n 1/n
4. Make the substitution t = sin 2 y in the definition of the beta function, deduce that
→π/2
Bα, β = 2 ∫ sin 2α−1 θ cos 2β−1 θdθ.
0←
This exercise is a routine manipulation.
∫ 0 1 − t α−1 t β−1 dt
1
1 1
5. Use Exercise 4 to evaluate B ,
and deduce that
2 2
Γ 1 = π.
2
This exercise is a routine manipulation.
6. Make the substitution t = u 2 in the definition of Γα and deduce that
→∞
Γα = 2 ∫ u 2α−1 exp−u 2 du
0←
and then use Exercise 5 to find another way of showing that
→∞ π
∫ 0← exp−x 2 dx = 2
.
389
Hint: Suppose that α > 0. First observe that
π/2
Bα, α = 2 ∫ cos 2α−1 θ sin 2α−1 θdθ
0
π/2
= 2
2 2α−1
∫0 2 sin θ cos θ 2α−1 dθ
π/2
= 2
2 2α−1
∫0 sin 2θ 2α−1 dθ
Then make the substitution u = 2θ and use Exercise 2.
π/2
Bα, α = 2
2 2α−1
∫0 sin 2θ 2α−1 cos 21/2−1 θdθ
= 2 1−2α B α, 1
2
and so
ΓαΓα ΓαΓ 1
= 2 1−2α 2
Γα + α Γ α+ 1
2
which gives us the desired result.
9. Prove that
→π/2
∫0 π . tan x dx =
2
The intention of this exercise is to express the left side as
→π/2
∫0 sin 23/4−1 θ cos 21/4−1 θdθ = 1 B 3 ,
2 4
1
4
Γ 3
Γ 1
= 1 4 4
= 1Γ 3 Γ 1
2 Γ 3 + 1 2 4 4
4 4
Now if we put α = 1
4
in the identity
π Γ2α = 2 2α−1 ΓαΓ α + 1
2
we see that
1 −1
πΓ 1 = 22 4 Γ 1 Γ 3
2 4 4
and so
→π/2
∫0 tan x dx = 1 Γ 3 Γ 1
2 4 4
π =
2
It is worth mentioning that this integral could have been evaluated with the substitution u = tan x .
As a matter of fact, even the indefinite integral
∫ tan x dx
can be evaluated in this way to give
390
10. In this exercise we define
π
φp = ∫ 0 sin p θdθ
whenever p > 0.
a. Prove that φ is a decreasing function on the interval 0, ∞.
The fact that φ is decreasing follows from the fact that whenever 0 ≤ θ ≤ π we have
0 ≤ sin θ ≤ 1 and so sin p θ decreases as p increases.
b. Prove that
φ2p + 2
lim= 1.
φ2p p→∞
c. Combine the first two parts of this question and deduce that
φ2p + 1
lim = 1.
p→∞ φ2p
For each p > 0 we have
φ2p + 2 ≤ φ2p + 1 ≤ φ2p
and so
φ2p + 2 φ2p + 1
≤ ≤1
φ2p φ2p
and the fact that
φ2p + 1
lim =1
p→∞ φ2p
follows from the sandwich rule.
d. Prove that
4 p Γ 2 p + 1
lim = π.
p→∞ p Γ2p + 1
This assertion is known as Wallis’s formula
From Exercise 7 we know that whenever p > 0,
2p+1+1
→π πΓ
φ2p + 1 = ∫ 0← sin 2p+1
θdθ = 2p+1
2
Γ 2
+1
and
2p+1
→π πΓ
φ2p = ∫ 0← sin 2p θdθ = 2p
2
Γ 2
+1
which gives us
391
2p+1+1
πΓ 2
2p+1
φ2p + 1 Γ +1 Γ 2 p + 1
= 2
=
φ2p πΓ
2p+1
2 p + 12 Γ 2 p + 1
2
2p
Γ 2 +1
e. Assuming that p is restricted to be a positive integer, rewrite Wallis’s formula in terms of factorials.
If p is restricted to be a positive integer then Wallis’s formula becomes
4 p p! 2
lim = π
p→∞ p 2p!
11. The purpose of this exercise is to encourage you to read a proof of an interesting theorem known as
Stirling’s formula that states that
Γx + 1
lim
x→∞ x x e −x x
= 2π .
Note that if n is a large natural number then Stirling’s formula suggests that an approximate value for n! is
2πn n n
.
en
The proof of Stirling’s formula that is provided by the preceding link is based on a proof that is provided
on page 195 of Walter Rudin’s classic text Principles of Mathematical Analysis. The proof provided here
is actually a little simpler because it makes use of the improper integral form of the bounded convergence
theorem.
392
Suppose that E is an elementary set. In the event that mE = 0, it is clear that E has (nineteenth
century) measure zero. On the other hand, if mE > 0 then E includes a closed bounded interval of
positive length and it follows from the discussion on closed bounded sets of measure zero that E
can’t have measure zero.
2. Prove that every countable set has measure zero.
This fact follows at once from the theorem on unions of sets of measure zero the fact that a
singleton has measure zero.
3. Give an example of an uncountable closed bounded set that has measure zero.
We have already observed that the Cantor set has measure zero.
4. Prove that if U is a nonempty open set then U has a closed bounded subset H that does not have measure zero.
A nonempty open set must include a closed bounded interval with positive length.
5. Prove that the set of all irrational numbers in the interval 0, 1 does not have measure zero.
The set 0, 1∩Q, being countable, must have measure zero. Since
0, 1 = 0, 1 ∩ Q ∪ 0, 1 ∖ Q
and since 0, 1 does not have measure zero, we deduce from the theorem on unions that the set
0, 1 ∖ Q does not have measure zero.
6. For the purposes of this exercise we agree to call two sets A and B almost equal to each other if both of the
sets A ∖ B and B ∖ A have measure zero. Prove that if A n and B n are sequences of sets and if A n and B n
are almost equal to each other then the sets
∞ ∞
⋃ An and ⋃ Bn
n=1 n=1
are almost equal to each other. Can the same assertion be made for intersections?
We observe that
∞ ∞ ∞ ∞
⋃ An ∖ ⋃ Bj = ⋃ ⋂ An ∖ Bj.
n=1 j=1 n=1 j=1
Now, given any n, since the set A n ∖ B j has measure zero for all j, we see at once that the set
∞
⋂ An ∖ Bj
j=1
has measure zero. It follows from the theorem on unions that the set
∞ ∞
⋃ An ∖ ⋃ Bj
n=1 j=1
393
∞
A⊆ ⋃ En.
n=1
For each n, choose an open elementary set U n that includes E n such that mU n < .
8. Prove that if A has measure zero and if > 0 then there exists an expanding sequence U n of open
elementary sets whose union includes A and for which mU n < for every n.
Hint: Suppose that A has measure zero and that > 0. Follow the step by step procedure outlined
below:
a. Choose an expanding sequence E n of elementary sets such that mE n < /2 for every n and such
that
∞
A⊆ ⋃ En.
n=1
For each n, choose an open elementary set U n such that E n ⊆ U n and such that
mU n < mE n + n+1 .
2
b. For each n define
n
Vn = ⋃ Uj,
j=1
observe that
V n = U n ∪ U 1 ∖ E 1 ∪ U 2 ∖ E 2 ∪ ⋯ ∪ U n−1 ∖ E n−1
and then deduce that mV n < for each n.
394
For every nonnegative integer n, if the elementary set E n has already been defined then we obtain E n+1 δ
from E n δ by removing from each of its component intervals the centrally located open interval of length
δ1/3 n . Then we define
∞
Cδ = ⋂ E n δ.
n=1
a. Show that δ = 1/3 then the δ-Cantor set is just the “usual” Cantor set C that was defined earlier.
Solution: This assertion was proved in our earlier discussion of the Cantor set.
b. Prove that the δ-Cantor set contains no interval of positive length.
Solution: Since each set E n δ is the union of 2 n closed intervals each of length less than
1/2 n , that C contains no interval of positive length follows from the discussion of the Cantor set that
was given earlier.
c. Evaluate the integral
∫ 0 χ E δ
1
n
and deduce that the δ-Cantor set has measure zero if and only if δ = 1/3. Because of this fact, it is
traditional to call the Cantor set C1/3 the thin Cantor set and to call the sets Cδ fat Cantor sets when
0 < δ < 1/3.
Solution: For each n, the set E n δ is obtained by removing 2 n non-overlapping open intervals
of length δ1/3 n−1 from the set E n−1 δ. Thus E n δ is obtained from E n−1 δ by removing an
elementary set with measure δ2/3 n−1 . Therefore, if n is any positive integer, the set E n δ is obtained
from the interval 0, 1 by removing an elementary set with measure
n
∑δ
j−1 n
2 = 3δ 1 − 2
3 3
j=1
395
with length δ1/3 n−1 , the number x lies in the left subinterval we define x̂ n = 0 and if x lies in the
right subinterval we define x̂ n = 2. We call the function x̂ the address of the number x. We now
define
∞
x̂ n
ux = ∑ 3n
n=1
for every number x ∈ Cδ and we observe that u is a strictly increasing continuous function from
Cδ onto C1/3.
We now extend u to be a function defined on the entire interval 0, 1 as follows: Given
x ∈ 0, 1 ∖ Cδ, if p is the greatest member of Cδ that is less than x and q is the least member of
Cδ that is greater than x then we define
uq − up
ux = up + q−p x − p.
f. Prove that if f = χ C where C is the usual Cantor set and if u is the function found in part e then, although
u is continuous on 0, 1 and f is Riemann integrable on the range of u, the function f ∘ u is not Riemann
integrable on 0, 1.
Solution: This assertion follows at once from the fact that
f ∘ u = χ Cδ .
5. In this exercise we introduce a further extension of the notion of extended Riemann integrability that was
introduced in some earlier optional reading. We shall say that a function f defined on an interval a, b is
almost extended Riemann integrable on a, b if there exists a sequence f n of Riemann integrable functions
and a number K such that the following two conditions hold
396
Some Exercises on the Measure Zero Concept
1. Prove that an elementary set E has measure zero if and only if mE = 0.
Suppose that E is an elementary set. In the event that mE = 0, it is clear that E has (nineteenth
century) measure zero. On the other hand, if mE > 0 then E includes a closed bounded interval of
positive length and it follows from the discussion on closed bounded sets of measure zero that E
can’t have measure zero.
2. Prove that every countable set has measure zero.
This fact follows at once from the theorem on unions of sets of measure zero the fact that a
singleton has measure zero.
3. Give an example of an uncountable closed bounded set that has measure zero.
We have already observed that the Cantor set has measure zero.
4. Prove that if U is a nonempty open set then U has a closed bounded subset H that does not have measure zero.
A nonempty open set must include a closed bounded interval with positive length.
5. Prove that the set of all irrational numbers in the interval 0, 1 does not have measure zero.
The set 0, 1∩Q, being countable, must have measure zero. Since
0, 1 = 0, 1 ∩ Q ∪ 0, 1 ∖ Q
6. For the purposes of this exercise we agree to call two sets A and B almost equal to each other if both of the
sets A ∖ B and B ∖ A have measure zero. Prove that if A n and B n are sequences of sets and if A n and B n
are almost equal to each other then the sets
∞ ∞
⋃ An and ⋃ Bn
n=1 n=1
are almost equal to each other. Can the same assertion be made for intersections?
We observe that
∞ ∞ ∞ ∞
⋃ An ∖ ⋃ Bj = ⋃ ⋂ An ∖ Bj.
n=1 j=1 n=1 j=1
Now, given any n, since the set A n ∖ B j has measure zero for all j, we see at once that the set
∞
⋂ An ∖ Bj
j=1
has measure zero. It follows from the theorem on unions that the set
∞ ∞
⋃ An ∖ ⋃ Bj
n=1 j=1
397
8. Prove that if A has measure zero and if > 0 then there exists an expanding sequence U n of open
elementary sets whose union includes A and for which mU n < for every n.
Hint: Suppose that A has measure zero and that > 0. Follow the step by step procedure outlined
below:
1. a. Choose an expanding sequence E n of elementary sets such that mE n < /2 for every n and such
that
∞
A⊆ ⋃ En.
n=1
For each n, choose an open elementary set U n such that E n ⊆ U n and such that
mU n < mE n + n+1 .
2
b. For each n define
n
Vn = ⋃ Uj,
j=1
observe that
V n = U n ∪ U 1 ∖ E 1 ∪ U 2 ∖ E 2 ∪ ⋯ ∪ U n−1 ∖ E n−1
and then deduce that mV n < for each n.
9. Prove that if φ is an increasing function and A is φ-nul and if > 0 then there exists an expanding sequence
U n of open elementary sets whose union includes A and for which varφ, U n < for every n.
The solution to this exercise is almost identical to that of Exercise 8.
10. Prove that if φ is an increasing function and if H is a closed bounded φ-null set then for every > 0 there
exists an elementary set E such that H ⊆ E and varφ, E < .
The solution to this exercise is almost a carbon copy of the proof of the theorem on closed bounded
sets of measure zero.
11. Prove that if φ is an increasing function and x is a real number then the set x is φ-null if and only if φ is
continuous at x.
A direct proof of this assertion is very simple but it also follows at once from Exercise 10.
12. Prove that if φ is an increasing function and U is an interval then U is φ-null if and only if φ is constant on U.
In the event that an increasing function φ is constant on an interval U, the set U is clearly φ-null. In
the event that an increasing function φ is not constant on an interval U, then φ fails to be constant
on a closed bounded interval H that is included in U, and it follows from Exercise 10 that the subset
H fails to be φ-null.
13. Prove that if φ is an increasing function and A is a countable set then A is φ-null if and only if φ is continuous
on A.
This assertion follows at once from Exercise 11 and the theorem on unions.
14. Prove that if φ is the Cantor function and C is the Cantor set then, although C has measure zero, it is not
φ-null.
As we know, the Cantor set C has measure zero. Now suppose that φ is the Cantor function. To
obtain a contradiction, suppose that the Cantor set C is φ null, and, using Exercise 10, choose an
elementary set E that includes C such that varφ, E < 1. Choose an open elementary set U such
that E ⊆ U and varφ, U < 1. We now define the elementary sets E n as in the discussion of the
Cantor set. Since
∞ ∞
⋂E n ∖ U = ⋂ E n ∖ U = ∅,
n=1 n=1
it follows from the the Cantor intersection theorem that for some positive integer we have E n ⊆ U.
398
Since varφ, E n = 1 we have contradicted the fact that varφ, U < 1.
15. Prove that if φ is an increasing function and U is an open set that is not φ-null then U has a closed bounded
subset that is not φ-null.
We shall show that if every closed bounded subset of a given open set U is φ-null then U is φ-null.
Suppose that U is open and that every closed bounded subset of U is φ-null. Suppose that > 0.
For each positive integer n we define
H n = x ∈ R ∣ ρ R∖U x ≥ 1 n ∩ −n, n
where ρ R∖U stands for the distance function of the set R ∖ U. Since each set H n is closed and
bounded, it is φ-null. Therefore, since
∞
U= ⋃ Hn
n=1
it follows from the theorem on unions that U is φ-null.
a. Show that δ = 1/3 then the δ-Cantor set is just the “usual” Cantor set C that was defined earlier.
Solution: This assertion was proved in our earlier discussion of the Cantor set.
b. Prove that the δ-Cantor set contains no interval of positive length.
399
Solution: Since each set E n δ is the union of 2 n closed intervals each of length less than
1/2 n , that C contains no interval of positive length follows from the discussion of the Cantor set that
was given earlier.
c. Evaluate the integral
∫ 0 χ E δ
1
n
and deduce that the δ-Cantor set has measure zero if and only if δ = 1/3. Because of this fact, it is
traditional to call the Cantor set C1/3 the thin Cantor set and to call the sets Cδ fat Cantor sets when
0 < δ < 1/3.
Solution: For each n, the set E n δ is obtained by removing 2 n non-overlapping open intervals
of length δ1/3 n−1 from the set E n−1 δ. Thus E n δ is obtained from E n−1 δ by removing an
elementary set with measure δ2/3 n−1 . Therefore, if n is any positive integer, the set E n δ is obtained
from the interval 0, 1 by removing an elementary set with measure
n
∑δ
j−1 n
2 = 3δ 1 − 2
3 3
j=1
400
Cδ that is greater than x then we define
uq − up
ux = up + q−p x − p.
f. Prove that if f = χ C where C is the usual Cantor set and if u is the function found in part e then, although
u is continuous on 0, 1 and f is Riemann integrable on the range of u, the function f ∘ u is not Riemann
integrable on 0, 1.
Solution: This assertion follows at once from the fact that
f ∘ u = χ Cδ .
5. In this exercise we introduce a further extension of the notion of extended Riemann integrability that was
introduced in some earlier optional reading. We shall say that a function f defined on an interval a, b is
almost extended Riemann integrable on a, b if there exists a sequence f n of Riemann integrable functions
and a number K such that the following two conditions hold
401
1 π 5π 2 + 1 + 1 5 ln 5 π + 5π 2 + 1
2 10
2. Prove that every piecewise smooth curve in R k is rectifiable.
This assertion follows at once from the relationship between speed and curve length and the fact
that a function that is piecewise continuous on an interval must be itegrable.
3. Given that
t, t sin 1
if 0 < t ≤ π
γt = t
,
0, 0 if t = 0
prove that γ is not rectifiable.
γ̇ t ≥ 1 cos 1 − 1 ≥ 1 1 − 1
t t 4 t 2 4
and so
4 4
∫ 8n−1π
4
γ̇ tdt ≥ ∫ 8n−1π
4
1
t
1 − 1
4
dt
8n+1π 8n+1π 2
= 1 − 1 log 4 − log 4
2 4 8n − 1π 8n + 1π
= 1 − 1 log 8n + 1 = 1 − 1 log 1 + 2
2 4 8n − 1 2 4 8n − 1
Now since
log 1 + 2
lim 8n−1
= 1
n→∞ 1
n
4
it follows from the comparison test that the series
∑ log 1+ 2
8n − 1
is divergent and we deduce that the series
4
∑∫ 8n−1π
4
γ̇ tdt
8n+1π
402
is divergent. Therefore
π
lim∫ γ̇ tdt = ∞.
δ→0+ δ
4. Prove that if f is an increasing continuous function from an interval a, b into R and if
γt = t, ft
for all t ∈ a, b then γ is rectifiable.
≤ b − a + fb − fa.
5. Suppose that γ is a rectifiable curve with domain a, b in a metric space X and that, for each t ∈ a, b we
have defined φt to be the length of the restriction of the curve γ to the interval a, t. Prove that the function
φ must be continuous on the interval a, b.
1. Solution: We shall explain the continuity of φ at each number t in the open interval a, b and leave
as an exercise the task of proving the one sided continuity of φ at the numbers a and b. Suppose that
a < t < b. To show that φ is continuous at the number t we shall show that for every number > 0 we
have
lim φu − lim φu < .
u→t+ u→t−
Suppose that > 0.
Using the fact that the function γ is continuous at t, we choose a number δ > 0 such that
a < t−δ < t < t+δ < b
and such that the inequality
dγt, γu <
4
holds whenever t − δ < u < t + δ. Now we choose a partition
u 0 , u 1 , u 2 , ⋯, u n
of the interval a, b such that
n
φb − ∑ dγu u−1 , γu j < .
4
j=1
Since the inclusion of extra points in this partition makes the sum
n
∑ dγu j−1 , γu j
j=1
larger, we may assume, without loss of generality that t is a point in the partition and that if t = u k then
both of the points u k−1 and u k+1 lie in the interval t − δ, t + δ.
t−δ t t+δ
u k −1 uk u k +1
Now given any m = 1, 2, ⋯, n we clearly have
403
m
∑ dγu j−1 , γu j ≤ φu m
j=1
and, since φb − φu m is the length of the restriction of the curve γ to the interval u m , b, we also have
n
∑ dγu j−1 , γu j ≤ φb − φu m .
j=m+1
we conclude that
m
φu m − ∑ dγu j−1 , γu j < .
4
j=1
We conclude that
k+1
φu k+1 < ∑ dγu j−1 , γu j +
4
j=1
k−1
= ∑ dγu j−1 , γu j + dγu k−1 , γu k + dγu k , γu k+1 +
4
j=1
6. Suppose that γ is a rectifiable curve with domain a, b in a metric space X. Prove that for every number > 0
there exists a number δ > 0 such that whenever P is a partition of a, b and ‖P‖ < δ we have
|LP, γ − Lγ| < .
Hint: Examine the method of proof of Darboux’s theorem.
7. Suppose that γ 1 and γ 2 are curves in R k with domain a, b. The sum γ 1 + γ 2 and dot product γ 1 ⋅ γ 2 of γ 1
and γ 2 are defined by the equations
γ 1 + γ 2 t = γ 1 t + γ 2 t
and
γ 1 ⋅ γ 2 t = γ 1 t ⋅ γ 2 t
for each t ∈ a, b. If f is a real valued function defined on the interval a, b then we define fγ 1 by the
equation
fγ 1 t = ftγ 1 t
for every t ∈ a, b. Prove that if, for a given number t ∈ a, b the derivatives γ ′1 t and γ 2 t and ft exist
then
γ 1 + γ 2 ′ t = γ ′1 t + γ ′2 t
γ 1 ⋅ γ 2 ′ t = γ ′1 t ⋅ γ 2 t + γ 1 t ⋅ γ ′2 t
fγ 1 ′ t = f ′ tγ 1 t + ftγ ′1 t
All of these facts follow directly from the definitions.
8. Prove that if γ is a differentiable curve in R k and if the function ‖γ‖ is constant then γ ⋅ γ ′ is the constant
function zero. Interpret this fact geometrically.
If we define ft = ‖γt‖ 2 then, for each t,
404
0 = f ′ t = γ ′ t ⋅ γt + γt ⋅ γ ′ t = 2γ ′ t ⋅ γt.
A geometric interpretation of this fact is that if the path γ runs around in a sphere with center O
then the velocity γ ′ , being perpendicular to the line that runs from O to γ, is tangential to the
sphere.
9. If a curve γ in R k is differentiable at a number t and if γ ′ t ≠ O then the unit tangent Tt of θ at the number
t is defined by the equation
γ ′ t
Tt = .
‖γ ′ t‖
This is standard stuff and can be found in any elementary calculus text.
a. Prove that if γ ′′ t exists then the derivative T ′ t of T exists at the number t and we have
Tt ⋅ T ′ t = 0.
In this event, the curvature Kt of the curve γ at the number t is defined by the equation
‖T ′ t‖
Kt = .
‖γ ′ t‖
In the event that Kt ≠ 0 then the principal normal Nt of γ at the number t is defined by the equation
T ′ t T ′ t
Nt = ′
= .
‖T t‖ Kt‖γ ′ t‖
Are the two integrals you have just evaluated equal to one another?
2. For each of the following curves γ and point a, b in R 2 , evaluate the integral
1 ∫γ 1 −y − b, x − a ⋅ dx, y.
‖x, y − a, b‖ 2
2π
Ask Scientific Notebook to show you a sketch of each curve.
a. We define
405
γt = 3 cos t, 3 sin t
for 0 ≤ t ≤ 2π and a, b = 1, 1.
b. We define
γt = 1 + 2 cos t cos t, 1 + 2 cos t sin t
for 0 ≤ t ≤ 2π and a, b = 1
2
,0 .
c. We define
γt = 1 + 2 cos t cos t, 1 + 2 cos t sin t
for 0 ≤ t ≤ 2π and a, b = 2, 0.
d. We define
γt = 1 + 2 cos t cos t, 1 + 2 cos t sin t
for 0 ≤ t ≤ 2π and a, b = 4, 0.
3. Given that
γt = γ 1 t, γ 2 t, , γ n t
for each t in a given domain a, b and given that each of the functions γ j is Riemann integrable on a, b we
define
∫ a γtdt = ∫ a γ 1 tdt, ∫ a γ 2 tdt, ⋯, ∫ a γ n tdt
b b b b
.
a. Prove that the integral just defined has the properties of linearity and additivity that we obtained for
Riemann integrals of real functions.
These properties follow at once from the definitions.
b. State and prove an analog of the fundamental theorem of calculus for this kind of integral.
Suppose that
Γt = Γ 1 t, Γ 2 t, ⋯, Γ n t
for a ≤ t ≤ b and that each function Γ j has a Riemann integrable derivative on a, b. Then
∫ a Γ ′ tdt = ∫ a Γ ′1 t, Γ ′2 t, ⋯, Γ ′n tdt
b b
c. Assuming that
∫ a γ j tdt = q j
b
We observe that
2 2 2 2
∫ a γtdt ∫ a γ 1 tdt ∫ a γ 2 tdt ∫ a γ n tdt
b b b b
= + +⋯+
n n n
∑ q 2j = ∑ q j ∫ γ j tdt = ∫ a ∑ q j γ j t
b b
= dt.
a
j=1 j=1 j=1
406
d. By applying the Cauchy-Schwarz inequality to the latter expression, deduce that
∫ a γtdt ∫ a ‖γt‖dt.
b b
≤
We observe that
2 n n n
∫ a γtdt ∫ a ∑ q j γ j t ∫ a ∑ q 2j ∑ γ 2j t dt
b b b
= dt ≤
j=1 j=1 j=1
∫ a γtdt ∫ a ‖γt‖dt.
b b
=
407
Fx, y, z = z logx 2 + y 2 + y sin yz + z 2
whenever x 2 + y 2 ≠ 0 is a potential function for f.
b. Given that f is the function defined in part a and that γ is any piecewise smooth curve in the set
x, y, z ∈ R 3 ∣ x 2 + y 2 > 0
π
running from the point 1, 0, 1 to the point 3, 6
, 2 , evaluate the integral
∫γ fx ⋅ dx.
Using the function v that we found in part a we see that
∫γ fx ⋅ dx = v 3, π6 , 3 − v1, 0, 1 = −3 log 36 + 3 log324 + π 2 + 16 π + 8
vux 2 2 2 3 2ux 2 yz ux 2 y 2
x 2 lnx 2 + y 2 z + uv + , 2 x 2u , 2ux lnx 2 + y 2 z + uv + 2 2ux , 2 , 2
x2+ y z + uv x + y z + uv
2 x + y z + uv x + y z + uv x + y 2 z + uv
2 2
x 2u2
D 2 Fu, v, x, y, z = 2
x + y 2 z + uv
3
D 3 Fu, v, x, y, z = 2ux lnx 2 + y 2 z + uv + 2 2ux
x + y z + uv
2
2ux 2 yz
D 4 Fu, v, x, y, z = 2
x + y 2 z + uv
ux 2 y 2
D 5 Fu, v, x, y, z = 2
x + y 2 z + uv
The last of these five equations gives us
Fu, v, x, y, z = ux 2 logx 2 + y 2 z + uv + φ 1 u, v, x, y.
To cut a long story short we observe that if
Fu, v, x, y, z = ux 2 logx 2 + y 2 z + uv
for each point u, v, x, y, z then the function F is a potential for f.
3. In this exercise you will show that the necessary condition for exactness is sufficient if the domain of the
given function is a rectangle.
Suppose that f = f 1 , f 2 has continuous partial derivatives on the rectangle
E = x, y ∣ a 1 ≤ x ≤ b 1 and a 2 ≤ y ≤ b 2
and that the condition
D 1 f 2 x, y = D 2 f 1 x, y
holds for every point x, y ∈ E. Prove that the function F defined at each point x, y ∈ E by the equation
∫a f 1 t, ydt + ∫
x y
Fx, y = f 2 a 1 , tdt
1 a2
is a potential of f on E.
The result follows at once from the theorem on differentiation of a partial Riemann integral.
4. Repeat the preceding exercise for a function f = f 1 , f 2 , f 3 defined on the rectangular box
E = x, y, z ∣ a 1 ≤ x ≤ b 1 and a 2 ≤ y ≤ b 2 and a 3 ≤ z ≤ b 3 .
This time we take
408
∫a f 1 t, y, zdt + ∫ f 2 a 1 , t, zdt + ∫
x y z
Fx, y, z = f 3 a 1 , a 2 , tdt.
1 a2 a3
Can you extend this idea to n dimensions?
∫∫ xy 2 dxdy = ∫ 0 ∫ 0
1 1−x
xy 2 dydx = 1
60
S
The set S is
2
x, y ∈ R 2 ∣ 0 ≤ x ≤ 3 and 0 ≤ y ≤ 4x ∪ x, y ∈ R 2 ∣ 3 ≤ x ≤ 5 and 0 ≤ y ≤ 25 − x 2
9
b. Convert the integral
4x 2 /9 25−x 2
∫0 ∫0 fx, ydydx + ∫ ∫
3 5
fx, ydydx
3 0
into a repeated integral with order of integration reversed.
Reversing the integral we obtain
4x 2 /9 25−x 2 25−y 2
∫0 ∫0 fx, ydydx + ∫ ∫ ∫0 ∫3
3 5 4
fx, ydydx = fx, ydxdy.
3 0 y /2
409
r 2 −x 2
∫ −r ∫ −
r
volS = 1dydx = πr 2 .
r 2 −x 2
The evaluation of this integral is a routine problem in elementary calculus. Note that the integral
needs to be evaluated as a repeated integral. Students should be strongly discouraged from
making a two-variable change to polar coordinates, even if they learned such a procedure in their
elementary calculus courses. That procedure will not be available till much later in this chapter.
5. Given that A and B are subsets of R n and R k respectively where n and k are positive integers and given that
the volumes volA and volB exist, prove that the measure volA × B exists in the space R n+k and that
volA × B = volA volB.
Suppose that E is a nk cell that includes the set A × B. We can express E in the form E 1 × E 2 where
E 1 is an n-cell that includes A and E 2 is a k-cell that includes B. Then
volA × B = ∫E χ A×B = ∫E ×E χAχB = ∫E χA ∫E χB = volA volB
1 2 1 2
410
∫∫ x a y b dx, y = 1 Ba + 2, b + 1 = Γa + 1Γb + 1 .
a+1 Γa + b + 3
Q2
We have
∫∫ x a y b dx, y = ∫ 0 ∫ 0 ∫ 0 x a 1 − x b+1 dydx
1 1−x 1
x a y b dydx = 1
b+1
Q2
We have
∫∫∫ x a y b z c dx, y, z = ∫ 0 ∫ 0 ∫ 0
1 1−x 1−x−y
x a y b z c dzdydx
Q3
Q3
= 1 Ba + 1, b + c + 3Bb + 1, c + 2
c+1
Γa + 1Γb + c + 3Γb + 1Γc + 2
= 1
c+1 Γa + b + c + 4Γb + c + 3
Γa + 1Γb + 1Γc + 1
=
Γa + b + c + 4
3. Given that k is a positive integer and given nonnegative numbers a 1 , a 2 , ⋯, a k , guess the value of the integral
∫Q k
a a a
x 1 1 x 2 2 ⋯x k k dx 1 , x 2 , ⋯, x k
and then prove (by induction, perhaps) that your guess is correct.
We expect the equation
∫Qk x a11 x a22 ⋯x ak k dx 1 , x 2 , ⋯, x k = Γa 1 + 1Γa 2 + 1⋯Γa k + 1
Γa 1 + a 2 + ⋯ + a k + k + 1
for every positive integer k. When k ≥ 2, the integral
∫Q k
a a a
x 1 1 x 2 2 ⋯x k k dx 1 , x 2 , ⋯, x k
can be expressed as
1−x 1 −x 2 −⋯−x k−1
∫Q ∫ 0
k−1
a a a
x 1 1 x 2 2 ⋯x k k dx k dx 1 , x 2 , ⋯, x k−1
1
=
ak + 1
∫Q k−1
a a
x 1 1 x 2 2 ⋯x k−1
k−1a
1 − x 1 − x 2 − ⋯ − x k−1 a k +1 dx 1 , x 2 , ⋯, x k−1
411
1 ∫ Γa 1 + 1Γa 2 + 1⋯Γa k + 1
1 − x 1 − x 2 − ⋯ − x k−1 a k +1 dx 1 , x 2 , ⋯, x k−1 =
a a a k−1
x 1 x 2 ⋯x k−1 .
a k + 1 Q k−1 1 2 Γa 1 + a 2 + ⋯ + a k + k + 1
We write the assertion that this equation holds for any choice of nonnegative numbers a 1 , ⋯, a k as
pk. We have seen that the assertions p1 and p2 are true. Now suppose that k is any positive
integer for which the assertion pk is true and suppose that a 1 , ⋯, a k+1 are nonnegative numbers.
Then
1 ∫ x a1 x a2 ⋯x ak k 1 − x 1 − x 2 − ⋯ − x k ak+1+1 dx 1 , x 2 , ⋯, x k
a k+1 + 1 Q k 1 2
1−x −x −⋯−x
= 1 ∫ ∫ 1 2 k−1 x a11 x a22 ⋯x ak k 1 − x 1 − x 2 − ⋯ − x k ak+1+1 dx k dx 1 , x 2 , ⋯, x k−1
a k+1 + 1 Q k−1 0
In the inside integral we make the substitution
xk
u=
1 − x 1 − x 2 − ⋯ − x k−1
and we obtain
∫ ∫
1 a a
1 u k 1 − x 1 − x 2 − ⋯ − x k−1 2+a k +a k+1 1 − u a k+1 +1 dudx 1 , x 2 , ⋯, x k−1
a k−1 a
x 1 x 2 ⋯x k−1
a k+1 + 1 Q k−1 0 1 2
∫ 0 u a 1 − u a ∫Q
1
= 1 k k+1 +1 du
a a a
x 1 1 x 2 2 ⋯x k−1
k−1
1 − x 1 − x 2 − ⋯ − x k−1 2+a k +a k+1 dx 1 , x 2 , ⋯, x k−1
a k+1 + 1 k−1
412
Deduce that the volume of a ball with radius 1 in R 3 is 4π/3.
7. Given that
S= x = x 1 , x 2 , ⋯, x k ∈ R k ∣ x j ≥ 0 for each j and ‖x‖ ≤ 1 .
and given nonnegative numbers a 1 , a 2 , ⋯, a k , express the integral
∫S x a1 x a2 ⋯x ak dx
1 2 k
in terms of gamma functions. Deduce that the volume of the ball in R k that has center O and radius 1 is
k
Γ 1
2
.
Γ 1+ k
2
Work out this expression for a few values of k.
8. a. Suppose that B is the ball in R k with center O and radius r > 0 then
k
rk Γ 1
volB = 2
.
Γ 1+ k
2
b. Prove that if B is the ball introduced in part a then, in the event that k is even and k = 2n then we have
volB = π r .
n 2n
n!
c. Prove that if B is the ball introduced in part a then, in the event that k is odd and k = 2n + 1 then we have
volB = π r
n 2n+1 2 2n+1
.
2n + 1!
9. Suppose that r > 0 and for each positive integer n, suppose that B n is the ball with center O and radius r in
the space R n . Show that if we agree to define mB 0 = 1 then
∞
∑ volB 2n = expπr 2
n=0
and
∞
sinh2r π
∑ volB 2n+1 = π
.
n=0
a. We define
x2y2
if x, y ≠ 0, 0
fx, y = x 2 +y 2 .
0 if x, y = 0, 0
413
12
10
8
6
4
2
0
-5
y0
-2 -4
5 2 x
4
and, since the latter expression approaches 0 as x, y → 0, 0, the function f is differentiable at
0, 0.
b. We define
x2y2
2
if x, y ≠ 0, 0
fx, y = x 2 +y 2 .
0 if x, y = 0, 0
0.2
x
0.1
0
1 -1
0y -0.5 -1
414
5
-5
-2
y 0
2
4 -4
2 x
4
and, since the latter expression approaches 0 as x, y → 0, 0, the function f is differentiable at
0, 0.
d. We define
−1
exp if x, y ≠ 0, 0
fx, y = x 2 +y 2 .
0 if x, y = 0, 0
0.6
0.5
0.4
0.3
0.2
0.1
0
1
0.5 0
y
0
x 0.5
-11
and, since the latter expression approaches 0 as x, y → 0, 0, the function f is differentiable at
415
0, 0.
e. We define
x 2 y 2 sin 1
if x, y ≠ 0, 0
fx, y = x 2 +y 2 .
0 if x, y = 0, 0
12
10
8
6
4
2
0
-5
y0
5 -4
4 2 x
rx, y x 2 y 2 sin 2 1 2
x +y
=
‖x, y‖ x2 + y2
and, since the latter expression approaches 0 as x, y → 0, 0, the function f is differentiable at
0, 0.
2. Prove that if A is an m × n matrix and if fx = Ax for every x ∈ R n then for every such point x we have
f ′ x = A.
We see easily that
D j f i x = a ij
at each point x and for all i and j.
3. Suppose that U is a neighborhood of a point a in R n and that f : U → R m . Suppose that A is a k × m matrix
and that gx = Afx for every x ∈ U. Prove that if f is differentiable at the point a then so is g and we have
g ′ a = Af ′ a. (Your proof should be very short.)
This assertion follows at once from the chain rule.
4. State true or false: If the partial derivatives of a function f are all zero at every point in an open connected set
U then f must be constant in U.
This statement is true. If the partial derivatives are all zero then they are all continuous. Thus the
function f is differentiable with a zero derivative at every point of U.
5. Given an example of a nonconstant function f on an open set U ⊆ R n such that f ′ x = O for every x ∈ U.
We take n = 1 and define
1 if x < 0
fx =
0 if x > 0.
6. State true of false: if U is a neighborhood of a point a in R n and if the directional derivative of a function f
416
exists at a in every direction then f is differentiable at a.
This statement is false. The function does not even have to be continuous at a.
7. Prove that if f and g are both differentiable at a point a in R n then so is the function f + g and we have
f + g ′ a = f ′ a + g ′ a.
This assertion is very easy.
417