CHAPTER 2 sequence n series and functions
CHAPTER 2 sequence n series and functions
CHAPTER 2 sequence n series and functions
Each number in the sequence is called a term and un is called the nth term. The sequence
u1 , u2 , u3 , . . . is written briefly as {un }, e.g., {un } = 2n, where u1 = 2, u2 = 4, u3 = 6 and so
on. The sequence is called finite or infinite according as there are or are not a finite number of
terms.
Example:
Find the values of the first four terms of the sequence defined by
2
un+1 = , u0 = 1, n ∈ N.
un
Solution:
2 2
u1 = u0+1 = = =2
u0 1
2 2
u2 = u1+1 = = =1
u1 2
2 2
u3 = u2+1 = = = 2.
u2 1
1
You Try It: Define recursively
Find a6 recursively.
1
Lets consider the sequence un = . The sequence has the terms 1, 21 , 13 , 14 , . . . . We see that the
n
terms of the sequence tend to or approach 0.
Definition 1.0.2. A number L is called the limit of a sequence a1 , a2 , a3 , . . . or {an }, if for any
positive number ε, we can find a positive number N depending on ε such that |an − L| < ε for all
integers n > N . We write lim an = L.
n→∞
If {an } is a convergent sequence, it means that the terms an can be made arbitrarily close to L for
n sufficiently large.
1 3n + 1
Example: If un = 3 + = , the sequence is 4, 27 , 10
3
, . . . and we can show that
n n
lim un = 3.
n→∞
If the limit of a sequence exists, the sequence is called convergent, otherwise, it is called divergent.
2
1.0.2 Properties of Limits
an lim an A
4. lim = n→∞ = iff lim bn = B 6= 0.
n→∞ bn lim bn B n→∞
n→∞
n tends to infinity, n → ∞ (n grows or increases beyond any limit ). Infinity is not a number and
the sequences that tend to infinity are not convergent.
We write lim an = ∞, if for each positive number M , we can find a positive number N (depending
n→∞
on M ) such that an > M for all n > N .
Similarly, we write lim an = −∞, if for each positive number M , we can find a positive number N
n→∞
such that an < −M for all n > N .
Example: Can you see that (a) lim 32n−1 = ∞ (b) lim (1 − 2n) = −∞.
n→∞ n→∞
A sequence that tends to a limit l is said to be convergent and the sequence converges to l. A
sequence may tend to +∞ or −∞, and is said to be divergent and it diverges to +∞ or −∞.
If un ≥ m, the sequence is bounded below and m is called a lower bound. The largest lower bound
is called the greatest lower bound (g.l.b).
3
If m ≤ un ≤ M , the sequence is called bounded, indicated by |un | ≤ P . (Every convergent sequence
is bounded, but the converse is not necessarily true)
If un+1 ≥ un , the sequence is called monotonic increasing and if un+1 > un it is called strictly
increasing. If un+1 ≤ un , the sequence is called monotonic decreasing, while if un+1 < un it is
strictly decreasing.
Examples: 1. The sequence 1, 1.1, 1.11, 1.111, . . . is bounded and monotonic increasing.
2. The sequence 1, −1, 1, −1, 1, . . . is bounded but not monotonic increasing or decreasing.
1
Definition 1.0.3. A null sequence is a sequence that converges to 0, e.g., un = , n ≥ 11.
n − 10
If {un } does not tend to a limit or +∞ or −∞, we say that {un } oscillates (or is an oscillating
sequence). It can oscillate finitely (bounded) or infinitely (unbounded).
5 − 2n2
1 3
We want to be able to evaluate limits, for example, of the form lim 2− + 2 or lim .
n→∞ n n n→∞ 4 + 3n + 2n2
1 3 1 1
Example: lim 2 − + 2 = lim 2 − lim + 3 lim 2 = 2 − 0 + 0 = 2.
n→∞ n n n→∞ n→∞ n n→∞ n
3n2 − 5n 3 − n5 3+0 3
Example: lim = lim = = .
n→∞ 5n2 + 2n − 6 n→∞ 5 + 2 − 6
5+0+0 5
n n2
√ √
√ √ √ √ n+1+ n 1
Example: lim ( n + 1 − n) = lim ( n + 1 − n) · √ √ = lim √ √ = 0.
n→∞ n→∞ n+1+ n n→∞ n+1+ n
4
is called an infinite series (or simply a series). The numbers a1 , a2 , a3 , . . . are called the terms of
the series. To find the sum of an infinite series, consider the following sequence of partial sums.
S1 = a1
S2 = a1 + a2
S3 = a1 + a2 + a3
.. . .. ..
. = .. . .
Sn = a1 + a2 + a3 + · · · + an .
If this sequence of partial sums converges, then the series is said to converge and has the sum
indicated in the following definition.
X
For the infinite series an , the nth partial sum is given by
Sn = a1 + a2 + a3 + · · · + an .
X
If the sequence of partial sums {Sn } converges to S, then the series an converges. The limit S
is called the sum of the series. If {Sn } diverges, then the series diverges.
∞
X 1 1 1 1 1
For example, the series n
= + + + + · · · has the following partial sums.
n=1
2 2 4 8 16
1
S1 =
2
1 1 3
S2 = + =
2 4 4
1 1 1 7
s3 = + + =
2 4 8 8
.. .. .. .. ..
. = . . . .
1 1 1 1 2n − 1
sn = + + + ··· + n = .
2 4 8 2 2n
2n − 1
Because lim = 1, it follows that the series converges and its sum is 1.
n→∞ 2n
5
∞
X
Example: The series 1 = 1 + 1 + 1 + · · · diverges, because Sn = n and the sequence of partial
n=1
sums diverges.
∞
X 1 1
The series − is a telescoping series. That is, it is of the form
n=1
n n+1
note that b2 is canceled by the second term, b3 is canceled by the third term and so on. Because the
nth partial sum of the series is Sn = b1 − bn+1 , it follows that a telescoping series will only converge
if and only if bn approaches a finite number as n → ∞. Moreover, if the series converges, then its
sum is
S = b1 − lim bn+1 .
n→∞
∞
X 2
Homework: Find the sum of the series .
n=1
4n2−1
From the telescoping form, we can see that the nth partial sum is
1 1 1 1 1 1 1
Sn = − + − + ··· + − =1− .
1 3 3 5 2n − 1 2n + 1 2n + 1
1. Geometric Series
6
A geometric series with ratio r diverges if |r| ≥ 1. If 0 < |r| < 1, then the series converges to
∞
X a
the sum arn = , 0 < |r| < 1.
n=0
1 − r
Example
The geometric series
∞ ∞ n 2
X 3 X 1 1 1
n
= 3 = 3(1) + 3 +3 + ···
n=0
2 n=0
2 2 2
has a ratio of r = 21 with a = 3. Because 0 < |r| < 1, the series converges and its sum is
a 3
S= = = 6.
1−r 1 − 12
X X
If an = A and bn = B and c is a real number, then the following series converge to the
X X X X X
indicated sums. (i) can = cA (ii) (an ± bn ) = an ± bn = A ± B. If the series an
converges, then the sequence {an } converges to 0.
X
If the sequence {an } does not converge to 0, then the series an diverges.
The p−series
∞
X 1 1 1 1
p
= p
+ p
+ p
+ ···
n=1
n 1 2 3
(i) converges if p > 1 and (ii) diverges if 0 < p ≤ 1.
7
From the Theorem it follows that the harmonic series
∞
X 1 1 1
= 1 + + + ···
n=1
n 2 3
diverges.
So far, most series we have dealt with have had positive terms. In this section, we will study series
that contain both positive and negative terms. The simplest such series is an alternating series,
whose terms alternate in sign. For example, the geometric series
∞ n X ∞
X 1 1 1 1 1 1
− = (−1)n n = 1 − + − + − ···
n=0
2 n=0
2 2 4 8 16
is an alternating geometric series with r = − 12 . Alternating series occur in two ways, either the odd
terms are negative or the even terms are negative.
8
(c) The following power series is centered at 1.
∞
X 1 1 1
(x − 1)n = (x − 1) + (x − 1)2 + (x − 1)3 + · · ·
n=1
n 2 3
where the domain of f is the set of all x for which the power series converges.
The number R is the radius of convergence of the power series. In the series converges only at
c, then the radius of convergence is R = 0, and if the series converges for all x, then the radius
of convergence is R = ∞. The set of all values of x for which the power series converges is the
interval of convergence of the power series.
∞
X
Example 1.2.1. Find the radius of convergence of n!xn .
n=0
For any fixed value of x such that |x| > 0, let un = n!xn . Then
un+1 (n + 1)!xn+1
lim = lim
n→∞ un n→∞ n!xn
= |x| lim (n + 1)
n→∞
= ∞.
Therefore, by the Ratio Test, the series diverges for |x| > 0, and converges only at its center, 0.
Hence, the radius of convergence is R = 0.
9
∞
X
Example 1.2.2. Find the radius of convergence of 3(x − 2)n .
n=0
By the Ratio Test, the series converges if |x − 2| < 1 and diverges if |x − 2| > 1. Therefore, the
radius of convergence of the series is R = 1.
∞
X xn
Example 1.2.3. Find the interval of convergence of .
n=1
n
xn
Solution: Letting un = produces
n
xn+1
un+1 n+1
lim = lim xn
n→∞ un n→∞
n
nx
= lim
n→∞ n+1
= |x|.
Therefore, by the Ratio Test, the radius of convergence is R = 1. Moreover, because the series is
centered at 0, it converges in the interval (−1, 1). This interval, however, is not necessarily the
interval of convergence. To determine this, we must test for convergence at each endpoint. When
x = 1, we obtain the divergent harmonic series
∞
X 1 1 1
= 1 + + + ···
n=1
n 2 3
10
(−1)n (x + 1)n
Solution: Letting un = produces
2n
(−1)n+1 (x+1)n+1
un+1 2n+1
lim = lim (−1)n (x+1)n
n→∞ un n→∞
2n
n
2 (x + 1)
= lim
n→∞ 2n+1
x+1
= .
2
x+1
By the Ratio test, the series converges if < 1 or |x+1| < 2. Hence, the radius of convergence
2
is R = 2. Because the series is centered at x = −1, it will converge in the interval (−3, 1).
Furthermore, at the endpoints we have
∞ ∞ ∞
X (−1)n (−2)n X 2n X
= = 1 (Diverges when x=-3)
n=0
2n n=0
2n n=0
and ∞ ∞
X (−1)n (2)n X
= (−1)n (Diverges when x=1)
n=0
2n n=0
xn
Solution: Letting un = produces
n2
xn+1
un+1 (n+1)2 n2 x
lim = lim xn = lim = |x|.
n→∞ un n→∞
n2
n→∞ (n + 1)2
Therefore, the interval of convergence for the given series is [−1, 1].
∞
X
Example 1.2.6. Find the interval of convergence of nxn .
n=1
11
Solution: The series is a power series with an = n and c = 0. Let un = nxn , so un+1 = (n+1)xn+1 .
Then
un+1 (n + 1)|x|n+1 n+1
= n
= |x| =⇒ |x| as n → ∞.
un n|x| n
X ∞
The limit is less than one whenever |x| < 1. The Ratio Test then shows un is convergent for
n=1
|x| < 1, and the series diverges for |x| > 1. This means the radius of convergence is R = 1. We
know that the series is convergent for −1 < x < 1. We need to check convergence at the endpoints
X∞
of this interval. When x = 1, we have n. This series does not approach zero as n → ∞, we
n=1
know this series must diverge. Similarly, the series is divergent when x = −1. The interval of
convergence is (−1, 1).
∞
X (−1)n (x − 2)n
Example 1.2.7. Find the interval of convergence of .
n=1
n4n
|x − 2|n |x − 2|n+1
Solution: Let un = , so u n+1 = . Then
n4n (n + 1)4n+1
un+1 |x − 2|n+1 n4n n|x − 2| |x − 2|
= n+1 n
= =⇒ as n → ∞.
un (n + 1)4 |x − 2| (n + 1)4 4
|x − 2| |x − 2|
The Ratio Test gives convergence for < 1 and divergence for > 1. Solving the first
4 4
inequality, we have
|x − 2| < 4 =⇒ −4 < x − 2 < 4 =⇒ −2 < x < 6.
When x = −2, the series is
∞ ∞
X (−1)n (−2 − 2)n X 1
= ,
n=1
n4n n=1
n
which is a divergent p−series. When x = 6, we have
∞ ∞
X (−1)n (6 − 2)n X (−1)n
= .
n=1
n4n n=1
n
The Alternating Series Test shows that the series is convergent. The interval of convergence is
−2 < x ≤ 6.
∞
X xn
Example 1.2.8. Find the interval of convergence of the series .
n=1
n3n
xn
Solution: With un = , we find that
n3n
xn+1
un+1 (n + 1)3n+1 n|x| |x|
lim = = lim = .
n→∞ un xn n→∞ 3(n + 1) 3
n3n
12
|x|
Now < 1 provided |x| < 3, so the Ratio Test implies that the given series converges absolutely if
3 X1
|x| < 3 and diverges if |x| > 3. When x = 3, we have the divergent harmonic series and when
n
n
X (−1)
x = −3, we have the convergent alternating series . Thus the interval of convergence of
n
the given power series is [−3, 3).
∞
X 2n xn
Example 1.2.9. Find the interval of convergence of .
n=0
n!
2n xn
Solution: With un = , we find that
n!
2n+1 xn+1
(n + 1)! 2|x|
lim = lim =0
n→∞ 2n xn n→∞ n + 1
n!
for all x. Hence the Ratio Test implies that the power series converges for all x, and its interval of
convergence is (−∞, ∞).
In this assignment, you are required to define what a Taylor series is and its link with a Power
series.
13
Chapter 2
Functions
What is a Function?
Definition
A function f from a set X to a set Y is a rule that assigns to each element x in X a unique element
y in Y .
The set X is called the domain of the function f and the range is the set of all elements of Y
assigned to an element of X. The element of Y assigned to an element x of X is called the image
of x under f and is denoted by f (x). We write f : X → Y for saying f is a function from X to Y .
In this course, both X and Y are sets of real numbers. Thus, the functions are called real functions.
We usually specify a function f by giving the expression for f (x). Below are a few examples of
functions:
Note that in the above examples, the letters f, g, h are used to denote functions whereas the let-
ters x, t, s are used to denote the variables. A variable is an arbitrary element of a set. In the
above examples, the letters x, t, s denote the independent variables and f (x), g(t), h(s) denote
the dependent variables since their values depend on the values of x, t, s respectively.
The domain of a function f is the largest set of real numbers for which the rule makes sense.
14
1 1
Example: Let f (x) = , we cannot compute f (0), since is not defined. Then the domain of
x 0
1
f (x) = is the set of all real numbers except 0.
x
It is useful to draw pictures which represent functions. These pictures, or graphs, are a device
for helping us to think about functions. We graph functions in the x − y plane. The elements of
the domain of the function are thought of as points of the x−axis. The values of a function are
measured on the y−axis. The graph of f associates to x a unique y value that the function f assigns
to x. The graph of a function f is the set of points {(x, y)|y = f (x) in the domain of f } in the
Cartesian plane.
As a consequence, a function is characterized geometrically by the fact that any vertical line inter-
secting its graph does so in exactly one point.
15
2.0.2 Monotone and Bounded Functions
A real function f is increasing (strictly increasing) on an interval I if for all points x1 and x2
in I with x1 < x2 , f (x1 ) ≤ f (x2 ) (f (x1 ) < f (x2 )).
A real function f is decreasing (strictly decreasing) on an interval I if for all points x1 and x2
in I with x1 < x2 , f (x1 ) ≥ f (x2 ) (f (x1 ) > f (x2 )).
Example: Consider the function f (x) = (2x − 1)(x + 5). We observe that f is increasing on
the interval (−9/4, ∞) and is decreasing on the interval (−∞, −9/4).
Bounded Functions
A function f is bounded above if there is a real number M such that f (x) ≤ M for all points x
in its domain. The number M is then called an upper bound of f .
A function f is bounded below if there is a real number m such that f (x) ≥ m for all points x
in its domain. The number m is then called a lower bound of f .
A function f is bounded if f is bounded above and below, that is, there exist real numbers
M and m such that m ≤ f (x) ≤ M for all points x in its domain.
16
2.1 Types of Functions
1. Polynomial Function
Have the form f (x) = a0 xn + a1 xn−1 + · · · + an−1 x + an where a0 , a1 , . . . , an are constants and n is
a positive integer called the degree of the polynomial provided a0 6= 0.
2. Rational Functions
P (x)
A function f (x) = where P (x) and Q(x) are polynomial functions.
Q(x)
x3 + x + 5
Example: f (x) = is a rational function. Since (x + 1)(x − 4) = 0 for x = −1 and
x2 − 3x − 4
x = 4, the domain of f is the set of all real numbers except −1 and 4.
3. Power Function
1 1 2
Examples: y = , y = x2 , y = x3 .
x
17
4. Piecewise Defined Functions
A function need not be defined by a single formula. A piecewise defined function is a function
described by using different formula on different parts of its domain.
−1, x<0 −x, x<0
Examples: (a) f (x) = 0, x=0 (b) f (x) = x2 , 0≤x≤1
x + 2, x>0 1, x > 1.
5. Transcendental Functions
3. Trigonometric functions (also called circular functions because of their geometric interpreta-
sin x
tion with respect to the unit circle), e.g., sin x, cos x, tan x = , csc x, cot x, sec x.
cos x
4. Inverse trigonometric functions, e.g., y = sin−1 x, y = cos−1 x.
18
6. Even and Odd Functions
Let f (x) be a real-valued function of a real variable. Then f is even if f (x) = f (−x). (Symmetric
with respect to the y−axis)
Let f (x) be a real-valued function of a real variable. Then f is odd if −f (x) = f (−x) or
f (x) + f (−x) = 0. (Symmetric with respect to the origin)
3x
Example: Determine whether the following function is odd or even f (x) = .
x2 + 1
Solution:
3(−x) 3x
f (−x) = 2
=− 2 = −f (x).
(−x) + 1 x +1
The function is odd.
A function f can be combined with another function g by means of arithmetic operations to form
f
other functions, the sum f + g, difference f − g, product f g and quotient are defined as :
g
Let f and g denote functions, then
f
Example: If f (x) = 2x2 − 5 and g(x) = 3x + 4. Find f + g, f − g, f g, .
g
19
Solution:
Let f and g denote functions. The composition of f and g, written f ◦ g is the function
(f ◦g)(x) = f (g(x)) and the composition of g and f , written g◦f , is the function (g◦f )(x) = g(f (x)).
Solution:
(f ◦ g)(x) = f (g(x)) = f (x2 + 1) = (x2 + 1)2 = x4 + 2x2 + 1.
and
(g ◦ f )(x) = g(f (x)) = g(x2 ) = (x2 )2 + 1 = x4 + 1.
In general, f ◦ g 6= g ◦ f .
Classes of functions may be distinguished by the manner in which arguments and images are related
or mapped to each other.
20
Example: Show that the functions f (x) = 2x + 3 and g(x) = x3 − 2 are injective.
A function f : X → y is called onto if for all y in Y there is an x in X such that f (x) = y. All
elements in Y are used. Such functions are referred to as surjective.
21
y+5
Solution: For onto f (x) = y, i.e., 3x − 5 = y. Solve for x, =⇒ x = .
3
y+5 y+5
So f =3 − 5 = y. Therefore f is onto.
3 3
Let X and Y be sets. A function f : X → Y that is one-to-one and onto is called a bijection
or bijective function from X to Y . If f is both one-to-one and onto, then we call f a 1 − 1
correspondence.
1. Equality of Functions
Equality of functions does not mean the same as equality of two numbers (numbers have a fixed
value but values of functions vary). Each function is a relationship between x and y, the two
relationships are the same if for every value of x we get the same value of y.
2. Identity Function
Generally, an identity function is one which does not change the domain values at all. Its the
function f (x) = x. Denoted by IX .
22
3. Inverse of a Function.
Suppose f is a 1 − 1 function that has domain X and range Y . Since every element y ∈ Y
corresponds with precisely one element x of X, the function f must actually determine a reverse
function g whose domain is Y and range is X, where f and g must satisfy f (x) = y and g(y) = x.
The function g is given the formal name inverse of f and usually written f −1 and read f inverse.
Not all functions have inverses, those that do are called invertible functions.
y = (2x + 8)3
√
3
y = 2x + 8
√3
y − 8 = 2x
√
3 y − 8
x = .
2
√
3
x−8
Hence the inverse function f −1 −1
is given by f (x) = .
2
A 1−1 function f can have only one inverse, i.e., f −1 is unique. A function f : X → Y is invertible
if and only if f is one-to-one and maps X onto Y .
23
Chapter 3
The single most important idea in calculus is the idea of limit. More than 2000 years ago, the
ancient Greeks wrestled with the limit concept, and they did not succeed. It is only in the past 200
years that we have finally come up with a firm understanding of limits. The study of calculus went
through several periods of increased mathematical rigour beginning with the French mathematician
Augustin-Loius Cauchy (1789-1857) and later continued by the German mathematician, and former
high school teacher, Karl Wilhelm Weierstrass (1815-1897).
If f is a function, then we say lim f (x) = A, if the value of f (x) gets arbitrarily closer to A as x gets
x→a
closer and closer to a. For example, lim x2 = 9, since x2 gets arbitrarily close to 9 as x approaches
x→3
as close as one wishes to 3.
The definition can be stated more precisely as follows : lim f (x) = A if and only if, for any
x→a
chosen positive number ε, however small, there exists a positive number δ, such that, whenever
0 < |x − a| < δ, then |f (x) − A| < ε.
lim f (x) = A means that f (x) can be made as close as desired to A by making x close enough, but
x→a
not equal to a. How close is “close enough to a” depends on how close one wants to make f (x) to
A. It also of course depends on which function f is and on which number a is. The positive number
ε is how close one wants to make f (x) to A ; one wants the distance to be no more then ε. The
positive number δ is how close one will make x to a ; if the distance from x to a is less than δ (but
not zero), then the distance from f (x) to A will be less than ε. Thus δ depends on ε. The limit
statement means that no matter how small ε is made, δ can be made smaller enough. The letters
ε and δ can be understood as “error” and “distance”. In these terms the error (ε) can be made as
small as desired by reducing the distance (δ).
24
The ε − δ definition of lim f (x) = A
x→a
For any chosen positive number ε, however small, there exists a positive number δ, such that,
whenever 0 < |x − a| < δ, then |f (x) − A| < ε.
Solution: Need to find δ so that, for a given ε, |x2 + 1 − 2| < ε for |x − 1| < δ.
Now
x 2 + 1 − 2 = x2 − 1
= (x + 1)(x − 1).
Choose |x − 1| < 1 so that −1 < x − 1 < 1 ⇒ 0 < x < 2 ⇒ 1 < x + 1 < 3. You have |x2 + 1 − 2| < ε
ε
if 3|x − 1| < ε or |x − 1| < . You have now two conditions on x :
3
ε
|x − 1| < 1 and |x − 1| < .
3
ε ε
Choose δ = min{1, 3 }. For a given ε > 0, choose δ = min{1, 3 }, then we have |x − 1| < δ, it would
be true that |x2 + 1 − 2| < ε.
Solution: Let ε > 0. We must produce a δ > 0 such that, whenever 0 < |x − 2| < δ then
|(x2 + 3x) − 10| < ε. First we note that
|(x2 + 3x) − 10| = |(x − 2)2 + 7(x − 2)| ≤ |x − 2|2 + 7|x − 2|.
ε
Also, if 0 < δ ≤ 1, then δ 2 ≤ δ. Hence, if we take δ to be the minimum of 1 and , then, whenever
8
0 < |x − 2| < δ,
|(x2 + 3x) − 10| < δ 2 + 7δ ≤ δ + 7δ = 8δ ≤ ε.
1
You Try It: Prove that lim x sin = 0.
x→0 x
Considering x and a as points on the real axis where a is fixed and x is moving, then x can approach
a from the right or from the left. We indicate these respective approaches by writing x → a+ and
x → a− .
If lim+ f (x) = A1 and lim− f (x) = A2 , we call A1 and A2 respectively the right and left hand limits
x→a x→a
of f (x) at a.
25
We have lim f (x) = A if and only if lim+ f (x) = lim− f (x) = A. The existence of the limit from the
x→a x→a x→a
left does not imply the existence of the limit from the right and conversely. When a function f is
defined on only one side of a point a, then lim f (x) is identical to the one-sided limit, if it exists. For
√ x→a √ √
example, if f (x) = x, then f is only defined to the right of zero. Hence, lim x = lim+ x = 0.
x→0
√ √ x→0
Of course, lim− x does not exist, since x is not defined when x < 0. On the other hand, consider
x→0 r
1
the function g(x) = , which is defined only for x > 0. In this case, lim+ g(x) does not exist and,
x x→0
therefore lim g(x) does not exist.
x→0
Solution: Must show that if lim f (x) = A1 and lim f (x) = A2 , then A1 = A2 .
x→a x→a
26
.
Solution: We must show that for any ε > 0, we can find δ > 0 such that |(f (x)+g(x))−(A+B)| < ε
when 0 < |x − a| < δ.
By hypothesis, given ε > 0, we can find δ1 > 0 and δ2 > 0 such that
ε
|f (x) − A| < when 0 < |x − a| < δ1
2
ε
|g(x) − B| < when 0 < |x − a| < δ2 .
2
Then
ε ε
|(f (x) + g(x)) − (A + B)| ≤ |f (x) − A| + |g(x) − B| < + = ε,
2 2
when 0 < |x − a| < δ where δ is chosen as the smaller of δ1 and δ2 .
You Try It: Given lim f (x) = A and lim g(x) = B. Prove that
x→a x→a
ex − 1 x−1
3. lim = 1, lim = 1.
x→0 x x→1 ln x
1. If f (a) is defined
If x = a is in the domain of f (x) and a is not an endpoint of the domain, and f (x) is defined by a
single expression, then
lim f (x) = f (a).
x→a
27
Solution: lim (x + 3) = 1 + 3 = 4.
x→1
1
Example: Find lim .
x→1 x + 2
1 1 1
Solution: lim = = .
x→1 x + 2 1+2 3
x2 − 4
Example: Find lim .
x→2 x − 2
x2 − 4 (x + 2)(x − 2)
Solution: lim = lim = lim (x + 2) = 4.
x→2 x − 2 x→2 x−2 x→2
Suppose that f (x) is defined by one expression for x < a and by a different expression for x > a.
|x|
Example: Show that lim does not exist.
x→0 x
|x|
lim− = lim (−1) = −1.
x→0 x x→0−
|x|
lim+ = lim (1) = 1.
x→0 x x→0+
sin 3x
Example: Find lim .
x→0 x
28
sin 3x sin 3x
Solution: Since =3 . Then
x 3x
sin 3x sin 3x sin 3x
lim = lim 3 = 3 lim = 3(1) = 3.
x→0 x x→0 3x x→0 3x
1 − cos 2x
Example: Find lim .
x→0 sin 3x
1 − cos 2x 1 − cos 2x 3x 1 2 1 − cos 2x 3x
Solution: Since = 2x = . Then
sin 3x 2x sin 3x 3x 3 2x sin 3x
1 − cos 2x 2 1 − cos 2x 3x 2
lim = lim lim = (0)(1) = 0.
x→0 sin 3x 3 x→0 2x x→0 sin 3x 3
sin x
Example: Find limπ .
x→ 4 cos x
π
sin x sin 4
Solution: limπ = π
= 1.
x→ 4 cos x cos 4
1 − cos θ
You Try It: Show that lim = 0.
θ→0 θ
3. Limits at Infinity
Similarly, we say that lim f (x) = −∞, if for each positive number M we can find a positive number
x→a
δ (depending on M in general) such that f (x) < −M whenever 0 < |x − a| < δ.
29
1 1
Note that lim = 0 and lim = 0.
x→∞ x x→−∞ x
pm (x)
A rational function is a quotient of two polynomials, f (x) = , where m and n are the degrees
qn (x)
of the two polynomials.
Solution: The degree of the numerator is one, the degree of the denominator is two. Therefore
1
x+1 x
+ x12 0+0
lim 2 = 0, since lim 4 = = 0.
x→∞ x + 4 x→∞ 1 + 2 1+0
x
2. If m > n, then lim f (x) = ±∞ . (sign depends on the polynomials pm (x) and qn (x), if they
x→∞
are of the same sign as x gets larger, the quotient is positive, if they are of opposite signs, the
quotient is negative)
x3 − 2x2 + 3x + 4
Example: Find lim .
x→∞ 3x + 5
2
x3 − 2x2 + 3x + 4 1− x
+ x32 + x43 1
Solution: lim = lim 3 = = ∞.
x→∞ 3x + 5 x→∞
x2
+ x53 0
a
3. If m = n, then lim f (x) = , where a is the coefficient of xm in the numerator and b is the
x→∞ b
coefficient of xn in the denominator.
x3 − 4x + 1
Example: Find lim .
x→∞ 3x3 + 2x + 7
4 1
x3 − 4x + 1 1− x2
+ x3 1−0+0 1
Solution: lim 3
= lim 2 7 = = .
x→∞ 3x + 2x + 7 x→∞ 3 + + 3+0+0 3
x2 x3
a0 xm + a1 xm−1 + · · · + am
You Try It: What is lim , where a0 , b0 6= 0 and m and n are
x→∞ b0 xn + b1 xn−1 + · · · + bn
positive integers, when (a) m > n (b) m = n (c) m < n.
x−4
You Try It: Find lim √ .
x→4 x−2
3.5 Continuity
30
1. f (a) is defined.
Notice that, for f (x) to be continuous at x = a, all three conditions must be satisfied. If at least
one condition fails, f is said to have a discontinuity at x = a. For example, f (x) = x2 + 1 is
continuous at x = 2 since lim f (x) = 5 = f (2). The first condition above implies that a function
x→2 √
can be continuous only at points of its domain. Thus, f (x) = 4 − x2 is not continuous at x = 3
because f (3) is imaginary, i.e., not defined.
|x|
Example: Determine whether f (x) = is continuous at x = 0.
x
|x|
(
f (x) = , if x 6= 0
x
0, if x = 0,
is continuous at x = 0.
Sine the limits are not the same, lim f (x) does not exist and f (x) is not continuous at x = 0.
x→0
31
You Try It: Determine whether the function defined by
2
x, if x < 2
f (x) = 5, if x = 2
−x + 6, if x > 2,
A function f (x) is discontinuous at x = a if one or more of the conditions for continuity fails
there.
1
Example: (a) f (x) = is discontinuous at x = 2, because f (2) is not defined (has a zero
x−2
denominator) and because lim f (x) does not exist (equals ∞). The function is, however, continuous
x→2
everywhere except at x = 2, where it is said to have an infinite discontinuity.
x2 − 4
(b) f (x) = is discontinuous at x = 2 because f (2) is not defined (both numerator and
x−2
denominator are zero) and because lim f (x) = 4. The discontinuity here is called removable since
x→2
x2 − 4
it may be removed by redefining the function as f (x) = for x 6= 2 and f (2) = 4. (Note the
x−2
discontinuity in (a) cannot be removed because the limit also does not exist.)
f (x) is continuous at x = a, if for any ε > 0, we can find δ > 0, such that, |f (x) − f (a)| < ε
whenever 0 < |x − a| < δ.
Solution: Must show that, given any ε > 0, we can find δ > 0, such that |f (x)−f (2)| = |x2 −4| < ε
when |x − 2| < δ.
Choose δ ≤ 1, so that |x − 2| < 1 or 1 < x < 3 (x 6= 2). Then |x2 − 4| = |(x − 2)(x + 2)| =
|x − 2||x + 2| < δ|x + 2| < 5δ. Taking δ = min{1, 5ε } whichever is smaller, then we have |x2 − 4| < ε
whenever |x − 2| < δ.
You Try It: (a) Prove that f (x) = x is continuous at any point x = x0 .
(b) Prove that f (x) = 2x3 + x is continuous at any point x = x0 .
32
Properties of Continuous functions
Theorem 1
f (x)
If f (x) and g(x) are continuous at x = a, so are the functions f (x) ± g(x), f (x)g(x) and if
g(x)
g(x) 6= 0.
Theorem 2
The following functions are continuous in every finite interval (a) all polynomials (b) sin x and
cos x (c) ax , a > 0.
Theorem 3
If y = f (x) is continuous at x = a and z = g(y) is continuous at y = b and if b = f (a), then the
function z = g[f (x)] called a function of a function or composite function is continuous at x = a.
Theorem 4
If f (x) is continuous in a closed interval, it is bounded in the interval.
33