Professional Documents
Culture Documents
Vikas Bist *
Department of Mathematics
GITAM, Visakhapatnam- 530045
The text we are following is THOMAS’ CALCULUS Twelfth Edition, 2015 Pearson Press. The
students are advised to solve the problems mentioned in this book. The class notes are a supplement to
the book.
The class notes include questions and problems. It is expected that students should be able to answer
the questions. The problems are generic, and are not expected to be answered now. But the facts
mentioned in problems are useful and can be used.
1 W EEK 1
Functions: To define a function we need two sets let us call them D and C and a rule denoted by f
which maps every element of D to a unique element of C. If a function is defined we denote it:
f : D → C,
f: R→R f : R → R≥0
2
f (x) = x f (x) = x2
are not the same functions as they have different codomains though we are representing both by f .
Note that g : R → R such that g(x) = 1/x is not a function because there is no real number which is
the image of 0, that is f (0) is not defined.
A function f : D → C is called onto or surjective if to each c ∈ C there is d ∈ D such that f (d) = c.
The function f : R → R≥0 such that f (x) = x2 + 2 is not onto as there is not real number r such that
f (r) = r2 + 2 = 1.
1
Observe that if C is a finite set with four elements and f : D → C is an onto function, then D must
contain at least four elements.
P ROBLEM : Show that if f : D → C an onto function and C is a finite set, then D must contain at least
as many elements as in C.
Q UESTION : Let f : Z → {1, 2, . . . , n} such that f (n) = r if r is the remainder when divided by n.
Verify that this is an onto function and the domain is not a finite set.
A function f : D → C is said to be one-one or injective if distinct elements of D are mapped to distinct
elements of C, that is if d1 , d2 ∈ C and d1 ̸= d2 , then f (d1 ) ̸= f (d2 ). Equivalently, if f (d1 ) = f (d2 ),
then d1 = d2 .
As an example the function f : R → R such that f (x) = x2 is not one-one because f (−1) = f (1).
However, the function f : R≥0 → R such that f (x) = x2 is one-one.
P ROBLEM : Prove that if f : D → C is one-one and D is a finite set, then C must contain as many
elements as in D.
A function which is one-one and onto is also called a bijective function.
P ROBLEM : Let A and B be finite sets with equal number of elements and let f : A → B be a function.
Show that f is one-one if and only if it is onto. This means that you have to prove that if f is on-one
then f is onto also, and if f is onto then f is one-one too.
Q UESTION : Give examples of functions which are: (i) onto but not one-one; (ii) one-one but not onto;
(iii) neither one-one nor onto; (iv) one-one and onto.
P ROBLEM : We have seen that every non-zero number has recurring decimal representation. For
example 1.6 = 1.5999 . . . . Now consider a function f : (0, 1) → (0, 1) which we define as follows.
If a = 0.a1 a2 a3 . . . is a decimal recurring representation of a ∈ (0, 1), define f (0.a1 a2 a3 . . . ) =
0.a1 a3 . . . . For example f (0.264) = f (0.263999 . . . ) = 0.2399 . . . . Show that f is onto but not
one-one. Find two distinct numbers whose image is 0.4999 . . . .
Q UESTION : Can you define a bijection between [0, 1] and [−3, 3]?
P ROBLEM : Let A and B are finite sets with equal number of elements and let f : A → B be a function.
Show that f is one-one if and only if f is onto.
Caution this happens only for finite sets. For example f : Z → Z given by f (x) = 2x is one-one but
not onto. On the other hand the function f : Z → Z given by f (x) = [x/2] is onto but not one-one.
Here [x] is the greatest integer function.
A function f : R → R is even if f (−x) = f (x), and odd if f (−x) = −f (x). The graph of an even
function is symmetric about the y-axis and the graph of an odd function is symmetric about the origin.
What it means is that if f is an even function then draw the graph for non-negative values of x and then
2
take its reflection about the y axis. In case of odd functions we first draw the graph for non-negative
values of x, then take reflection about the y-axis and then the reflected curve is again reflected about
the x-axis(it will be in the negative x axis). The following are illustrations for this fact.
The function f (x) = x2 − x4 + 2 is an even function. Just draw the graph f in for x ≥ 0 and then take
its reflection about the y axis (see figure below).
3
−2 −1 1 2
−1
−2
−3
−4
−5
Now consider the function f (x) = x3 − x. This is an odd function. We have drawn the graph first for
x ≥ 0, then reflected about y axis (shown with red colour) and then reflected about x-axis (shown with
blue). The final graph is shown in blue. (Seef figure below).
5
−3 −2 −1 1 2 3
−1
−2
−3
−4
−5
3
We assume that the reader is familiar with the concept of limits and is capable of computing the limits
of elementary functions and can decide when a limit exists or not. Just recall that for a limit to exist at
a point it is necessary that the left and the right hand limits must be equal. The right and the left hand
limits are computed in the following manner.
lim f (x) = lim f (a + h) ( right limit ) lim f (x) = lim f (a − h) ( left limit )
x→a+ h→0 x→a− h→0
h>0 h>0
x2 − 5x + 4
Q UESTION : Evaluate the left and the right limits of f (x) = at 1.
|x − 1|
The following figure is the graph of the greatest integer function f (x) = ⌊x⌋, where x ∈ [−3, 3]. This
is also called the floor of x. Here The greatest integer of x is also denoted by [x].
−4 −3 −2 −1 1 2 3 4
−1
−2
−3
−4
We also define the ceiling of x, denoted by ⌈x⌉ = ⌊x⌋ + 1 if x in not an integer and ⌈x⌉ = ⌊x⌋ if x is
an integer.
Verify that ⌊x⌋ = max{m ∈ Z | m ≤ x} and ⌈x⌉ = min{n ∈ Z | n ≥ x}.
4
2 W EEK 2
We start with formal definition of limit. A function f : A → B is said to tend to a limit ℓ ∈ R when x
approaches to a real number a, written as limx→a f (x) = ℓ if for each ε > 0 there is δ > 0 such that
Note that as |a − b| < r means a ∈ (b − r, b + r). The above definition means that for any ε > 0 there
is δ > 0 such that
f (x) ∈ (ℓ − ε, ℓ + ε) whenever x ∈ (a − δ, a + δ) ∩ A, x ̸= a.
The following examples illustrate how we can choose delta for a given epsilon.
E XAMPLE 2.1. limx→2 x2 + 1 = 5.
Here we have the function f (x) = x2 + 1 and the limit ℓ = 5. Then
Now if we assume that |x − 2| < 1, then |x| = |x − 2 + 2| ≤ |x − 2| + 2 < 3. Putting this back we get
This shows that if we choose x such that |x − 2| < 1 as well as |x − 2| < ε/3, then we definitely have
|f (x) − ℓ| < ε. Hence our required δ = min{1, ε/3} (Why?) For example, if ε = 10−2 , then we can
take δ = 1/300. Note that the choice of δ is not unique even any number from the interval (0, 1/300)
can be chosen as δ for ε = 10−1 .
f
−5 −4 −3 −2 −1 1 2 3 4 5
−1
−2
−3
−4
−5
5
1 1
Q UESTION : Draw the graph of the function f (x) = . What is lim ?
|x| x→0 |x|
1 1
Do the same for functions f (x) = and f (x) = 3 . What do you observe about the limit at zero?
x2 x
The following limit laws hold. We take them without proof.
If ℓ, m, c and k are real numbers and limx→a f (x) = ℓ, limx→a g(x) = m, then
1. limx→a (f (x) + g(x)) = ℓ + m
2. limx→a kf (x) = kℓ
3. limx→a (f (x)g(x)) = ℓm
f (x) ℓ
4. lim = provided m ̸= 0.
x→a g(x) m
p √
5. limx→a n f (x) = n ℓ, where n is positive integer and ℓ ≥ 0 if n is even.
A function f : A → B is said to continuous at a ∈ A if limx→a f (x) = f (a). This means that not
only should the limit exist at a but it must be equal to f (a), the value of the function at a. The function
f is said to be continuous if it is continuous at every point of the domain.
Note that a constant function is clearly a continuous function. If f : R → R and f (x) = x (such a
function is called the identity function) then it is clear that for any a ∈ R
6
2. if g is such that g is nowhere zero on A then f /g is continuous.
x2 − 2 x2 − 9 sin 3x
(i) lim (iii) lim (v) lim
x→0 3x2 − 5x + 1 x→3 |x + 3| x→0 x
x2 + 3 x4 − 1 x2
(ii) lim (iv) lim (vi) lim
x→3 x2 − 3 x→1 x6 − 1 x→0 cos x − 1
3 W EEK 3
The following rule for finding limits is useful. This is called the Sandwich Theorem.
Suppose that g(x) ≤ f (x) ≤ h(x) for all x in some open interval containing a, except possibly at a
itself. If limx→a g(x) = limx→a h(x) = ℓ, then limx→a f (x) = ℓ.
The following important limit is a consequence of Sandwich Theorem.
sin x
lim = 1.
x→0 x
Consider an arc of a unit circle(2) with angle x, 0 < x < π/2, measured in radians.
Q
C
tanx
1
sinx
x
O A B
Area of triangle OBP ≤ Area subtended by the angle x from B to P ≤ Area of the triangle OBQ
7
Here is another application of sandwich theorem. We know that sine function stays in the interval
[−1, 1]. Hence for x ̸= 0
Also observe that limx→a f (x) = f (limx→a x). This means that if f is continuous at a, then we can
interchange the limit and function. This is helpful in calculating the limits of functions. The following
is an illustration of this fact.
√ p √
E XAMPLE 3.1. limx→1 x2 + 1 = limx→1 (x2 + 1) = 2.
√
Show that the function f (x) = x is continuous on R≥0 .
We say that:
limx→a f (x) = ∞ when for K > 0 there δ > 0 such that f (x) > K whenever 0 < |x − a| < δ.
limx→a f (x) = −∞ when for K > 0 there δ > 0 such that f (x) < −K whenever 0 < |x − a| < δ.
limx→∞ f (x) = ℓ when for ε > 0 there L > 0 such that |f (x) − ℓ| < ε whenever x > L.
limx→−∞ f (x) = ℓ when for ε > 0 there L > 0 such that |f (x) − ℓ| < ε whenever x < −L.
We shall use the following limit,
1 x
1/x
lim (1 + x) = e = lim 1 + , e = 2.71828 . . .
x→0 x→∞ x
loga (1 + x)
lim = lim loga (1 + x)1/x = loga lim (1 + x)1/x = loga e.
x→0 x x→0 x→0
ax − 1
E XAMPLE 3.2. Compute lim .
x→0 x
8
Put ax − 1 = u. Then u → 0 when x → 0. This gives x log a = log(u + 1)(3) . Hence
ax − 1 (log a) u u 1
lim = lim = log a lim = log a lim
x→0 x u→0 log(u + 1) u→0 log(u + 1) x→0 log(1 + a)1/a
1 1 log a
= log a = log a = = log a.
limx→0 log(1 + a)1/a log limx→0 (1 + a)1/a log e
(1 + x)a − 1
E XAMPLE 3.3. Compute lim , a > 0.
x→0 x
Let u = (1 + x)a − 1 Then x → 0 implies that u → 0. Also we have a log(1 + x) = log(1 + u).
Hence
(1 + x)a − 1 u u a log(1 + x)
lim = lim = lim
x→0 x x→0 x x→0 log(1 + u) x
u log(1 + x) ae
= lim a lim = =a
u→0 log(1 + u) x→0 x e
Note that
lim f (x) = lim f (1/x).
x→∞ x→0+
1 3
x2 + 3x + 4 x2
+ x +4 1 + 3x + 4x2 1
For example lim = lim 3 = lim = .
x→∞ 3x2 + 1 x→0+
x2
+1 x→0+ 3 + x2 3
3x
x −2
= (1 + u)−6/u−4 , u=
2+x x+2
Since u → 0− when x → ∞, we have
3x −6
x
lim = lim (1 + u)−6/u−4 = lim (1 + u)1/u lim (1 + u)−4 = e−6
x→∞ 2 + x u→0− u→0− u→0−
2x+1 x2
x2 + 5
x+3
Q UESTION : Compute lim ; lim .
x→∞ x−2 x→∞ x2 − 5
(3)
We always assume that the log function is with base e.