Suppose f:R→R is a function defined on some
interval containing x=a∈R (except possibly at x=a). We
say that the limit of f as x approaches a is L∈R and
write
x→alimf(x)=L
if for every ϵ∈R+ there exists some
δ∈R+ such that
0<∣x−a∣<δimplies∣f(x)−L∣<ϵ
If there is no L∈R such that the above holds, then we say
the limit does not exist, and write
x→alimf(x)=DNE
We can imagine ϵ to represent some amount of maximum change in
the vertical axis of the function f and δ to represent an
amount of change in the horizontal axis. Given ϵ, we must find
some small enough interval around a such that f(x) does not deviate
from L by more than ϵ.
If the function is "smooth", then picking smaller and smaller δ's
makes the vertical deviation away from L smaller and smaller in that
interval. Eventually, we will find a δ that satisfies the
condition in the definition.
However, suppose f has a jump discontinuity at a. Then in any
interval around a, and for any constant L, the function deviates
at least half the amount of the jump in the function from L. This in
turn implies that such functions do not have a limit at a.
Consider a function f:R→R that is 1 everywhere
except for at x=0, where it is 2.
f(x)={21x=0otherwise
We show that
x→0limf(x)=1
First, consider an arbitrary ϵ∈R+. We pick δ=1. Note that for any x∈(−δ,δ) other than x=0, we
have f(x)=1. Note that ∣f(x)−1∣=0<ϵ as required.
The definition of the limit given above is rather restrictive –
it only permits functions mapping real numbers to real numbers. However,
limits appear in many other areas of mathematics involving functions
mapping between all sorts of spaces. In fact, some spaces may not have
a convenient distance operator that can take the place of subtraction
in R. In these cases, different definitions of the limit are
required.
Definition of Continuity
A function f:R→R is continuous at a pointa∈R if
x→alimf(x)=f(a)
A function is continuous in an open interval(a,b) if it is
continous at all points in (a,b)
A function is continuous everywhere if it is continous at all points
in its domain.
Properties of Limits
Suppose f,g:R→R are functions defined in a region
around a∈R. Further let limx→af(x)=Lf and
limx→ag(x)=Lg. The following properties hold.
Lemma: Constant functions f(x)=c are continuous everywhere
Proof: Let a∈R and ϵ∈R+ be
arbitrary. Pick δ=1 and L=c. On the interval (a−δ,a+δ), we have f(x)=c=L as required.
Lemma: Linear functions f(x)=mx+b for m,b∈R are
continuous everywhere.
Proof: Let a∈R and ϵ∈R+ be
arbitrary. Pick δ=2mϵ and L=ma+b. On the
interval (a−δ,a+δ), we have f(x)=f(a)+m(x−a).
Then ∣f(x)−L∣=∣m(x−a)∣≤∣mδ∣≤2ϵ<ϵ as required.
Proof of Corollary: We will prove by induction on the degree of the
polynomial.
x→alimc=cx→alimx=ax→alim3x2+2x=3a2+2a
Derivatives
Definition of the Derivative
Let f:R→R be a function. For a point x∈R,
we define the derivative of f at x to be
f′(x)=h→0limhf(x+h)−f(x)
where the limit exists. This defines a function f′:R→R
whose domain consists of the points x∈R where the above limit
exists.