Lecture Notes Calculus Spring 2026
Lecture Notes Calculus Spring 2026
Calculus is the mathematics of motion and change, developed in the sixteenth and seventeenth centuries
to solve problems involving rates of change and accumulation. This powerful framework consists of
two branches: differential calculus, which analyzes how quantities change and determines slopes and
velocities, and integral calculus, which calculates areas, volumes, and reconstructs quantities from their
rates of change.
Modern calculus extends far beyond its mechanical origins, providing mathematical foundations for
physics, engineering, biology, economics, and numerous other fields. From predicting planetary motion
to modelling population growth, calculus offers a unified approach to problems involving continuous
change.
At its core, calculus addresses two fundamental geometric questions: how to measure areas of regions
bounded by curves, and how to determine the steepness of tangent lines. These seemingly simple
problems lead to profound insights connecting geometry and analysis.
More than computational techniques, calculus embodies a revolutionary way of thinking about
continuous change that has transformed our understanding of the natural world, revealing underlying
mathematical order in motion, growth, and dynamic phenomena.
3
4
Contents
What is Calculus 3
2 Functions 19
3 Sequence of numbers 27
5 Differentiation 53
5
6
Chapter 1
We know what "Numbers" mean. So first let us note down some of the properties of numbers.
Addition:
This operation is performed on a pair of numbers.
• The sum a + b exists for any two given numbers a and b (which may possibly be same to one of the
numbers).
Properties of addition:
P1: If a, b, c are any numbers then
( a + b) + c = a + (b + c)
→ called Associativity of numbers. This property suggests that we can put brackets anywhere
such that the brackets make sense.
→ existence of Identity.
a+b = b+a = 0
a+x = a
then
(↑ a) + ( a + x ) = (↑ a) + a = 0
↓ ((↑ a) + a) + x = 0
↓ 0+x = 0 ↓ x = 0
7
Note that earlier we have used the subtraction property, which one also can think of as a version of
addition, like:
a ↑ b = a + (↑b)
But as addition is commutative, subtraction is not. i.e. for any two numbers a & b, in general
a ↑ b ↔= b ↑ a
Now just see the following argument. If a ↑ b = b ↑ a
↓ a↑b+b = b↑a+b
↓ a + 0 + a = (b + b) ↑ a + a
↓ ( a + a) = (b + b)
Our knowledge from childhood now will tell us that this means a = b (why?). To do this we need
another notion called "multiplication".
Multiplication:
The product of two numbers a and b will be denoted by a · b (or we will simply write ab), is again a
number.
Properties of multiplication
P5: If a, b and c are numbers then
a · (b · c) = ( a · b) · c
a · a ↑1 = a ↑1 · a = 1
“Division by 0 is undefined”.
a ↑1 · ( a · b ) = a ↑1 · 0 = 0
( a ↑1 a ) · b = 0
1 · b = 0 ↓ b = 0.
So either a = 0 or b = 0. (* "or" always means "one or the other or both").
8
2. It is constantly used in solution of equations. Suppose a number x is known to satisfy
( x ↑ 1)( x ↑ 2) = 0
( x ↑ 1) = 0 or ( x ↑ 2) = 0
Hence x = 1 or x = 2.
Another property of numbers that intertwines addition and multiplication is the following:
(↑ a) · b + ab = ((↑ a) + a) · b = 0 · b = 0
↓ (↑ a · b) = ↑( a · b)
Again:
↓ (↑ a)(↑b) = ab
Q: Using the above distributive property show that b · 0 = 0 for any number b.
There are three more basic properties of numbers: "Order property". In this Calculus course, we probably
will encounter these many times. The two notions of inequality, a < b (a is less than b) and a > b (a is
greater than b) are intimately related.
P10: For every number a, one and only one of the following holds (Trichotomy):
1. a = 0
2. a is positive (a > 0)
3. a is negative (a < 0)
Consequences:
1. If a < b, so that b ↑ a > 0
↓ (b + c) ↑ ( a + c) > 0
↓ b+c > a+c
So for any number c we will have
a+c < b+c
9
2. If a < b and b < c then
b ↑ a > 0, c↑b > 0
↓ (b ↑ a) + (c ↑ b) > 0
↓ c ↑ a > 0 ↓ a < c (Transitive)
c · (b ↑ a) < 0
cb ↑ ca < 0
cb < ca
Notice how the inequality changes as we multiply by a negative number.
Another thing: suppose a > 0 and b > 0 and a < b. As a > 0, then a↑1 has two possibilities (from
trichotomy): either a↑1 < 0 or a↑1 > 0, but not both.
If a↑1 < 0, then a↑1 · a < a↑1 · 0 = 0 ↓ 1 < 0 (contradiction). So a↑1 > 0 is correct.
Since b > 0, so b↑1 > 0. So that if a < b, then
a ↑1 · a · b ↑1 < a ↑1 · b · b ↑1
b ↑1 < a ↑1
1 1
or <
b a
So taking multiplicative inverse also changes the inequality.
Absolute Value
If a > 0 then we know ↑ a < 0 and if a < 0 then we have ↑ a > 0. This is an important concept to define
"Absolute value" of a number. For any number a, we define the absolute value, | a|, of a as follows:
a if a > 0
| a| :=
↑ a if a ↗ 0
• |5| = 5
• | ↑ 3.89| = 3.89
10
↘ ↘
• |↑ 2| = 2
Note that if a > 0 then a2 > 0 and if a < 0 then also a2↘> 0. And square root is only defined for
non-negative
↘ numbers. Because if not: Suppose a < 0 and a is also a number, then we know that if
a ↔= 0 then
↘
( a )2 > 0 ↓ a > 0
↘ ↘
which is a contradiction to our assumption. Hence observe that: a2 = | a|. Therefore the notation
denotes positive square root in general.
Now if a and b are two numbers then
Since absolute value of a number is always positive if the number is non-zero, for any number x we have
x ↗ | x |. Then
2. x2 ↑ 2x + 2 > 0
↓ ( x ↑ 1)2 + 1 > 0
Since for any number x, the number ( x ↑ 1)2 ≃ 0. Therefore for all number x, ( x ↑ 1)2 + 1 > 0.
3. x2 ↑ 4x + 3 > 0
↓ ( x ↑ 3)( x ↑ 1) > 0
Here we have product of two numbers is greater than 0. Recall the fact about this mentioned
earlier.
Possibility 1.
( x ↑ 1) > 0 and ( x ↑ 3) > 0
↓ x > 1 and x > 3
So from here we have x > 3.
Possibility 2.
( x ↑ 1) < 0 and ( x ↑ 3) < 0
↓ x < 1 and x < 3
So from here we have x < 1.
11
1 1
4. x + 1↑ x > 0 The above inequality tells that x ↔= 0 and x ↔= 1 (why?).
1 1 1 1 1
>↑ = (Wait, ↑ = )
x 1↑x x↑1 1↑x x↑1
1 1
>
x x↑1
Now if x ↑ 1 > 0 ↓ x > 1
( x ↑ 1)
↓ > 1 ↓ ( x ↑ 1) > x
x
↓ ↑1 > 0
which is a contradiction. So ( x ↑ 1) > 0 is not possible.
Only possibility: Now assume ( x ↑ 1) < 0 ↓ x < 1.
x↑1
↓ <1 [since ( x ↑ 1) < 0]
x
Now further assume x > 0.
↓ x ↑ 1 < x ↓ ↑1 < 0
This inequality is correct. So the possibility is 0 < x < 1. (Note: If we assume x < 0, then
multiplying by x reverses inequality again: x ↑ 1 > x ↓ ↑1 > 0, contradiction).
5. What is the meaning of | x | < a? Where a is a number, a > 0. In other words, for which x the above
inequality is true?
Recall the definition of absolute value: Suppose x > 0 then | x | = x. Then the inequality suggests
x < a.
Suppose now x < 0, then | x | = ↑ x. Then the inequality gives ↑ x < a.
The deficiencies of the natural numbers may be partially remedied by extending this system to the set of
integers:
. . . , ↑3, ↑2, ↑1, 0, 1, 2, 3, . . .
This set is denoted by Z. But here we do not have multiplicative inverse of non-zero numbers!
m
A still larger system of numbers is obtained by quotients of integers with n ↔= 0. These numbers are
n
called rational numbers and the set of all rational numbers is denoted by Q.
12
Q satisfies all the properties P1-P12 that are mentioned above.
However, a still larger collection of numbers to which properties P1-P12 apply is called the set of all
real numbers, denoted by R. The numbers which are real numbers but not rational are called irrational
numbers. The next question is whether there is any irrational number at all? For the time, let us assume
square root of non-negative numbers exists (even though this statement needs a proof).
↘ ↘ p
Therefore 2 is a number. Suppose it is rational, then 2 = where q ⇐ Z and q ↔= 0. Further we can
q
assume gcd( p, q) = 1. Then
↘ ( )2
p
( 2)2 =
q
↓ 2q2 = p2
This shows that p2 is even ↓ p is even. Then there must exist k ⇐ Z such that
p = 2k ↓ 2q2 = (2k )2
↓ 2q2 = 4k2
↓ q2 = 2k2
↘
Which implies q2 is even ↓ q is even too. Contradicting gcd( p, q) = 1. Hence
↘ 2 is not rational
↓ 2 is irrational
... ...
↑3 ↑2 ↑1 0 1 2 3
• With this arrangement, if a < b, then the point corresponding to a will lie to the left of the point
corresponding to b.
p
• Similarly if > 0, then we will first sub-divide the sub-line from 0 to 1 into q many equal pieces
q
p
and we will go to the right of 0, to p times the new distance to obtain the point . Similarly to the
q
p
left for ↑ .
q
• It is usually taken for granted that irrational numbers also somehow fit into this scheme.
"Thus a number is sometimes called a point and R is often called real line".
... ... R
13
Intervals
The order relation on the set of real numbers determines a natural collection of subsets called intervals.
Notations
If a < b, then the open interval from a to b is the set
( a, b) = { x ⇐ R | a < x < b}
[ a, b] = { x ⇐ R | a ↗ x ↗ b}
Infinite Intervals
( a, ∞) = { x ⇐ R | x > a}
[ a, ∞) = { x ⇐ R | x ≃ a}
(↑∞, b) = { x ⇐ R | x < b}
(↑∞, b] = { x ⇐ R | x ↗ b}
(↑∞, ∞) = R
( a, b) [ a, b]
a b a b
[ a, b) ( a, ∞)
a b a
Solving Inequalities
Eg 1: Solve for x: 2x ↑ x2 < ↑8.
Solution:
2x ↑ x2 + 8 < 0
Multiply by (↑1) (inequality sign reverses):
x2 ↑ 2x ↑ 8 > 0
( x ↑ 4)( x + 2) > 0
Critical points: x = 4 and x = ↑2. These points divide the real line into three intervals: (↑∞, ↑2),
(↑2, 4), and (4, ∞).
Sign Chart:
Values of ( x ↑ 4)( x + 2)
+ ↑ +
↑2 4
14
Test points:
– x = ↑3: (↑3 ↑ 4)(↑3 + 2) = (↑7)(↑1) = 7 > 0
– x = 0: (0 ↑ 4)(0 + 2) = (↑4)(2) = ↑8 < 0
– x = 5: (5 ↑ 4)(5 + 2) = (1)(7) = 7 > 0
Since we need ( x ↑ 4)( x + 2) > 0, the solution is:
x ⇐ (↑∞, ↑2) ⇒ (4, ∞)
2x ↑ 3 1
Eg 2: Solve < .
x+2 3
Solution:
2x ↑ 3 1
↑ <0
x+2 3
3(2x ↑ 3) ↑ 1( x + 2)
<0
3( x + 2)
6x ↑ 9 ↑ x ↑ 2
<0
3( x + 2)
5x ↑ 11
<0
3( x + 2)
+ ↑ +
↑2 11
5
Test x = ↑3: Test x = 0: Test x = 3:
↑ =+ ↑ =↑ + =+
(↑) (+) (+)
2 2
3 5 7
Eg 4: Solve |3x + 2| ≃ 4.
Using property 2:
3x + 2 ≃ 4 or 3x + 2 ↗ ↑4
Solving first part:
2
3x ≃ 2 ↓ x ≃
3
Solving second part:
3x ↗ ↑6 ↓ x ↗ ↑2
Solution set: (↑∞, ↑2] ⇒ [ 23 , ∞).
15
Eg 5: Solve | x + 1| < | x ↑ 4|.
Since both sides are non-negative, we can square both sides:
x2 + 2x + 1 < x2 ↑ 8x + 16
Subtract x2 from both sides:
2x + 1 < ↑8x + 16
10x < 15
15
x<
10
3
x<
2
Solution: (↑∞, 1.5).
1. s is an upper bound of A
2. for any ε > 0, the real number s ↑ ε is not an upper bound of A, i.e. there exists one a ⇐ A such that
s ↑ ε < a ↗ s.
1. l is a lower bound of A
2. for any ε > 0, the real number l + ε is not an upper bound of A, i.e. there exists one a ⇐ A such that
l ↗ a < l + ε.
16
Completeness of R
"The result that separates Q from R".
• (Version 1) Any non-empty bounded above subset of R has a least upper bound.
Statement: • (Version 2) Any non-empty bounded below subset of R has a greatest lower
bound.
Proof. Suppose not. Then N is a non-empty bounded above subset of R. So sup(N ) exists and for each
n ⇐ N, n ↗ sup(N ). Therefore [sup(N ) ↑ 1] is not an upper bound of N. ↓ ⇓ N ⇐ N such that
Therefore inside the set N, the symbol n → ∞ makes sense. As a result R itself is also unbounded.
1
Now suppose x ⇐ R is a positive real number (it may be very small or very large). Then x is also a
positive real number. Since N is unbounded, so ⇓ Nx ⇐ N such that
1 1
(as N is unbounded) Nx > ↓0< <x
x Nx
Greatest Integer: Given a real number x, there is a unique integer m ⇐ Z such that
m ↗ x < m+1
Theorem 1.0.3. (Density of Rational numbers) Suppose x, y ⇐ R and x < y. Then ⇓ q ⇐ Q such that
x < q < y.
1
< y↑x
N
↓ 1 < Ny ↑ Nx
17
Take M := [ Nx ] + 1. Then
M ↑ 1 = [ Nx ] ↗ Nx ↓ M ↑ 1 ↗ Nx < M
↓ M ↗ Nx + 1 < Nx + ( Ny ↑ Nx ) = Ny
↓ Nx < M < Ny
M
x< < y.
N
↘ ↘
Now if x < y are two real numbers, then 2x < 2y. So from density of rationals, ⇓ q ⇐ Q such that
↘ ↘
2x < q < 2y
q
x< ↘ <y
2
q
Try to show that ↘ is an irrational number. And hence the following is also true:
2
There always exists an irrational number between two real numbers. Called density of irrational
numbers.
18
Chapter 2
Functions
Forget abstract symbols for a moment. Let’s talk something concrete: how things are made. In our lives,
we see processes everywhere—a baker transforms flour into bread, a sawmill turns logs into lumber,
a printer converts digital files into printed posters. Each of these is a reliable, predictable system. You
don’t put flour into an oven and hope for a bicycle; you expect bread. This idea of a predictable process
is the very heart of a function.
In calculus, we think of a function not as a cryptic equation, but as a specialized factory. For a practical
example:
• The factory name: Every factory needs an identifier. This is our function’s name, almost always a
letter like f .
• The Raw Material: This is what gets fed into the factory on the input conveyor belt. In mathematics,
we almost always call this raw material an "x".
• The Blueprint: This is the core of the operation. The expression " f ( x ) = . . . " is not the machine
itself; it is the engineer’s blueprint or the factory’s instruction manual. It describes exactly what
transformations will happen to the raw material inside the factory.
• The finished product: This is what emerges from the other end of the factory. We denote this final
product as f ( x ) (read: f of x).
Eg: If f is a pottery studio. Its blueprint " f (clay) = [shape on a wheel, fire, Glaze]". If you feed f a
lump of clay ’x’, then ’ f ( x )’ is a finished, glazed pot.
Mathematically:
A function on numbers is a rule which assigns, to each of certain real numbers, some real number. As
discussed earlier to define a function one needs two "sets" (collection of objects). In our case, most of the
time the sets consist of numbers.
Definition 2.0.1. A function f is a rule that assigns to each element x in a set A exactly one element, called
f ( x ), in a set B. We write f : A → B
Domain: A Codomain: B
x f (x)
Range
19
The set A is called the Domain of f , on which the function is defined. The set B is called the Codomain
or Target Set. The Range of f is the set of all possible values of f ( x ) as x varies throughout the domain:
Range = { f ( x ) | x ⇐ A}.
Terminology:
• x is the independent variable.
• y = f ( x ) is the dependent variable.
(2.9)3 + 3(2.9) + 5
f (2.9) =
(2.9)2 + 1
Earlier we mentioned that 0a doesn’t make any sense. Notice x2 + 1 > 0 for any x ⇐ R. So this f is defined
on all x ⇐ R. Hence Dom( f ) = R.
3. Now suppose f has an expression like:
x3 + 3x + 5
f (x) =
x2 ↑ 1
Now here if x = 1 or x = ↑1, then f ( x ) is undefined. Therefore Dom( f ) = R \ {1, ↑1}.
4. Polynomial function: A function f : R → R is a polynomial function if there are real numbers
a0 , a1 , . . . , an such that:
f ( x ) = a n x n + a n ↑1 x n ↑1 + · · · + a 2 x 2 + a1 x + a 0
for all x ⇐ R. The ai ’s are called coefficients of the polynomial. The highest power of x with a non-zero
coefficient is called the degree of f .
Like if f ( x ) = x3 + 3x + 5, then degree( f ) = 3.
5. Constant function: Let c be a real number. f : R → R defined by f ( x ) = c. Dom( f ) = R,
Codomain( f ) = R, Range( f ) = {c}.
6. Identity function: Suppose A is a set. f : A → A defined by f ( x ) = x is called the Identity function. This
is represented by Id A or I.
1. We can define a new function f + g, called the sum of f and g, by the equation:
( f + g)( x ) = f ( x ) + g( x )
Note that the domain of f + g consists of all x for which " f ( x ) + g( x )" makes sense. i.e., x has to be
in Dom( f ) as well as Dom( g).
Dom( f + g) = Dom( f ) ⇔ Dom( g)
20
Composition of two functions
Definition 2.0.3. Suppose f : A → R and g : B → R are two functions. We define a new function ( f ↖ g),
called the composition of f and g, by:
( f ↖ g)( x ) = f ( g( x ))
Here we have applied f on g( x ). In order to make sense, g( x ) has to be in Dom( f ) i.e. same as
Range( g) ⇑ Dom( f ).
Therefore:
Dom( f ↖ g) = { x : x ⇐ Dom( g) and g( x ) ⇐ Dom( f )}
f ↖g
g g( x ) f
x f ( g( x ))
A B C
1
Example: f ( x ) = , then Dom( f ) = R \ {1}. g( x ) = x2 , Dom( g) = R. Now the expression of
x↑1
( f ↖ g) is:
1 1
( f ↖ g)( x ) = f ( g( x )) = = 2
g( x ) ↑ 1 x ↑1
f ↖ g : R \ {1, ↑1} → R
Then g ↖ f : R \ {1} → R.
2x
f (x) =
x↑1
21
Suppose x1 , x2 ⇐ A and assume f ( x1 ) = f ( x2 ). We will show that f is injective:
2x1 2x2
= ↓ x1 ( x2 ↑ 1) = x2 ( x1 ↑ 1)
x1 ↑ 1 x2 ↑ 1
↓ x1 x2 ↑ x1 = x2 x1 ↑ x2
↓ ↑ x1 = ↑ x2 ↓ x1 = x2
Therefore f is injective.
2x
To determine the range of f , we need to solve the equation y = x ↑1 for x in terms of y.
y( x ↑ 1) = 2x ↓ xy ↑ y = 2x ↓ x (y ↑ 2) = y
y
x=
y↑2
This makes sense only if y ↔= 2. Thus Range( f ) = {y ⇐ R : y ↔= 2}. Thus f : Dom( f ) → Range( f ) is a
bijection.
Inverse of a function
Suppose f : A → B is a bijection. This tells that for each x ⇐ A, the element f ( x ) ⇐ B is unique. Further
the one-one & onto-ness of f implies that for each y ⇐ B there is exactly one x ⇐ A with f ( x ) = y.
f (Bijective)
x1 y1
x2 y3
x3 y2
Domain A Codomain B
Therefore the direction of the arrows can be reversed in a unique way from B to A, giving a function
from B to A. This function is called the inverse of f and is denoted by f ↑1 : B → A.
Dom( f ↑1 ) = Range( f )
Range( f ↑1 ) = Dom( f )
How to check? Suppose f : A → B is a bijection and we claim that g : B → A is the inverse of f . The
claim will only be correct if we show that:
f ↖ g = IdB and g ↖ f = Id A
2x y
Example: f : R \ {1} → R \ {2}, f ( x ) = x ↑1 . g : R \ {2} → R \ {1}, g ( y ) = y ↑2 .
2x
f (x) x ↑1 2x 2x
( g ↖ f )( x ) = g( f ( x )) = = 2x
= = = x = IdR\{1} ( x )
f (x) ↑ 2 x ↑1 ↑ 2
2x ↑ 2( x ↑ 1) 2
y
2g(y) 2 y ↑2 2y 2y
( f ↖ g)(y) = f ( g(y)) = = y = = = y = IdR\{2} (y)
g(y) ↑ 1 y ↑2 ↑1 y ↑ ( y ↑ 2) 2
y
Hence f ↑1 (y) = y ↑2 .
22
Graph of a function
Suppose A ↙ R and f : A → R is a real function. Then this function may be illustrated geometrically by
a graph in the xy-plane. We plot the domain A on the x-axis and above each point x ⇐ A, we plot the
point ( x, y), where y = f ( x ). The totality of such ( x, y) is called the graph of the function f .
Examples:
1. 2.
f :R→R f :R→R
f (x) = x f (x) = |x|
f (x) f (x)
4 4
f (x) = x f (x) = |x|
2 2
x x
↑4 ↑2 2 4 ↑4 ↑2 2 4
↑2 ↑2
↑4 ↑4
Monotone functions
Suppose f : A → R is a function, A is a subset of R.
Example: f ( x ) = x2 .
23
Odd Function f (x)
4
f ( x ) = x3
f : R → R is called odd function if for all x ⇐ R
we have 2
f ( x ) = ↑ f (↑ x ) or f (↑ x ) = ↑ f ( x ) x
↑4 ↑2 2 4
By the same logic if we know the graph of f for
all x ≃ 0, then reflecting it w.r.t origin (0, 0) will ↑2
give us the full picture. i.e. first reflect w.r.t y-axis,
then reflect the new graph w.r.t x-axis.
↑4
Example: f ( x ) = x3 .
• If g : R → R is given by
g( x ) = f ( x + c) (c positive).
f
Then a little computation shows: g( x ↑ c) = f ( x ). g h
Since c is positive, ( x ↑ c) will lie left to x on the
x-axis; and at the point ( x ↑ c) the value under
g will be f ( x ). This means we have to shift the
graph of f to the left by "c"-amount, to obtain the
graph of g.
Similarly, h( x ) = f ( x ↑ c) shifts the graph to the
right.
Now (y, x ) can be obtained by reflecting ( x, y) w.r.t the straight line y = x. Therefore the graph of f ↑1
can be obtained by reflecting the graph of f w.r.t y = x line.
24
f y=x
f ↑1
25
26
Chapter 3
Sequence of numbers
Let us start with a simple question: Can we write down a list of numbers that follows a specific pattern?
Like:
a) 1, 2, 3, 4, 5, . . . (natural numbers)
b) 2, 4, 6, 8, . . . (even natural numbers)
c) 1, 12 , 13 , 14 , . . . (reciprocals of natural numbers)
The above lists are examples of sequences. Informally it is an infinitely long list of real numbers.
Definition 3.0.1. A sequence is a function f : N → R. So the range of the function can be written as
{ f (1), f (2), f (3), . . . } or { f (n) : n ⇐ N }.
Generally we denote a sequence by ( xn ) or ( xn )n⇐N where x1 is the first term, x2 is the second, . . . , xn is
the n-th term (or general term). So here our main objective is to investigate what happens to a sequence
when we consider larger and larger "inputs" i.e. natural numbers.
Q: What is the meaning of n → ∞?: The symbol ’∞’ is not at all a real number. It is a sense which says
that we can take larger and larger natural numbers.
Suppose ( xn ) is a sequence of real numbers.
• if there exists a real number l ⇐ R such that for all " > 0, there exists a natural number N (")
(depending on ") such that
| xn ↑ l | < " for all n ≃ N (").
In this case we write: lim xn = l.
n→∞
27
2n2 + 1
Example 3.0.5. Suppose: xn = for all n ⇐ N. Then
3n2 + 1
1
2+ n2
xn = 1
3+ n2
2 1 1
| xn ↑ | < ↗ <"
3 n N
2n2 + 1 2
↓ lim xn = lim = . (done)
n→∞ n→∞ 3n2 + 1 3
Proof. To prove this we will use elementary properties of natural logarithm function. If " > 0 is given,
we see that
bn < "
if and only if
n · ln(b) < ln(")
Since 0 < b < 1, ln(b) < 0. Thus
ln(")
n>
ln(b)
Thus if we choose N to be a natural number such that
ln(")
N>
ln(b)
Result 3.0.7. If c > 0, then {c1/n } is a convergent seq and lim c1/n = 1.
n→∞
28
Proof. Suppose C = 1. Then it is a constant seq of 1, therefore limn→∞ c1/n = 1.
Suppose C > 1: Then we know from law of trichotomy that c1/n > 1 ↓ c1/n = 1 + dn where dn > 0.
↓ C = (1 + dn )n ≃ 1 + ndn for n ⇐ N.
C↑1
↓ dn ↗ for n ⇐ N
n
C↑1
↓ |c1/n ↑ 1| = dn ↗ for n ⇐ N
n
1 "
Now Archimedean property imply that ⇓ N ⇐ N such that N < C ↑1 .
1
Now suppose 0 < C < 1: Then c1/n = 1+ h n for hn > 0.
1 1 1
C= ↗ <
(1 + h n ) n 1 + nhn nhn
1
0 < hn < for n ⇐ N.
nC
Therefore: * *
1/n
* 1 ** hn
|1 ↑ c *
| = *1 ↑ = < hn
1 + hn * 1 + hn
1
|1 ↑ c1/n | < hn <
nC
1
Then again Archimedean property: ⇓ N ⇐ N such that < "C.
N
↓ lim c1/n = 1
Proof. Since n1/n > 1 for n > 1, we can write n1/n = 1 + k n for some k n > 0 when n > 1. Then for n > 1
we have:
n ( n ↑ 1) 2 n ( n ↑ 1) 2
n = (1 + k n )n = 1 + nk n + kn + · · · ≃ 1 + kn
2 2
n ( n ↑ 1) 2
↓ n↑1 ≃ kn
2
29
Now suppose ( xn ) is a convergent sequence such that limn→∞ xn = l ⇐ R. Let " := 1, then
⇓ N ⇐ N such that ′n ≃ N we will have
l ↑ 1 < xn < l + 1
n2 + 1
Example 3.0.9. xn = . Then after rewriting we have:
n+2
5
x n = ( n ↑ 2) +
n+2
Then using Archimedean property we can conclude that the second summand can be made arbitrarily small. But
the first term is not bounded above for all n ⇐ N. Hence xn is not bounded above. ↓ ( xn ) is not convergent
sequence.
3. lim (c · xn ) = c · ( lim xn )
n→∞ n→∞
xn limn→∞ xn
4. lim = (provided lim yn ↔= 0)
n→∞ yn limn→∞ yn
( ) + 1
, ( )
2n2 + 1 2+ n2 1
Example 3.0.10. lim = lim . Using first law above we have lim 2+ 2 = 2 and
n→∞ 3n2 + 1
n→∞ 3 + 1 n→∞ n
( ) n2
1
lim 3 + 2 = 3 and therefore we can apply the fourth law here at this stage to conclude:
n→∞ n
( )
2n2 + 1 2
lim = .
n→∞ 3n2 + 1 3
( ) ( )
12 + 22 + · · · + n2 n(n + 1)(2n + 1) 2 1
Example 3.0.11. lim = lim = = .
n→∞ n3 + 1 n→∞ 6( n3 + 1) 6 3
Proof. Say lim xn = x. If x < 0, then from the definition we know that for any " > 0, ⇓ N ⇐ N such that
for all n ≃ N we have
x ↑ " < xn < x + "
30
Since " is arbitrary, choose " = ↑ x > 0. Then for this particular " we have:
x ↑ (↑ x ) < xn < x + (↑ x ) ′n ≃ N
↓ 2x < xn < 0 ′n ≃ N
This contradicts that xn ≃ 0 ′n ⇐ N. Hence x ≃ 0.
Corollary 3.0.13. If ( xn ) and (yn ) are two convergent sequences and xn ↗ yn ′n ⇐ N, then limn→∞ xn ↗
limn→∞ yn .
Theorem 3.0.14. Sandwich Theorem / Squeeze Theorem: Suppose ( xn ), (yn ), (zn ) are three sequences of
real numbers such that
xn ↗ yn ↗ zn for all n ⇐ N
and we know limn→∞ xn = limn→∞ zn = l ⇐ R. Then (yn ) is convergent and
lim yn = l.
n→∞
- .
sin(n)
Example 3.0.15. Consider the sequence yn = n . Since we know that the trigonometric sine function
satisfies the inequality ↑1 ↗ sin (n) ↗ 1, therefore:
( )
1 sin(n) 1
↑ ↗ ↗
n n n
1 1
holds. Taking xn = ↑ and zn = in the above squeeze theorem we can say that
n n
( )
sin(n)
lim = 0.
n→∞ n
Monotone Sequences
Suppose ( xn ) is a sequence.
• If x1 ↗ x2 ↗ x3 ↗ · · · ↗ xn ↗ xn+1 ↗ . . . , then we say ( xn ) is an increasing sequence.
• If x1 ≃ x2 ≃ x3 ≃ · · · ≃ xn ≃ xn+1 ≃ . . . , then we say ( xn ) is a decreasing sequence.
If ( xn ) is either increasing or decreasing then ( xn ) is called a monotone sequence.
Theorem 3.0.16. A monotone sequence of real numbers is convergent if and only if it is bounded. Further:
1. If ( xn ) is a bounded increasing sequence then limn→∞ xn = sup{ xn : n ⇐ N }.
Proof. Earlier we have proved that any convergent sequence is bounded. Hence done.
Conversely (Monotone bounded sequence ↓ convergent):
• Suppose ( xn ) is monotonically increasing and bounded sequence. Therefore ⇓ M ⇐ R such that
xn ↗ M ′n ⇐ N. Consider the set A := { xn : n ⇐ N } ⇑ R. Then A is non-empty and bounded
above subset of R, so that sup( A) exists, and sup( A) = x ⇐ R.
If " > 0, then x ↑ " is not an upper bound of A, so ⇓ N ⇐ N such that
x ↑ " < xN ↗ x
Now for all n ≃ N we have:
x ↑ " < x N ↗ xn ↗ x < x + "
↓ | xn ↑ x | < " ′n ≃ N
So ( xn ) is a convergent sequence and limn→∞ xn = x = sup( A).
31
• Suppose ( xn ) is monotonically decreasing and bounded below sequence. So ⇓m ⇐ R such that
m ↗ xn ′n ⇐ N. Consider the set A := { xn : n ⇐ N }. Therefore A is non-empty, bounded below
subset of R, so inf( A) exists and inf( A) = y (say).
If " > 0, then from definition of infimum y + " is not a lower bound. ⇓ N ⇐ N such that y ↗ x N <
y + ". Then from property of decreasing sequence:
↓ | xn ↑ y| < " ′n ≃ N
So ( xn ) is a convergent sequence and limn→∞ xn = y = inf( A).
Similarly,
( ) ( )( )
1 1 1 1 2
e n +1 = 1 + 1 + 1↑ + 1↑ 1↑
2! n+1 3! n+1 n+1
( ) ( )
1 1 n↑1
+···+ 1↑ ... 1↑
n! n+1 n+1
( ) ( )
1 1 n
+ 1↑ ... 1↑
( n + 1) ! n+1 n+1
The above expression of en contains (n + 1) terms and en+1 contains (n + 2) terms. Notice that for
any k: ( ) ( )
k k
1↑ < 1↑
n n+1
Therefore, comparing term by term, the above inequalities imply that
e n < e n +1 ′n ⇐ N
Further: for each n ⇐ N, there is (1 + 1) = 2 in the expression of en along with some positive terms.
↓ 2 < e n < e n +1 ′n ⇐ N
1 1
↗ m ↑1 for all m ⇐ N . . . (ii )
m! 2
32
Now we will substitute inequalities (i) & (ii) into the expression of en above:
1 1 1
2 < en < 1 + 1 + + 2 + · · · + n ↑1 < 3
2 2 2
So (en ) is a sequence which is: 1. Monotonically increasing and 2. 2 < en < 3 ′n ⇐ N.
Hence the sequence is convergent and we write
( )n
1
lim 1+ =e
n→∞ n
0 ∞
, , 0 ∞ ∞, ∞ ↑ ∞, 1∞ , 0∞ , ∞0 .
0 ∞
Whenever we encounter a situation like this, then there is no general result or theorem. We need to deal
each of them case by case. Why we are saying this is: Suppose ( xn ) and (yn ) are two sequences and we
- .limn→∞ yn
expect that lim ( xn )yn = lim xn is going to be true then here are some counter-examples:
n→∞ n→∞
( )1 1
1 n 3. lim (n) n = 1
1. lim =1 n→∞
n→∞ n
( )2
1 n 1 1
2. lim = 4. lim (2n ) n = 2
n→∞ 2n 4 n→∞
Result 3.0.17. If ( xn ) and (yn ) are two sequences converging to x and y respectively and x ↔= 0 ↔= y then
yn y
lim ( xn ) = (x) .
n→∞
Similar for the case 1∞ : think with the sequences (1n ) and en defined above.
Divergent Sequence
Earlier we have mentioned that if a sequence ( xn ) is not convergent, then we call it divergent. There are
primarily two versions of divergence. Let’s see two examples:
If we apply the definition of convergence of a sequence to both of the sequences then we will see that
there is no real number l or l ∈ such that limn→∞ xn = l and limn→∞ yn = l ∈ . There is a fundamental
difference in the behavior of these two sequences.
• ( xn ) is unbounded.
• (yn ) is bounded.
Definition 3.0.18. We say ( xn ) is diverging to ∞ (or ↑∞) and write limn→∞ xn = ∞ (or ↑∞) if the
following is true:
• For any M ⇐ R, there exists N ⇐ N such that xn > M (or xn < M) for all n ≃ N.
33
2 ↘
Example 3.0.19. n, n2 , nn++11 , n etc.
Oscillatory Sequence: A sequence ( xn ), which does not converge to any real number, neither it diverges
to ∞, nor diverges to ↑∞, is called oscillatory sequence or diverge by oscillation.
n if n is even
Example 3.0.20. (↑1)n , xn = etc.
1
n if n is odd
(b + c)2 = b2 + c(2b + c)
We can choose small enough c such that b2 + c(2b + c) < a. ↓ (b + c) ⇐ A and b + c > b (contradiction
to b being supremum).
Suppose b2 > a: Let c = (b ↑ "). We can show there exists c < b such that c2 > a. ↓ c2 > x2 for each
x ⇐ A ↓ c > x for each x ⇐ A. So c is an upper bound of A smaller than b (contradiction).
↘
↓ b2 = a, therefore b = a exists as a real number.
34
Flow chart of main definitions
Suppose ( xn ) is a se-
quence of real numbers
• ( xn ) is not convergent
• neither lim xn = +∞
n→∞
• nor lim xn = ↑∞
n→∞
↓ ( xn ) is oscillatory divergent
35
36
Chapter 4
Limit of functions
If you remember, one of our goal is to draw graphs of a given function, whose domain may be R or may
be an interval in R or may be a subset in R. For a function like f : R → R given by f ( x ) = x2 we can
calculate f (1) = 1, f (2) = 4, f (3.5) = 12.25 and no on and then we can plot ( x, f ( x )) on the xy- plane.
But doing it for all the points in R in not practically possible. But situation will be slightly better if we
know what is happening in between two consecutive plotings. Consider a function, whose expression is
x2 ↑ 4
f (x) =
x↑2
We know the domain of this function in whole R except 2; as the expression f (2) is not valid. If we
are to draw the graph of this f , this means there in a “hole” at x = 2. Our goal is to understand the
behaviour of the function f near this hole. Even though we cannot evaluate f (2), we want to ask:
• What value does f ( x ) get closer and closer to as x gets closer and closer to 2?
Definition 4.0.1. A real number c is called a limit point of the set D if there exist a sequence of real numbers
( xn ) such that:
1. xn ⇐ D for all n ⇐ N
2. xn ↔= c for all n ⇐ N
3. lim xn = c
n→∞
Why is this notion of limit point of D important to understand the expression lim f ( x ). Earlier we
x →c
2
have looked at the example f ( x ) = xx↑+24 . That function is not defined at 2. But if we wish to know what
is happening to f ( x ) as x gets closer and closer to 2. In order to make this thing possible we need the
notion of limit point.
Suppose f : D → R and ’c’ in a limit point of D. To study limit of f at ’c’, it in not necessary that f in
defined at ’c’ or c ⇐ Dom( f ).
Definition 4.0.2. We say that a real number l in is said to be a limit of f at c (or f ( x ) approaches l as x
37
approaches c) if for every sequence ( xn ) in D with xn ↔= c for all n ⇐ N and lim xn = c we have
n→∞
lim f ( xn ) = l.
n→∞
2
Let f : R ↑ {2} → R defined by f ( x ) = xx↑↑24 . Here f is not defined at 2. Dom( f ) = R ↑ {2}. Define
1
xn = 2 ↑ for n ⇐ N, then xn ⇐ Dom( f ) and xn ↔= 2 for all n ⇐ N. We know lim xn = 2 so 2 is a limit
n n→∞
point of Dom( f ). So talking about lim f ( x ) makes sense.
x →2
Let ( xn ) be any convergent seq such that lim xn = 2 and xn ↔= 2 for all n ⇐ N. And now let us
n→∞
examine the seq ( f ( xn )).
xn2 ↑ 4 ( xn + 2)( xn ↑ 2)
lim f ( xn ) = lim = lim
n→∞ n→∞ xn ↑ 2 n→∞ ( x n ↑ 2)
Since xn ↔= 2 for all n ⇐ N, so the factor xn ↑ 2 ↔= 0 for all n ⇐ N; therefore
Hence lim f ( x ) = 4.
x →2
Example 4.0.3. We now want to check whether lim f ( x ) exists, for the following function:
x →0
1 if x ≃ 0
f (x) =
↑1 if x < 0
Consider two sequences ( xn = n1 ) and (yn = ↑ n1 ). Then we know: lim xn = 0 = lim yn . Further notice that
n→∞ n→∞
yn < 0 < xn for all n ⇐ N. Therefore
Note 4.0.4. Let f : D → R and c in a limit point of D. If two sequences ( xn ), (yn ) with xn , yn ⇐ D and
xn ↔= c ↔= yn for all n ⇐ N and lim xn = c = lim yn such that
38
Then lim f ( x ) does not exist.
x →c
Notice that to check whether lim f ( x ) exists or not; the definition tells that we need to check
x →c
lim f ( xn ), for every seq ( xn ) with lim xn = c. Now to deal with every seq is practically very im-
n→∞ n→∞
possible work. The above note gives us a tool to bypass that. The tool is called one-sided limit. Let
f : D → R and c in a limit point of D.
Definition 4.0.5 (Left-hand limit). If there exists l ⇐ R such that for every seq ( xn ) with xn ⇐ D we have
xn < c and lim xn = c implies lim f ( xn ) = l. Then we say lim f ( x ) exists, and called left hand limit of
n→∞ n→∞ x →c↑
f at c and we write
lim f ( x ) = l.
x →c↑
Definition 4.0.6 (Right-hand limit). If there exists l ⇐ R such that for every seq ( xn ) with xn ⇐ D we
have xn > c and lim xn = c implies lim f ( xn ) = l. Then we say lim f ( x ) exists, and called right hand
n→∞ n→∞ x →c+
limit of f at c and we write
lim f ( x ) = l.
x →c+
Theorem 4.0.7 (One of the tool to calculate limit). lim f ( x ) = l if and only if
x →c
lim f ( x ) = l = lim f ( x ).
x →c↑ x →c+
1. limx→c ( f ± g)( x ) = l ± m
2. limx→c ( f · g)( x ) = l · m
- .
f
3. limx→c g ( x ) = ml provided g( x ) ↔= 0 near c and m ↔= 0.
2. f : R → R given by f ( x ) = x for all x ⇐ R. Then for any seq ( xn ) with xn ↔= c for all n and
limn→∞ xn = c we have limn→∞ f ( xn ) = limn→∞ xn = c ↓ lim f ( x ) = c.
x →c
39
4. Suppose f : R → R is a function whose expression is f ( x ) := ak x k + ak↑1 x k↑1 + · · · + a1 x + a0 . Where
each ai ⇐ R for i = 1, 2, . . . , k and ak ↔= 0. Any function with this type of expression is called a polynomial
and deg( f ) := k is called its degree.
Now let, c ⇐ R and ( xn ) be an arbitrary seq of real numbers such that xn ↔= c for all n ⇐ N and
lim xn = c.
n→∞
5. Suppose P : R → R and Q : R → R are two polynomials such that Q( x ) ↔= 0 for all x ⇐ R. (Here the
P( x )
condition on Q is much stronger but think of weaker conditions). Define f : R → R by f ( x ) = Q( x) . Then
for any c ⇐ R we have:
lim P( x )
lim f ( x ) = x→c
x →c lim Q( x )
x →c
P(c)
= [from previous result]
Q(c)
↓ lim f ( x ) = f (c).
x →c
6. f : R → R defined by
- .
sin 1
x if x ↔= 0
f (x) =
0 if x = 0
Q: Does lim f ( x ) exist?
x →0
1 2
Consider two seq xn = nε and yn = (4n+1)ε
. Then from definition and Archimedean property it is clear
that: lim xn = 0 = lim yn . But:
n→∞ n→∞
And: ( )
(4n + 1)ε
lim f (yn ) = lim sin = lim 1 = 1.
n→∞ n→∞ 2 n→∞
Squeeze Theorem
40
Proof. Let ( xn ) be an arbitrary seq of real numbers such that xn ↔= c for all n and lim xn = c. Since we
n→∞
know that lim f ( x ), lim h( x ) exist and are equal: Therefore
x →c x →c
lim f ( xn ) = lim h( xn )
n→∞ n→∞
For this sequence ( xn ) we also have the inequality f ( xn ) ↗ g( xn ) ↗ h( xn ) for each n ⇐ N. Hence using
squeeze theorem of sequences we can say lim g( xn ) exists and
n→∞
Since ( xn ) was an arbitrary sequence with the properties of definition, hence we have the proof of the
theorem.
Remark 4.0.10. The same theorem is also true fro left hand limit as well as right hand limit.
1. Squeeze Theorem for left hand limit: Suppose f , g, h : D → R are functions with f ( x ) ↗ g( x ) ↗ h( x )
for all x ⇐ D (This condition can be made even weaker; think!). Let c be a limit point of D and lim f ( x ),
x →c↑
lim h( x ) exist and are equal. Then lim g( x ) exists and
x →c↑ x →c↑
2. Squeeze Theorem for right hand limit: Suppose f , g, h : D → R are functions with f ( x ) ↗ g( x ) ↗
h( x ) for all x ⇐ D (This condition can be made even weaker; think!). Let c be a limit point of D and
lim f ( x ), lim h( x ) exist and are equal. Then lim g( x ) exists and
x →c+ x →c+ x →c+
1
Let’s examine lim f ( x ). Earlier we have seen: lim x = 0 and lim sin does not exist. So can’t apply
x →0 x →0 x →0 x
multiplication rule. But we certainly know know, for any x ⇐ R \ {0}:
( )
1
↑1 ↗ sin ↗1
x
- .
1
If x ≃ 0 then ↑ x ↗ x sin x ↗ x. Now applying the squeeze theorem for left hand limit we have
( )
1
lim x sin = 0.
x →0 + x
( ) ( )
1 1
Q: Similarly taking x < 0, show that lim x sin = 0. And hence lim x sin = 0.
x →0↑ x x →0 x
↘ positive- square root is defined for all non-negative real numbers. Define f :
2. Earlier we have seen that
[0, ∞) → R by f ( x ) = x. Let c > 0. The following inequality is true:
* * * *
*↘ ↘ * * a ** ** x ↑ a **
* x ↑ c* ↗ * ↘ x ↑ ↘
* x + a * ↗ * ↘a * .
41
Therefore we have:
* * * *
*x ↑ a* ↘ ↘ *x ↑ a*
↑ * ↘ * ↗ x ↑ c ↗ * ↘ **
* * *
a a
Hence applying lim and squeeze theorem we have
x →c
↘ ↘
lim x= c (why?).
x →c
• Fact 1: If c ⇐ R, then there exists a seq (qn ) such that qn ⇐ Q for all n ⇐ N and
lim qn = c.
n→∞
• Fact 2: If c ⇐ R, then there exists a seq (in ) such that in ⇐ R \ Q, for all n ⇐ N and
lim in = c.
n→∞
lim yn = c
n→∞
Recall the density property of rational numbers “between any two real numbers, there is a rational”. So
for each n ⇐ N, ⇓ qn ⇐ Q such that
1 1
c ↑ < qn < c ↑
n n+1
and ⇓ q∈n ⇐ Q such that
1 1
c+ < q∈n < c + .
n+1 n
1
Then |qn ↑ c| < ↓ lim qn = c and |q∈n ↑ c| < n1 ↓ lim q∈n = c. Instead of one seq, we constructed
n n→∞ n→∞
two seqs with desired property. Proof of Fact 2 will be similar (Do it!!!).
Let c ⇐ R be a real no. (qn ) a seq of rational no. with qn ↔= c and lim qn = c and there also (in ) a seq of irrational
n→∞
no. with in ↔= c and lim in = c. See that
n→∞
42
Some fundamental limits
• A ∋ (cos ϱ, sin ϱ )
ϱ
x
O B C • P ∋ (1, tan ϱ )
• length of AB = sin ϱ
• length of PC = tan ϱ
ε
Therefore what we have now is: For 0 < ϱ < 2
Similarly if ↑ ε2 < ϱ < 0 then from law of trichotomy: 0 < ↑ϱ < ε2 and here we can again apply the
previous inequality & with a subtle use of Squeeze theorem will give us lim sin ϱ = 0. Together we
ϱ →0↑
have:
lim sin ϱ = 0.
ϱ →0
/
↓ lim cos ϱ = lim 1 ↑ sin2 ϱ = 1 (??)
ϱ →0 ϱ →0
ε
Again from the above picture, when 0 < ϱ < then 0 < sin ϱ < ϱ < tan ϱ is true and we will have
2
sin ϱ
cos ϱ < sinϱ ϱ < 1 and applying suitable squeeze theorem we have lim = 1; further applying the
x →0+ ϱ
sin(↑ϱ )
previous strategy with the fact ↑ϱ = ↑↑sinϱ ϱ = sinϱ ϱ we can show the following:
sin ϱ
lim = 1
ϱ →0 ϱ
43
2. Factorization Method
Whenever you encounter an indeterminate form, look for whether you can take the help of this
method to bypass the problem.
2x ↑2 2( x ↑1) 2
• limx→1 6x ↑6 = limx→1 6( x ↑1)
= limx→1 6 = 26 .
x 2 ↑4 ( x +2)( x ↑2)
• limx→2 x ↑2 = limx→2 ( x ↑2)
= limx→2 ( x + 2) = 2 + 2 = 4.
3. Rationalization Method
Apply this especially to limits involving roots. Multiply the numerator and denominator by the
conjugate.
↘ ↘ ↘
1↑ 1↑x (1 ↑ 1 ↑ x )(1 + 1 ↑ x ) 1 1
lim = lim ↘ = lim ↘ =
x →0 x x →0 x (1 + 1 ↑ x ) x → 0 1+ 1↑x 2
44
Continuous functions
If f is an arbitrary function, it is not necessarily true that lim f ( x ) = f (c). In fact there are many ways
x →c
this can fail to be true. For example:
y y
f (c)
y
hole
x x
x c c
c
Intuitively, a function f is continuous if the graph contains no breaks, jumps or wild oscillations.
Although this description will usually enable you to decide whether a function is continuous simply by
looking at its graph (a skill well worth cultivating) it is easy to be fooled, and a definition is important.
Definition 4.0.13. Suppose f : D → R is a function and c ⇐ D such that lim f ( x ) exists. We say f is
x →c
continuous at c if
OR
lim f ( x ) = f (c) ∝===↓ lim f (c + h) = f (c).
x →c h →0
Here we must make a note of one point how limit penetrates a continuous function. f : D → R is
continuous at c ⇐ D. If ( xn ) is any seq such that xn ⇐ D for all n, xn ↔= c for all n ⇐ N and lim xn = c
n→∞
then - .
lim f ( xn ) = f lim xn .
n→∞ n→∞
Example 4.0.14. 1. As shown in the limit of functions section: a) constant functions, b) Identity functions, c)
all type of polynomial functions, d) rational functions and e) square-root functions are all continuous at each
point of their respective domains.
2. Trigonometric sine function: the domain is R. Suppose c ⇐ R be a point. Then using algebra of limits we
have the following deductions:
lim sin (c + h) = lim [sin c cos h + cos c sin h]
h →0 h →0
= lim sin c cos h + lim cos c sin h = sin c
h →0 h →0
45
Therefore the trigonometric sine function is continuous on R. So whatever be the graph of sine, we can
draw it without lifting the pen (pencil). By the same logic one can show that the trigonometric cosine (cos)
function is continuous on R.
x sin 1 ,
x x ↔= 0 1
3. If f ( x ) = . Then from earlier calculations we know lim x sin = 0. Now f is continuous
x →0 x
a, x=0
at 0 only if a = 0.
4. f : R → R defined by:
x if x ⇐ Q
f (x) =
0 if x ⇐ R \ Q.
(a) We know we have a seq of rational nos. (qn ) such that qn ↔= c and lim qn = c
n→∞
(b) also we know we have a seq of irrational nos. (in ) such that in ↔= c and limn→∞ in = c
Then
lim f (qn ) = lim qn = c ↔= 0 = lim 0 = lim f (in )
n→∞ n→∞ n→∞ n→∞
Therefore f is not continuous at any non zero c, as the limit of the function does not exists at any non-zero
point.
Now let c = 0, and ( xn ) be any seq with xn ↔= 0 for all n ⇐ N and lim xn = 0, then from definition we
n→∞
know either f ( xn ) = xn or f ( xn ) = 0. Hence 0 ↗ | f ( xn )| ↗ | xn | for all n ⇐ N
Therefore f is continuous at 0.
Proof. Given lim g( x ) = g(c) and lim f (y) = f ( g(c)). We need to show:
x →c y→ g(c)
Let ( xn ) be a seq with xn ↔= c for all n ⇐ N and lim xn = c. Then lim g( xn ) = g(c). Further we know
n→∞ n→∞
f is continuous at g(c) and ( g( xn )) is a seq converging to g(c) so we know lim f ( g( xn )) = f ( g(c)).
n→∞
Here notice, we have proved that for any arbitrary seq ( xn ) with xn ↔= c for all n and lim xn = c, one
n→∞
will have lim f ( g( xn )) exists and equals a fixed value f ( g(c)). Therefore lim f ( g( x )) exists and
n→∞ x →c
lim f ( g( x )) = f ( g(c))
x →c
Hence f ↖ g is continuous at c.
46
Application:?? Using repeated application of this theorem one can verify that
( )
x2 + 5x + 3 x3 + 5
f (x) = sin +
9 x2 + 1
an expression like this is continuous at any appropriate point c where the f is defined.
Lemma 4.0.16 (Sign Preserving Lemma). 1. Suppose f is continuous at c, and f (c) > 0. Then there
exists a δ > 0 such that f ( x ) > 0 for all c ↑ δ < x < c + δ.
2. Suppose f is continuous at c, and f (c) < 0. Then there exists a δ > 0 such that f ( x ) < 0 for all
c ↑ δ < x < c + δ.
y
y
f
(c, f (c)) c↑δ c+δ
c
x
x
c
c↑δ c+δ (c, f (c))
f
Proof of 1: Here we are going to discuss the proof of 1, but the proof of the other point will be same. Let
f is continuous at c, and f (c) > 0.
Assume that the conclusion above is false: so for every δ > 0 there exists a point
( xδ ⇐ (c ↑ δ,)c + δ)
1 1
such that f ( xδ ) ↗ 0. Therefore for every n ⇐ N we can say that there exists xn ⇐ c ↑ , c + such
n n
that f ( xn ) ↗ 0.
( )
1 1
As xn ⇐ c↑ ,c+ for each n ⇐ N, therefore lim xn = c, from Squeeze theorem. Therefore
n n n→∞
from continuity of f at c and corollary 3.0.13, we have
Now we are going to state three big theorems and these theorems have far reaching effect in
understanding the graph of continuous functions. Unfortunately, to discuss the proof of the theorems we
need go deep into real analysis, which may divert us from our goal. So, I think only to state the theorems
and show you how powerful they are.
47
y
y = f (x)
f (b) > 0
Theorem 4.0.17 (Intermediate Value Theorem).
If f is continuous on its domain and a, b are two points from
the domain such that a < b and f ( a) < 0 < f (b), then there is
some s ⇐ ( a, b) such that f (s) = 0.
x
a b
Geometrically: the graph of f , which starts below the x-axis
and ends above x-axis, must cross this axis at some point.
f ( a) < 0
Q: If f is continuous on R and a < b are two numbers such that f ( a) > L > f (b). Then show that
there exists a number s ⇐ ( a, b) such that f (s) = L.
Q: Suppose f : ( a, b) → R is a continuous function. Notice that the domain here is an open interval.
Is every continuous function defined on open interval bounded?
y
y=M
y = f (x) Theorem 4.0.18 (Boundedness Theorem).
If f is continuous on [ a, b], then f is bounded above as well as
bounded below on [ a, b], that is ⇓m, M ⇐ R such that
Theorem 4.0.19 (Extreme Value Theorem). If f is continuous on [ a, b], then there are some numbers
c1 , c2 ⇐ [ a, b] such that f ( x ) ↗ f (c1 ) for all x ⇐ [ a, b] and f (c2 ) ↗ f ( x ) for all x ⇐ [ a, b] i.e.
f (c1 ) = sup{range( f )}
f (c2 ) = inf{range( f )}
Geometrically: We know the graph will lie in between two horizontal lines. It says that the graph
should touch the lowest possible and highest possible such horizontal lines.
48
y
y = f (x)
(c1 , f (c1 ))
(c2 , f (c2 ))
x
a c1 c2 b
Theorem 4.0.20. If n is odd then any polynomial with expression P( x ) = x n + an↑1 x n↑1 + · · · + a1 x + a0
has a root i.e. there exists some α ⇐ R such that P(α) = 0.
Sketch of the proof: We know that the polynomial function is continuous everywhere and to solve this
prove this type of result one way is to somehow invoke IVT. The given polynomial can be written as:
- a a1 a0 .
P ( x ) = x n 1 + n ↑1 + · · · + n ↑ +
x x 1 xn
* *
* a n ↑1 a1 *
a0 * |a | | a1 | | a0 |
*
Using triangle inequality we have: * x + · · · + xn↑1 + xn * ↗ |nx↑|1 + · · · + +
| x n ↑1 | | xn |
If we choose x ⇐ R such that | x | > max{1, 2n| an↑1 |, 2n| an↑2 |, . . . , 2n| a1 |, 2n| a0 |} then the above
inequality changes to:
* *
* a n ↑1 a1 a0 ** 1
* (why!!!)
* x + · · · + x n ↑1 + x n * ↗ 2
1 a a1 a 3
↓ ↗ 1 + n ↑1 + · · · + n ↑ + 0n ↗
2 x x 1 x 2
Using the above inequality with the fact that n is odd we have the following:
xn 3x n
if x > 0 and | x | satisfies the "above" inequality then : 0< ↗ P( x ) ↗
2 2
if x < 0 and | x | satisfies the "above" inequality then : 3x n xn
↗ P( x ) ↗ <0
2 2
Note that the above proof may seem artificial, so drawing schematic pictures of each argument is strongly
recommended in order to under the proof.
49
if and only if
• lim f ( x ) = +∞ (↑∞) ∝======↓ for any sequence ( xn ) such that lim xn = a and
x → a+ n→∞
xn > a for all n, we have lim f ( xn ) = +∞ (↑∞).
n→∞
if and only if
• lim f ( x ) = +∞ (↑∞) ∝======↓ for any sequence ( xn ) such that lim xn = a and
x → a↑ n→∞
xn < a for all n, we have lim f ( xn ) = +∞ (↑∞).
n→∞
if and only if
• lim f ( x ) = l ∝======↓ for any sequence ( xn ) such that lim xn = ∞ we
x →∞ n→∞
have lim f ( xn ) = l.
n→∞
if and only if
• lim f ( x ) = l ∝======↓ for any sequence ( xn ) such that lim xn = ↑∞ we
x →↑∞ n→∞
have lim f ( xn ) = l.
n→∞
lim f ( x ) = L or lim f ( x ) = L.
x →∞ x →↑∞
1 1
Example 4.0.21. Show that lim = 0 and lim = 0.
x →∞ x x →↑∞ x
x2 + x + 2
Example 4.0.22. Find lim .
x →∞ 2x 2 ↑ x + 5
1 1
Example 4.0.23. Show that lim = ∞ and lim = ↑∞.
x →0+ x x →0 x
↑
For B > 0,
1 1
>B for 0 < x < .
x B
1
Choose δ = B to show the first limit. Similarly for the second.
50
Example 4.0.24. Find horizontal and vertical asymptotes of y = 1x .
The horizontal asymptote is y = 0 since
1
lim = 0,
x →±∞ x
and the vertical asymptote is x = 0 since
1 1
lim = ∞, lim = ↑∞.
x →0+ x x →0↑ x
Exponential function
1
Suppose a > 0. Now first, we want to make sense of the notation a x for any x ⇐ R. We know what is a 2 ,
1 1 p
a 3 , ..., a n ...; similarly we can calculate a p/q for any q ⇐ Q. A good question will be: What is ai , where
i ⇐ R \ Q (say i = ε).
For a fixed irrational number i, we know from the density property of Q, there is a sequence qn of
numbers such that qn ⇐ Q for all n ⇐ N and lim qn = i. Then from a property of sequences we will
n→∞
have: + ,
lim qn
n→∞ qn
ai = a = lim a .
n→∞
So for any real number x: a x makes sense. Hence we can define the exponential function for a real
number a > 0 (we assume a ↔= 1):
f : R ↑→ R : f ( x ) = a x .
lim xn
lim f ( xn ) = lim a xn = an→∞ = ac
n→∞ n→∞
This implies f is continuous at c ⇐ R. ↓ f : R ↑→ (0, ∞) is one-one and continuous. One can easily
show that the function is strictly increasing.
Now suppose a > 1, then
lim an = ∞ and lim a↑n = 0
n→∞ n→∞
Therefore the graph will look like:
y ax , a > 1
51
The function f : R → (0, ∞) : f ( x ) = a x ( a > 1) is a continuous, bijective function, called general
exponential function. The inverse f ↑1 is called “log” function whose base is a.
loga : (0, ∞) → R
x △→ loga ( x )
So the graph is like:
y
loga x, a > 1
x
1
1
′x ⇐ R : 1 + x ↗ ex and ex ↗ for allx < 1
1↑x
We analyse two cases:
e x ↑1 1
• For 0 < x < 1 we have 1 ↗ x ↗ 1↑ x
1 e x ↑1
• For x < 0 we have 1↑ x < x <1
ex ↑ 1 ex ↑ 1
lim = 1 = lim
x →0+ x x →0↑ x
ex ↑ 1
↓ lim =1
x →0 x
Notice that for a > 0 : f ( x ) = e x and g( x ) = ln( x ) are inverse functions of each other:
x
a x = eln a = e x ln a
ax ↑ 1 e x ln a ↑ 1
↓ lim = lim
x →0 x x →0 x
+ ,
e x ln a ↑ 1
= lim · ln a
x →0 x ln a
= 1 · ln a = ln a
ax ↑ 1
↓ lim = ln a
x →0 x
52
Chapter 5
Differentiation
Derivatives:
The derivative of a function is the first of the two major concepts of Calculus. While it is true that
the concept of a function is fundamental, that you cannot do anything without limits or continuity;
everything we have done until now has been preparation.
| x |, x≃0
f (x) =
/
x2 , x↗0 f (x) = |x| f (x) = |x|
A B C D
The figures A, B, C illustrate certain types of misbehavior which continuous functions can display.
The graphs of these functions are bent at (0, 0), unlike the graph of figure D, where it is possible to draw
a “tangent” line at each point.
y
Q: So the question is what is a tangent line?
f (x)
A promising approach to the definition of a tangent line might (c + h, f (c + h))
start with "secant lines", and use the notion of limits. If h ↔=
0, then the two distinct points (c, f (c)) and (c + h, f (c + h))
determines a straight line whose slope is
Secant lines
f (c + h) ↑ f (c) f (c + h) ↑ f (c)
.
h
Now see if we tend h → 0 then what will happen to the picture?
Tangent
We have never before talked about limit of lines, but we can
talk about limit of their slopes: The slope of the tangent line (c, f (c))
through (c, f (c)) should be h
f (c + h) ↑ f (c)
lim x
h →0 h
53
Note 5.0.1. What ever is the mathematical meaning of differentiability at a point means, in picture that should
represent that the graph of the function is “smooth” at that point. Which is same as saying a well-defined
unique tangent line to the graph at the that point.
Remark 5.0.3. In the above definition f ∈ (c) is a real number, but a careful look will tell us that if f : [ a, b] →
R is differentiable function then we can think of another function f ∈ : [ a, b] → R which is called the derivative
function of f . Similarly we can talk about higher derivative, when it makes sense i.e. f ∈∈ , f ∈∈∈ , . . . etc.
Hence at every point c, the function f is differentiable and f ∈ (c) = 0 (c, a = f (c))
for all c ⇐ R. This means that the tangent line to the graph of f a f (x) = a
Tangent line
always has slope 0, so the tangent line always coincide with the graph.
(b) Constant function are not the only ones whose graph coincide
with their tangent lines. x
c
f (c + h) ↑ f (c)
f ( x ) = mx + a ↓ lim = m = f ∈ ( c ).
h →0 h
x g( x ) = 2c( x ↑ c) + c2 = 2cx ↑ c2
54
Example 5.0.6. Let us see another example similar to this. f : R → R is given by f ( x ) = x3 . And let c ⇐ R be
any point, therefore:
Thus the slope of the tangent line to the graph of f at (c, c3 ) has f ( x ) = x3
slope 3c2 . This means that the tangent line is graph of
x3 = 3c2 x ↑ 2c3
↓ x3 ↑ 3c2 x + 2c3 = 0
↓ ( x ↑ c)2 ( x + 2c) = 0
Let us discuss some non-examples i.e. figures A, B, C from the beginning of this chapter.
55
Proof.
f (c + h) ↑ f (c)
lim [ f (c + h) ↑ f (c)] = lim ·h
h →0 hh →0
( )( )
f (c + h) ↑ f (c)
= lim lim h = f ∈ (c) ∞ 0 = 0
h →0 h h →0
So f is continuous at c.
Algebra of derivatives
1. Suppose f and g are differentiable at c. Then f ± g is also differentiable at c.
( f · g ) ∈ ( c ) = f ∈ ( c ) g ( c ) + f ( c ) g ∈ ( c ).
Theorem 5.0.8. If f ( x ) = x n for some natural no n, then f ∈ (c) = ncn↑1 for all c.
Proof. The proof will be done using PMI on n. The n = 1 case is done above. Now assume that the
theorem is true for n, so that if f ( x ) = x n , then f ∈ (c) = ncn↑1 for all c. Let g( x ) = x n+1 .
If I ( x ) = x, then g( x ) = f ( x ) · I ( x ). Hence
Hence from PMI, we can say that the theorem is true for all n ⇐ N.
56
Theorem 5.0.10. If g is differentiable at c and g(c) ↔= 0, then 1/g is differentiable at c and
( )∈
1 ↑ g∈ (c)
(c) =
g ( g(c))2
( 1g )(c + h) ↑ ( 1g )(c)
Proof. Before we even write , we must be sure that this expression makes sense i.e. it
h
is necessary to check that ( 1g )(c + h) is defined for all sufficiently small h.
Since g is differentiable at c ↓ g is continuous at c. Again g(c) ↔= 0, then the sign preserving
theorem for continuous functions says that there exists δ > 0 such that g( x ) and g(c) have same sign
′ x ⇐ (c ↑ δ, c + δ) OR g(c + h) and g(c) have same sign ′h ⇐ (↑δ, δ).
Therefore the above quotient does make sense.
- . - .
1 1
g ( c + h ) ↑ g (c) g(c) ↑ g(c + h)
lim = lim
h →0 h h→0 h [ g ( c ) g ( c + h )]
( )
g(c + h) ↑ g(c) 1 g∈ (c)
= ↑ lim ∞ =↑ .
h →0 h g(c) · lim g(c + h) ( g(c))2
h →0
f
Theorem 5.0.11. If f and g are differentiable at c and g(c) ↔= 0, then is differentiable at c and
g
( )∈
f g(c) f ∈ (c) ↑ f (c) g∈ (c)
(c) =
g ( g(c))2
- .
sin(c + h) ↑ sin(c) 2 sin(h/2) cos 2c2+h
lim = lim
h →0 h h →0 h
( )
sin(h/2) 2c + h
= lim lim cos = 1 ∞ cos(c) = cos(c)
h →0 h/2 h →0 2
sin ( x )
The last but one equality follows from the result on lim = 1 and the trigonometric cosine function is
x →0 x
continuous on R. Therefore at all c ⇐ R, sin is differentiable and [sin(c)]∈ = cos(c).
Example 5.0.13. Similarly we know cosine function is also continuous at each point c ⇐ R.
- .
cos(c + h) ↑ cos(c) ↑2 sin(h/2) sin 2c2+h
lim = lim
h →0 h h →0 h
( )
sin(h/2) 2c + h
= ↑ lim lim sin = ↑ sin(c)
h →0 h/2 h →0 2
Therefore at all c ⇐ R, cos is differentiable and [cos(c)]∈ = ↑ sin(c).
57
Question 5.0.14. Q: Use the following trigonometric identities to find out the differentiability of other
trigonometric functions:
sin( x ) 1 1 1
tan( x ) = , sec( x ) = , csc( x ) = , cot( x ) =
cos( x ) cos( x ) sin( x ) tan( x )
sin( x + 2ε ) = sin( x )
cos( x + 2ε ) = cos( x ) ′ x ⇐ R.
Figure out domain of tan, sec, csc & cot. Then find out the points of continuity of these functions and then
figure out at which points the functions are differentiable and what are their derivatives (from definition).
Chain Rule
Differentiating the most interesting fn obviously requires a formula for ( f ↖ g)∈ ( x ) in terms of f ∈ and g∈ .
Recall we have studied a formula when a composition of functions is again continuous. We now want to
do the same for differentiation. We will now prove the following theorem: (The proof is kind of a hand
wavy algebraic proof)
Proof. Let us assume k = g(c + h) ↑ g(c). Since g is also continuous at c so that lim g(c + h) = g(c),
h →0
therefore as h → 0 this will imply k → 0.
( f ↖ g)(c + h) ↑ ( f ↖ g)(c)
lim
h →0 h
f ( g(c + h)) ↑ f ( g(c)) g(c + h) ↑ g(c)
= lim ∞
h →0 g(c + h) ↑ g(c) h
f ( g(c) + k ) ↑ f ( g(c)) g(c + h) ↑ g(c)
= lim lim
k →0 k h →0 h
= f ∈ ( g(c)) g∈ (c)
Therefore ( f ↖ g) is differentiable at c and
Case 2: α > 1 and take c ⇐ R be a point. Let us check whether f is differentiable at ’c’.
- .α
f (c + h) ↑ f (c) (c + h)α ↑ cα 1 + hc ↑ 1
lim = lim = cα lim
h →0 h h →0 h h →0 h
58
Recall Generalized Binomial Theorem: If α ⇐ R and | h| < 1 then
Case 3: α < 1 and c ⇐ R. Then again the previous case’s calculation will show
f (c + h) ↑ f (c)
lim = αcα↑1
h →0 h
f (c + h) ↑ f (c) α
↓ lim = 1↑ α
h →0 h c
Since α < 1 ↓ α ↑ 1 < 0 ↓ 1 ↑ α > 0. Now if c = 0, then the above limit does not exist. Hence in this
case f ( x ) = x α is differentiable at each point of R except at 0.
Example 5.0.18. Same for quotient fns, where they are defined.
f (c + h) ↑ f (c) ec+h ↑ ec eh ↑ 1
lim = lim = ec lim = ec · 1 = ec
h →0 h h →0 h h →0 h
59
Example 5.0.20. 5. f : (0, ∞) → R given by f ( x ) = ln( x ). Then Suppose this inequality is true:
1 ex
e · e↑ x ↗ x ↗ for x > 0
e
1
↓ e1↑ x ↗ x ↗ e x ↑1 for x > 0
1
We know that ln is monotonically increasing function. Therefore: ln(e1↑ x ) ↗ ln( x ) ↗ ln(e x↑1 )
1 x↑1
↓ 1↑ ↗ ln( x ) ↗ x ↑ 1 ↓ ↗ ln( x ) ↗ x ↑ 1
x x
Case 1: Now if x ↑ 1 > 0 then
1 ln( x )
↗ ↗1
x x↑1
Let us use the substitution y = x ↑ 1 then
1 ln(1 + y)
↗ ↗1
y+1 y
Since x ↑ 1 > 0 ↓ x > 1 ↓ y > 0, now apply limit in the above inequality and apply squeeze theorem:
ln(1 + y)
lim =1
y →0+ y
Case 2: If x ↑ 1 < 0 then from inequality we have
ln( x ) 1
1↗ ↗
x↑1 x
Apply the substitution y = x ↑ 1 and let y → 0↑ and apply squeeze theorem:
ln(1 + y)
lim =1
y →0↑ y
Combining Case 1 & Case 2 we have
ln(1 + y)
lim = 1.
y →0 y
Take c ⇐ (0, ∞), then - .
ln(c + h) ↑ ln(c) ln 1 + hc 1
lim = lim h
·
h →0 h h →0
c
c
- .
ln 1 + hc
= lim 1 = 1 · 1 = 1.
h →0 h c c c
c c
60
Example 5.0.22. Consider the function
- .
x sin 1
x , x ↔= 0
f (x) =
0 ,x = 0
- .
x2 sin 1
x , x ↔= 0
Example 5.0.23. f ( x ) =
0 ,x = 0
( )
f (0 + h ) ↑ f (0) 1
lim = lim h sin =0
h →0 h h →0 h
f is differentiable at ’0’.
Example 5.0.24. f ( x ) = esin(ln( x)) ? Why (0, ∞) will be domain of the function. Take c ⇐ (0, ∞). Consider
functions:
g : (0, ∞) → R ↭ g( x ) = ln( x )
h : R → R ↭ h( x ) = sin( x )
k : R → R ↭ k( x) = ex
Applying Chain Rule, we can conclude that f is differentiable at ’c’ and the derivative is
1
f ∈ (c) = k∈ (h( g(c))) · h∈ ( g(c)) · g∈ (c) = esin(ln(c)) cos(ln(c)) ·
c
61
62
Chapter 6
In this section, we will try to justify, why learning to find derivative of a function was so important i.e.
knowing a function’s derivative f ∈ , tells you a lot about the original function.
Definition 6.0.1. Let f be a function and A ⇑ Dom( f ). A point x ⇐ A is a maximum point for f on A if
f (y) ↗ f ( x ) for every y ⇐ A. The number f ( x ) itself is called the maximum value of f on A.
Definition 6.0.2. Let f be a function and A ⇑ Dom( f ). A point x ⇐ A is a minimum point for f on A if
f ( x ) ↗ f (y) for every y ⇐ A. The number f ( x ) itself is called the minimum value of f on A.
Theorem 6.0.4. Let f be any function defined on ( a, b). If c is a maximum (minimum) point for f on ( a, b)
and f is differentiable at c then f ∈ (c) = 0.
↓ f (c) ≃ f (c + h) (why!)
f (c + h) ↑ f (c) f (c + h) ↑ f (c)
≃ 0 ↓ lim ≃0
h h →0 ↑ h
f (c+ h)↑ f (c)
Since f is differentiable at c ↓ limh→0 h exists.
f (c + h) ↑ f (c) f (c + h) ↑ f (c)
0 ↗ lim = lim ↗0
h →0↑ h h →0 + h
↓ f ∈ (c) = 0.
63
Definition 6.0.5. Let f be a function and A ⇑ Dom( f ). A point c in A is a local maximum (minimum)
point for f on A if there is some δ > 0 such that c is a maximum (minimum) point for f on A ⇔ (c ↑ δ, c + δ).
So as an application of the last theorem we can say the following will hold:
Corollary 6.0.6. If f is defined on ( a, b) and has a local maximum (minimum) at c and f is differentiable at
c, then f ∈ (c) = 0.
Remark 6.0.7. Notice that the above corollary is "SUFFICIENT" but "NOT NECESSARY". Why?
Consider the function f ( x ) = x3 . We have seen the graph of this fn and we also calculated f ∈ (0) = 0.
Although we haven’t proved rigorously till now that this function is increasing, but as the graph suggests 0 is
neither local maximum, nor local minimum.
Definition 6.0.8. A critical point of a differentiable function f is a number c such that f ∈ (c) = 0. The
number f (c) is called a critical value of f .
Theorem 6.0.9 (Particular case of MVT: Rolle’s Theorem). If f : [ a, b] → R satisfies the following
conditions:
1. f is continuous on [ a, b],
2. f is differentiable on ( a, b),
3. f ( a) = f (b).
Then there is a point c ⇐ ( a, b) such that f ∈ (c) = 0.
Proof. Since f : [ a, b] → R is continuous, so f has a maximum value and a minimum value on [ a, b].
Case 1: Suppose first that the maximum value occurs at a point c ⇐ ( a, b) ↓ f ∈ (c) = 0.
Case 2: Suppose next that the minimum value occurs at a point d ⇐ ( a, b) ↓ f ∈ (d) = 0.
64
Case 3: Finally, suppose the maximum & minimum occur at the end points. Since f ( a) = f (b), so the
maximum value is equal to the minimum value ↓ f is constant, therefore for any x ⇐ ( a, b)
f ∈ ( x ) = 0.
Q: Provide examples of functions where the conclusion of Rolle’s Theorem does not hold if any one
of the theorem’s three key conditions is not satisfied.
f (b) ↑ f ( a)
f ∈ (c) =
b↑a
f (b) ↑ f ( a)
Proof. Consider: h( x ) = f ( x ) ↑ ( x ↑ a). Then:
b↑a
1. h : [ a, b] → R is continuous
2. h : ( a, b) → R is differentiable
3. h( a) = h(b)
f (b) ↑ f ( a)
↓ ⇓ c ⇐ ( a, b) such that h∈ (c) = 0 (Rolle’s Thm) ↓ f ∈ (c) = .
b↑a
Corollary 6.0.11. If f is defined on an interval and f ∈ ( x ) = 0 for all x in the interval, then f is constant on
that interval.
Proof. Let a, b two points in the interval (a < b). Then ⇓ c ⇐ ( a, b) such that
f (b) ↑ f ( a)
0 = f ∈ (c) = [MVT (how?)]
b↑a
↓ f ( b ) = f ( a ).
Thus the value of f at any two points of the interval is same ↓ f is constant.
Q: How important is the assumption that f is defined on an interval in this corollary ???
Corollary 6.0.12. If f ∈ ( x ) > 0 (< 0) for all x in an interval, then f is increasing (decreasing) on the
interval.
Proof: We are doing the blue part here!! Consider f ∈ ( x ) < 0 ′ x and a < b in the interval.
f (b) ↑ f ( a)
↓ ⇓ c ⇐ ( a, b) with = f ∈ (c) < 0. Now (b ↑ a) > 0 ↓ f (b) ↑ f ( a) < 0 ↓ f (b) < f ( a).
b↑a
Hence decreasing. (Do the other part).
65
Proof.
f ∈ (c + h) ↑ f ∈ (c)
f ∈∈ (c) = lim
h →0 h
Since f ∈ (c) = 0 therefore we will have
f ∈ (c + h)
f ∈∈ (c) = lim
h →0 h
f ∈ (c + h)
Suppose f ∈∈ (c) > 0, then > 0 for sufficiently small h. ↓ f ∈ (c + h) must be positive for
h
sufficiently small h > 0 and f ∈ (c + h) must be negative for sufficiently small h < 0.
Therefore from Corollary 6.0.12 we have: f is increasing in some interval to the right of c and f is
decreasing in some interval to the left of c. So locally near to c the graph of f will look like the following:
Hence the function f has local minimum at c. The other part will be done similarly.
Theorem 6.0.14. Suppose f ∈∈ (c) exists. If f has a local minimum at c, then f ∈∈ (c) ≃ 0. Similarly if f has a
local maximum at c, then f ∈∈ (c) ↗ 0.
Proof. We will do the second part. Suppose f has a local maximum at c. If f ∈∈ (c) > 0, then from previous
result, f has local minimum at c. So at ’c’, f has local maximum as well as local minimum ↓ f is constant
on a sufficiently small neighborhood around c. ↓ f ∈∈ (c) = 0 (which contradicts f ∈∈ (c) > 0). Thus at the
point c: f ∈∈ (c) ↗ 0.
Definition 6.0.15. A function is concave on an interval, if for all a, b in the interval the line segment joining
( a, f ( a)) and (b, f (b)) lies below the graph of f on ( a, b).
f (b) ↑ f ( a)
g( x ) = ( x ↑ a) + f ( a)
b↑a
So the above definition is same as saying:
f ( x ) > g( x ) ′ a<x<b
a little simplification will give us another equivalent definition of concavity of a function: We will say f
is concave on an interval if for all a, b in that interval the following inequality is true,
f ( x ) ↑ f ( a) f (b) ↑ f ( a)
> ′ a < x < b
x↑a b↑a
66
Definition 6.0.16. A function is convex on an interval, if for all a, b in the interval the line segment joining
( a, f ( a)) and (b, f (b)) lies above the graph of f on ( a, b).
f (b) ↑ f ( a)
g( x ) = ( x ↑ a) + f ( a)
b↑a
So the above statement is same as saying:
f ( x ) < g( x ) ′ a<x<b
a little simplification will give us
f ( x ) ↑ f ( a) f (b) ↑ f ( a)
< ′ a < x < b
x↑a b↑a
So f is convex on an interval if for any a, x, b from the interval with a < x < b we have the above
inequality.
Lemma 6.0.17. Suppose f is differentiable and f ∈ is increasing. If a < b and f ( a) = f (b) then
Proof. Assume ⇓ x ⇐ ( a, b) with f ( x ) > f ( a) = f (b). Then the maximum of f on [ a, b] occurs at some
x0 ⇐ ( a, b) and there we will have f ∈ ( x0 ) = 0.
f ( x0 ) ↑ f ( a )
f ∈ ( x1 ) = > 0.
x0 ↑ a
f ( x ) ↗ f ( a ) = f ( b ).
f ( x ) ↑ f ( x1 )
f ∈ ( x2 ) = > 0.
x ↑ x1
67
Theorem 6.0.18. If f is differentiable and f ∈ is increasing, then f is convex.
f ( x ) ↑ f ( a) f (b) ↑ f ( a)
↓ < ′ x ⇐ ( a, b)
x↑a b↑a
Hence f is convex.
Theorem 6.0.19. If f is differentiable and the graph of f lies above each tangent line except at the point of
contact, then f is convex. (Prove this)
Note 6.0.20. f is convex on the interval I if and only if (↑ f ) is concave on the interval I.
↫ f ∈ ( x ) = x2 ↑ 8x + 12 = ( x ↑ 2)( x ↑ 6)
↫ f is increasing on (↑∞, 2) and (6, ∞).
↫ f is decreasing on the interval (2, 6).
↫ f ∈∈ ( x ) = 2( x ↑ 4)
↫ f is convex on (4, ∞) and is concave on (↑∞, 4).
↫ And the point 4 is called point of inflection for f .
Asymptotes
One can visualize (if the limit exists) lim f ( x ) = L as saying that the graph of f merge with the horizontal
x →∞
line y = L as x becomes large. This line is called a horizontal asymptote of f . In the same way, (if the
limit exists) lim f ( x ) = M also gives a horizontal asymptote, in this case the merging happens in the
x →↑∞
negative direction.
68
Similarly, if either one-sided limit is (±) infinity at x = a, we call the line x = a a vertical asymptote
of the function.
The graph may also approach a slanted line as x → ±∞. We say that y = mx + c is a slant asymptote
of f as x → ∞ if
lim ( f ( x ) ↑ (mx + c)) = 0.
x →∞
We have the analogous definition of a slant asymptote as x → ↑∞. The concept of horizontal asymptote
is a special case of slant asymptote, when m = 0.
Theorem 6.0.22. The line y = mx + c is a slant asymptote of the function f if and only if
f (x)
lim =m and lim ( f ( x ) ↑ mx ) = c.
x →∞ x x →∞
lim ( f ( x ) ↑ mx ↑ c) = 0 ↓ lim ( f ( x ) ↑ mx ) = c;
x →∞ x →∞
f (x) c f (x)
Since x → ∞, this is only possible if ↑m↑ → 0 ↓ → m. The converse is trivial.
x x x
x2 ↑ 2x + 2
f (x) = .
x↑1
Calculation Implication
use the quotient rule for the function is differentiable at each point of R \ {1}
differentiation appropriately
1
f ( x ) = ( x ↑ 1) + • lim f ( x ) = ∞
x↑1 x →∞
• lim f ( x ) = ↑∞
x →↑∞
69
f ∈∈ (0) = ↑2 < 0 0 is a local maximum for f
f (x)
• lim =1
x →∞x
• lim ( f ( x ) ↑ x ) = 1 y = x ↑ 1 is a slant asymptote towards +∞
x →∞
f (x)
• lim =1
x →↑∞ x
• lim ( f ( x ) ↑ x ) = 1 y = x ↑ 1 is a slant asymptote towards ↑∞
x →↑∞
Hence putting all the informations in one picture will give us the graph of the function f :
x2 ↑ 2x + 2
Figure 6.1: The graph for f ( x ) =
x↑1
70
2 ↑ 1 e x + e↑ x
Q: Try to Analyse the functions: e↑ x , e x2 , esin ( x) , tan ( x ), cosec( x ), sec( x ), cosh ( x ) := ,
2
e x ↑ e↑ x
sinh ( x ) := . The last two function are called hyperbolic cosine function and hyperbolic sine
2
function respectively. Also analyse the following functions:
1
1. f ( x ) = x3 ↑ x 2. e↑ x , e
2 ↑
x2 3. f ( x ) = x4 ↑ 2x2
f ↑1 y=x
L∈
( f ( a ), a ) f
( a, f ( a))
f is graph of a one-one function with a tangent line L through ( a, f ( a)). If the entire picture is reflected
through y = x line, it shows the graph of f ↑1 and a tangent line L∈ through ( f ( a), a). If the equation of L
x↑c
is y = mx + c then the equation of L∈ has to be y = . So the slope of L and slope of L∈ are reciprocals
m
of each other.
So in terms of f we can say:
1 1
( f ↑1 )∈ ( f ( a)) = OR ( f ↑1 ) ∈ ( b ) =
f ∈ ( a) f ∈ ( f ↑1 (b))
Though the argument is fine, we have not established differentiability of f ↑1 at the point f ( a), given
f is differentiable at a.
Theorem 6.0.25. If f is a continuous one-one function defined on an interval and f ∈ ( f ↑1 ( a)) = 0, then
f ↑1 is not differentiable at a.
71
Proof. We know f ( f ↑1 ( x )) = x If f ↑1 is differentiable at a then applying chain rule we have:
f ∈ ( f ↑1 ( a)) · ( f ↑1 )∈ ( a) = 1
↓ 0 · ( f ↑1 )∈ ( a) = 1 (→▽)
Theorem 6.0.26 (Inverse function theorem). Let f be a continuous, one-one function defined on an
interval and suppose that f is differentiable at f ↑1 (b) with derivative f ∈ ( f ↑1 (b)) ↔= 0. Then f ↑1 is
differentiable at b and
1
( f ↑1 ) ∈ ( b ) = ∈ ↑1 .
f ( f (b))
f ↑1 ( b + h ) ↑ a f ↑1 ( f ( a + k)) ↑ a k
lim = lim = lim
h →0 h h →0 f ( a + k ) ↑ b h →0 f ( a + k ) ↑ f ( a)
Since: b + h = f ( a + k ) ↓ f ↑1 (b + h) = a + k = f ↑1 (b) + k ↓ k = f ↑1 (b + h) ↑ f ↑1 (b). Since f ↑1 is
continuous at b (why?) ↓ as h → 0 then k → 0.
So the above limit becomes:
f ↑1 ( b + h ) ↑ f ↑1 ( b ) k 1 1
lim = lim = ∈ = ∈ ↑1
h →0 h k →0 f ( a + k ) ↑ f ( a ) f ( a) f ( f (b))
1
(sin↑1 )∈ ( x ) = ↘ , x ⇐ (↑1, 1).
1 ↑ x2
72
Implicit Differentiation
We have been studying functions whose graph can be written in the form y = f ( x ). Sometimes if we
happen to have an equation of a curve, then it may not possible to express the curve as graph of a
function. For example consider the curve with equation:
x 2 + y2 = 1
↘
Clearly for one choice of x ⇐ (↑1, 1), there are two choices of y = ± 1 ↑ x2 . So the curve defines y
implicitly in terms of x.
Now if we apply differentiation on the equation of the curve with Chain rule in mind, then we have
dy dy x
2x + 2y =0↓ =↑ if y ↔= 0.
dx dx y
x2 y2
+ =1
a2 b2
Implicit differentiation gives
2x 2y dy
+ 2 · =0
a2 b dx
If ( x0 , y0 ) is a point on the ellipse, the slope m of the tangent line to the ellipse at ( x0 , y0 ) is given by:
2x0 2y x b2
2
+ 20 m = 0 ↓ m = ↑ 0 2 .
a b y0 a
( x0 , y0 )
x x/n y
lim = n lim = n lim = 0.
x →∞ e x/n x →∞ e x/n y→∞ ey
73
Hence - x .n
xn
lim = lim = 0.
x →∞ ex x →∞ e x/n
Thus, the exponential function grows faster than any powers of x and hence algebra of limits indicates
that exponential function will grow faster than any polynomial.
Q: Similarly argue that any polynomial will grow faster than logarithm function.
74