In this section we define a limit of a function at a point . It is assumed that the reader is already familiar with limit of a sequence, the real line and the general concept of a function of one real variable.
Limit of a function
For a subset of real numbers, denoted by , assume that is such point that there is a sequence of points such that as . Here the set is often the set of all real numbers, but sometimes an interval (open or closed).
Example 1.
Note that it is not necessary for to be in . For example, the sequence as in , and for all but is not in .
Limit of a function
We consider a function defined in the set . Then we define the limit of the function at as follows.
Definition 1: Limit of a function
Suppose that and is a function. Then we say that has a limit at , and write
if, as for every sequence in , such that as .
Example 2.
The function defined by has a limit at the point .
Function .
Example 3.
The function defined by
does not have a limit at the point . To formally prove this, take sequences , defined by and for . Then the both sequences are in , but and for any .
Example 4.
The function , does have the limit at .
Example 5.
The function , does not have a limit at .
One-sided limits
An important property of limits is that they are always unique. That is, if and , then . Although a function may have only one limit at a given point, it is sometimes useful to study the behavior of the function when approaches the point from the left or the right side. These limits are called the left and the right limit of the function at , respectively.
Definition 2: One-sided limits
Suppose is a set in and is a function defined on the set . Then we say that has a left limit at , and write
if, as for every sequence in the set , such that as .
Similarly, we say that has a right limit at , and write
if, as for every sequence in the set
, such that as .
Theorem 1: Limit of a function
A function has a limit at the point if and only if
Example 6.
The sign function
is defined on . Its left and right limits at are
However, the function does not have a limit at .
Example 7.
Function
does not have one-sided limits at 0.
Limit rules
The following limit rules are immediately obtained from the definition and basic algebra of real numbers.
Theorem 2: Limit rules
Let and Then
,
,
,
.
Example 8.
Finding limits by calculating :
a)
b)
c)
Limits and continuity
In this section, we define continuity of the function. The intutive idea behind continuity is that the graph of a continuous function is a connected curve. However, this is not sufficient as a mathematical definition for several reasons. For example, by using this definition, one cannot easily decide if is a continuous function or not.
For continuity of a function at a given point , it is required that:
is defined,
exists (and is finite),
.
In other words:
Definition 2: Continuity
A function is continuous at a point , if
A function is continuous, if it is continuous at every point .
Example 1.
Let . Functions defined by , , are continuous at every point .
Why? If , then and . For , we have and hence, . Similarly, and .
Example 2.
Let . We define a function by
Then
Therefore is not continuous at the point .
Some basic properties of continuous functions of one real variable are given next. From the limit rules (Theorem 2) we obtain:
Theorem 3.
The sum, the product and the difference of continuous functions are continuous. Then, in particular, polynomials are continuous functions. If and are polynomials and , then is continuous at a point .
A composition of continuous functions is continuous if it is defined:
Theorem 4.
Let and . Suppose that is continuous at a point and is continuous at . Then is continuous at a point .
The so-called -definition for continuity is given next. The basic idea behind this test is that, for a function continuous at , the values of should get closer to as gets closer to .
This is the standard definition of continuity in mathematics, because it also works for more general classes of functions than ones on this course, but it not used in high-school mathematics. This important definition will be studied in-depth in Analysis 1 / Mathematics 1.
-test:
Theorem 5: -definition
Let . Then the following conditions are equivalent:
,
For all there exists such that if , then for all .
Let . We define a function by
In Example 2 we saw that this function is not continuous at the point . To prove this using the -test, we need to find some and some such that for all , , but .
Proof. Let and . By choosing , we have
and
Therefore by Theorem 5 is not continuous at the point .
This section contains some fundamental properties of continuous functions. We start with the Intermediate Value Theorem for continuous functions, also known as Bolzano's Theorem. This theorem states that a function that is continuous on a given (closed) real interval, attains all values between its values at endpoints of the interval. Intuitively, this follows from the fact that the graph of a function defined on a real interval is a continuous curve.
Theorem 6: Intermediate Value Theorem
If is continuous and , then there is at least one such that .
Next we prove that a continuous function defined on a closed real interval is necessarily bounded. For this result, it is important that the interval is closed. A counter example for an open interval is given after the next theorem.
We take from the sequence , , a convergent partial sequence where .
Let . Now and, because is continuous,
so .
The existence of the minimum is proved by a similar argument.
Example 5.
Let , where
The domain of the function is . To determine the range of the function, we first notice that the function is decreasing. We will now show this.
Let . Then
and
Because ,
and
Thus, if then , which means that the function is decreasing.
We know that a decreasing function has its minimum value in the right endpoint of the interval. Thus, the minimum value of is
Respectively, a decreasing function has it's maximum value in the left endpoint of the interval and so the maximum value of is
As a polynomial function, is continuous and it therefore has all the values between it's minimum and maximum values. Hence, the range of is .
Example 6.
Suppose that is a polynomial. Then is continuous on and, by Theorem 7, is bounded on every closed interval , . Furthermore, by Theorem 3, must have minimum and maximum values on .