The theory of limits is central to calculus, and so we must discuss limits of functions before we delve into differential and integral calculus. In order to discuss limits of functions we must define what a function is;
Definition 1.1: Function
Suppose we have two sets D and C. A rule that assigns to each element of D a unique element in C is called a function from D to C. The set D is called the Domain and C is called the Codomain. If and
are related by the function
we write
.
We say that x is the Independent variable and y is the dependent variable because y depends on the value of x. If we say that R is the Range or Image of
.
Limits of functions are used to describe how the function behaves when the independent variable gets close to a particular value. So taking the limit of a function say as
tends to some value
, is essentially making a prediction for what
will be based on how the function behaves near
. Sometimes the limits of functions do not exist for certain values and we will see why in future posts. Let’s informally look at a couple of examples to help us understand what a limit is;
Note: The value of a function need not be defined at a point
for
to have a limit there! Sometimes the limit of a function at a point is not equal to the function evaluated at that point, i.e
is not always equal to
.
Example 1: Consider the function defined by
, Find
.
By compiling a table of values for and
we can see how
behaves when
is near 2.
| 1.85 | 1.9 | 1.99 | 1.999 | 1.9999 | 2 | 2.0001 | 2.001 | 2.01 | 2.1 | 2.15 | |
| 4.4225 | 4.6 | 4.9601 | 4.9960 | 4.9996 | 5 | 5.0004 | 5.0040 | 5.0401 | 5.41 | 5.6225 |
As you can see from the table as x approaches 2 (from either side), f(x) approaches 5, and so we have . This is an example of when the limit at the point is equal to the value of the function at that point.
Example 2: Consider the function defined by

Let’s find . We can do the same thing as in the last example but let’s establish the limit of this function graphically.

As you can see from the graph of above, as indicated by the blue arrows,
approaches 3 as x approaches zero (from either side). Clearly
, this however, is NOT equal to the value of the function at x=0 which is
(indicated by the green dot on the graph).
The following definition is incredibly important.
Definition 1.2: Limit
Suppose that is a real function (a function whose values are real numbers). If for any
there exists a
such that for any
with
we have
then
is the limit of
as
tends towards
, denoted
.
This definition is essentially saying if , then as x gets arbitrarily close to a, f(x) is also getting close to L. Our
and
is basically our mathematical way of saying how close x is to a and how close f(x) is to L respectively.
The following theorem is very important to computing the limits of functions, i will prove the first property and will leave the rest as an exercise to the reader. Feel free to send me your proofs via the contact page if you would like me to check them.
Theorem 1.1: Laws of Limits

Proof of 1.:
and
both exist and so we let
and
. By definition 1.2 we have that for any
there exists a
such that for any
with
we have
and there exists a
such that for any
with
we have
.
We let and so
is sufficiently small so that they both satisfy the conditions set by the limits of f(x) and g(x). Therefore
by the triangle inequality. Now we have
and so we have which is precisely by definition 1.2
.
QED
To rigourosly show that the limit of a function is a certain value we must use definition 1.2 and establish a relationship between and
.