Book M1101 Noted
Book M1101 Noted
LEBANESE UNIVERSITY
Real Analysis
Dr. Ziad Khalil
February 19, 2021
ii
CONTENTS
Introduction v
1 Real Numbers 2
1.1 Sets of Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Order Structure of R. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Absolute Value And Intervals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Completeness Property of R. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2 Numerical Sequences 16
2.1 Limits Of Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2 Limits And Ordered Relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3 Monotone Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.4 Sub Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4 Differentiation on R 48
4.1 First Derivative: Properties And Examples . . . . . . . . . . . . . . . . . . . . . . . . 48
4.2 Higher Order Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.3 The Mean Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4.4 Taylor’s Formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.5 Inverse Function Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5 Elementary Functions 63
5.1 Trigonometric Functions And Inverses . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
5.1.1 Sine And Arcsine Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
5.1.2 Cosine And Arccosine Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.1.3 Tangent And Arctangent Functions . . . . . . . . . . . . . . . . . . . . . . . . . 65
iii
5.1.4 Cotangent And Arccotangent Functions . . . . . . . . . . . . . . . . . . . . . . 66
5.2 The Power Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
5.3 Logarithmic and Exponential Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5.3.1 Logarithm Of Base e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5.3.2 Logarithm Of Base a > 0, a 6= 1. . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5.3.3 Exponential Of Base e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.3.4 Exponential Of Base a > 0, a 6= 1. . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.4 Hyperbolic Functions And Inverses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
5.4.1 Sine Hyperbolic And Inverse Sine Hyperbolic . . . . . . . . . . . . . . . . . . . 69
5.4.2 Cosine Hyperbolic And Inverse Cosine Hyperbolic . . . . . . . . . . . . . . . . 70
5.4.3 Tangent Hyperbolic And Inverse Tangent Hyperbolic . . . . . . . . . . . . . . 70
5.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6 Finite Expansions 73
6.1 Taylor And Finite Expansions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.2 Operations On Finite Expansions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
6.3 Equivalent And Finite Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
iv
INTRODUCTION
Analysis is a profound subject; its neither easy to understand nor summarize. However real
analysis can be discovered by solving problems. This course aim’s to give you opportunities to
discover real analysis.
v
vi
1
CHAPTER 1
REAL NUMBERS
1.1 Sets of Numbers.
Let us briefly examine the main sets of numbers that we are interested in.
N := {0, 1, 2, 3 · · · } The set of natural numbers.
N∗ := {1, 2, 3 · · · } The set of positive integers.
Z := {0, ±1, ±2, ±3 · · · } The set of integer numbers.
m
Q := { ; m ∈ Z and n ∈ N∗ } The set of rational numbers.
n
R := { The unique complete ordered field ⊃ Q} The set of real numbers.
R \ Q := {x : x ∈ R and x ∈ / Q} The set of irrational numbers.
Without loss of generality, in the definition of Q, one can assume that the fraction is reduced, that
is, m and n have no common divisors (other than ±1). Also one may assume that n ∈ Z∗ = Z \ {0}.
The set of rationals (Q, +, ·) with the basic operations addition and multiplication is a highly
O
satisfactory algebraic system, that is, it satisfies the field axioms:
O
1 Closure law: a + b ∈ Q and ab ∈ Q for all a, b ∈ Q.
O
2 Commutative law: a + b = b + a and ab = ba for all a, b ∈ Q.
O
3 Associative law: a + (b + c) = (a + b) + c and a(bc) = (ab)c for all a, b, c ∈ Q.
O
4 Distributive law: a(b + c) = ab + ac for all a, b, c ∈ Q.
O
5 Existence of Identity Elements: ∃ 0, 1 ∈ Q such that 0 + a = a and 1a = a for all a ∈ Q.
6 Existence of Inverse Elements:
• Additive inverse: ∀a ∈ Q, ∃ − a ∈ Q such that a + (−a) = 0.
• Multiplicative inverse:∀a ∈ Q∗ = Q \ {0}, ∃ a−1 ∈ Q such that aa−1 = 1.
we can use the above structure to define the concepts of subtraction and division , as a − b = a + (−b)
and ab = ab−1 (assuming b 6= 0).
It would appear that the set Q is a nice algebraic system until one tries to solve the equation x2 = 2.
It turns out that no rational number satisfies this equation, but there is a good reason to believe that
there is some kind of numbers satisfying this equation. Consider a square with sides having length
one. If x is the length of the diagonal, then from geometry we know that x√ 2 = 12 + 12 , i.e., x2 = 2.
√
Apparently there is a positive length whose square is 2, which we write as 2. But 2 cannot be a
rational number.
2
An integer is said to be even (odd) if n = 2k (n = 2k + 1) for some k ∈ Z.
1.1 Example. Show that: [n is an even integer] ⇐⇒ [n2 is an even integer].
Solution.
=⇒) Direct method: Assume that n is an even integer, then n = 2k, k ∈ Z.
Now n2 = 4k 2 = 2(2k 2 ). Since 2k 2 ∈ Z, then n2 is an even integer.
⇐=) Contrapositive Method: To show [n2 is an even integer] =⇒ [n is an even integer] is equivalent
to show [n is an odd integer] =⇒ [n2 is an odd integer].
Assume that n is an odd integer, then n = 2k + 1, k ∈ Z.
Now n2 = 4k 2 + 4k + 1 = 2(2k 2 + 2k) + 1. Since (2k 2 + 2k) ∈ Z, then n2 is an odd integer.
√ √
1.2 Property. 2 is not a rational number i.e., 2∈
/Q.
√ √ ∗
Proof. By Contradiction: Suppose that 2 ∈ Q. Then 2 = m n , m ∈ Z, n ∈ N with m and n have
no common divisors (other than ±1). Hence m = 2n (by taking squares). Thus m2 is an even
2 2
This shows that there are ’holes’ in the rational numbers, so we want enough numbers to fill the
holes.
√ Informally, what we want to do is ’complete’ the rational numbers to include numbers like
2. We call numbers in R \ Q := {x; x ∈ R and x ∈ / Q} irrational numbers.
1.3 Property. There exists a nonempty subset Q∗+ := { m ∗
n ; m, n ∈ N } of Q, called the set of positive
O
elements of Q, satisfying the following properties:
7 Q∗+ is closed under addition i.e., x + y ∈ Q∗+ ∀x, y ∈ Q∗+ .
O8 Q∗+ is closed under multiplication xy ∈ Q∗+ ∀x, y ∈ Q∗+ .
O9 For each x ∈ Q exactly one of the following holds: x ∈ Q∗+ , −x ∈ Q∗+ , x = 0.
1.4 Definition. On Q we define the relation ”≥” by
x ≥ y ⇐⇒ x − y ≥ 0 ( i.e., x − y > 0 or x − y = 0).
√ √
O O
1.5 Theorem. (Q, +, ·, ≥) is an ordered field i.e, it satisfies the nine properties 1 ... 9 .
Also Q( 2) := {x + y 2; x, y ∈ Q} is an ordered field. This suggests that there are infinitely
many ordered sub fields of R. The property that ensures the existence of a unique ordered field R
containing Q(up to renaming the elements) and distinguishes R from all other ordered fields is the
Completeness Property described in section 1.4.
O
following properties:
7 R∗+ is closed under addition i.e., x + y ∈ R∗+ ∀x, y ∈ R∗+ .
O8 R∗+ is closed under multiplication xy ∈ R∗+ ∀x, y ∈ R∗+ .
O9 ∀x ∈ R, exactly one of the following holds: x ∈ R∗+ , −x ∈ R∗+ , x = 0. (Trichotomy Property)
A real number x is called positive if x ∈ R∗+ and negative if −x ∈ R∗+ .
The binary relation ≥ is derived from the above Order Axiom:
x ≥ y ⇐⇒ x − y ≥ 0 ( i.e., x − y > 0 or x − y = 0).
Hence, if either x > y or x = y, we write x ≥ y or y ≤ x and say that x is greater than or equal to y
or y is less than or equal to x. If S ⊂ R,we define S+ := {x ∈ S : x ≥ 0} and S+∗ := {x ∈ S : x > 0}.
3
1.6 Property. The binary relation ≥ on R has the following properties:
3. Transitive: x ≥ y ≥ z implies x ≥ z.
Proof.
5. Let a ∈ R. Then (x + a) − (y + a) = x − y ≥ 0.
6. If x = y, then ax = ay.
Assume x 6= y, then x − y > 0. Hence, by closure under multiplication ax − ay = a(x − y) > 0.
The binary relation ≥ with properties 1.,2., and 3. is called partially ordered relation and with
4. is called totally ordered relation. Note that 4. implies 1., hence a totally ordered relation is a
relation satisfies 2.,3. and 4.
1.7 Property. The totally ordered relation ≥ on R has the following properties:
1. (a ≤ b and c ≤ d) =⇒ a + c ≤ b + d.
2. (0 ≤ a ≤ b and 0 ≤ c ≤ d) =⇒ ac ≤ bd.
3. (a ≤ b ≤ 0 and c ≤ d ≤ 0) =⇒ ac ≥ bd.
4
Proof.
1 1 1
5. (0 < a < b or a < b < 0) =⇒ (ab > 0 and b − a > 0) =⇒ (b − a) > 0 =⇒ > .
ab a b
(x − a)(x − b) ≤ 0 ⇐⇒ a ≤ x ≤ b (Equivalently)
(x − a)(x − b) > 0 ⇐⇒ x < a or x > b.
ab = 0 ⇐⇒ a = 0 or b = 0 (Equivalently)
ab 6= 0 ⇐⇒ a 6= 0 and b 6= 0.
1.10 Definition. The absolute value of a real number x, denoted by |x| is defined by
x if x ≥ 0
|x| =
−x if x < 0.
Note that
• |x| ≥ 0 ∀x ∈ R( by definition). For example |0| = 0 and | − 2| = |2| = 2.
• |x| = √
max{x, −x} ∀x ∈ R.
√
• |x| = x2 ∀x ∈ R(∵ |x|2 = x2 ). While ( x)2 = x for all x ≥ 0.
1.11 Examples.
x−2 if x − 2 ≥ 0 x−2 if x ≥ 2
1. |x − 2| = =
−(x − 2) if x − 2 < 0 −x + 2 if x < 2.
2 2
2 x −x−2 if (x + 1)(x − 2) ≥ 0 x −x−2 if x ≤ −1 or x ≥ 2
2. |x −x−2| = =
−(x2 − x − 2) if (x + 1)(x − 2) < 0 −x2 + x + 2 if − 1 < x < 2.
5
1.12 Property. Let x, y ∈ R. The following properties of absolute value are true:.
Proof.
1. is obvious from the definition of absolute value and 10 . is a particular case of 1. (a = 0).
3. We consider two cases (x ≥ 0 ∨ x < 0). If x ≥ 0, |x| = x = | − x| and if x < 0, |x| = −x = | − x|.
Now 30 . is an application of o 3.; |x − y| = | − (x − y)| = |y − x|.
5. x2 < y 2 ⇐⇒ x2 − y 2 < 0 ⇐⇒ (|x| − |y|)(|x| + |y|) < 0 ⇐⇒ |x| − |y| < 0 ⇐⇒ |x| < |y|. If
we assume x, y ≥ 0, then we establish 50 ..
Important notes:
• For x, y ≥ 0, to show x < y it is equivalent to show x2 < y 2 .
• For x, y ≥ 0, to show x ≤ y it is equivalent to show x2 ≤ y 2 .(combining 40 . and 50 . together)
10. First way: Using 6., to show 10. is equivalent to show −|x − y| ≤ |x| − |y| ≤ |x − y|. Now,
|x| = |(x − y) + y| ≤ |x − y| + |y| =⇒ |x| − |y| ≤ |x − y|. Similarly,
|y| = |(y − x) + x| ≤ |y − x| + |x| ≤ |x − y| + |x| =⇒ |x| − |y| ≥ −|x − y|.
Second way: a = |x|−|y| , b = |x−y| ≥ 0. a2 −b2 = 2(xy −|xy|) ≤ 0 =⇒ a2 ≤ b2 =⇒ a ≤ b.
6
1.13 Definition. A set I of real numbers is called an interval if any real number that lies between
two numbers in I is also in I i.e.:
∀a ∈ I ∀b ∈ I, a < x < b =⇒ x ∈ I.
It follows clearly from the definition that the set R = (−∞, ∞) is an interval. In addition to (−∞, ∞),
there are 8 other types of intervals:
It’s easy to check that each of these nine types of sets are intervals. Moreover, one may show that
every interval has one of these nine forms. Note that, some references use equivalent notations
]a, b[= (a, b), [a, b[= [a, b) and ]a, b] = (a, b].
Important notes:
• It’s very useful to associate real numbers as points on a number line to understand many concepts
and to arrive at ideas for a proof. In fact they will help us translating geometric ideas into analytic
proofs.
R
−5 −4 −3 −2 −1 0 1 2 3 4 5
• For a, b ∈ R, |a − b| = dist(a, b) represents the distance between a and b. In particular |a| =
|a − 0| = dist(a, 0). For example dist(−1, −3) = | − 1 − (−3)| = 2 and dist(−1, 3) = | − 1 − 3| = 4.
-3 -1 1 3
a (a+b)/2 b b (a+b)/2 a
• min{a, b} = (a + b)/2 − |a − b|/2 i.e., if we move to the left half the distance from the midpoint we
get the minimum.
• max{a, b} = (a + b)/2 + |a − b|/2 i.e., if we move to the right half the distance from the midpoint
we get the maximum.
• Let a ∈ R and δ > 0.
So the set Iδ (a) := {x ∈ R : |x − a| < δ} =]a − δ, a + δ[ consists of the points on the real line whose
distance from a is less than δ.
a-δ x a x a+δ
7
1.14 Property. Let x, x0 ∈ R. The following properties are true:
Proof.
3. We say that A is bounded in R if its bounded from above and below i.e.,
1.16 Examples.
M = 1 is an upper bound of A (∵ (∀x ∈ (0, 1])(x ≤ 1)) and every number larger than M is
also an upper bound of A. m = 1 is a a lower bound of A (∵ (∀x ∈ (0, 1])(0 ≤ x)) and every
number smaller than m is also a lower bound of A.
Note that upper bound ( lower bound) of a set may and may not belongs to the set.
3. The set {1/n2 : n ∈ N∗ } is a bounded set because 0 < 1/n2 ≤ 1 for all n ∈ N∗ .
8
4. The set A = (0, ∞) is not bounded above because (∀M ∈ R)(∃x ∈ A)(x > M ).
0 A M x
5. The set A = (−∞, 0] is not bounded below because (∀m ∈ R)(∃x ∈ A)(x < m).
x m A 0
Any set that is not bounded (either above or below) is said to be unbounded.
O O
1. M is the maximum of A ”and we write M = max A” if
1 M is an upper bound of A and 2 M ∈ A. (i.e., M is the largest element in A)
O O
2. m is the minimum of A ”and we write M = min A” if
1 m is a lower bound of A and 2 m ∈ A. (i.e., m is the smallest element in A)
A set may not have a largest or smallest member. For example, the set A = (0, 1] admits a maximum
(max A = 1 because 1 is an u.b. of A and 1 ∈ A ) but it does not admit a minimum. While, the set
B = [0, 1) admits a minimum (min B = 1 because 1 is a l.b. of B and 1 ∈ B ) but it does not admit
a maximum. Note that a finite set always admits a maximum and minimum.
1. An upper bound M of A with the property that M ≤ u for all upper bounds u of A is called a
least upper bound or supremum of A, and is denoted by sup A.
2. A lower bound m of A with the property that l ≤ m for all lower bounds l of A is called a
greatest lower bound or infimum of A, and is denoted by inf A.
O
1.19 Remark.
O
1 If max A exists in R, then sup A = max A.
2 If min A exists in R, then inf A = min A.
O
Proof.
1 Let M = max A. Then M
|{z} ≤ sup A ≤ |{z}
M .
| {z }
element of A l.u.b A u.b A
9
We may now state The property that ensures the existence of a unique ordered field R containing
Q(up to renaming the elements) and distinguishes R from all other ordered fields.
1.21 Theorem. There is exactly one complete ordered field say R (up to isomorphism i.e., renaming
the elements).
The following important consequences of the completeness property is useful in determining the
infimum or supremum of certain sets.
1.22 Property. (ε− characterization of supremum) Let A be a non empty bounded above subset of
R. Then M = sup A if and only if
1. M is an upper bound of A.
M-ε a M
2. (∀ε > 0)(∃a ∈ A)(M −ε < a). A
Proof. Assume that M = sup A. Then, by definition, M is an upper bound for A. Hence 1. holds.
For 2. assume to the contrary that (∃ε > 0)(∀a ∈ A)(M − ε ≥ a). Then, M − ε is an upper bound
for A which is smaller than M = sup A, a contradiction.
For the converse, assume that 1. and 2. hold. Since A is bounded above, it has a supremum, say i
S(by the completeness property). Since M is an upper bound for A, we must have that S ≤ M . If
S < M , then with ε = M − S > 0 and by 2. there exists a ∈ A such that M − (M − S) < a ≤ S i.e.,
S < S which is contradiction. Thus sup A = M .
1.23 Property. (ε− characterization of infimum) Let A be a non empty bounded below subset of R.
Then m = inf A if and only if
1. m is a lower bound of A.
m a m+ε
2. (∀ε > 0)(∃a ∈ A)(a < m+ε). A
1.24 Property. (Archimedean Principle) For all x ∈ R, there exists n ∈ N such that n > x i.e.,the
set N of natural numbers is not bounded above.
Proof. Assume that N is bounded above. By the Completeness Property,sup N exists. Let M =
sup N. By the ε− characterization with ε = 1, there exists k ∈ N such that M − 1 < k. This implies
that M < k + 1 ≤ M which is contradiction. Thus N is not bounded above.
10
1.25 Corollary. For all x > 0 for all y ∈ R, there exists n ∈ N such that y < nx.
Proof. Given that xy ∈ R. By the Archimedean Principle, there exists n ∈ N such that n > xy . This
implies that there exists n ∈ N such that y < nx.
1
1.26 Corollary. For all ε > 0, there exists n ∈ N such that n < ε.
Proof. Given that 1ε ∈ R. By the Archimedean Principle, there exists n ∈ N such that n > 1ε . This
implies that there exists n ∈ N such that n1 < ε.
Proof. The Corollary will follow if we show that (∀ε > 0, |a − b| < ε). Let ε > 0. By the
Archimedean Principle, there exists n0 ∈ N such that n10 < ε. We have a − n10 ≤ b ≤ a + n10 , or
equivalently |a − b| ≤ n10 . This implies that |a − b| < ε.
1.28 Property. Every nonempty subset A of Z which is bounded above admits a maximum .
Proof. Since A is bounded above, sup A exists (By the Completeness Property). Let M = sup A.
The property will follow if we show that M ∈ A. Suppose to the contrary that M ∈ / A. By
the ε− characterization with ε = 1, there exist a ∈ A such that M − 1 < a < M . By the ε−
characterization again with ε = M2−a , there exist a0 ∈ A such that M − M2−a < a0 < M . Hence
M − 1 < a < M − M2−a < a0 < M . This implies that a0 − a is an integer strictly between 0 and 1
which is a contradiction.
1.29 Corollary. Every nonempty subset A of Z which is bounded below admits a minimum .
Proof. Let A := {n ∈ N : P (n) is true}, the theorem will follow if we show A = N. Assume to the
contrary that A 6= N, then N \ A = {n ∈ N : n ∈ / A} admits a minimum (By the well ordering
principle). Let m = min(N \ A) ∈ N \ A. Since 0 ∈ A, then m 6= 0. Hence m − 1 ∈ A i.e, P (m − 1)
is true. This implies, using 2., P (m) is true i.e., m ∈ A which is contradiction. Thus A = N.
2. P (n) =⇒ P (n + 1) for n ≥ n0
11
1.31 Examples. 1. Let r ≥ −1. Prove Bernoulli’s inequality: (1 + r)n ≥ 1 + nr ∀n ∈ N.
Solution. In this case, P (n) is (1 + r)n ≥ 1 + nr.
• For n = 0 we have (1 + r)0 = 1 ≥ 1 + 0r. Hence P (0) is true.
• Suppose P (n) is true i.e., (1 + r)n ≥ 1 + nr.
Let us show P (n + 1) is true i.e., (1 + r)n+1 ≥ 1 + (n + 1)r.
Using 1 + r ≥ 0 and P (n) is true, we obtain
1.32 Definition. Let x ∈ R. The integer part of x, denoted by E(x), is the greatest integer less or
equal to x i.e., E(x) := max{n ∈ Z : n ≤ x}.
E(x) is well defined because the set {n ∈ Z : n ≤ x} is a nonempty bounded above subset of Z.
If x ∈ Z, then E(x) = x. In general, If we move to the left from x, the first integer is E(x). For
example E(1) = 1, E(1.7) = 1 and E(−1.7) = −2.
2
y
x
−2 −1 1 2 3
−1
−2
12
1.33 Property. The integer part function E : R 7→ Z satisfy the following properties:
4. E(x + k) = E(x) + k ∀k ∈ Z.
Proof.
1. Let k ∈ Z be such that k ≤ x. Since E(x) is the greatest integer less or equal to x, then
k ≤ E(x).
2. E(x) is the greatest integer less or equal to x. This implies that E(x) ≤ x. For the second
inequality, suppose to the contrary that E(x) + 1 ≤ x, then E(x) + 1 ≤ E(x) which is
contradiction. Hence x < E(x) + 1
using2. using1.
3. x ≤ y =⇒ E(x) ≤ x ≤ y =⇒ E(x) ≤ y =⇒ E(x) ≤ E(y).
4. Let k ∈ Z.
1.or3.
• E(x) ≤ x =⇒ E(x) + k ≤ x + k =⇒ E(x) + k ≤ E(x + k).
The equality will follow if we show E(x + k) ≤ E(x) + k.
• E(x + k) ≤ x + k < E(x) + k + 1 =⇒ E(x + k) ≤ E(x) + k.
Proof. Let a < b. By the Archimedean Principle, n(b − a) > 1 for some n ∈ N . Let m := E(na) + 1.
Then na < m ≤ na + 1 < nb, hence a < mn < b.
√ √
Proof. Let
√ a < b, then a
√ + 2 < b + 2 .√ √ rationals, There exists q ∈ Q such
By the density of the
that a + 2 < q < b + 2. Hence a < q − 2 < b, where q − 2 is irrational.
√
1.36 Property. If n is positive integer that is not a perfect square, then n is irrational.
√ √ √
Proof. Since n is not a perfect square, then n 6∈ Z. Hence 0 < n − E( n) < 1. Suppose to the
√ √
contrary that n is rational and let A := {m ∈ N : m n ∈ N}. The set A is a nonempty subset of
√
N, by the well ordering principle, A admits a minimum m0 . Hence m0 n ∈ N.Now;
√ √
• m := m0 ( n − E( n)) ∈ N and m < m0 .
√ √ √
• m n = m0 n − m0 nE( n) ∈ N.
√
Hence m ∈ A. This implies m0 ≤ m which is a contradiction(∵ m0 > m ). Thus n is irrational.
13
With the help of the completeness property one can prove the existence in R of the nth root.
1.37 Property. (n-th root) Consider the equation xn = a (?) where n ∈ N∗ and a ∈ R.
√ 1
• If n is even and a ≥ 0, then equation (?) has a unique solution in R+ denoted by n a or a n and
√
called the n-th root of a.(consequently, − n a ia also a solution in R).
√ 1
• If n is odd and a ∈ R, then equation (?) has a unique solution in R denoted by n a or a n and
called the n-th root of a.
We will see, in chapter three, that the existence of the n-th root is a simple application of the
intermediate value theorem.
1.5 Exercises
Exercise 1. Let a, b, c, d ∈ R.
a c
1. Assume bd > 0. Show that b ≤ d ⇐⇒ ad ≤ bc.
a c
2. Assume bd < 0. Show that b ≤ d ⇐⇒ ad ≥ bc.
a
3. Show that: (0 ≤ a ≤ c) ∧ (b ≥ d > 0) =⇒ b ≤ dc .
a
4. Deduce that: (a ≤ c ≤ 0) ∧ (0 > b ≥ d) =⇒ b ≥ dc .
a
5. Show that: (a < 0) ∧ (a ≤ c) ∧ (0 < b ≤ d) =⇒ b ≤ dc .
|x+y| |x| |y|
Exercise 2. Show that 1+|x+y| ≤ 1+|x| + 1+|y| ∀x, y ∈ R.
d. E E(nx)
b. E(x) + E(−x) = 0 or − 1. n = E(x).
Exercise 5. Let a ∈ R.
2. Deduce that a ≥ 1 =⇒ an ≥ a ∀n ∈ N∗ .
Exercise 6. Let ∅ =
6 A ⊂ R. Show that A is bounded iff ∃C > 0 such that ∀a ∈ A, |a| ≤ C.
Exercise 7. Let A := { n1 : n ∈ N∗ }.
14
1. Show that sup A and inf A exist in R.
2. Find sup A.
5. Find inf A.
4. Deduce that for each pair of real numbers a < b, there exists m ∈ Z and there exists n ∈ N
such that a < 2mn < b.(i.e., between two distinct real numbers, there exists a dyadic rational)
1+(−1)n
Exercise 10. Let A := {un = n − n2 : n ∈ N∗ }.
(a) Let m < 0. Show that there exists n0 ∈ N∗ such that n20 > 1 − m.
(b) Show that un ≤ 1 − n2 for all n ∈ N∗ .
(c) Deduce that A is not bounded below.
5. Assume λ < 0. Deduce a formula for sup(λA), sup(A − B), inf(A + B), inf(A − B).
Exercise 15. Let A := {xy : |x| + |y| < 1}.Show that sup A exists and sup A = 41 .(Hint: 4ab ≤ (a + b)2 .)
Exercise 16. Assume A is nonempty bounded above subset of R and √ B is nonempty bounded below
subset of R with MA = sup A and mB = inf B > 0. Let C := {a − b : a ∈ A and b ∈ B}.
√
3. Show that sup C = MA − mB .
Exercise 17. Let A be a nonempty bounded subset of R. Define |A| := {|a| : a ∈ A}. Show that
sup |A| − inf |A| ≤ sup A − inf A.(Hint: Use |x| − |y| ≤ |x − y|.)
15
CHAPTER 2
NUMERICAL SEQUENCES
2.2 Definition. A property (p) of a sequence un is said to hold eventually if there exists an index
N ∈ N such that un has property (p) for all n ≥ N (i.e., after a certain rank).
For example, by the Archimedean principle, ∀ ε > 0 the sequence ( n1 ) is eventually less than ε.
i.e., (un ) is bounded (above, below) if the set of its terms {un : n ≥ N } is bounded (above, below).
All properties of bounded sets can be restated for bounded sequences. In particular, Exercise 6.
Chapter one gives the following property
16
2.5 Definition. Let (un )∞
n=0 be a sequence in R and ` ∈ R. We say that (un ) converges to ` and we
write lim un = ` or un −→ ` if
n→∞ n→∞
i.e., for all ε > 0, the sequence (un ) is eventually in the open interval (` − ε, ` + ε) = Iε (`).
i.e., for all ε > 0, the distance between un and ` is eventually less than ε.
Hence the limit of a convergent sequence do not depend on the behavior of the beginning of the
sequence. Only eventuality matters for the limit.
un ∈ R
un0 `+ε
`
n ≥ n0 =⇒ dist(un , `) < ε
`−ε
n∈N
1 2 n0 n0+1
Graph of a convergent sequence: un −→ `
n→∞
17
4n2 +3n−6
2.8 Example. Using the definition of the limit, show that lim n2 −6
= 4.
n→∞
Solution. Let ε > 0 be arbitrary. Take n0 = max{E( 42ε ) + 1, 3, 4}. Now if n ≥ n0 , then we have
42 4n2 +3n−6
n > ε , n > 3 and n > 4. So from scratch we obtain n2 −6
− 4 = 3n+18
n2 −6
≤ 42
n < ε.
i.e., for all A > 0, the sequence (un ) is eventually in the open interval (A, ∞).
i.e., for all A < 0, the sequence (un ) is eventually in the open interval (−∞, A).
n2 +(−1)n
2.10 Example. Using the definition of the limit, show that lim √
n2 +n+7
= ∞.
n→∞
2.11 Example. Let ` ∈ R. Show that lim (−1)n 6= ` and lim (−1)n 6= ±∞.(i.e., lim (−1)n @ in R)
n→∞ n→∞ n→∞
18
solution.
Negation Of Convergence.
lim un 6= ` ⇐⇒ (∃ε > 0)(∀n0 ∈ N)(∃n ∈ N)(n ≥ n0 ∧ |un − `| ≥ ε).
n→∞
Choose ε = 0.1 and let n0 ∈ N. If |u2n0 − `| = |1 − `| < ε = 0.1 and |u2n0 +1 − `| = |1 + `| < ε = 0.1,
then 2 = |1 − ` + ` + 1| ≤ |1 − `| + |` + 1| < 0.1 + 0.1 < 2 a contradiction. Hence there exists
n ≥ n0 ( n = 2n0 or n = 2n0 + 1 ) such that |un − `| ≥ ε.
One can show ∀` ∈ R, lim (−1)n 6= ` by contradiction:
n→∞
Assume to the contrary that ∃` ∈ R such that lim (−1)n = `. Then ∀ε >, | ± 1 − `| < ε. Hence
n→∞
2 = |1 − ` + ` + 1| ≤ |1 − `| + |` + 1| < ε + ε = 2ε. So 1 < ε for all ε > 0 is a contradiction.
Negation Of Infinite Limit .
lim un 6= ∞ ⇐⇒ (∃A > 0)(∀n0 ∈ N)(∃n ∈ N)(n ≥ n0 ∧ un ≤ A).
n→∞
Choose A = 2 and let n0 ∈ N. We have un0 = ±1 ≤ 2.
One can show that lim un 6= ∞ by contradiction:
n→∞
Assume to the contrary that lim un = ∞. Then for all A > 0, eventually un = ±1 > A which is a
n→∞
contradiction. Thus lim un 6= ∞.
n→∞
Note that a sequence (un ) ⊂ R is said to be divergent if lim un = ∞ or lim un = −∞ or the limit
n→∞ n→∞
of (un ) does not exists (in R).
Proof. Suppose that the sequence (un ) has two limits `1 and `2 and let us show `1 = `2 . The equality
will follow if we show that ∀ε > 0, |`1 − `2 | < ε.
Let ε > 0, then by the definition of the limit:
ε
∃n1 ∈ N, n ≥ n1 =⇒ |un − `1 | <
2
ε
∃n2 ∈ N, n ≥ n2 =⇒ |un − `2 | < .
2
For n3 > max{n1 , n2 } and with the help of triangle inequality we obtain
|`1 − `2 | = |`1 − un3 + un3 − `2 | ≤ |un3 − `1 | + |un3 − `2 | < 2ε + 2ε = ε.
Hence, for n ≥ n0 we have |un | = |un − ` + `| ≤ |un − `| + |`| < 1 + |`|. Define M := {1 +
|`|, |u0 |, |u1 |, · · · |un0 |}. Then we have ∀n ∈ N, |un | < M and thus (un ) is a bounded sequence.
19
2.15 Remark. If un −→ ` ∈ R∗ , then there exists N ∈ N such that for all n ≥ N , we have
n→∞
|`|
|un | > 2 .(Hence, if the limit is not zero, then un 6= 0 eventually)
|`|
Proof. We have lim un = `. Let N corresponds to ε := 2. Then,
n→∞
|`| |`|
n ≥ N =⇒ |un | − |`| ≤ |un − `| < =⇒ |un | > .
2 2
2.16 Property. Let (un ) and (vn ) be sequences in R.The following limit properties hold in R in the
sense that if the expression on the right side of the equation exists in R, then the limit on the left
side exists in R and equality holds.
Proof. We prove the theorem for the case lim un = `1 ∈ R and lim vn = `2 ∈ R.
n→∞ n→∞
1. lim λun = λ`1 ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |λun − λ`1 | < ε).
n→∞
ε
Note that: |λun − λ`1 | = |λ||un − `1 | < ε ⇐⇒ |un − `1 | < |λ| .
ε
We have lim un = `1 . Let n1 corresponds to |λ| > 0 and take n0 := n1 . Then,
n→∞
ε
n > n0 = n1 =⇒ |un − `1 | < =⇒ |λun − λ`1 | = |λ||un − `1 | < ε.
|λ|
2. lim (un +vn ) = `1 +`2 ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |(un +vn )−(`1 +`2 )| < ε).
n→∞
Note that: |(un + vn ) − (`1 + `2 )| = |(un − `1 ) + (vn − `2 )| ≤ |(un − `1 )| + |(vn − `2 )| < ε if for example
|un − `1 | < 2ε and |vn − `2 | < 2ε .
We have lim un = `1 and lim vn = `2 . Then |un − `1 | < 2ε for n ≥ n1 and |vn − `2 | < 2ε for
n→∞ n→∞
n ≥ n2 . Choose n0 := max{n1 , n2 }. If n ≥ n0 , then |(un + vn ) − (`1 + `2 )| = |(un − `1 ) + (vn −
`2 )| ≤ |(un − `1 )| + |(vn − `2 )| < ε.
3. lim (un vn ) = `1 `2 ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |un vn − `1 `2 | < ε).
n→∞
Note that:
• Since (un ) is convergent, then its bounded i.e., |un | ≤ A for some A > 0.
• |un vn −`1 `2 | = |un vn −un `2 +un `2 −`1 `2 | ≤ |un vn −un `2 |+|un `2 −`1 `2 | = |un ||vn −`2 |+|`2 ||un −`1 | ≤
ε
A|vn − `2 | + (|`2 | + 1)|un − `1 | < ε if |vn − `2 | < 2A and |un − `1 | < 2(|`2ε|+1) .
ε ε
We have lim un = `1 and lim vn = `2 . Then |un −`1 | < 2(|`2 |+1) for n ≥ n1 and |vn −`2 | < 2A
n→∞ n→∞
for n ≥ n2 . Choose n0 := max{n1 , n2 }. If n ≥ n0 , then|un vn − `1 `2 | < ε.
20
4. It is sufficent to show:
lim (1/vn ) = 1/`2 ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |1/vn − 1/`2 | < ε).
n→∞
Note that:
`2
• Since lim vn = `2 6= 0, then |vn | ≥ 2 for n ≥ N ∈ N.
n→∞
`2 −vn vn −`2 `22 ε
• |1/vn − 1/`2 | = vn `2 ≤2 `22
< ε if |vn − `2 | < 2 .
`22 ε
We have lim vn = `2 . Then |vn − `2 | < 2 for n ≥ n2 . Choose n0 := max{N, n2 }. If n ≥ n0 ,
n→∞
then|1/vn − 1/`2 | < ε.
5. lim |un | = |`1 | ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |un | − |`1 | < ε).
n→∞
Note that: |un | − |`1 | ≤ |un − `1 |.
We have lim un = `1 . Then |un − `1 | < ε for n ≥ n1 . Choose n0 := n1 . If n ≥ n0 ,
n→∞
then |un | − |`1 | ≤ |un − `1 | < ε.
−`
Proof. Assume to the contrary that ` < 0. We have lim un = `. Let n0 corresponds to ε := 2 > 0.
n→∞
−` `
If n ≥ n0 , then un − ` < 2 . Hence un < 2 < 0 eventually which is a contradiction. Thus ` ≥ 0.
2.18 Corollary. Let (un ) and (vn ) be convergent sequences such that un ≤ vn for n ≥ N ∈ N, then
lim un ≤ lim vn .
n→∞ n→∞
2.20 Property. (Sandwich Rule) Let (un ), (vn ) and (wn ) be sequences in R such that un ≤ vn ≤ wn
for all n ≥ N (N ∈ N) and lim un = lim wn = ` (` ∈ R). Then lim vn = `.
n→∞ n→∞ n→∞
Proof. lim vn = ` ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ ` − ε < vn < ` + ε).
n→∞
Let ε > 0, then by the definition of the limit:
21
sin n
2.21 Example. Show that lim n = 0.
n→∞
Solution.
sin n
First Way: −1 ≤ sin n ≤ 1 =⇒ −1/n ≤ (sin n)/n ≤ 1/n =⇒ lim = 0.
n→∞ n
sin n
Second Way: To show lim n =0 is equivalent to show lim sinn n = 0. We have 0 ≤ sin n
n ≤ n1 ,
n→∞ n→∞
sin n
then by Sandwich rule lim n = 0.
n→∞
Proof. Since (un ) is a bounded sequence, then there exists (A > 0 such that |un | < A for all n. Hence,
0 ≤ |un vn | = |un ||vn | ≤ A|vn |. Then by Sandwich rule lim |un vn | = 0. Thus lim un vn = 0
n→∞ n→∞
2.23 Property. For any real number x there exist sequences (rn ) in Q and(in ) in R \ Q such that
lim rn = lim in = x.
n→∞ n→∞
Proof. By density of rationals and irrationals in R, for all n ∈ N∗ , there exist rn ∈ Q and in ∈ R \ Q
such that x − n1 < rn < x + n1 and x − n1 < in < x + n1 . The Sandwich rule then implies that
lim rn = lim in = x.
n→∞ n→∞
2.24 Property. Let (un ) and (vn ) be sequences in R such that un ≤ vn for all n ≥ N (N ∈ N).
1. If lim un = ∞, then lim vn = ∞.
n→∞ n→∞
2. If lim vn = −∞, then lim un = −∞.
n→∞ n→∞
2.25 Definition.
• A sequence (un ) in R is said to be increasing if ∀n ∈ N, un ≤ un+1 .
• A sequence (un ) in R is said to be strictly increasing if ∀n ∈ N, un < un+1 .
• A sequence (un ) in R is said to be decreasing if ∀n ∈ N, un ≥ un+1 .
• A sequence (un ) in R is said to be strictly decreasing if ∀n ∈ N, un > un+1 .
A sequence that is either increasing or decreasing is called monotone and a sequence that is either
strictly increasing or strictly decreasing is called strictly monotone.
22
n−1 −2
For example un = n+1 is strictly increasing because ∀n ∈ N, un − un+1 = (n+1)(n+2) < 0.
Proof.
1. Since the set {un ; n ∈ N} is nonempty and bounded above, then sup un := sup{un ; n ∈ N} exists
n∈N
in R. Claim: n→∞
lim un = sup un ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ sup un − ε < un < sup un + ε).
n∈N n∈N n∈N
Let ε > 0, then by ε− characterization of supremum, there exists n0 ∈ N such that sup un − ε < un0 .
n∈N
If n ≥ n0 , then by the monotony of the sequence we have
Proof.
1. First Way: We have un ≤ sup un ≤ `. Then by Sandwich rule sup un = `.
Second Way: (ε− characterization).
• We have ` is an upper bound of (un ).
• Claim: (∀ε > 0)(∃n0 ∈ N)(` − ε < un0 ).
Let ε > 0. Since lim un = `, then there exists n1 ∈ N such that n ≥ n1 =⇒ ` − ε < un < ` + ε.
n→∞
Choose n0 := n1 , then ` − ε < un0 .
2. First Way: We have ` ≤ inf un ≤ un . Then by Sandwich rule inf un = `.
Second Way: (ε− characterization).
• We have ` is an lower bound of (un ).
• Claim: (∀ε > 0)(∃n0 ∈ N)(un0 < ` + ε).
Let ε > 0. Since lim un = `, then there exists n1 ∈ N such that n ≥ n1 =⇒ ` − ε < un < ` + ε.
n→∞
23
Choose n0 := n1 , then un0 < ` + ε.
Third way: Apply 1. to the sequence (−un ).
n2
For example: The sequence un = n2 +1
is bounded above by 1 and lim un = 1, then sup un = 1.
n→∞
Proof. Exercise.
For example: If A admits a supremum in R, then sup A is a limit of a sequence (an ) ⊂ A, and
if B ⊂ (0,
√∞) admits an infimum, then inf B is a limit of a sequence√ (bn ) ⊂ B, Then the√ set
C := {a− b : a ∈ A, b ∈ B} admits a√
supremum and sup C = sup A− inf B because
√ sup A− inf B
is an upper bound of C and sup A − inf B is the limit of the sequence (an − bn ) ⊂ C.
2.30 Definition. A sub sequence of a sequence (un ) is a part of (un ) denoted by (uϕ(n) ) where
ϕ : N 7→ N is a strictly increasing sequence.
For example (u2n ) is a sub sequence of (un ) because ϕ(n) = 2n is a strictly increasing sequence and
(u2n+1 ) is a sub sequence of (un ) because ϕ(n) = 2n + 1 is a strictly increasing sequence .
2.31 Property. The strictly increasing function ϕ : N 7→ N satisfies ϕ(n) ≥ n for all n.
Proof. By induction.
2.32 Remark. If (un ) is a bounded sequence, then any sub sequence (uϕ(n) ) is also bounded.
Proof. uϕ(n) −→ ` ⇐⇒ (∀ε > 0)(∃n0 ∈ N)(∀n ∈ N)(n ≥ n0 =⇒ |uϕ(n) − `| < ε).
n→∞
(?)
Let ε > 0. Since un −→ `, then there exists n1 ∈ N such that n ≥ n1 =⇒ |un − `| < ε.
n→∞
Choose n0 := n1 . If n ≥ n0 then ϕ(n) ≥ ϕ(n0 ) ≥ n0 = n1 and by the implication (?) we obtain
|uϕ(n) − `| < ε.
2.34 Corollary. 1 If (un ) has a divergent sub sequence, then (un ) is divergent.
2. If (un ) has two sub sequences converge to different limits, then (un ) is divergent.
24
2.35 Theorem. Every sequence (un ) has a monotonic sub sequence.
Proof. (un ) has a monotone sub sequence (unk ) . Since (un ) is bounded then (unk ) is also bounded.
Hence (unk ) is a monotone bounded sequence .Thus (unk ) is a convergent sub sequence of (un ) .
For example: The sequence (cos n) has a convergent sub sequence.
2.5 Exercises
Exercise 1. Using the definition of the limit of a sequence, prove that
√ 2n cos n sin n − 3n sin n cos2 n
s
n−1 5. lim = 0.
1. lim 1 + = 1. n→∞ n2 + 1
n→∞ n
√ √ 2n cos n sin n − 3n sin n cos2 n
2. lim ( n + 1 − n) = 0. 6. lim = 0.
n→∞ n→∞ n2 + 1 + sin n
√ n2 + (−1)n
n2 − n + 1 7. lim √ = ∞.
3. lim = 1. n→∞ n2 + n + 7
n→∞ n+1
n cos n n2
4. lim = 0. = −∞.
8. lim
n→∞ n2 + 1 n→∞ 4 − n
√ q
Exercise 2. Let (un ) ⊂ [0, ∞) with limit in R. Show that lim un = lim un .
n→∞ n→∞
Exercise 3. Let Let 0 ≤ c < 1 and A := {un = cn : n ∈ N∗ }.
1. Show that the sequence (un ) is a decreasing sequence.
2. Show that 0 ≤ cn < 1 for all n ∈ N∗ .
3. Show that lim un exists in R and lim un = 0.(Hint: un+1 = cun .)
n→∞ n→∞
25
CHAPTER 3
LIMITS AND CONTINUITY ON R
3.1 Functions
f
3.1 Definition. Let D ⊆ R. A function f from D into R denoted by f : D 7→ R or D 7→ R, is a
rule that assigns to each x ∈ Da unique image in R denoted by f (x).
• D is called the domain of f .
• f (D) := {f (x) : x ∈ D} is called the image or range of f .
• Gf := {(x, f (x)) : x ∈ D} is called the graph of f .
D = [0, ∞[ x
√
The function f (x) = x.
y y f (x)
f (x)
f (x)
x x
f (x)
f (x)
x x
Graph of a non function. (x2 + y 2 = 4)
Graph of a non function
26
3.2 Definition. Let f : D 7→ R be a function. We say that
• D is symmetric with respect to the origin i.e.; x ∈ D =⇒ −x ∈ D.
1. f is even on D if
• f (−x) = f (x) ∀x ∈ D.
• D is symmetric with respect to the origin i.e.; x ∈ D =⇒ −x ∈ D.
2. f is odd on D if
• f (−x) = −f (x) ∀x ∈ D.
• D is invariant under translations by ± T.i.e.,
3. f is periodic on D if ∃ T > 0 s.t (x ∈ D =⇒ x ± T ∈ D)
• f (x + T ) = f (x) ∀x ∈ D.
The period of f is the smallest positive number T (if exists) satisfying f (x+T ) = f (x) ∀x ∈ D.
If the period of f is T , then we say that f is T −periodic on D.
Note tha if D = R, then the first condition in the above three definitions is always satisfied. Also,
a constant function on R is periodic of any period T > 0 and thus has no period. Here are some
examples about even, odd and periodic functions.
y
y
− 5π −2π− 3π −π − π2 π π 3π 2π 5π
2 2 2 2 2
y y
1 1
x x
−3π− 5π−2π− 3π−π − π2 π π 3π 2π 5π 3π −3π− 5π−2π− 3π−π − π2 π π 3π 2π 5π 3π
2 2 2 2 2 2 2 2 2 2
−1 −1
proof. Exercise
27
3.4 Definition. Let f : D 7→ R be a function. We say that
St. inc. function. Inc. function. St. dec. function. Dec. function.
Note that, if a function is strictly increasing then it is increasing and if a function is strictly decreasing
then it is decreasing as well.
28
3.2 Limits
The notion of limit is conveniently described in terms of the notion of neighborhoods.
Using the conventions Ir (∞) \ {∞} = Ir (∞), I(a) = Ir (a) and I(a+ ) \ {a+ } = I(a+ ) \ {a}, the
following definition of limit is sufficiently general to include the usual limits encountered in calculus:
two-sided limits, one-sided limits and limits at infinity.
The symbol α will denote any of a, a+ , a− , ∞, −∞.
3.8 Definition. Let f be a real valued function defined on some I(α) \ {α} and ` ∈ R. We say that
f (x) tends to ` as x tends to α and we write lim f (x) = ` if
x→α
` `∈R `=∞ ` = −∞
I(`) (` − ε, ` + ε) (M, ∞), M > 0 (−∞, M ), M < 0
f (x) ∈ I(`) |f (x) − `| < ε f (x) > M f (x) < M
In analogy to sequences we start with the case α = ∞.
29
1. lim f (x) = ` ⇐⇒
∀ε > 0, ∃A < 0, ∀x ∈ D, x < A =⇒ |f (x) − `| < ε .
x→−∞
2. lim f (x) = ∞ ⇐⇒ ∀M > 0, ∃A < 0, ∀x ∈ D, x < A =⇒ f (x) > M .
x→−∞
3. lim f (x) = −∞ ⇐⇒ ∀M < 0, ∃A < 0, ∀x ∈ D, x < A =⇒ f (x) < M .
x→−∞
|f (x) − `| ≤ · · · ≤ |x − a| 2 ( or
1 1
α>0)
( expression in x bounded above by c) ≤ cδ 2 < ε
ε2 1 ε2 ε2
If δ < c2
. So we choose δ = 2 c2 < c2
.
30
3.9 Example. Let f (x) = x2 + 3. Using the definition of the limit, show that lim f (x) = 4.
x→1
31
4x2 +3x−6
3.11 Example. Let f (x) = x2 −4
. Using the definition of the limit, show that lim f (x) = 4.
x→∞
(?)
Solution. ∀ε > 0, ∃A > 0, ∀x ∈ D =] − ∞, −2[∪] − 2, 2[∪]2, ∞[, x > A =⇒ |f (x) − `| < ε.
Let ε > 0, we search for A such that the implication (?) holds true.
4x2 + 3x − 6 3x + 10
|f (x) − `| = −4 =
x2 − 4 x2 − 4
3x + 10
= 2 (we drop the absolute value for x > 2)
x −4
3x + 10 √
≤ (x2 − 4 > x2 /2 if x > 8)
x2 /2
3x + 10x
≤ (10 < 10x for x > 1)
x2 /2
26
≤ ( cancel by x)
x
26
<ε ( for x > ).
ε
√
So we choose A > max{ 26
ε , 1, 2, 8}. √
26
Hence x > A implies x > 1, x > 2, x > 8, x > ε and |f (x) − `| < ε.
How to show lim f (x) = ∞?
x→∞
(?)
lim f (x) = ∞ ⇐⇒ ∀M > 0, ∃A > 0, ∀x ∈ D, x > A =⇒ f (x) > M
x→∞
• We let M > 0.
• We search for A = A(M ) which may depends on M such that the implication (?) holds true.
How to find A s.t (?) holds true?(How to find at least one nbhd ]A, ∞[ of ∞ s.t (?) holds true? )
We will simplify matters by making estimates: For x > A given,
x2 +(−1)E(x)
3.12 Example. Let f (x) = √
x2 +x+7
. Using the definition of the limit, show that lim f (x) = ∞.
x→∞
(?)
Solution. ∀M > 0, ∃A > 0, ∀x ∈ D = R, x > A =⇒ f (x) > M .
Let M > 0, we search for A such that the implication (?) holds true.
x2 + (−1)E(x) x2 + −1
f (x) = √ ≥√ ((−1)E(x) = ±1 ≤ 1)
x2 + x + 7 x2 + x + 7
x2 /2 + x2 /2 − 1
≥ √ (x ≤ x2 , 7 ≤ 7x2 for 1 < x)
x2 + x2 + 7x2
2
x /2
≥ (x2 /2 − 1 > 0 for 2 < x)
3|x|
x
≥ (|x| = x for 0 < x)
6
>M ( for 6M < x).
32
How to show lim f (x) = ∞?
x→a
(?)
lim f (x) = ∞ ⇐⇒ ∀M > 0, ∃δ > 0, ∀x ∈ D \ {a}, |x − a| < δ =⇒ f (x) > M .
x→a
• We let M > 0.
• We search for δ = δ(ε) which may depends on ε such that the implication (?) holds true.
How to find δ s.t (?) holds true?(How to find at least one δ−neighborhood of a s.t (?) holds true? )
We will simplify matters by making estimates: For |x − a| < δ given,
|x−1|
3.13 Example. Let f (x) = √
x− 2x−1
. Using the definition of the limit, show that lim f (x) = ∞.
x→1
(?)
Solution. ∀M > 0, ∃δ > 0, ∀x ∈ D \ {1} = [ 21 , 1[∪]1, ∞[, |x − 1| < δ =⇒ f (x) > M .
Let M > 0. We search for δ > 0 such that the implication (?) holds true.
For |x − 1| < δ given i.e., 1 − δ < x < 1 + δ,
√
|x − 1| |x − 1| x + 2x − 1
f (x) = √ = √ × √ (try to get |x − 1|α>0 in denominator)
x − 2x − 1 x − 2x − 1 x + 2x − 1
√
|x − 1|(x + 2x − 1)
= ( cancel by |x − 1|)
(x − 1)2
1 √ √ √
= × (x + 2x − 1) x + 2x − 1 ≥ 1 − δ + 1 − 2δ
|x − 1|
1 √ √ 1 1
≥ (1 − δ + 1 − 2δ) 1 − δ + 1 − 2δ > if δ <
δ 2 2
1 1 1 1
≥ >M > M if δ < .
δ 2 2δ 2M
1 1 1 1
Choose 0 < δ < 2M , for example δ = 2 × 2M = 4M .
3.14 Remark. We discussed four cases, the other five cases can be transformed into these cases by
the change of variable t = −x in the case x → −∞ or by computing lim(−f (x)) in case f (x) → −∞.
x−1
3.15 Example. Let f (x) = √
x− 2x−1
. Using the definition of the limit, show that lim f (x) = ∞.
x→1+
(?)
Solution. ∀M > 0, ∃δ > 0, ∀x ∈ D \ {1} = [ 21 , 1[∪]1, ∞[, 0 < x − 1 < δ =⇒ f (x) > M .
Let M > 0. We search for δ > 0 such that the implication (?) holds true.
For 0 < x − 1 < δ given i.e., 1 < x < 1 + δ,
√
x−1 x−1 x + 2x − 1
f (x) = √ = √ × √ (try to get (x − 1)α>0 in denominator)
x − 2x − 1 x − 2x − 1 x + 2x − 1
√
(x − 1)(x + 2x − 1)
= ( cancel by (x − 1))
(x − 1)2
1 √ √
= × (x + 2x − 1) x > 1 =⇒ x + 2x − 1 > 2
x−1
2 2
≥ >M 2δ < ε if δ < .
δ M
2
Choose 0 < δ < M.
33
3.16 Remark. Infact, all cases can be transformed to lim f (x) = 0
x→0±
Proof. We prove the property for the case α = a ∈ R and leave the other cases for the reader.
Suppose that f has two limits `1 and `2 and let us show `1 = `2 . We consider only the case where
`1 and `2 are both finite. The equality will follow if we show that ∀ε > 0, |`1 − `2 | < ε. Let ε > 0,
then by the definition of the limit:
ε
∃δ1 > 0, ∀x ∈ D, 0 < |x − a| < δ1 =⇒ |f (x) − `1 | <
2
ε
∃δ2 > 0, ∀x ∈ D, 0 < |x − a| < δ2 =⇒ |f (x) − `2 | <
2
For δ3 < min{δ1 , δ2 }, x0 ∈ D and 0 < |x0 − a| < δ3 and with the help of triangle inequality we obtain
|`1 − `2 | = |`1 − f (x0 ) + f (x0 ) − `2 | ≤ |f (x0 ) − `1 | + |f (x0 ) − `2 | < 2ε + 2ε = ε.
3.18 Property. Let f be a function defined on I \ {a} for some open interval I containing a and
` ∈ R. Then
lim f (x) = ` ⇐⇒ lim f (x) = ` = lim f (x).
x→a x→a− x→a+
Proof. Exercise.
Proof. We prove the property for the case α = a ∈ R and ` ∈ R. The proofs for the other cases are
similar, adapting the same argument.
⇒) Assume lim f (x) = ` and let (xn ) ⊂ I(a) \ {a} s.t xn −→ a. Claim f (xn ) −→ `:
x→a n→∞ n→∞
Let ε > 0. Since lim f (x) = `, then
x→a
34
3.20 Remark. If there exist two sequences (xn ) and (yn ) in D \ {α} s.t xn −→ α ∧ yn −→ α but
n→∞ n→∞
lim f (xn ) 6= lim f (yn ), then lim f (x) does not exist (in R).
n→∞ n→∞ x→a
3.21 Examples.
1. Show that lim sin x does not exist.
x→∞
π
Solution. xn = 2πn −→ ∞ ∧ yn = 2πn + −→
2 n→∞ ∞ but lim sin(xn ) = 0 6= lim sin(yn ) = 1.
n→∞ n→∞ n→∞
1
3. Show that lim cos does not exist.
x→0+ x
1 1 + but lim cos( 1 ) = 1 6= lim cos( 1 ) = 0.
Solution. xn = −→ 0+ ∧ yn = 2πn+
2πn n→∞ π −→ 0
xn yn
2 n→∞ n→∞ n→∞
Proof. Exercise.
3.23 Property. Let f and g be functions defined on I(α) \ {α}. The following limit properties hold
in R in the sense that if the expression on the right side of the equation exists in R, then the limit
on the left side exists in R and the equality holds.
5. lim |f (x)| = | lim f (x)|. (Hence, lim f (x) = `1 ⇐⇒ lim |f (x) − `1 | = 0.)
x→α x→α x→α x→α
Proof. The properties follows immediately from the sequential characterization of limit property
(3.19) and and the algebra of limits of sequences (2.16). However, it is instructive to formulate direct
proofs. We do the two methods for part (4.).
4. Using the sequential characterization of limit:
Let (xn ) be a sequence in I(α) \ {α} s.t xn −→ α. By hypotheses lim g(xn ) 6= 0. Hence,
n→∞ n→∞
lim (f (x)/g(x)) = lim (f (xn )/g(xn )) = lim f (xn )/ lim g(xn ) = lim f (x)/ lim g(x).
x→α n→∞ n→∞ n→∞ x→α x→α
Using the direct method for the case lim f (x) = `1 ∈ R and lim g(x) = `2 ∈ R? :
x→a x→a
35
Let ε > 0.
Then |f (x) − `1 | < kε on Iδ1 (a) \ {a} and |g(x) − `2 | < kε on Iδ2 (a) \ {a} for k > 0. Now,
f (x) `1 `2 f (x) − `1 g(x) |`2 f (x)−`2 `1 + `2 `1 − `1 g(x)|
− = = ( we add and subtract `2 `1 )
g(x) `2 `2 g(x) |`2 g(x)|
|`2 f (x) − `2 `1 | + |`2 `1 − `1 g(x)|
≤ ( using triangle inequality )
|`2 ||g(x)|
|`2 ||f (x) − `1 | + |`1 ||`2 − g(x)|
≤ ( on Ir (a) \ {a}, property(3.22))
|`2 ||`2 /2|
|`2 |kε + |`1 |kε 2[|` | + |` |]
2 1
≤ =k ε ( on Imin{r,δ1 ,δ2 } (a) \ {a})
|`2 ||`2 /2| `22
`22
≤ ε. ( take k = ).
2[|`2 | + |`1 |]
The proofs for the other cases are similar.
5. and 3. Exercises.
3.24 Property. Let f and g be functions defined on I(α) \ {α} s.t f (x) ≤ g(x) ∀x ∈ I(α) \ {α}.
36
3. The case α = −∞.
lim g(x) = −∞ =⇒ ∀M < 0, ∃A < 0, ∀x ∈ D, x < A =⇒ g(x) < M
x→−∞
=⇒ ∀M < 0, ∃A < 0, ∀x ∈ D, x < A =⇒ f (x) ≤ g(x) < M
=⇒ lim f (x) = −∞.
x→−∞
3.25 Property. (Sandwich Rule) Let f, g and h be functions defined on I(α)\{α} s.t f (x) ≤ g(x) ≤
h(x) ∀x ∈ I(α) \ {α}. If lim f (x) = ` and lim h(x) = ` then lim g(x) = `.
x→α x→α x→α
1. If f is increasing, then
lim f (x) = inf{f (x) : a < x < b} ∈ R and lim f (x) = sup{f (x) : a < x < b} ∈ R.
x→a+ x→b−
2. If f is decreasing, then
lim f (x) = sup{f (x) : a < x < b} ∈ R and lim f (x) = inf{f (x) : a < x < b} ∈ R.
x→a+ x→b−
Proof. Exercise.
3.28 Corollary. Let a, b ∈ R, a < c < b and f :]a, b[7→ R. If f is monotone on ]a, b[ , then lim f (x)
x→c±
exist in R.
Proof. Exercise.
37
3.3 Continuous Functions
x sin x1
if x 6= 0
1. Show that f (x) = is continuous at x = 0.
0 if x = 0.
Solution.
lim f (x) = f (0) ⇐⇒ ∀ε > 0, ∃δ > 0, ∀x ∈ R, |x − 0| < δ =⇒ |f (x) − f (0)| < ε .
x→0
Let ε > 0. For |x| < δ given,
|f (x) − f (0)| = |x|| sin x1 | ≤ |x| < δ < ε if we chose 0 < δ < ε. Thus f is continuous at x = 0.
38
3.31 Definition. Let I ⊆ R be an interval of any type, a ∈ I and f : I 7→ R. We say that:
1. f is continuous from right at a if lim f (x) = lim f (x) = f (a). Using quantifiers,
x→a+ x→a
x>a
2. f is continuous from left at a if lim f (x) = lim f (x) = f (a). Using quantifiers,
x→a− x→a
x<a
All properties of limit of functions can be restated for continuous functions. By continuity at a+
we mean continuity from right at a and by continuity at a− we mean continuity from left at a. Also
xn −→ a+ means xn −→ a and xn > a eventually. Analogously, xn −→ a− means xn −→ a and
n→∞ n→∞ n→∞ n→∞
xn < a eventually.
(a) λf is continuous at α.
(b) f + g is continuous at α.
(c) f g is continuous at α.
f
(d) is continuous at α provided that g(a) 6= 0.
g
2. f is continuous at a ⇐⇒ f is continuous from right and from left at a.
3. f is continuous at α ⇐⇒ for every sequence (xn ) in I, xn −→ α =⇒ f (xn ) −→ f (a) .
n→∞ n→∞
Constant functions and the function f (x) = x are clearly continuous on R. It follows from
previous property that polynomials are continuous on R and rational functions are continuous on
their domain of definition.
Proof. g ◦ f is continuous at a ⇐⇒ ∀(xn ) ⊂ I, lim xn = a =⇒ lim g(f (xn )) = g(f (a)) .
n→∞ n→∞
Let (xn ) ⊂ I s.t xn −→ a.
n→∞
39
Using ε − δ: Claim g ◦ f (x) −→ g(f (a)).
x→a
Let ε > 0. since g is continuous at f (a), then there exist δ1 > such that
(?)
|y − f (a)| < δ1 =⇒ |g(y) − g(f (a))| < ε.
Since δ1 and f is continuous at a, then then there exist δ > such that
(??)
|x − a| < δ =⇒ |f (x) − f (a)| < δ1 .
Hence, there exists δ > 0 such that
(??) (?)
∀x ∈ Dg◦f , |x − a| < δ =⇒ |f (x) − f (a)| < δ1 =⇒ |g(f (x)) − g(f (a))| < ε.
Note that; x ∈ Dg◦f ⇐⇒ (x ∈ Df ∧ f (x) ∈ Dg ). The following property will be frequently used.
3.34 Property. All elementary functions ”polynomials, rational functions, power functions,
trigonometric functions, exponential functions, hyperbolic functions ” and their inverses are
continuous over their entire domains.(Chapter Five)
sin x + ex
if x < 0
3.35 Example. Show that f (x) = 1 if x = 0 is continuous on R.
3
x + x2 + | cos x| if x > 0.
Solution.
• f is continuous ] − ∞, 0[ as sum of continuous functions.
• f is continuous ]0, ∞[ as composite, product and sum of continuous functions.
• Continuity of f at 0:
lim f (x) = lim f (x) = lim (sin x + ex ) = 1 = f (0). Hence f is continuous from left at 0.
x→0− x→0 x→0
x<0
lim f (x) = lim f (x) = lim (x3 + x2 + | cos x|) = 1 = f (0). Hence f is continuous from right at 0.
x→0+ x→0 x→0
x>0
Therefore f is continuous at 0 and thus f is continuous on R.
3.36 Definition. A function f : [a, b] 7→ R is continuous on [a, b] closed if the following holds
• f is continuous on ]a, b[.
• f is continuous from right at a.
• f is continuous from left at b.
3.37 Definition. Let I be an interval, a ∈ I and f : I \ {a} 7→ R. We say that f has an extension
by continuity at x = α ∈ {a, a+ , a− } if lim f (x) = ` with ` finite and we define its extension by
x→α
f (x) if x ∈ I \ {a}
continuity f˜ : I 7→ R by f˜(x) =
` if x = a.
Moreover if f is continuous on I \ {a},then f˜ is continuous on I.
For example, the function f (x) = 1 + x sin( x1 ) defined on R∗ has an extension by continuity at x = 0
1 + x sin( x1 )
˜ if x ∈ R \ {0}
because lim f (x) = 1 is a finite number and its extension f (x) =
x→0 1 if x = 0.
40
3.4 Properties of Continuous Functions
x 6= x0 =⇒ x > x0 ∨ x < x0
=⇒ f (x) > f (x0 ) ∨ f (x) < f (x0 ) (f is strictly monotone)
0
=⇒ f (x) 6= f (x ).
Thus f is injective.
Proof. Assume f (a) < 0 and f (b) > 0 and let A := {x ∈ [a, b] : f (x) ≤ 0}.
• Since a ∈ A and A bounded above by b, then sup A exists in R. Let c := sup A ∈ [a, b]. Then
∃(xn ) ⊂ A s.t xn −→ c.
n→∞
• Claim f (c) ≤ 0:
• Claim f (c) ≥ 0:
Since f (b) > 0, then c 6= b. By the definition of c we have ∀x ∈]c, b[, f (x) > 0. Since f is continuous
at c and by applying the limit both sides as x → c+ to the previous equqlity, we obtain f (c) ≥ 0.
Thus there exists c ∈]a, b[ such that f (c) = 0.
Uniqueness of c : Assume that there exists c0 ∈]a, b[ s.t f (c0 ) = 0.
Note that, if we replace f (a)f (b) < 0 by f (a)f (b) ≤ 0, then c ∈ [a, b]. Also if we replace f (a) < 0 <
f (b) by f (a) ≤ 0 < f (b), then c ∈ [a, b[.
3.40 Example. Show that f (x) = x25 − 12 has a unique root in ]0, 1[.
Solution. We have:
• f is continuous on [0, 1].( f is a polynomial, continuous on R hence continuous on [0, 1] ⊂ R)
• f (0)f (1) = (− 21 )( 12 ) < 0.
Then by I.V.T there exist c ∈]0, 1[ s.t f (c) = 0. Since f is strictly increasing, then c is unique.
Proof. Apply the previous theorem to the function g : [a, b] 7→ R defined by g(x) = f (x) − T .
41
3.42 Corollary. Let I be an interval and f : I 7→ R. If f is continuous, then f (I) is an interval.
We will see in the next theorem that if f is continuous on [a, b], then f ([a, b]) = [m, M ] where
m = min f (x) and M = max f (x). In case I is open or half-open interval, its image f (I) can
x∈[a,b] x∈[a,b]
be an interval of any kind. For example, take f (x) = sin x: If I =]0, 2π[, then f (I) = [−1, 1]. If
I =] − π2 , π2 [, then f (I) =] − 1, 1[. If I =] − π2 , 3π
2 [, then f (I) =] − 1, 1]. Take g(x) = tan x: if If
I =] − π2 , π2 [, then g(I) =] − ∞, ∞[.
Proof.
Claim f is bounded: Suppose to the contrary that f is not bounded. Then for each n ∈ N there
exists un ∈ [a, b] s.t |f (un )| > n. Since un is bounded, then by Bolzano–Weierstrass theorem, there
exists a sub sequence unk converging to x0 ∈ [a, b]. By the continuity of |f |, we get |f (unk )| converges
to |f (x0 )|. Hence |f (unk )| is a bounded sequence , a contradiction.
Claim f attains its maximum and minimum: Since f is bounded, then sup f (x) is finite. Let
x∈[a,b]
M := sup f (x). By the sequential characterization of supremum, there exists a sequence xn ∈ [a, b]
x∈[a,b]
s.t f (xn ) −→ M . By the Bolzano–Weierstrass theorem, there exists a sub sequence xnk converging
n→∞
to some d ∈ [a, b]. Since f is continuous, then M = f (d). Therefore max f (x) = f (d). The proof
x∈[a,b]
for the minimum is similar.
Claim f ([a, b]) = [f (c), f (d)]: By the previous corollary, f ([a, b]) is an interval. Since f (c) is the
lower end point and f (d) is the upper end point, then f ([a, b]) = [f (c), f (d)].
O O
3.45 Theorem. (Inverse Function Theorem-1)
O O
Let I be an interval of R and f : I 7→ f (I) = J. Suppose that 1 f is continuous on I and 2 f is
O
strictly monotone on I, then i J = f (I) is an interval, ii f : I 7→ J is bijective (hence invertible)
and iii f −1 : J 7→ I is continuous and strictly monotone as f . Moreover, the representative curve
of f −1 is obtained from the representative curve of f by symmetry with respect to the first bisector
y = x.
42
O
O
Proof. i The image of an interval by a continuous function is an interval.
ii Since f is strictly monotone, then it is injective. But f : I 7→ f (I) = J is surjective. Thus f
O
defines a bijective map from I onto J.
iii Assume f : I 7→ J is strictly increasing and let us show that f −1 : J 7→ I is strictly increasing.
Let y1 , y2 ∈ J s.t y1 < y2 , then there exist x1 , x2 ∈ I s.t f (x1 ) = y1 and f (x2 ) = y2 . Claim that
f −1 (y1 ) < f −1 (y2 ): Suppose to the contrary that f −1 (y1 ) ≥ f −1 (y2 ) i.e., x1 ≥ x2 . Since f is strictly
increasing, then f (x1 ) ≥ f (x2 ) i.e., y1 ≥ y2 , a contradiction. For continuity of f −1 on f (I): Suppose
that y1 = f (x1 ) ∈ f (I) and ε > 0 are given. Assume that x1 is not an end point of I; a slight
change will deal with an end point. Choose x0 , x2 ∈ I s.t x1 − ε < x0 < x1 < x2 < x1 + ε. Set
yj = f (xj ) and take 0 < δ < min{y2 − y1 , y1 − y0 }. Then |y − y1 | < δ implies y0 < y < y2 and
x1 − ε < x0 < f −1 (y) < x2 < x1 + ε.
Note that if f is continuous and strictly monotone on an interval I, then f (I) is also an interval;
namely,
2. I =]a, b] =⇒ f (I) =] lim f (x), f (b)]. 2. I =]a, b] =⇒ f (I) = [f (b), lim f (x)[.
x→a+ x→a+
3. I = [a, b[ =⇒ f (I) = [f (a), lim f (x)[. 3. I = [a, b[ =⇒ f (I) =] lim f (x), f (a)].
x→b− x→b−
4. I =]a, b[ =⇒ f (I) =] lim f (x), lim f (x)[. 4. I =]a, b[ =⇒ f (I) =] lim f (x), lim f (x)[.
x→a+ x→b− x→b− x→a+
O
i ` ∈ R and g is continuous at `,
ii ` = ±∞ and lim g(y) ∈ R.
y→`
Then lim g(f (x)) = lim g(y).
x→α y→`
Proof. Exercise.
In case iO
• lim g(f (x)) = lim g(y) = g(`) = g( lim f (x)).
x→α y→` x→α
• The theorem
fails if g is not continuous. A counterexample is given by the functions f (x) = 0 and
1 if y 6= 0
g(y) = We have lim g(f (x)) = 3 6= 1 = lim g(y).
O
3 if y = 0. x→0 y→0
O
An alternative condition to i which gives the same conclusion is
iii ` ∈ R, f (x) 6= ` ∀x ∈ I(α) \ {α} and lim g(y) ∈ R.
y→`
43
• α is an isolated point of D if α ∈ D and there is a neighborhood of α that contains no other point
of D.
• Let f be a real valued function defined on a non empty subset D of R. Let α, ` ∈ R where either
α is an accumulation point of D or α is an isolated point of D. We say that f (x) tends to ` as x
tends to α along D and we write lim f (x) = ` if
x→α
x∈D
• Let f be be a real valued function defined on a non empty subset D and D1 ∪ D2 = D. Suppose
that one of the following four possibilities hold: a is an accumulation point ( or isolated point) of D1
and a is an accumulation point ( or isolated point) of D2 . Then, lim f (x) exists in R iff both limits
x→a
x∈D
lim f (x) and lim f (x) exist in R and are equal. In this case all three limits are equal.
x→a x→a
x∈D1 x∈D2
? For example: Let D1 = N and D2 =]0, 1[. Then 1 is an isolated point of D1 and an accumulation
point of D2 , and lim f (x) = f (1). Therefore lim f (x) exists iff lim f (x) = lim f (x) = f (1).
x→1 x→1 x→1 x→1−
x∈D1 x∈D x∈D2
? In particular: lim f (x) exists in R iff lim f (x) exist and are equal. In this case all three limits
x→a x→a±
are equal.
• All other properties, like sequential characterization, algebra of limits, Sandwich Rule can be proved
analogously as the ones proved in section 3.2.
3.7 Exercises
E( x1 )+x
Exercise 1. Let f (x) = E( x1 )−x
.
3. Using the definition of the limit of functions, show that lim f (x) = 1.
x→0+
1 if x ∈ Q
Exercise 2. Let f (x) = Using the density of Q and R \ Q in R, show that f is
0 if x ∈
/ Q.
discontinuous at each real number a ∈ R.
Exercise 3. Show that if f is continuous at a and f (a) 6= 0, then f is different from zero in a
neighborhood of a.
Exercise 4. Let f : R 7−→ R be periodic function with period T .
1. Assume f is continuous on R.
2. Assume f is a non constant function and let a, b ∈ R such that f (a) 6= f (b). Take xn = a + nT
and yn = b + nT . Using the sequential characterization of limit, show that lim f (x) @.
x→∞
44
√
x − 2x − 1
Exercise 5. Let the function f (x) = . Consider the two sets
x−1
1
A = {f (x), ≤ x < 1} and B = {f (x), x > 1}.
2
1. Find the domain of definition of the function f .
2. Using the definition of the limit of a function, show that lim f (x) = 0.
x→1
1
3. Show that f (x) ≤ 0 for all 2 ≤ x < 1 and 0 ≤ f (x) for x > 1.
8. Using the ε- characterization of sup and inf, show that sup A = 0 and inf B = 0.
(a) f is decreasing.
(b) There exists k ∈ [0, 1[ s.t ∀x, y ∈ [a, b], |f (x) − f (y)| ≤ k|x − y|.
2. Deduce that f (x) = x + sin x + ln x has exactly one zero in ]0, ∞[.
Exercise 10. Let f : [0, 1] 7→ R be continuous function and α, β > 0. Show that there exists
c ∈ [0, 1] s.t αf (0) + βf (1) = (α + β)f (c).
45
1. Show that there exists b > 0 s.t f (b) > a. (Hint: You may use x→∞
lim f (x) = ∞)
Exercise 12. Let f be continuous and positive on R with lim f (x) = 0. Show that f attains its
x→±∞
maximum on R.
Exercise 13. Let f be continuous on R with lim f (x) = ∞. Show that f attains its minimum on R.
x→±∞
x−3
Exercise 14. Let f :]2, ∞[7→ R be a function defined by f (x) = x−2 . Show that f has an inverse
function f −1 to be determined. √
Exercise 15. Let f : [1, ∞[7→ R be a function defined by f (x) = x − 1. Show that f has an inverse
function f −1 to be determined.
1
Exercise 16. Let f : [2, ∞[7→ R be a function defined by f (x) = √x2 −4x+8 . Show that f has an
−1
inverse function f to be determined.
Exercise 17. Let f, g : [0, 1] 7→ [0, ∞[ be continuous functions satisfying sup f (x) = sup g(x).
0≤x≤1 0≤x≤1
Show that there exists x0 ∈ [0, 1] s.t f (x0 ) = g(x0 ).
Exercise 18. Prove property 3.3, property 3.22, ( property 3.23,theorem 3.27 and corollary 3.28.
1+x+x2 sin x1 cos( 2π )
Exercise 19. Let un = n2 +n+sin n
and f (x) = 1+x+x2
x
if x 6= 0
n2 +n+1
0 if x = 0.
1. Show that | sin x| ≤ |x| for all x ∈ R. ( Hint: Graphically consider the unit circle for the case 0 < x ≤ π2 .)
2. Using the definition of the limit of functions, show that x 7→ sin x is continuous on R. ( Hint:
x−x0 x+x0
Use the identity sin x − sin x0 = 2 sin 2
cos 2
. )
1. Show that sin x < x < tan x for all 0 < x ≤ π2 . ( Hint: Graphically consider the unit circle.)
sin x sin x
2. Deduce that lim = 1 and lim = 1.
x→0+ x x→0 x
1. Let an = (1 + n1 )n , n ∈ N∗ .
n
1
· 1 · (1 − n1 ) · · · (1 − k−1
P
(a) Show that an = k! n ). Deduce that (an ) is strictly increasing and
k=0
2 < an for n ≥ 2.
(b) Show that an < 3 for all n ∈ N∗ . ( Hint: Use k! ≥ 2k−1 .)
(c) Show that the sequence (an ) is convergent and 2 ≤ lim an ≤ 3.
n→∞
2. Let e := lim (1 + n1 )n .
n→∞
1 n
(a) Let n = E(x) for x > 0. Show that (1 + n+1 ) ≤ (1 + x1 )x ≤ (1 + n1 )n+1 .
1 x
(b) Deduce that lim (1 + ) = e. ( Hint: x = −|x| for x < 0.)
x→±∞ x
46
ln(1 + x) 1
(c) Deduce that lim = 1. ( Hint: Use ln(1+x)
x
= ln(1 + x) x and the substitution theorem.)
x→0 x
ex − 1
(d) Deduce that lim = 1. ( Hint: put ex − 1 = y.)
x→0 x
(1 + x)α − 1
(e) Deduce that lim = α (α ∈ R). ( Hint: put 1 + x = ey .)
x→0 x
47
CHAPTER 4
DIFFERENTIATION ON R
f (x) − f (x )
0
Proof. lim (f (x) − f (x0 )) = lim · (x − x0 ) = f 0 (x0 ) · 0 = 0.
x→x0 x→x0 x − x0
The converse of this property is not true. For example, the function f (x) = |x| is continuous but not
f (x) − f (0) |x|
differentiable at x = 0.( lim = lim = ±1, hence does not exist.)
x→0 x−0 x→0 x
The contrapositive of this property: If f is not continuous at x0 , then it is not differentiable at x0 .
48
4.3 Examples. Differentiability for some usual functions.
exist and finite. Hence f is differentiable at x0 and f 0 (x0 ) = (n − 1)x0n−1 for all x0 ∈ R.
5. The function f (x) = xα , α ∈ R, is differentiable on its domain of definition and f 0 (x) = αxα−1 .
Note that Df = R ∨ R∗ ∨ R∗+ depending on α ∈ N ∨ Z ∨ R.
Solution. Let x0 6= 0 be in Df .
49
6. The function f (x) = sin x is differentiable on R and f 0 (x) = cos x for all x ∈ R.
Solution. Let x0 ∈ R arbitrary.
exist and finite. Hence f is differentiable at x0 and f 0 (x0 ) = cos x0 for all x0 ∈ R.
7. The function f (x) = cos x is differentiable on R and f 0 (x) = − sin x for all x ∈ R.
Solution. Let x0 ∈ R arbitrary.
exist and finite. Hence f is differentiable at x0 and f 0 (x0 ) = − sin x0 for all x0 ∈ R.
exist and finite. Hence f is differentiable at x0 and f 0 (x0 ) = ex0 for all x0 ∈ R.
50
4.4 Definition. (Right & Left Derivatives)
O
f is differentiable at x0 ⇐⇒ 2 f is differentiable from left at x0 ,
3 fr0 (x0 ) = f`0 (x0 ).
Note that the right derivative of f at x0 represents the slope of the right tangent to the graph of f at
the point (x0 , f (x0 )). Similarly, the left derivative of f at x0 represents the slope of the left tangent
to the graph of f at the point (x0 , f (x0 )). By the previous property, f is differentiable at x0 if the
right and left tangents coincides (one tangent ) and not vertical. Equivalently, f is not differentiable
at x0 if the right and left tangents do not coincide (they form an angle) or atleast one is vertical.
4.6 Examples.
Note that:
? If fr0 (x0 ) 6= f`0 (x0 ) and at least one of them is finite, then x0 is called a corner point for f .
51
For example x = 0 is a corner point for the function f (x) = |x|.
? If fr0 (x0 ) and f`0 (x0 ) are finite and have different sign, then x0 is called a cusp point of f .
For example x = 0 is a cusp point for the function f (x) = |x|.
p
2. f (x) = |x| is not differentiable at x = 0. y
Solution. p
f (x) − f (0) |x|
• lim = lim = ∞. So f is
x→0+ x−0 x→0 |x|
x>0
not differentiable from right at x = 0. Thus f
is not differentiable at x = 0. Or,
p
f (x) − f (0) |x|
• lim = lim = −∞. So
x→0 − x−0 x→0
x<0
−|x|
f is not differentiable from left at x = 0. Thus
f is not differentiable at x = 0.
x
p
x 7→ |x| is not differentiable at 0.
1 y
3. f (x) = 1+|x−1| is not differentiable at x = 1.
Solution.
f (x) − f (1) 1/x − 1
• lim = lim =
x→1 + x − 1 x→1
x>1
x−1
−1
lim = −1 = fr0 (1). So f is differentiable
x→1 x
from right at 1.
x2
if x > 0 y
4. f (x) = is differentiable at
x3 if x ≤ 0.
0.
Solution.
f (x) − f (0) x2
• lim = lim = lim x = 0 =
x→0+ x−0 x→0 x
x>0
x→0 x
fr0 (0). So f is differentiable from right at 0.
f (x) − f (0) x3
• lim = lim = lim x2 = 0 =
x→0− x−0 x→0 x
x<0
x→0
52
4.7 Definition. A function f : [a, b] 7→ R is differentiable on [a, b] closed if the following holds
•f is differentiable on ]a, b[.
•f is differentiable from right at a.
•f is differentiable from left at b.
exist and finite. Hence f is differentiable at x0 and f 0 (x0 ) = 2√1x0 for all x0 ∈]0, ∞[.
• Differentiability of f at 0 from right:
√
f (x) − f (0) x
lim = lim = ∞.
x→0 + x−0 x→0 + x
√
So f is not differentiable from right at 0. Thus f (x) = x is differentiable on ]0, ∞[ and f 0 (x) = 1
√
2 x
.
4.9 Remark. In the same way as property 4.2 one can show:
? If f is differentiable from right at x0 , then f is continuous from right at x0 .
? If f is differentiable from left at x0 , then f is continuous from left at x0 .
? If f is differentiable from right and left at x0 (even if different), then f is continuous at x0 .
? If f is differentiable on an interval I, then f is continuous on I.
Proof.
⇒) Suppose that f is differentiable at x0 . Let ε(x) = f (x)−f
x−x0
(x0 )
− f 0 (x0 ). Since f is differentiable
at x0 , then ε(x) −→ 0. Hence ε extendable by continuity at 0 with ε(0) = 0 and . Thus we have
x→x0
∀x ∈ I, f (x) = f (x0 ) + (x − x0 )c + (x − x0 )ε(x) with c = f 0 (x0 ).
⇐) Suppose that ∀x ∈ I, f (x) = f (x0 ) + (x − x0 )c + (x − x0 )ε(x) with ε(x) −→ 0. Then
x→x0
f (x)−f (x0 )
for x ∈ I \ {x0 }, we have x−x0 = c + ε(x) −→ c ∈ R. Thus f is differentiable at x0 and
x→x0
f 0 (x0 ) = c.
Note that:
? The function ε : I 7→ R is continuous at x0 . Moreover if f is continuous on I then so ε.
? f (x) = f (x0 ) + (x − x0 )f 0 (x0 ) + (x − x0 )ε(x), gives that a differentiable function f at x0 can be
| {z }
YT
approximated in a neighborhood of x0 by the tangent YT to the curve at the point (x0 , f (x0 )).
53
4.11 Property. Let I be open interval, f, g : I 7→ R and α, β ∈ R. If f and g are differentiable at
x0 ∈ I , then
f
4. If g(x0 ) 6= 0, then g is defined in a neighborhood of x0 and differentiable at x0 and
f 0 f 0 (x0 )g(x0 ) − f (x0 )g 0 (x0 )
(x0 ) = .
g g 2 (x0 )
Proof.
1 1 g(x)−g(x0 )
g(x) − g(x0 ) (x−x0 ) −g 0 (x0 )
=− −→ . (g is continuous at x0 )
x − x0 g(x)g(x0 ) x→x0 g 2 (x0 )
f 1
4. Write g =f· g and use the second and third items.
54
For x ∈ I \ {x0 }, y = f (x) ∈ J and
g ◦ f (x) − g ◦ f (x0 ) g(y) − g(y0 ) (y − y0 )g 0 (y0 ) + (y − y0 )ε(y)
= =
x − x0 x − x0 x − x0
f (x) − f (x0 ) 0 f (x) − f (x0 )
= · g (f (x0 )) + · ε(f (x))
x − x0 x − x0
−→ g 0 (f (x0 ))f 0 (x0 ). ( substitution theorem)
x→x0
4.13 Remark.
(f (u(x)))0 = f 0 (u(x))u0 (x) provided that u is differentiable at x and f is differentiable at u(x).
For example (f (sin x))0 = f 0 (sin x) cos x provided that f is differentiable at sin x. In particular
(cos(sin x))0 = − sin(sin x) cos x.
O
1. We say that f is twice (or two times ) differentiable at x0 if
i f is differentiable on I(x0 ) a neighborhood of x0 i.e., f 0 : I(x0 ) 7→ R exists and
O
ii f 0 is differentiable at x0 .
We denote by f 00 (x0 ) the second derivative of f at x0 and we have f 00 (x0 ) = (f 0 )0 (x0 ).
df d2 f d3 f
Some notations commonly used: f (0) = f, f (1) = f 0 = dx , f (2) = f 00 = dx2
and f (3) = f 000 = dx3
.
4.15 Examples.
1. Let f (x) = sin x. Show that f (n) (x) = sin(x + n π2 ) ∀n ∈ N∗ .
Solution. By induction:
π
f (n) (x) = sin(x + n ) ∀n ∈ N∗ (P (n)).
2
• For n = 1 we have f (1) (x) = cos x = sin(x + 1 π2 ). Hence P (1) is true.
• Assume P (n) is true i.e., f (n) (x) = sin(x + n π2 ). Now
π π π π π
f (n+1) (x) = (f (n) )0 (x) = (sin(x + n ))0 = cos(x + n ) = sin(x + n + ) = sin(x + (n + 1) ).
2 2 2 2 2
Hence P (n + 1) is true. Thus P (n) is true for all n ∈ N∗ .
55
2. We define by recurrence the nth derivative of f on I by f (n) = (f (n−1) )0 . If f (n) exists on I,
we say that f is n-times differentiable on I.
O
Note that;
1 f ∈ C n (I) =⇒ derivatives up to order n exist and continuous on I.
O2 f ∈ C ∞ (I) =⇒ derivatives up to any order exist and continuous on I.
O3 C(I) = C 0 (I) := {f ; f : I 7→ R is continuous on I}.
O
O
4 F(I) := {f ; f : I 7→ R is a function }.
5 C ∞ (I)
(n+2· · · ( C n (I) ( · · · C 2 (I) ( C 1 (I) ( C 0 (I) ( F(I). One can check that
x sin x1 if x 6= 0
f (x) = is of class C n but not of class C n+1 on R.
0 if x = 0.
Local Extrema Of f .
The extremum points of a differentiable function defined on an open interval I should be searched
for among the points where the derivative vanish.
56
4.18 Theorem. (Local Extremum Theorem )
If f has a local extremum at x0 and if f is differentiable at x0 , then f 0 (x0 ) = 0.
Proof. Suppose that f has a local maximum at x0 . Then there exists I a neighborhood of x0 such
that f (x) ≤ f (x0 ) for all x ∈ I. Hence,
? f (x)−f
x−x0
(x0 )
≥ 0 if x ∈ I ∧ x < x0 ,
? f (x)−f
x−x0
(x0 )
≤ 0 if x ∈ I ∧ x > x0 .
So f`0 (x0 ) ≥ 0 and fr0 (x0 ) ≤ 0. Thus f 0 (x0 ) = f`0 (x0 ) = fr0 (x0 ) = 0. The proof for the local minimum
case is similar.
Proof. By the extreme value theorem there exist c, d ∈ [a, b] s.t min f (x) = f (c) and max f (x) =
x∈[a,b] x∈[a,b]
f (d). Hence f (c) ≤ f (x) ≤ f (d), ∀x ∈ [a, b].If f (c) = f (d), then f is a constant function and
f 0 (x) = 0 ∀x ∈]a, b[. If f (c) 6= f (d), then either c ∈]a, b[ or d ∈]a, b[. If c ∈]a, b[, then f has a local
minimum at c and by the local extremum theorem we get f 0 (c) = 0. Similarly, if d ∈]a, b[, then f
has a local maximum at d and by the local extremum theorem we get f 0 (d) = 0.
Proof. The function h(x) := (f (b) − f (a))x − (b − a)f (x) is continuous on [a, b] and differentiable on
]a, b[ and satisfies h(a) = h(b). By Rolle’s theorem, there exists c ∈]a, b[ such that h0 (c) = 0. But
h0 (c) = f (b) − f (a) − (b − a)f 0 (c). Thus there exists c ∈]a, b[ such that f (b)−f
b−a
(a)
= f 0 (c).
4.21 Corollary. If f is differentiable on an open interval I and f 0 (x) = 0 for all x ∈ I, then there
exists a constant c such that f (x) = c for all x ∈ I.
Proof. Fix x0 ∈ I and claim f (x) = f (x0 ) for all x ∈ I \ {x0 }. Applying the M.V.T for f on
[x, x0 ] ⊂ I (or [x0 , x]):
? Since f is continuous on I and [x, x0 ] ⊂ I, then f is continuous on [x, x0 ].
? Since f is differentiable on I and ]x, x0 [⊂ I, then f is differentiable on ]x, x0 [.
By M.V.T, ∃ c ∈]x, x0 [ such that f (x)−f (x0 )
x−x0 − = f 0 (c) = 0. Thus f (x) = f (x0 ) for all x ∈ I.
4.22 Corollary. If f and g are differentiable on an open interval I and f 0 (x) = g 0 (x) for all x ∈ I,
then there exists a constant c such that f (x) = g(x) + c for all x ∈ I.
57
Proof. Apply the previous corollary to the function h := f − g.
Proof. Let x, y ∈ I such that x < y. Applying the M.V.T for f on [x, y] ⊂ I:
? Since f is continuous on I and [x, y] ⊂ I, then f is continuous on [x, y].
? Since f is differentiable on I and ]x, y[⊂ I, then f is differentiable on ]x, y[.
By M.V.T, ∃ c ∈]x, y[ such that f (y)−f
y−x
(x)
= f 0 (c). We discuss four cases:
f (y)−f (x)
1. If f 0 (x) ≥ 0 ∀x ∈ I, then y−x = f 0 (c) ≥ 0. So f (x) ≤ f (y) and thus f is inc on I.
f (y)−f (x)
2. If f 0 (x) ≤ 0 ∀x ∈ I, then y−x = f 0 (c) ≤ 0. So f (x) ≥ f (y) and thus f is dec on I.
f (y)−f (x)
3. If f 0 (x) > 0 ∀x ∈ I, then y−x = f 0 (c) > 0. So f (x) < f (y) and thus f is st. inc on I.
f (y)−f (x)
4. If f 0 (x) < 0 ∀x ∈ I, then y−x = f 0 (c) < 0. So f (x) > f (y) and thus f is st. dec on I.
4.24 Remark.
1. If f is strictly increasing (resp increasing ) on the intervals ]a, b[ and ]b, c[ and and f is
continuous at b then f is strictly increasing (resp increasing ) on ]a, c[. For example f (x) = x3
.Its derivative f 0 (x) = 3x2 > 0 on R∗ . Since f is continuous at zero, then f is strictly increasing
on R.
2. If f is strictly decreasing (resp decreasing ) on the intervals ]a, b[ and ]b, c[ and and f is
continuous at b then f is strictly decreasing (resp decreasing ) on ]a, c[.
3. Corollary 4.23 does not work if I is disjoint union of open intervals. For example f (x) = x1 . Its
derivative f 0 (x) = − x12 < 0 on ]−∞, 0[∪]0, ∞[ but f is not strictly decreasing on ]−∞, 0[∪]0, ∞[.
4. Corollary
4.21 does not work if I is disjoint union of open intervals. For example
1 if x ∈] − ∞, 0[
f (x) = Its derivative f 0 (x) = 0 on I =] − ∞, 0[∪]0, ∞[ but f is not a
2 if ]0, ∞[.
constant function on I.
1
4.25 Example. Show that x+1 < ln(x + 1) − ln x < x1 ∀x ∈]0, ∞[.
O
Solution. Let x ∈]0, ∞[ and f (t) = ln t. Let us try MVT on [x, x + 1]:
O
1 Since f is continuous on ]0, ∞[, then f is continuous on [x, x + 1] ⊆]0, ∞[.
2 Since f is differentiable on ]0, ∞[, then f is differentiable on ]x, x + 1[⊆]0, ∞[.
By the MVT, there exists c ∈]x, x + 1[ such that f (x+1)−f
(x+1)−x
(x)
= f 0 (c) = 1c . Hence
1 1 1
< ln(x + 1) − ln x = < .
x+1 c x
58
4.4 Taylor’s Formula
O
Let f : [a, b] 7→ R ( or f : [b, a] 7→ R) and n ∈ N. If
i f ∈ C n ([a, b]) and
Oii f (n+1) exists on ]a, b[,
then there exist c ∈]a, b[, not necessarily unique, such that
O
Let f : [0, x] 7→ R ( or f : [x, 0] 7→ R) and n ∈ N. If
i f ∈ C n ([0, x]) and
Oii f (n+1) exists on ]0, x[,
then there exist c ∈]0, x[, not necessarily unique, such that
4.28 Example. Give the Mac-Laurin expansion up to order n for the functions f (x) = ex .
Solution. Note that f ∈ C n ([0, x]) and f (n+1) exists on ]0, x[. Also f (n) (x) = ex and f (n) (0) = 1 for
all n ∈ N∗ . Thus
x2 xn xn+1 c n
xk xn+1 c
ex = 1 + x +
P
+ ··· + + e = k! + (n+1)! e .
2! n! (n + 1)! k=0
59
4.5 Inverse Function Theorem
f −1 (y) − f −1 (y0 ) x − x0 1
= = f (x)−f (x0 )
.
y − y0 f (x) − f (x0 )
x−x0
f −1 (y) − f −1 (y0 ) 1 1
lim = lim = .
y→y0 y − y0 x→x0 f (x)−f (x0 ) f 0 (x0 )
x−x0
Proof. The result follows from IFT-1 and IFT-2 if we show f is injective.
Assume that f is not injective, then there exist a, b ∈ I such that a 6= b and f (a) = f (b). Since
[a, b] ⊆ I, then f is continuous on [a, b] and differentible on ]a, b[. Hence by Roll’s theorem there
exists c ∈]a, b[⊆ I such that f 0 (c) = 0 which is a contradiction. Thus f is injective.
O
Note that;
1 If f ∈ C 1 (I) and f (x) 6= 0 ∀x ∈ I, then g = f1 ∈ C 1 (I).
O
2 More general, If f ∈ C n (I) and f (x) 6= 0 ∀x ∈ I, then g = 1
f ∈ C n (I).
O
4.31 Theorem. (Inverse Function Theorem-4)
Let I be an interval and f : I 7→ R be of class C n on I and f 0 (x) 6= 0 for all x ∈ I. Then i f is
O O
injective, ii J = f (I) is an interval and iii f −1 is of class C n on J.
4.6 Exercises √
x if 0 ≤ x ≤ 1
Exercise 1. Let a, b ∈ R and f (x) = Determine a and b so that
a(x2 − 1) + b if x > 1.
f is of class C 1 on ]0, ∞[.
f ( x2 )
if x > 0
Exercise 2. Let f be a differentiable function on R such that f (0) = 1 and g(x) =
x+1 if x ≤ 0.
1. Show that g is continuous on R.
2. Assume that fr0 (0) = 2. Show that g is differentiable on R and determine g 0 (x).
60
Exercise 3. Let f :] − a, a[7→ R be a differentiable function. Prove that if f is an even function then
f 0 is an odd function and if f is an odd function then f 0 is an even function.
Exercise 5. Lat f ∈ C 1 ([a, b]). Show that there exists k ≥ 0 such that
|f (x) − f (y)| ≤ k|x − y| ∀x, y ∈ [a, b].
Exercise 6. (Extension by differentiability)
1. Let I be an open interval and a ∈ I. Suppose that f is continuous on I, differentiable on I \ {a}
and lim f 0 (x) = ` (` ∈ R). Prove that f is differentiable at a, f 0 (a) = ` and f 0 is continuous
x→a
at a.
p
2. Show that f (x) = x |x| is differentiable on R.
x sin x1
2
if x 6= 0
3. Let f (x) = Show that f is differentiable on R but f is not of class
0 if x = 0.
C 1 on R.( Check that f 0 (0) exists but lim f 0 (x) does not exist.)
x→0
Exercise 7. (Extension by differentiability)
1. Let I = [a, b[ . Suppose that f is continuous on I = [a, b[, differentiable on I \ {a} =]a, b[ and
lim f 0 (x) = ` (` ∈ R). Prove that f is differentiable from right at a, fr0 (a) = ` and f 0 is
x→a+
continuous from right at a.
√
cos x−1
2. Compute lim x .
x→0+
Exercise 8. (No extension by differentiability)
Let I be an open interval and a ∈ I. Suppose that f is continuous on I, differentiable on I \ {a} and
lim f 0 (x) = ±∞. Prove that lim f (x)−f
x−a
(a)
= ±∞.(i.e., f is not diffeentiable at a and the tangent to
x→a x→a
the representative curve of f at the point (a, f (a)) is vertical.)
f (x2 ln x + x2 )
if x > 0
Exercise 9. Let f be differentiable on R such that f (0) = 1 and g(x) =
x+1 if x ≤ 0.
1. Show that g is continuous on R.
2. Assume that lim f 0 (x) = 2. Show that g is differentiable on R and determine g 0 (x).
x→0+
Exercise 10. Let f be differentiable on R such that f 0 (x) 6= 0 for all x ∈ R. Show that f is not a
periodic function.
Exercise 11. Let I be an open interval and f : I 7→ R satisfying ∀x, y ∈ I, |f (x) − f (y)| ≤ K|x − y|2
for some k > 0. Show that f is a constant function.
2
x ln x2 if x 6= 0
Exercise 12. Let f (x) = Show that f is of class C 1 on R but f is not
0 if x = 0.
twice differentiable on R.
Exercise 13. Let a < b < c and f : [a, c] 7→ R be continuous on [a, c], twice differentiable on ]a, c[
and f (a) = f (b) = f (c).
1. Show that there exist ξ1 ∈]a, b[, ξ2 ∈]b, c[ and such that f 0 (ξ1 ) = f 0 (ξ2 ).
2. Deduce that there exists ξ ∈]a, c[ such that f 00 (ξ) = 0.
61
Exercise 14.
1. Let f : [0, 1] 7−→ R be continuous on [0, 1] with f (0) = f (1) = 0 and twice differentiable on
]0, 1[ with f 00 < 0 on ]0, 1[.
0
(a) Show that there exists c ∈]0, 1[ such that f (c) = 0.
0 0
(b) Show that f > 0 on ]0, c[ and f < 0 on ]c, 1[.
(c) Deduce that f (x) > 0, for all x ∈]0, 1[.
(a) Show that f is continuous on [0, 1] with f (0) = f (1) = 0 and twice differentiable on ]0, 1[
with f 00 < 0 on ]0, 1[.
(b) Deduce the following inequality :
x2 √ x2 x3
1+x− ≤ 1 + 2x < 1 + x − + ∀x ∈ [0, ∞[.
2 2 2
Exercise 16. Let f : [ π2 , π[7→ R defined by f (x) = 1
sin x .
2. Let g = f −1 .
62
CHAPTER 5
ELEMENTARY FUNCTIONS
sin x
1
1
x
x
−2π − 3π −π − π2 π π 3π 2π
2
2 −1 2 − π2 −1 1 π
2
−1
− π2
The restriction of the sine function, sin : [− π2 , π2 ] 7→ [−1, 1] has the following properties:
x → sin x
• Continuous on I = [− π2 , π2 ].
• Strictly increasing on I = [− π2 , π2 ]:
π π π π
sin0 (x) = cos x > 0 on ] − , [ =⇒ sin is st inc on] − , [
2 2 2 2
π π π
=⇒ sin is st inc on[− , ]. (∵ sin is continuous at ± )
2 2 2
63
Then by the inverse function theorem;
? The function sine defines a bijection from the interval I = [− π2 , π2 ] onto the interval J = [sin(− π2 ), sin( π2 )] =
[−1, 1].
π π π π
sin : [− , ] 7→ [−1, 1], arcsin : [−1, 1] 7→ [− , ].
2 2 2 2
x → y=sin x y → x=arcsin y
π π
y = sin x, x ∈ [− , ] ⇐⇒ x = arcsin y, y ∈ [−1, 1].
2 2
? Since sin is differentiable on I = [− π2 , π2 ], then arcsin is differentiable on
π
J \ {y = sin x : sin0 (x) = 0} = J \ {y = sin x : x = ± } =] − 1, 1[.
2
? Since sin is of class C ∞ on I, then arcsin is of class C ∞ on the domain of differentiation ] − 1, 1[.
1 1 1
arcsin0 (y) = (sin−1 )0 |y=sin x = 0 = =p ∀y ∈] − 1, 1[.
sin (x) cos x 1 − y2
• cos ∈ C ∞ (R) and cos(n) (x) = cos(x + n π2 ) ∀x ∈ R ∀n ∈ N. In particular cos0 (x) = − sin x.
dom(cos) = R is centered at 0.
• cos is even.
cos(−x) = cos(x) ∀x ∈ R.
cos(x + 2π) = cos x ∀x ∈ R.
• cos is 2π-periodic.
cos(x + 2kπ) = cos x ∀x ∈ R, ∀k ∈ Z.
y
y
arccos x y=x
π
1
x
π
−2π − 3π −π − π2 π π 3π 2π 2
2
2 −1 2
1
x
−1 1 π π
2
cos x
−1
x 7→ cos x is 2π−periodic and even on D = R.
cos : [0, π] 7→ [−1, 1], arccos : [−1, 1] 7→ [0, π].
x → sin x x → arcsin x
The restriction of the cosine function, cos : [0, π] 7→ [−1, 1] has the following properties:
x → sin x
64
Then by the inverse function theorem;
? The function cosine defines a bijection from the interval I = [0, π] onto the interval J = [cos(π), cos(0)] =
[−1, 1].
cos : [0, π] 7→ [−1, 1], arccos [−1, 1] 7→ [0, π].
x → y=sin x y → x=arcsin y
? Since cos is of class C ∞ on I, then arccos is of class C ∞ on the domain of differentiation ] − 1, 1[.
1 1 −1
arccos0 (y) = (cos−1 )0 |y=cos x = = =p ∀y ∈] − 1, 1[.
cos0 (x) − sin x 1 − y2
• dom(tan) = R \ { π2 + kπ : k ∈ Z} = ∪ ] − π
2 + kπ, π2 + kπ[.
k∈Z
sin
• tan = is differentiable on D because its the quotient of differentiable functions with
cos
denominator never vanishes.
1
tan0 (x) = = 1 + tan2 x.
cos2 x
• tan ∈ C ∞ (D) because its the quotient of C ∞ functions with denominator never vanishes.
dom(tan) is centered at 0.
• tan is odd.
tan(−x) = − tan(x) ∀x ∈ D
tan(x + π) = tan x ∀x ∈ D.
• tan is π-periodic.
tan(x + kπ) = tan x ∀x ∈ D, ∀k ∈ Z.
y y
π
2
x x
− 5π −2π− 3π −π − π2 π π 3π 2π 5π −−π2π π
2 2 2 2 2 2
2
π π π π
x 7→ tan x is π−periodic and odd on D. tan : ] − , [7→
2 2
R, arctan : R 7→] − , [.
2 2
x → tan x x → arctan x
π π
The restriction of the tangent function, tan : ] − , [7→ R
2 2
has the following properties:
x → tan x
• Continuous on I =] − π2 , π2 [.
65
• Strictly increasing on I =] − π2 , π2 [. (tan0 (x) = 1 + tan2 x > 0 ∀x ∈] − π2 , π2 [)
π π π π
tan : ] − , [7→ R, arctan : R 7→] − , [.
2 2 2 2
x → y=tan x y → x=arctan y
π π
y = tan x, x ∈] −, [ ⇐⇒ x = arctan y, y ∈ R.
2 2
? Since tan is differentiable on I =] − π2 , π2 [, then arctan is differentiable on
y y
π
π
2
x x
−2π −π π 2π π π
2
66
Some useful limits; α > 1 as x2
0 if α > 0 α=1
lim xα = lim eα ln x = 1 if α = 0
x→0+ x→0+
∞ if α < 0.
1
0 < α < 1 as x 2
α=0
∞ if α > 0 1
α < 0 as 1
x
lim xα = lim eα ln x = 1 if α = 0
x→∞ x→∞ 1
0 if α < 0.
The graph of x 7→ xα on ]0, ∞[.
Note that;
• If α ∈ N, then the power function x 7→ xα is defined and of class C ∞ on R.
• If α ∈ Z \ N = {−1, −2, · · · }, then the power function x 7→ xα is defined and of class C ∞ on R∗ .
Note that;
• If xy > 0, then ln(xy) = ln |x| + ln |y| and ln xy = ln |x| − ln |y|.
u0 (x)
• (ln u(x))0 = u(x) provided that u(x) > 0 and u is differentiable at x(Chain Rule).
ln x
• lim ln x = −∞, lim ln x = ∞, lim = 0 and lim x ln x. (The proof left as exercise.)
x→0+ x→∞ x→∞ x x→0+
67
5.3.3 Exponential Of Base e.
Since ln :]0, ∞[7→ R is continuous and strictly increasing, then it is a bijection from I =]0, ∞[ onto
J =] lim ln x, lim ln x[=] − ∞, +∞[. We define exp = ln−1 , the inverse of the function ln. Usually
x→0+ x→∞
we denote exp(x) by ex .
ln : ]0, ∞[7→ R, exp : R 7→]0, ∞[.
x → y=ln x y → x=ey
y = ln x, x ∈]0, ∞[ ⇐⇒ x = ey , y ∈ R.
ln x x
e =x ∀x ∈]0, ∞[ ln(e ) = x ∀x ∈ R.
? Since ln is differentiable on I =]0, ∞[, then exp is differentiable on
J \ {y = ln x : ln0 (x) = 0} = J = R.
• ex > 0 ∀x ∈ R. y
• exp is strictly increasing on R: ex
x < 0 =⇒ ex < e0 = 1.
x > 0 =⇒ ex > e0 = 1.
•e x+y = ex ey ∀x, y ∈ R.
−x
• e = e1x ∀x ∈ R.
x
• ex−y = eey ∀x, y ∈ R.
• (ex )α = eαx ∀x, α ∈ R.
1
x
The graph of x 7→ ex on R.
y = loga x, x ∈]0, ∞[ ⇐⇒ x = ay , y ∈ R.
aloga x = x ∀x ∈]0, ∞[ loga (ax ) = x ∀x ∈ R.
• expa is differentiable on R and(ax )0 = (ex ln a )0 = ln(a)ex ln a = (ln a)ax ∀x ∈ R.
∞ if a > 1
• lim x±1 ax = lim x±1 ex ln a =
x→∞ x→∞ 0 if a < 1.
Exercise. Show, using three different ways, definition of derivative, equivalent definition of derivative
and MVT the following:
1. lim ln(1+x)
x = 1. Deduce lim (1 + x1 )x = e and lim (1 + xa )x = ea (a ∈ R).
x→0 x→±∞ x→±∞
2. lim sinx x = 1.
x→0
68
5.4 Hyperbolic Functions And Inverses
The functions cosine hyperbolic, sine hyperbolic and tangent hyperbolic are defined on R by:
ex + e−x ex − e−x sinh x ex − e−x
cosh x := , sinh x := , tanh x := = x .
2 2 cosh x e + e−x
• cosh is positive (cosh x > 0, ∀x ∈ R) and even function.
• sinh and tanh are odd functions.
O O O
The hyperbolic functions satisfy the following identities:
1 cosh x + sinh x = ex . 2 cosh x − sinh x = e−x . 3 cosh2 x − sinh2 x = 1.
The point of coordinates (X, Y ) = (cosh x, sinh x) runs along the right branch of the hyperbola
X 2 − Y 2 = 1 as x varies.
O O
If we divide 3 by cosh2 x > 0, then we obtain 4 1 − tanh2 x =
1
cosh2 x
.
Also, one may verify easily that
cosh(a + b) = cosh a cosh b + sinh a sinh b, sinh(a + b) = cosh a sinh b + sinh a cosh b
tanh a + tanh b
tanh(a + b) = .
1 + tanh a tanh b
• dom(sinh) = R.
• sinh, cosh are differentiable on R and sinh0 x = cosh x, cosh0 x = sinh x.
∞ (n) cosh x if n odd
• sinh ∈ C (R) and sinh (x) =
sinh x if n even .
dom(sinh) = R is centered at 0.
• sinh is odd.
sinh(−x) = − sinh(x) ∀x ∈ R.
The sine hyperbolic function, sinh : R 7→ R has the following properties:
x → sinh x
• Continuous on I = R. sinh x
• Strictly increasing on I = R: y
sinh0 (x) = cosh x > 0 ∀x ∈ R.
Then by the inverse function theorem; sinh−1 x
The function sinh is a bijection from the
interval I = R onto the interval
1 x
J =] lim sinh x, lim sinh x[=] − ∞, ∞[.
x→−∞ x→∞
sinh : R 7→ R , sinh−1 : R 7→ R .
x → y=sinh x y → x=sinh−1 y
−1
y = sinh x, x ∈ R iff x = sinh y, y ∈ R.
? Since sinh is differentiable on I = R, then
sinh−1 is differentiable on
J \ {y = sinh x : sinh0 (x) = 0} = J = R. sinh : R 7→ R , sinh−1 : R 7→ R .
x → sinh x x→sinh−1 x
Note that some references use argsinh, arsinh or arcsinh to denote sinh−1 .
69
5.4.2 Cosine Hyperbolic And Inverse Cosine Hyperbolic
The function cosh : R 7→ [1, ∞[ has the following properties:
x +e−x
x→ e 2
• dom(cosh) = R.
ex +e−x
• cosh x = 2 ≥ 1 ∀x ∈ R and cosh 0 = 1.
The restriction of the cosine hyperbolic function, cosh : [0, ∞[7→ [1, ∞[ has the following properties:
x → cosh x
? Since cosh is of class C ∞ on I, then cosh−1 is of class C ∞ on the domain of differentiation ]1, ∞[.
1 1 1 1
(cosh−1 )0 (y) = (cosh−1 )0 |y=cosh x = = =q =p ∀y ∈]1, ∞[.
cosh0 (x) sinh x
cosh2 (x) − 1
2
y −1
Note that some references use argcosh, arcosh or arccosh to denote cosh−1 .
• dom(tanh) = R.
1 − e−2x
• lim tanh x = lim = 1. (y = 1 H.A).
x→∞ x→∞ 1 + e−2x
70
• tanh is differentiable on R and
sinh x 0 cosh2 x − sinh2 x 1
tanh0 x = = 2 = 1 − tanh2 x = .
cosh x cosh x cosh2 x
• tanh is odd.
The tangent hyperbolic function, tanh : R 7→] − 1, 1[ has the following properties:
x → tanh x
• Continuous on I = R. tanh−1 x
• Strictly increasing on I = R: y
tanh0 (x) = cosh1 2 x > 0 ∀x ∈ R.
Then by the inverse function theorem;
The function tanh is a bijection from the tanh x
1
interval I = R onto the interval
J =] lim tanh x, lim tanh x[=] − 1, 1[. x
x→−∞ x→∞
−1 1
tanh : R 7→] − 1, 1[, tanh−1 : ] − 1, 1[7→ R .
x → y=tanh x y → x=tanh−1 y
−1
−1
y = tanh x, x ∈ R iff x = tanh y, y] − 1, 1[.
Note that some references use argtanh, artanh or arctanh to denote tanh−1 .
3. tanh−1 (x) = 1
2 ln( 1+x
1−x ) ∀x ∈] − 1, 1[.
5.5 Exercises
1 + x
Exercise 1. Let f (x) = arctan and g(x) = arctan x.
1−x
1. Give the domains of definition of f and g.
2. Calculate f 0 (x).
71
Exercise 3.(property) Show that lim ln x = ∞ and lim ln x = −∞.
x→∞ x→0+
Exercise 4.(property)
√
1. Show that ln x < x ∀x ∈]0, ∞[.
ln x
2. Deduce that lim = 0.
x→∞ x
ex
3. Deduce that lim = ∞.
x→∞ x
ebx
2. lim a = ∞.
x→∞ x
ebx
3. lim a = ∞.
x→∞ (ln x)
72
CHAPTER 6
FINITE EXPANSIONS
6.2 Remark.
• We will use the notation ” little oh” o(x − x0 )n = (x − x0 )n ε(x) with ε(x) −→ 0.
x→x0
• The change of variable t = x − x0 ( t −→ 0) allows us to perform f.e near zero instead of x0 ∈ R.
x→x0
1
• The change of variable t = x ( t −→ 0) allows us to perform f.e near zero instead of ±∞.
x→±∞
We will limit ourselves to study the finite expansion near zero.
1
6.3 Example. Show that f (x) = 1−x has f.en (0), n ∈ N.
Solution.
1 1 − xn+1 + xn+1
=
1−x 1−x
1 − xn+1 xn+1
= +
1−x 1−x
(1 − x)(1 + x + x2 + · · · + xn ) xn+1
= + ( Factorization)
1−x 1−x
2 n n x x
= 1 + x + x + ··· + x + x (ε(x) = −→ 0)
| {z } 1−x 1 − x x→0
p(x) | {z }
ε(x)
n
= p(x) + o(x ).
73
1 1
f.en (0) for the functions x 7→ 1−x and x 7→ 1+x :
1
= 1 + x + x2 + x3 + · · · + xn + o(xn ).
1−x
1
= 1 − x + x2 − x3 + · · · + (−1)n xn + o(xn ). ( replace x by − x)
1+x
xn+1 sin x1
if x 6= 0
6.4 Example. Show that f (x) = has f.en (0).
0 if x = 0.
Solution. f (x) = 0 + 0x + · · · + 0xn + xn (xsin x1 ) = 0 + xn ε(x) with ε(x) = xsin x1 −→ 0.
x→0
Claim p1 = p2 :
1. The principle part of the f.e of an even function involves only even powers.
2. The principle part of the f.e of an odd function involves only odd powers.
Proof.
1. Since f has f.en (0), then f (x) = a0 + a1 x + · · · + an xn + xn ε(x) ∀x ∈ I with ε(x) −→ 0. Now,
x→0
2. Similarly as 1.
74
6.7 Property. If f has f.en (0) and m < n, then f has f.em (0).
= a0 + a1 x + · · · + am xm + o(xm ).
If f (x) = 1 + 2x + x4 + 3x7 + o(x7 ), then for example f has f.e5 (0) and f (x) = 1 + 2x + x4 + o(x5 ).
Recall.
Let I be open interval, x0 ∈ I and f : I 7→ R. Then f is differentiable at x0 iff f has f.e1 (x0 ).
Exercise. Let I be open interval, x0 ∈ I and f : I \ {x0 } 7→ R. Assume that
f (x) = a0 + a1 (x − x0 ) + (x − x0 )ε(x) ∀x ∈ I \ {x0 }.
Show that f has an extension by continuity f˜ at x0 and f˜ is differentiable at x0 withf˜0 (x0 ) = a1 .
(x − x0 )2 00 (x − x0 )n (n)
f (x) = f (x0 ) + (x − x0 )f 0 (x0 ) + f (x0 ) + · · · + f (x0 ) + o(x − x0 )n .
2! n!
The case x0 = 0:
If f is n-times differentiable at 0, then f has f.en (0) given by
x2 00 xn (n)
f (x) = f (0) + xf 0 (0) + f (0) + · · · + f (0) + o(xn ).
2! n!
75
Note that;
• The converse of Taylor Formula With Peano’s Remainder is not necessarily true for n ≥ 2. The
x3 sin x1 if x 6= 0
function f (x) = has f.e2 (0) but it is not twice differentiable at 0.
0 if x = 0.
• If f is n-times differentiable at 0 and f (x) = a0 +a1 x+a2 x2 +· · ·+an xn +o(xn ), then by uniqueness
f 00 (0) f (n) (0)
of f.e we obtain a0 = f (0), a1 = f 0 (0), a2 = 2! , · · · , an = n! .
O7 1 +1 x = (1 + x) = 1 − x + x − x + · · · + (−1) x + o(x ).
0 −1 2 3 n n n
O7 1 −1 x = 1 + x + x + x + · · · + x + o(x ).
00 2 3 n n
Proof.
3. f (x)g(x) = part of p(x)q(x) with deg ≤ n + part of p(x)q(x) with deg > n + o(xn )
76
6.10 Examples.
1. Find f.e3 (0) of f (x) = sin x + cos x.
h x3 i h x2 i x2 x3
f (x) = x − + 1− + o(x3 ) = 1 + x − − + o(x3 ).
3! 2! 2 6
2. Find f.e3 (0) of f (x) = 3 sin x + 2 cos x.
h x3 i h x2 i x3
f (x) = 3 x − +2 1− + o(x3 ) = 2 + 3x − x2 − + o(x3 ).
3! 2! 2
3. Find f.e3 (0) of f (x) = sin x cos x.
h x3 ih x2 i x3 x3 2
f (x) = x − 1− + o(x3 ) = x − − + o(x3 ) = x − x3 + o(x3 ).
3! 2! 2 6 3
4. Find f.e7 (0) of f (x) = (cos x − 1)(sin x − x).
h x2 x4 ih x3 x5 i x5 x7 x7
f (x) = − + − + + o(x7 ) = − − + o(x7 ).
2! 4! 3! 5! 2!3! 2!5! 3!4!
where p and q are the principle parts of the f.en (0) for f and u respectively.
For u(x) −→ 0 and u has f.en (0) given by u(x) = q(x) + o(xn ),we have
x→0
1 1 2 n n
1−u(x) = 1−q(x)+o(xn ) = 1 + q(x) + q (x) + · · · + q (x) discarding powers > n + o(x )
6.12 Example.
1
1. Find f.e5 (0) of cos x .
77
O O
6.14 Property. (Quotient Of Finite Expansion)
N
If 1 N, D have f.en (0) and 2 D(x) −→ ` 6= 0, then D has f.en (0) obtained by performing algorithm
x→0
like the division algorithm for polynomials but following increasing powers of x.
N (x)
Proof. D(x) = 1` N (x) D(x)/`
1
= 1` N (x) 1−u(x)
1
with u(x) = 1 − D(x)/` −→ 0.
x→0
sin x
6.15 Example. Find the f.e5 (0) of tan x = cos x .
2 5
• Since tan is odd function, then 15 x + o(x5 )
x3 2 5
tan x = x + + 15 x + o(x6 ).
3 0 + o(x5 )
x3 2 5
Similarly on can obtain by two different ways tanh x = x − 3 + 15 x + o(x6 ).
Special Cases By Examples: Quotients with D(0) = 0.
cos x − 1
1. Find the f.e5 (0) of .
x2 2
x x4 x6
cos x − 1 − 2! + − + 0x7 1 x2 x4
Solution. = 4! 6!
+ o(x5 ) = − + − + o(x5 ).
x2 x2 2! 4! 6!
sinh x − x
2. Find the f.e3 (0) of f (x) = .
cosh x − 1
2 3
Solution. Since D(0) = 0, D(x) = x2! + · · · = x2 [1/2 + · · · ] and N (x) = x3! + · · · = x2 [x/6 + · · · ],
then we can cancel by x2 . So to obtain f.e3 (0) for f (x) = N (x)
D(x) we need f.e of order 3 + 2 = 5
for both functions N and D.
−x3
1+ + 12 o(x3 ) 90 + o(x3 )
x x3 x2
+ o(x3 ) 1 − + o(x3 )
= + 0 + o(x3 )
3 60 12
x x3 x3
= − + + o(x3 )
3 36 60
x x3
= − + o(x3 ). 78
3 90
Asymptotic Finite Expansions By Example: In the case f (x) −→ ∞, It is possible to find an
x→0
asymptotic expansion of f (x) in increasing negative and positive powers of x:
2 2
f (x) = + o(1) shows that f is asymptotic to the function h(x) = .
x x
6.17 Corollary.
O4 arcsin x = x + 12 x3 + 12 ·· 34 x5 + 21 ·· 43 ·· 65 x7 + · · · + o(x
3 5 7
2n+2
)
O5 argsinh x = x − 12 x3 + 12 ·· 34 x5 − 12 ·· 34 ·· 56 x7 + · · · + o(x
3 5 7
2n+2
)
O6 arccos x = π2 − arcsin x.
Proof. Exercise.
79
6.3 Equivalent And Finite Expansion
6.18 Definition. Let f and g be two functions defined in a neighborhood of x0 ∈ R . We say that f
is equivalent to g in a neighborhood of x0 , and we write f ∼ g, if there exists afunction ε defined
x→x0
in a neighborhood of x0 such that
ε(x) −−−→ 0.
x→x0
Practical Characterization
f (x)
f ∼ g⇔ −−−→ 1 (provided g(x) 6= 0 in a neighborhood of x0 except possibly at x0 ).
x→x0 g(x) x→x0
2. lim f (x) = ` (` 6= 0) =⇒ f ∼ `.
x→x0 x→x0
4. f ∼ g ⇐⇒ g ∼ f .
x→x0 x→x0
1. f · f˜ ∼ g · g̃.
x→x0
f g
2. ∼ .(provided f˜, g̃ 6= 0 in a neighborhood of x0 except possibly at x0 )
˜
f x→x0 g̃
3. f α ∼ g α . ( provided that: f, g > 0 in a neighborhood of x0 . In particular, no conditions if
x→x0
α ∈ N and f, g 6= 0 in a neighborhood of x0 except possibly at x0 if α ∈ Z \ N.)
Attentions:
• Writing f (x) ∼ 0 means that f (x) = (1 + ε(x))0 = 0 in a neighborhood of x0 which is possible,
x→x0
but in general when you write f (x) ∼ 0 you are making a mistake.
x→x0
• You should never add equivalents without checking. x ∼ x + 1 and −x ∼ −x + 5 but 0 6.
x→∞ x→∞ x→∞
• You should never compose equivalents without checking. x ∼ x + 1 but ex ex+1 .
x→∞ x→∞
Logarithm: f (x) ∼ g and lim g(x) = ` 6= 1 =⇒ ln(f (x)) ∼ ln(g(x)).
x→x0 x→x0 x→x0
1 + x ∼ 1 + x2 but ln(1 + x) ln(1 + x2 ).
x→0 x→0
80
6.21 Property. (Finite Expansion And Equivalent)
If in a neighborhood of zero f (x) = ak xk + ak+1 xk+1 + · · · + an xn + o(xn ) with ak 6= 0, then
f (x) ∼ ak xk .(i.e. f is equivalent to the first non zero term in the finite expansion)
x→0
x2 2
For example ex ∼ 1, ex − 1 ∼ x, ex − 1 − x ∼ , sin x ∼ x and cos x − 1 ∼ − x2! .
x→0 x→0 x→0 2! x→0 x→0
YT = a0 + a1 x.
The relative position of the tangent (T ) with respect to (C) near 0 is determined by the first nonzero
term after a1 x in the finite expansion.
6.23 Examples.
1. Let f (x) = 1 − x + 3x2 + o(x2 ). Then the equation of the tangent (T ) to the representative
curve (C) of f at x = 0 is given by YT = 1 − x. Since f (x) − YT ∼ 3x2 ≥ 0, then the curve
x→0
(C) is above (T ) near 0.
N (x) ap xp
lim = = ±∞.
x→0 D(x) bk xk
N (x) ap xp ak
lim = = .
x→0 D(x) bk xk bk
N (x) xk ε(x)
lim = lim = 0.
x→0 D(x) x→0 bk xk
81