


% if modified, change date





\documentclass{article}
\usepackage{mathptmx}
% \usepackage{txfontsb}
\usepackage{amsmath}
\usepackage{amsthm}
\addtolength{\oddsidemargin}{-0.4in}
\addtolength{\textwidth}{0.8in}
\addtolength{\topmargin}{-0.2in}
\addtolength{\textheight}{0.4in}
\numberwithin{equation}{section}
\newtheorem{theorem}[equation]{Theorem}
\newtheorem{lemma}[equation]{Lemma}
\newtheorem{proposition}[equation]{Proposition}
\newtheorem{corollary}[equation]{Corollary}
\theoremstyle{definition}
\newtheorem{example}[equation]{Example}
\newtheorem{definition}[equation]{Definition}
\newtheorem{exercise}{Exercise}
\numberwithin{exercise}{section}
\renewcommand{\labelenumi}{(\alph{enumi})}
\newcommand{\field}[1]{\mathbf{#1}}
\newcommand{\Q}{\field{Q}}
\newcommand{\Z}{\field{Z}}
\newcommand{\R}{\field{R}}
\newcommand{\C}{\field{C}}
\newcommand{\N}{\field{N}}
\begin{document}

\title{Math 327: Real numbers and limits}
\author{J. H. Palmieri}
\date{October 2010\footnote{last modified October 25, 2010}}
\maketitle

\section*{Introduction}

The textbook for this course is \emph{Advanced Calculus} by Taylor \&
Mann.  That book doesn't work perfectly -- I'll explain the problems
-- and these notes are intended to patch the flaws.

The first issue with the book is that it assumes that you've seen
limits before, not just casually as in Math 124, but done carefully
with a precise mathematical definition.  So while the authors include
limits in Section 1.62 of Chapter 1, their ``review'' chapter, it
makes more sense for us to introduce them after we've established some
basic properties of the real numbers.

The second issue with the book is really a difference of opinions: I
prefer a slightly different viewpoint on the real numbers than is
given in Chapter 2 of the book.

So these notes are a replacement for Chapter 2 and Section 1.62 of the
book.  Actually, the notes aren't as long as these parts of the book,
so you should probably read the two of them together -- I've tried to
give specific suggestions at various points in the notes.  This is
especially true when we get to the material on limits: the book has
more examples than these notes do.

The starting point: we assume that we know about the set $\Z$ of
integers and the set $\Q$ of rational numbers, and we assume that
we've heard of the set $\R$ of real numbers.  The set $\C$ of complex
numbers appears every now and then as an example, but it won't be used
very heavily.  We could instead start almost from scratch: starting
with the basic rules for sets, it is possible to construct the
non-negative integers, and from them all integers.  Once we have all
integers, we could construct the rational numbers, and once we have
the rationals, we could construct the reals.  This last step in
particular is rather involved, and the whole process would take us a
bit far afield, and we are not going to do it.  We skip the proofs of
several major theorems below, because to prove them we would really
need this sort of precise construction of the real numbers.  Ask me if
you are interested in more information about these constructions (or
look at wikipedia: the articles about the ``Peano axioms,'' ``Negative
and non-negative numbers,'' ``Rational numbers,'' and ``Dedekind
cuts'' will keep you busy for a while).




\section{Equality}

In mathematics, saying ``$a=b$'' means that $a$ and $b$ represent the
same mathematical object: they are different names for the same thing.
So statements like, ``for real numbers $a$, $b$, and $c$, if $a=b$,
then $a+c=b+c$'' are essentially true automatically: since $a$ and $b$
are just different names for the same number, then adding $c$ to
either one yields the same number.

For the record, here are the key properties of equality: for any
mathematical objects $a$, $b$, and $c$,
\begin{itemize}
\item $a=a$ (\textbf{reflexivity})
\item $a=b$ if and only if $b=a$ (\textbf{symmetry})
\item if $a=b$ and $b=c$, then $a=c$ (\textbf{transitivity})
\end{itemize}




\section{Basic properties of the real numbers}

\subsection{Fields}

\begin{definition}
A \emph{field} is a set $F$ with operations ``addition'' and
``multiplication'' satisfying the following:
\begin{itemize}
\item If $a$ and $b$ are in $F$, then so are $a+b$ and $ab$.  (This is
often phrased as, ``The set $F$ is \textbf{closed} under the operations
of addition and multiplication.'')
\item Addition and multiplication are each \textbf{associative} (that
is, $a+(b+c) = (a+b)+c$ and $a(bc) = (ab)c$ for all $a, b, c \in F$)
and \textbf{commutative} (that is, $a+b=b+a$ and $ab=ba$ for all $a, b
\in F$), and together they are \textbf{distributive}: $a(b+c) = ab +
ac$ for all $a, b, c \in F$.
\item $F$ contains distinct elements called 0 and 1 satisfying:
\[
a+0 = a \quad \text{and} \quad a \cdot 1 = a
\]
for all $a \in F$.  (The technical terms for these are
\textbf{identity} elements for addition (0) and multiplication (1).)
\item For each $a \in F$, there exists an element $b \in F$ so that
$a+b=0$.  ($b$ is called the \textbf{additive inverse}, or negative,
of $a$, and is written $-a$.)
\item For each $a \in F$ with $a \neq 0$, there exists an element $b
\in F$ so that $ab=1$.  ($b$ is called the \textbf{multiplicative
inverse}, or reciprocal, of $a$, and is written $a^{-1}$.)
\end{itemize}
\end{definition}

For example, the set $\Q$ of rational numbers and the set $\C$ of
complex numbers form fields.  The integers $\Z$ and the non-negative
integers $\N$ do not.  See Section 2.1 of the book for some more
information about fields.  The important fact for this class is the
following.

\begin{theorem}
The set $\R$ of real numbers forms a field.
\end{theorem}

We won't prove this theorem; it would take too much time.  Here are
some basic properties of addition and multiplication in any field:

\begin{proposition}\label{prop-field}
If $F$ is a field (for example, if $F=\R$), then the following
properties hold for any elements $a$, $b$, and $c$ of $F$:
\begin{enumerate}
\item if $a+b=0$, then $-a=b$ (\textbf{uniqueness of additive inverses})
\item if $a+b=a+c$, then $b = c$ (\textbf{cancellation})
\item $a \times 0 = 0$
\item if $ab=1$, then $a \neq 0$ and $a^{-1} = b$ (\textbf{uniqueness of multiplicative inverses})
\item if $ab=ac$ and $a \neq 0$, then $b = c$ (\textbf{cancellation})
\item if $ab=0$, then $a=0$ or $b=0$
\item $-0=0$
\item $-(-a) = a$
\item $(-a)b=a(-b) = -(ab)$
\item $(-a)(-b) = ab$
\item $(-1)a = -a$
\end{enumerate}
\end{proposition}

This is only a sample; you can prove lots of other similar formulas.

\begin{proof}
Try proving this yourself -- see Exercise~\ref{ex-prop-field}.  Here
are a few to get you started:

For part (a): suppose that $a+b=0$.  Add $-a$ to both sides: $-a +
(a+b) = -a$.  Using associativity, this can be rewritten as 
\[
(-a + a) + b = -a.
\]
By commutativity (to interchange $a$ and $-a$) and the definition of
additive inverses, this is the same as $0 + b = -a$.  By the defining
property of zero, this finally gives us $b=-a$.

For part (b): if $a+b=a+c$, then add $-a$ to both sides of the
equation: 
\[
-a + (a+b) = -a + (a+c).
\]
Now use associativity to rewrite this as 
\[
(-a + a) + b = (-a + a) + c.
\]
By the definition of additive inverses, this becomes $0 + b = 0 + c$,
and by the defining property of zero, this gives us $b=c$, as desired.

For part (c): since $0 = 0 + 0$, we have
\begin{align*}
a \times 0 &= a \times (0 + 0) \\
 &= a \times 0 + a \times 0,
\end{align*}
by distributivity.  Add $-(a \times 0)$ to both sides (that is, use
part (b) to ``cancel $a \times 0$ from both sides''): the resulting
equation is $0 = a \times 0$, as desired.
\end{proof}


\subsection*{Exercises}

\begin{exercise}\label{ex-prop-field}
Prove the rest of Proposition~\ref{prop-field}.
\end{exercise}

\begin{exercise}
Assuming that $\R$ is a field, prove that $\C$ is a field.  (Take as a
definition that $\C$ consists of all symbols of the form $a+bi$ with
$a, b \in \R$.  Define addition and multiplication as you see
fit\dots) 
\end{exercise}




\subsection{Inequalities}

\begin{definition}
A field $F$ is \emph{ordered} if it has an ordering $<$ so that:
\begin{itemize}
\item For all $a, b \in F$, exactly one of these holds:
\[
a<b, \quad a=b, \quad a>b.
\]
This is called the \textbf{trichotomy law}.
\item For all $a, b, c \in F$, if $a<b$, then $a+c<b+c$.
\item For all $a, b \in F$, if $a>0$ and $b>0$, then $a+b>0$ and $ab>0$.
\end{itemize}
\end{definition}

(This is slightly different from the definition in the book, but this
version is equivalent to theirs.)

For example, $\Q$ is an ordered field, while $\C$ is not -- see below.
The important fact for this class is the following.

\begin{theorem}
The set of real numbers $\R$ is an ordered field.
\end{theorem}

Again, we won't prove this theorem.  Here are some basic properties of
inequalities in any ordered field; see Section 2.2 for similar items.
Essentially, all of the familiar formulas and procedures from high
school algebra regarding equalities, inequalities, and algebraic
manipulations of such should follow from the definition of an ordered
field.

\begin{proposition}\label{prop-order}
If $F$ is an ordered field (for example, if $F=\R$), then the
following properties hold for any elements $a$, $b$, and $c$ of $F$:
\begin{enumerate}
\item $a < b$ if and only if $0 < b-a$
\item if $a < b$ and $b < c$, then $a < c$ (\textbf{transitivity})
\item if $b < a$, then $-a < -b$
\item $0 < a$ if and only if $-a < 0$
\item if $a \neq 0$, then $a^{2} > 0$
\item $0 < 1$
\item if $a<b$ and $c > 0$, then $ac < bc$
\item if $a<b$ and $c < 0$, then $ac > bc$
\end{enumerate}
\end{proposition}

Note that this shows that the set $\C$ of complex numbers cannot be an
ordered field: no matter how you might try to define $<$ for complex
numbers, as long as it satisfies the definition of an ordered field,
then it must have $1 > 0$, and therefore $-1 < 0$, by part (d).
However, since $i^{2} = -1 < 0$, part (e) will fail.

\begin{proof}
Part (a): if $a<b$, then add $-a$ to both sides.  By the definition of
an ordered field, this produces a valid inequality, $0 < b-a$.
Therefore $a<b$ implies $0< b-a$.  For the other implication, if
$0<b-a$, then adding $a$ to both sides gives $a<b$.

Part (b): if $a<b$ and $b<c$, then by part (a), $0< b-a$ and $0<c-b$.
Since the sum of positives is again positive, we have
\[
0 < (b-a) + (c-b).
\]
Using associativity and other basic properties of addition, we can
write this as $0 < c-a$.  Therefore by part (a) again, $a < c$, as
desired.

Try proving the rest yourself -- see Exercise~\ref{ex-prop-order}.
\end{proof}

If $F$ is an ordered field, define \emph{absolute value} as usual:
for any element $a$, its absolute value is 
\[
|a| = \begin{cases}
a & \text{if $0 \leq a$}, \\
-a & \text{if $a < 0$}.
\end{cases}
\]

\begin{proposition}\label{prop-triangle}
For any elements $a$ and $b$ in an ordered field,
\begin{enumerate}
\item $|ab| = |a| |b|$
\item $|a+b| \leq |a| + |b|$ (the \textbf{triangle inequality})
\item $\big| |a| - |b| \big| \leq |a - b|$
\end{enumerate}
\end{proposition}

\begin{proof}
You should prove parts (a) and (c) -- see Exercise~\ref{ex-prop-triangle}.

We prove part (b).  There are three cases to consider: both $a$ and $b$
non-negative, one non-negative and one negative, both negative.

If $a \geq 0$ and $b \geq 0$, then $a+b \geq 0$ (by the definition of
ordered field), so by the definition of absolute value we have 
\[
|a+b| = a+b = |a| + |b|.
\]

If $a \geq 0$ and $b < 0$, then $a \geq -a$ and $-b > b$.  Subtract $b$
from both sides of the first inequality: $a-b \geq -a-b$.  Add $a$ to
both sides of the second inequality: $a-b > a + b$.  By the definition
of absolute value, $|a| + |b| = a - b$.  If
$a+b$ is negative, then $|a+b| = -a-b$, while if $a+b$ is non-negative,
then $|a+b| = a+b$, and the previous two sentences
tell us that $a-b$ is at least as big as each of these.  So no matter
the sign of $a+b$, we have $|a| + |b| \geq |a+b|$.

(If $a < 0$ and $b \geq 0$, then the above argument works equally
well, of course.)

If $a < 0$ and $b < 0$, then $-a > 0$ and $-b > 0$, so $(-a) + (-b) >
0$, so $-(a+b) > 0$, so $a+b < 0$.  So by the definition of absolute
value, we have 
\[
|a+b| = -(a+b) = -a - b = (-a) + (-b) = |a| + |b|.
\]
\end{proof}


\subsection*{Exercises}

\begin{exercise}\label{ex-prop-order}
Prove the rest of Proposition~\ref{prop-order}.
\end{exercise}

\begin{exercise}\label{ex-prop-triangle}
Prove the rest of Proposition~\ref{prop-triangle}.  [Hint: Apply the
triangle inequality to the right side of $a=(a-b)+b$ to get $|a| \leq
|a-b| + |b|$, so $|a| - |b| \leq |a-b|$.  Argue also that $|b| - |a|
\leq |a-b|$.  Conclude that $\big| |a| - |b| \big| \leq |a - b|$.]
\end{exercise}





\subsection{Least upper bounds}

Both $\Q$ and $\R$ satisfy all of the properties given so far.  Now we
find a property which distinguishes between them.

\begin{definition}
Suppose that $F$ is an ordered field and $S$ is a nonempty subset of
$F$.  An \emph{upper bound} for $S$ is any element $M$ of $F$ so that
$x \leq M$ for all $x \in S$.  A \emph{least upper bound} for $S$ is
any element $L$ of $F$ which is an upper bound for $S$ and which also
has the property that every $a<L$ is not an upper bound for $S$: $L$
is the smallest upper bound for $S$.
\end{definition}

For example, if $S$ is the set of integers which are less than $\pi$,
then $S$ is nonempty because $1 \in S$, and $S$ has an upper bound
because $\pi > x$ for all $x \in S$.  $S$ also has a least upper
bound, namely $3$.  If $T$ is the set of numbers 
\[
T = \left\{-1, -\frac{1}{2}, -\frac{1}{3}, -\frac{1}{4}, -\frac{1}{5},
\dots \right\},
\]
then $T$ is visibly nonempty, and also $T$ has an upper bound: any
positive number is an upper bound, since all of the elements of $T$
are negative.  The least upper bound for $T$ is $0$.  The set $\Z$ of
all integers has no upper bound and has no least upper bound.

\begin{definition}
An ordered field $F$ has the \emph{least upper bound property} if 
any nonempty subset $S \subseteq F$ with an upper bound has a least
upper bound in $F$.
\end{definition}

For example, $\Q$ does not have the least upper bound property -- see
Theorem~\ref{thm-rational} below -- while the field $\R$ does.
Summarizing, we have the following properties of $\R$.  By using this
theorem, we can prove almost everything we need for the rest of the
course.

\begin{theorem}[Fundamental properties of $\R$]
The set $\R$ of real numbers forms an ordered field $\R$ which has the
least upper bound property and which contains $\Q$ as a subfield.
\end{theorem}

In fact, $\R$ is essentially the only ordered field with the least
upper bound property, so this completely characterizes $\R$.  We will
not prove this, nor will we prove the theorem.  Instead, we basically
take it as a definition of $\R$ and use it to prove everything else
that we need.

Now, the book uses a slightly different approach, using what they call
the ``axiom of continuity'' instead of the least upper bound property.
If you want to compare the book's approach to ours, keep reading;
otherwise, feel free to skip ahead to Theorem~\ref{thm-archimedean}.

\begin{definition}\label{defn-axiom-continuity}
An ordered field $F$ satisfies the \emph{axiom of continuity} if,
whenever it is divided into two nonempty subsets $L$ and $R$ so that
\begin{itemize}
\item every element of $F$ is in either $L$ or $R$,
\item if $a$ is in $L$ and $b$ is in $R$, then $a<b$ (the elements of
$L$ are ``to the left'' of the elements of $R$),
\end{itemize}
then there is an element $c \in F$ so that if $a<c$, then $a \in L$
while if $a>c$, then $a \in R$.  (The element $c$ itself may be in $L$
or it may be in $R$.)
\end{definition}

The least upper bound property is much more standard, so that's
what we're using.  The book proves that the axiom of continuity
implies the least upper bound property (Theorem II in Section 2.7); we
should prove the other implication to demonstrate that the two are
equivalent, so that we can use either one when describing the real
numbers.

\begin{theorem}\label{thm-axiom-continuity}
Suppose that $F$ is an ordered field which has the least upper bound
property.  Then it satisfies the axiom of continuity.
\end{theorem}

\begin{proof}
Suppose we have $L$ and $R$ satisfying the hypotheses in the axiom of
continuity.  We need to find the element $c$ satisfying the
conclusions of the axiom.  Since any element of $R$ is an upper bound
for $L$, the set $L$ is a nonempty subset of $F$ with an upper bound.
Therefore it has a least upper bound; call it $c$.  If $b \in R$, then
$b$ is an upper bound for $L$, and therefore $c \leq b$.  Therefore if
$a < c$, $a$ must be in $L$.  Now suppose that $a > c$.  Since $c$ is
an upper bound for $L$, $a$ may not be in $L$, and therefore $a$ must
be in $R$.  This verifies that $c$ is the number required by the axiom
of continuity.
\end{proof}

The following theorem is a useful consequence of either the least
upper bound property or of the axiom of continuity.

\begin{theorem}[The Archimedean property]\label{thm-archimedean}
If $a$ and $b$ are positive real numbers, there is a positive integer
$n$ so that $b < na$.
\end{theorem}

\begin{proof}
See the book -- Theorem I in Section 2.4 -- for a proof using the
axiom of continuity.  To use the least upper bound property instead,
see Exercise~\ref{ex-thm-archimedean}.
\end{proof}

\begin{theorem}\label{thm-rational}
The field $\Q$ of rational numbers does not have the least upper bound
property.
\end{theorem}

\begin{proof}
To prove this, we need to use the following observation from Section
2.5 of Taylor and Mann: suppose that $a$ and $b$ are real numbers
with $a<b$.  Then there are rational numbers and irrational numbers
between $a$ and $b$.

Now consider the set
\[
S = \{q \in \Q \,:\, q < \sqrt{2} \}.
\]
Then $S$ has an upper bound: any rational number larger than
$\sqrt{2}$ will do.  For example, $17$ is an upper bound for $S$.  It
has no \emph{least} upper bound (in $\Q$), though: if $q \in \Q$ with
$q < \sqrt{2}$, then by the fact cited above, there is a rational
number $s$ with $q < s < \sqrt{2}$.  Since $s < \sqrt{2}$, $s$ is an
element of $S$, and therefore $q$ is not an upper bound for $S$: it's
not bigger than the element $s$.  If $q > \sqrt{2}$, then $q$ is an
upper bound, but it cannot be the least upper bound: again by the fact
above, there is a rational number $r$ with $\sqrt{2} < r < q$.  Since
$r > \sqrt{2}$, $r$ is an upper bound for $S$, and since it's less
than $q$, $q$ cannot be the least upper bound.
\end{proof}

The aforementioned fact from Taylor and Mann is useful enough to state
it on its own:

\begin{proposition}\label{prop-rational}
If $a$ and $b$ are real numbers satisfying $a<b$, then there are
rational numbers and irrational numbers between $a$ and $b$.
\end{proposition}

\begin{proof}
See Exercise~\ref{ex-prop-rational}.
\end{proof}

Finally, we also note that we can prove analogous results about lower
bounds and greatest lower bounds, and in general, facts about lower
bounds and greatest lower bounds will follow from the corresponding
fact for upper bounds and least upper bounds.  For example, we have
the following: any field which has the least upper bound property also
has the ``greatest lower bound property.''

\begin{proposition}
Suppose that $F$ is an ordered field satisfying the least upper bound
property, and suppose that $S$ is a nonempty subset of $F$ with a
lower bound.  Then $S$ has a greatest lower bound.
\end{proposition}

\begin{proof}
Suppose that $M$ is a lower bound for $S$: $M \leq x$ for every $x \in
S$.  Define a set $T$ by $T = \{y : -y \in S \}$: that is, $T$ is the
set of the negatives of $S$.  By basic properties of inequalities, we
see that $-M \geq -x$ for every $x \in S$, or equivalently, $-M \geq
y$ for every $y \in T$.  That is, $-M$ is an upper bound for $T$.
Since $S$ was nonempty, so is $T$.  By the least upper bound property,
$T$ has least upper bound $c$.  It is easy to check that $-c$ is the
greatest lower bound for $S$.
\end{proof}



\subsection*{Exercises}

\begin{exercise}
Prove that the square root of 2 is irrational.  [Hint: use
contradiction.  Suppose that $\sqrt{2} = m/n$ for some integers $m$
and $n$; we may assume that $m$ and $n$ have no common factors.  Then
$2n^{2} = m^{2}$, so $m$ is even\dots]
\end{exercise}

\begin{exercise}\label{ex-thm-archimedean}
Use the least upper bound property to prove
Theorem~\ref{thm-archimedean}.  [Hint: use contradiction.  Suppose
that $b \geq na$ for all positive integers $n$.  Then the set $S = \{na
: n \in \Z, n \geq 1\}$ of all positive integer multiples of $a$ has
an upper bound, and it's visibly nonempty, so it has a least upper
bound, say $M$.  If $M$ is the least upper bound, then no smaller
number is an upper bound for $S$; in particular, $M-a$ is not an upper
bound.]
\end{exercise}

\begin{exercise}\label{ex-prop-rational}
Prove Proposition~\ref{prop-rational}.  More precisely:
\begin{enumerate}
\item If $a<b$, show that there is a rational number between $a$ and
$b$.  [See p.~79 of the book.]
\item If $a<b$, show that there is an irrational number between $a$
and $b$.  [Hint: Let $y$ be a positive irrational number, like
$\sqrt{2}$.  If $a<b$, then $a/y < b/y$.  Now apply part (a) to this
inequality.]
\end{enumerate}
\end{exercise}



\section{Sequences and their limits}

\subsection{Basics}

See Section 1.62 of the book for more about this subject.

A \emph{sequence} of real numbers is an ordered set of real numbers
indexed by the positive integers (or sometimes by the non-negative
integers or the integers bigger than $k$ for some $k$).  We can write
the sequence as
\[
s_{1}, s_{2}, s_{3}, \dots , s_{n}, s_{n+1}, \dots 
\] 
or as $\{s_{n}\}$ or as $\{s_{n}\}_{n \geq 1}$ (if we want to be
explicit about the indexing set).  For example, if $s_{n} = 1/2^{n}$,
then the sequence is
\[
s_{1} = \frac{1}{2}, \, s_{2} = \frac{1}{4}, \, s_{3} = \frac{1}{8}, \dots, 
\]
which we could also write as $\{1/2^{n}\}$ or $\{1/2^{n}\}_{n \geq 1}$.

\begin{definition}\label{defn-limit}
Suppose that $\{s_{n}\}$ is a sequence of real numbers and $A$ is a
real number.  We say that this sequence \emph{converges} to $A$, and
we write $\displaystyle \lim_{n \rightarrow \infty} s_{n} = A$, if for
every $\varepsilon > 0$, there is an integer $N$ so that whenever $n
\geq N$, we have $|s_{n} - A| < \varepsilon$.

If the sequence fails to converge, we say that it \emph{diverges}.
\end{definition}

Note that $A$ must be a real number, and $\infty$ is not a real
number.  So if a sequence goes to infinity, this is just a particular
kind of divergence.

\begin{proposition}
Let $a$ be a real number and consider the sequence $\{s_{n} \}$
defined by $s_{n} = a^{n}$ for all $n \geq 1$.  
\begin{enumerate}
\item If $|a| < 1$, then this sequence converges to $0$.
\item If $a=1$, this sequence converges to $1$.
\item If $a=-1$, this sequence diverges.
\item If $|a| > 1$, this sequence diverges.
\end{enumerate}
\end{proposition}

\begin{proof}
Part (a).  If $a=0$, then $a^{n}=0$ for all $n$, so the sequence is 
\[
0, 0, 0, 0, \dots.
\]
This certainly looks like it should converge to 0, but let's prove it
using the definition.  Fix $\varepsilon > 0$.  We need to find an $N$
so that for all $n \geq N$, we have $|s_{n} - A| < \varepsilon$.  In
this case, $s_{n}=0$ and $A=0$, so we need $0 < \varepsilon$.  But
$\varepsilon$ is positive by assumption.  Therefore we pick $N$ to be
1: for all $n \geq 1$, it is true that $|s_{n}-0|< \varepsilon$, so
the sequence converges to $0$.

Now assume that $0 < |a| < 1$.  Let $b = |a|$ and let $h=(1-b)/b$;
then $h>0$ and $b = 1/(1+h)$.

We want to show that $\displaystyle \lim_{n\rightarrow \infty} a^{n} =
0$, so fix $\varepsilon > 0$.  We want to find $N$ so that $n \geq N$
implies that $|a^{n}| < \varepsilon$, or equivalently, since $|a| =
1/(1+h)$,
\[
\frac{1}{\varepsilon} < (1+h)^{n}.
\]
I claim that for all $n \geq 1$, $(1+h)^{n} \geq 1+hn$ -- this is an
easy induction proof.  (You should fill in the details in
Exercise~\ref{ex-induction}.)  Now, since $h>0$, we can appeal to the
Archimedean property (Theorem~\ref{thm-archimedean}) to conclude that
there is a positive integer $N$ so that $Nh > 1/\varepsilon - 1$, or
equivalently, $1+Nh > 1/\varepsilon$.  Therefore for all $n \geq N$,
we have
\[
(1+h)^{n} \geq 1+hn \geq 1+Nh > \frac{1}{\varepsilon}.
\]
This means that $\displaystyle \lim_{n \rightarrow \infty} a^{n} =
0$.

Part (b).  This is easy: since $1^{n}=1$ for all $n$, we can use the
same proof as in the case when $a=0$.

Part (c).  The sequence in question is 
\[
-1, 1, -1, 1, -1, 1, \dots.
\]
This doesn't appear to converge to anything, but we need to prove
that.  More precisely, we need to show this: for any number $A$, this
sequence fails to converge to $A$.  The definition of converging is:
\begin{quote}
$\exists A \forall \varepsilon > 0 \exists N \forall n \geq N : |s_{n}-A| <
\varepsilon$.
\end{quote}
We need to show that this fails, so we need to show the following:
\begin{quote}
$\forall A \exists \varepsilon > 0 \forall N \exists n \geq N :
|s_{n}-A| \geq \varepsilon$.
\end{quote}
Fix a real number $A$, let $\varepsilon = 1/2$ and fix an integer $N$.
If $A < 0$, then find an even integer $n \geq N$: then $(-1)^{n} = 1$,
and we have $|1 - A| > 1 > \varepsilon$, as desired.  If $A \geq 0$,
then choose an odd integer $n \geq N$: then $(-1)^{n} = -1$ and
$|-1-A| \geq 1 > \varepsilon$, as desired.

Part (d).  This is similar to the previous part.  Fix a real number
$A$, let $\varepsilon = 1/2$, and fix an integer $N$.  Note that since
$|a| > 1$, then $|a^{n}| > 1$ for all $n$.

If $A < 0$, then find an even integer $n \geq N$: then $a^{n} =
|a|^{n} > 1$, and we have
\[
|a^{n} - A| > |a^{n}| > 1 > \varepsilon,
\]
as desired.  If $A \geq 0$, then choose an odd integer $n \geq N$:
then $a^{n} = -|a|^{n}$ and again we have
\[
|a^{n} - A| > |a^{n}| > 1 > \varepsilon,
\]
as desired.
\end{proof}

We actually proved the following ``obvious'' fact in the previous
proof, in the case $c=0$.  The proof generalizes easily.

\begin{proposition}
If $\{s_{n} \}$ is a constant sequence, that is, there is a number $c$
so that $s_{n} = c$ for all $n$, then $\displaystyle \lim_{n
\rightarrow \infty} s_{n} = c$
\end{proposition}

The book alludes to analogues of Theorems X, XI, and XII.  Here they
are.

\begin{theorem}\label{thm-limit-basic}
\begin{enumerate}
\item Let $\{s_{n} \}$ be a sequence of real numbers, and
suppose that $\{s_{n} \}$ converges to $A$.  If $A$ is positive, then
there is an integer $N$ so that for all $n \geq N$, the number $s_{n}$
is positive.
\item Let $\{s_{n} \}$ be a sequence of real numbers, and suppose that
$\{s_{n} \}$ converges to $A$.  Suppose that there is a real number
$M$ and an integer $N$ so that $s_{n} \leq M$ for all $n \geq N$.
Then $A \leq M$.
\item Let $\{r_{n} \}$, $\{s_{n} \}$, and $\{t_{n} \}$ be sequences of
real numbers, and suppose that there is an integer $N$ so that $r_{n}
\leq s_{n} \leq t_{n}$ for all $n \geq N$.  If $\displaystyle \lim_{n
\rightarrow \infty} r_{n} = A = \lim_{n \rightarrow \infty} t_{n}$,
then $\displaystyle \lim_{n \rightarrow \infty} s_{n} = A$.
\end{enumerate}
\end{theorem}

\begin{proof}
Do it yourself; this is Exercise~\ref{ex-thm-limit-basic}.
\end{proof}

Part (c) is often called the ``squeeze theorem''.  Note that part (b)
applies with strict inequalities, if you're careful:

\begin{corollary}
Let $\{s_{n} \}$ be a sequence of real numbers, and
suppose that $\{s_{n} \}$ converges to $A$.  Suppose that there is a
real number $M$ and an integer $N$ so that if $n \geq N$, then $s_{n}
< M$.  Then $A \leq M$.
\end{corollary}

\begin{proof}
If $s_{n} < M$ for all $n \geq N$, then certainly $s_{n} \leq M$ for
all $n \geq N$.  So by the theorem, we have $A \leq M$.
\end{proof}

Note that if $s_{n} < M$ for all $N$, then you \emph{cannot} conclude
that $A < M$.  You can only conclude that $A \leq M$: if $s_{n} = 1 -
1/n$ for all $n \geq 1$, then $s_{n} < 1$ for all $n$, but
$\displaystyle \lim_{n \rightarrow \infty} s_{n} = 1$.

The book also mentions ``general theorems about sums, products and
quotients'':

\begin{theorem}\label{thm-limit-sum}
Let $\{s_{n} \}$ and $\{t_{n} \}$ be sequences of real numbers.
\begin{enumerate}
\item If $\lim s_{n} = A$ and $\lim t_{n} = B$, then $\lim
(s_{n} + t_{n}) = A+B$.
\item If $\lim s_{n} = A$ and $\lim t_{n} = B$, then $\lim
(s_{n} t_{n}) = AB$.
\item If $\lim s_{n} = A$ and $\lim t_{n} = B$, and if $B \neq
0$, then $\lim (s_{n} / t_{n}) = A/B$.
\end{enumerate}
\end{theorem}

\begin{proof}
Part (a) is straightforward.  Parts (b) and (c) are a bit more
complicated, but not too bad.  Try them yourself: this is
Exercise~\ref{ex-thm-limit-sum}.
\end{proof}

The hypotheses here are important: you must know that each sequence
$\{s_{n} \}$ and $\{t_{n} \}$ converges independently.  If one
diverges and one converges, then you may be able to get divergence
results, as in the following corollary, but if both diverge, all bets
are off.

\begin{corollary}\label{cor-limit-sum-diverge}
Let $\{s_{n} \}$ and $\{t_{n} \}$ be sequences of real numbers.
\begin{enumerate}
\item If $\{s_{n} \}$ diverges and $\{t_{n}\}$ converges, then
$\{s_{n} + t_{n} \}$ diverges.
\item If $\{s_{n} \}$ diverges and $\{t_{n}\}$ converges to a nonzero number, then
$\{s_{n} t_{n} \}$ diverges.
\item If $\{s_{n} \}$ diverges and $\{t_{n}\}$ converges, then
$\{s_{n} / t_{n} \}$ diverges.
\end{enumerate}
\end{corollary}

See Exercise~\ref{ex-cor-limit-sum-diverge} for the proof.

Here are some useful limits:

\begin{proposition}\label{prop-limit-n}
\begin{enumerate}
\item $\displaystyle \lim_{n \rightarrow \infty} 1/n = 0$
\item For any positive integer $k$, $\displaystyle \lim_{n \rightarrow \infty} 1/n^{k} = 0$
\item $\displaystyle \lim_{n \rightarrow \infty} n$ diverges.
\item For any positive integer $k$, $\displaystyle \lim_{n \rightarrow
\infty} n^{k}$ diverges.
\end{enumerate}
\end{proposition}

\begin{proof}
Parts (a) and (c) are straightforward from the definition of limit,
along with the Archimedean property.  Prove parts (b) and (d) using
induction on $k$.  See Exercise~\ref{ex-prop-limit-n}.
\end{proof}

We also have the following theorem.

\begin{theorem}
Suppose that $\{s_{n} \}$ is a sequence of real numbers converging to
$A$.  If $f: \R \rightarrow \R$ is a continuous function, then the
sequence $\{f(s_{n}) \}$ converges to $f(A)$: 
\[
\lim_{n \rightarrow \infty} f(s_{n}) = f(A).
\]
\end{theorem}

We won't prove this because we aren't dealing with the precise
definition of ``continuity'' in this course: you'll have to wait until
Math 328.  You may use this theorem freely, though, along with the
fact that essentially all of the standard functions are continuous
wherever they're defined.

For example, 
\[
\lim_{n \rightarrow \infty} \sin (5+(1/2)^{n}) = \sin (5).
\]
Since $0 < 1/2 < 1$, we know that $\displaystyle \lim_{n \rightarrow
\infty} (1/2)^{n} = 0$.  The sequence $\{s_{n} \}$ defined by
$s_{n}=5$ for all $n$ converges to $5$, so the sequence $5+(1/2)^{n}$
converges to $5+0 = 5$ by the theorem about sums of sequences.  Since
the sine function is continuous, we get the desired limit.

You might want to look at Example 3 in Section 1.62 for another
application of some of the theorems from this section.



\subsection*{Exercises}

\begin{exercise}\label{ex-induction}
Show that for any real number $h$ with $h > -1$ and any non-negative
integer $n$, $(1+h)^{n} \geq 1+nh$.  (Use induction on $n$.)
\end{exercise}

\begin{exercise}\label{ex-thm-limit-basic}
Prove Theorem~\ref{thm-limit-basic}.
\end{exercise}

\begin{exercise}\label{ex-thm-limit-sum}
Prove Theorem~\ref{thm-limit-sum}.  See Section 1.64 of the book for pointers.
\end{exercise}

\begin{exercise}
Exercise 1 on p.~65
\end{exercise}

\begin{exercise}
Exercise 2 on p.~65
\end{exercise}

% \begin{exercise}
% Exercise 4 on p.~65
% \end{exercise}

\begin{exercise}
Exercise 5 on p.~65
\end{exercise}

\begin{exercise}
Exercise 6 on p.~65.  (In this problem, ``discuss'' means ``compute,
with proof.'')
\end{exercise}

% \begin{exercise}
% Exercise 7 on p.~65
% \end{exercise}

\begin{exercise}
Exercise 9 on p.~65
\end{exercise}

\begin{exercise}
Exercise 11 on p.~65
\end{exercise}

\begin{exercise}
Exercise 14 on p.~66
\end{exercise}

\begin{exercise}
Exercise 21 on p.~66
\end{exercise}

\begin{exercise}\label{ex-cor-limit-sum-diverge}
Prove Corollary~\ref{cor-limit-sum-diverge}.  Hint: use contradiction.
\end{exercise}

\begin{exercise}\label{ex-prop-limit-n}
Prove Proposition~\ref{prop-limit-n}.
\end{exercise}




\subsection{Bounded monotone sequences}

A sequence $\{s_{n} \}$ is \emph{monotonically increasing} if it
satisfies this condition:
\[
s_{1} \leq s_{2} \leq s_{3} \leq s_{4} \leq \dots,
\]
that is, $s_{n} \leq s_{n+1}$ for all $n$.  \emph{Monotonically
decreasing} is defined similarly.  A sequence is \emph{monotone} if it
is either monotonically increasing or monotonically decreasing.

A sequence $\{s_{n} \}$ is \emph{bounded above} if there is an $M$ so
that $s_{n} \leq M$ for all $n$, and similarly for \emph{bounded
below}.

Here is a useful theorem:

\begin{theorem}\label{thm-bdd-monotone}
If $\{s_{n} \}$ is monotonically increasing and bounded above, then
$\{s_{n} \}$ converges.
\end{theorem}

Before proving this, we offer a property of least upper bounds.

\begin{lemma}
Let $S$ be a nonempty set and let $A$ be a number.  Then $A$ is the
least upper bound of $S$ if and only if it satisfies these two
properties:
\begin{itemize}
\item $x \leq A$ for all $x \in S$, and
\item for every $\varepsilon > 0$, there is an $x \in S$ with
$A-\varepsilon < x$.
\end{itemize}
\end{lemma}

\begin{proof}
Suppose that $A$ is the least upper bound of $S$.  Then $A$ is an
upper bound, so $x \leq A$ for all $x \in S$.  Fix $\varepsilon > 0$.
Since $A - \varepsilon$ is strictly less than $A$, then $A -
\varepsilon$ is not an upper bound for $S$, so there must be an $x \in
S$ with $A - \varepsilon < x$.

To prove the converse, suppose that $A$ satisfies the two properties
in the statement of the lemma.  The first property tells us that $A$
is an upper bound of $S$.  To show that $A$ is the \emph{least} upper
bound, we have to show that no number smaller than $A$ is an upper
bound for $S$, so suppose that $B < A$.  Let $\varepsilon = A - B$, so
that $\varepsilon > 0$ and $B = A - \varepsilon$.  By the second
property, there is an element $x \in S$ with $x > A-\varepsilon = B$;
therefore $B$ is not an upper bound for $S$.
\end{proof}

\begin{proof}[Proof of Theorem~\ref{thm-bdd-monotone}] Assume that
$s_{n} \leq M$ for all $n$.  Let $S$ be the set of numbers $\{s_{1},
s_{2}, s_{3}, \dots \}$.  This set may be finite -- for example, if
$s_{n} = (-1)^{n}$, then $S = \{1, -1 \}$ -- or infinite, but it is
certainly nonempty.  It also has an upper bound, namely $M$.
Therefore, since $\R$ has the least upper bound property, the set $S$
has a least upper bound, say $A$.  We claim that $\displaystyle
\lim_{n\rightarrow \infty} s_{n} = A$.

Fix $\varepsilon > 0$.  We need to show that there is an $N$ so that
if $n \geq N$, then $|s_{n} - A| < \varepsilon$, or equivalently,
$A - s_{n} < \varepsilon$, or equivalently, $A - \varepsilon < s_{n}$.  By
the lemma, there is an $N$ so that $s_{N} > A - \varepsilon$.  For all
$n$ with $n \geq N$, we have $s_{n} \geq s_{N}$, and therefore if $n
\geq N$, then $s_{n} > A - \varepsilon$.  This finishes the proof.
\end{proof}

In fact, we have proved the following refinement of the theorem:

\begin{corollary}\label{cor-lub}
If $\{s_{n} \}$ is monotonically increasing and bounded above, then
$\{s_{n}\}$ converges to the least upper bound of the set $\{s_{1},
s_{2}, \dots  \}$.
\end{corollary}

Here is an obvious variant.

\begin{corollary}\label{cor-glb}
If $\{s_{n} \}$ is monotonically decreasing and bounded below, then
$\displaystyle \lim_{n \rightarrow \infty} s_{n}$ exists and equals
the greatest lower bound of the set $\{s_{1}, s_{2}, s_{3}, \dots \}$.
\end{corollary}

\begin{proof}
Exercise.
\end{proof}

Example 4 in Section 1.62 of Taylor \& Mann is a straightforward
example of the theorem.  Another extremely important application is
essentially the one in Example 5 of the book: define a sequence
$\{s_{n} \}$ by
\[
s_{n} = \sum_{i=0}^{n} \frac{1}{i!} = \frac{1}{0!} + \frac{1}{1!} +
\frac{1}{2!} + \dots \frac{1}{n!}.
\]
This is clearly monotonically increasing, and Taylor and Mann show
that it is bounded above by 3.  (They actually consider a slightly
different sequence -- each term in theirs is missing the $i=0$ term of
the sum, and hence is one less than the corresponding term here -- but
their proof works equally well here.)  Therefore the sequence
converges to some number $A \leq 3$.

In Example 6 on p.~63, another very important example, Taylor and Mann
show that the sequence $\{s_{n} \}$ defined by
\[
s_{n} = \left( 1 + \frac{1}{n} \right)^{n}
\]
is also increasing and bounded above, again by 3.  They define the
number $e$ to be the limit: $e$ is defined by 
\[
e = \lim_{n \rightarrow \infty} \left( 1 + \frac{1}{n} \right)^{n}.
\]
Exercise~\ref{ex-e} below relates these two important examples to each
other: it asks you to show that
\[
\lim_{n\rightarrow \infty} \left( \sum_{i=0}^{n} \frac{1}{i!} \right) 
= \lim_{n \rightarrow \infty} \left( 1 + \frac{1}{n} \right)^{n},
\]
and therefore both limits are equal to $e$.



\subsection*{Exercises}

\begin{exercise}
Exercise 16 on p.~66
\end{exercise}

\begin{exercise}
Exercise 17 on p.~66
\end{exercise}

\begin{exercise}
Prove Corollary~\ref{cor-glb} from Corollary~\ref{cor-lub} by
considering the sequence $\{t_{n}\}$ defined by $t_{n} = -s_{n}$.
\end{exercise}

\begin{exercise}
Exercise 19 on p.~66
\end{exercise}

\begin{exercise}
Exercise 20 on p.~66
\end{exercise}

\begin{exercise}\label{ex-e}
Exercise 24 on p.~66.
\end{exercise}

\begin{exercise}
Exercise 5 on p.~82.
\end{exercise}

\begin{exercise}
Exercise 6 on p.~82.
\end{exercise}

\begin{exercise}
Exercise 2 on p.~83.
\end{exercise}

\begin{exercise}
Exercise 4 on p.~83.
\end{exercise}

\begin{exercise}
Exercise 5 on p.~83.
\end{exercise}

\begin{exercise}
Exercise 7 on p.~84.
\end{exercise}

\begin{exercise}
Exercise 9 on p.~84.
\end{exercise}

\begin{exercise}
Exercise 10 on p.~84.
\end{exercise}



\subsection{Infinite limits}

We know from Definition~\ref{defn-limit} what it means for a sequence
to converge to a \emph{number}.  What does it mean for a sequence to
``approach infinity''?

\begin{definition}
Suppose that $\{s_{n}\}$ is a sequence of real numbers.  We say
$\displaystyle \lim_{n \rightarrow \infty} s_{n} = \infty$ if for
every real number $K$, there is an integer $N$ so that whenever $n
\geq N$, we have $s_{n} > K$.

Similarly, we say that $\displaystyle \lim_{n \rightarrow \infty}
s_{n} = -\infty$ if for every real number $K$, there is an integer
$N$ so that whenever $n \geq N$, we have $s_{n} < K$.
\end{definition}

% (You can view the open interval $(K, \infty)$ as being analogous to
% the interval $(A-\varepsilon, A+\varepsilon)$ in
% Definition~\ref{defn-limit}.)

Note that if $\displaystyle \lim_{n \rightarrow \infty} s_{n}$ is
$\infty$ or $-\infty$, then the sequence \emph{diverges}: going to
infinity is a special kind of divergence.

\begin{example}
We know intuitively that $\displaystyle \lim_{n \rightarrow \infty} n
= \infty$.  To prove this, fix a real number $K$.  If $K \leq 0$, then
$n > K$ for all $n \geq 1$, so we choose $N=1$.  If $K>0$, then apply
the Archimedean property to $K$ and $1$: there is a positive integer
$N$ with $N > K$.  Then for all integers $n \geq N$, we will have $n >
K$, as desired.
\end{example}

Some analogues of Theorem~\ref{thm-limit-sum} hold.

\begin{theorem}\label{thm-limit-infinite}
Let $\{s_{n} \}$ and $\{t_{n} \}$ be sequences of real numbers.
Suppose that $\displaystyle \lim_{n \rightarrow \infty} s_{n} = \infty$.
\begin{enumerate}
\item If $\{t_{n}\}$ converges or $\lim t_{n} = \infty$, then $\lim
(s_{n} + t_{n}) = \infty$.
\item If $\{t_{n}$ converges to a positive number or if $\lim t_{n} =
\infty$, then $\lim (s_{n} t_{n}) = \infty$.
\item If $\{t_{n}$ converges to a negative number or if $\lim t_{n} =
-\infty$, then $\lim (s_{n} t_{n}) = -\infty$.
\item If $\lim t_{n} = B$ with $B > 0$, then $\lim (s_{n} / t_{n}) = \infty$.
\item If $\lim t_{n} = B$ with $B < 0$, then $\lim (s_{n} / t_{n}) = -\infty$.
\end{enumerate}
There are corresponding results if $\lim s_{n} = -\infty$.
\end{theorem}

\begin{proof}
See Exercise~\ref{ex-thm-limit-infinite}.
\end{proof}

Be careful about indeterminate forms: if $\lim s_{n} = \infty$
and $\lim t_{n} = -\infty$, then $\{s_{n} + t_{n} \}$ may converge to
any number, may go to $\pm \infty$, or may diverge in some other way.
Similarly, if $\lim s_{n} = \pm \infty$ and $\lim t_{n} = \pm \infty$,
then $\{s_{n} / t_{n} \}$ does not have a predictable behavior, nor
will $\{s_{n} t_{n} \}$ if $\lim s_{n} = \infty$ and $\lim t_{n} = 0$.

Finally, Exercise~\ref{ex-zero-denom} discusses limits of the form
$\lim \frac{1}{t_{n}}$ where $\lim t_{n} = 0$; one can ask similar
questions about limits of the form $\lim \frac{s_{n}}{t_{n}}$.




\subsection*{Exercises}



\begin{exercise}\label{ex-thm-limit-infinite}
Prove Theorem~\ref{thm-limit-infinite}
\end{exercise}

\begin{exercise}
Prove that for all positive integers $k$, $\displaystyle \lim_{n
\rightarrow \infty} n^{k} = \infty$.
\end{exercise}

\begin{exercise}\label{ex-zero-denom}
\begin{enumerate}
\item Find a sequence $\{t_{n} \}$ with $\lim t_{n} = 0$ such that 
$\lim \frac{1}{t_{n}} = \infty$.
\item Find a sequence $\{t_{n} \}$ with $\lim t_{n} = 0$ such that 
$\lim \frac{1}{t_{n}} = -\infty$.
\item Find a sequence $\{t_{n} \}$ with $\lim t_{n} = 0$ such that
$\lim \frac{1}{t_{n}}$ diverges but does not go to either $\infty$ or
$-\infty$.
\end{enumerate}

\end{exercise}

\begin{exercise}
Exercise 22 on p.~66
\end{exercise}



\end{document}
