Professional Documents
Culture Documents
Final Exam.
Tuesday, January 24, 2023
2 hours.
Final word: Question 2.5 in Exercise 2 is a ”Bonus question” and Exercise 4 is ”Bonus
exercise”. Both do not bring extra points and hence should only be considered if, and
only if, you have finished all other exercises ... and questions.
1
Exercise 1. We define the function f : (−π, π) − {0} → R by
Å ã
1 sin x
f (x) := 2 ln .
x x
1.1 - Prove that the function f : (−π, π) − {0} → R is well defined, continuous and
differentiable.
The function x 7→ sinx x continuous and differentiable on (−π, π) − {0} as the quotient
of continuous and differentiablefunctions. Since this function is positive on (−π, π) −
{0}, the function x 7→ ln sinx x is well defined and continuous (resp. differentiable)
on (−π, π) − {0} as the composition of continuous (resp. differentiable) functions.
Finally, f : (−π, π) − {0} → R is well defined and continuous (resp. differentiable)
as the product of continuous (resp. differentiable) functions
The function y 7→ ln(1+y) is differentiable on (−1, +∞) and hence it admits a Taylor
expansion at order 1 at y0 = 0. Since ln(1) = 0 and ln′ (1) = 1, Taylor’s formula from
the lecture yields
ln(1 + y) = y + y θ(y),
where the function y 7→ θ(y) tends to 0 as y tends to 0.
1.4 - Deduce from the above that the function g : (−π, π) → R defined by
Å ã
sin x
g(x) := ln ,
x
for x ̸= 0 and g(0) := 0, admits a Taylor expansion at order 2 at x0 = 0 and provide
this expansion.
2
which simplifies into
x2
g(x) = − + x2 ψ(x),
3!
where the function x 7→ ψ(x) tends to 0 as x ̸= 0 tends to 0. If we extend the definition
of ψ at 0 by setting ψ(0) := 0, the above formula still holds when x = 0. This completes
the proof of the fact that the function g admits at x0 , a Taylor expansion at order 2.
1.5 - Prove that the function f has a limit as x ̸= 0 tends to 0 and compute this limit.
Be definition, we have
g(x)
f (x) = ,
x2
and thanks to the previous question, we can write
1
f (x) = − + ψ(x),
3!
when x = 0. This immediately implies that the function f has a limit as x ̸= 0 tends
to 0 and this limit is − 61 .
We have
sin( n1 )
Ç å Å ã
1 1
ln un = 1 2 ln 1 =f .
(n) n
n
Thanks to the previous question, we conclude that the sequence (ln un )∞n=1 converges
to − 61 as n tends to infinity and, since x 7→ ex is continuous, the sequence (un )∞
n=1
1
converges to e− 6 .
Next, we have
sin( n1 )
Ç å Å ã
1 1 1
ln vn = 1 ln 1 = f .
n n
n n
Thanks to the previous question, we conclude that the sequence (ln vn )∞
n=1 converges
to 0 as n tends to infinity and, since x 7→ ex is continuous, the sequence (vn )∞
n=1
converges to 1.
Exercise 2. The aim of this exercise is to study the set of accumulation points of the
sequence (cos (ln n))∞
n=1 .
3
2.1 - Given t ∈ [0, +∞). We define
φ(n) := et+2 π n ,
Observe that t + 2 π n > 0, hence et+2 π n > 1 and this implies that φ(n) ⩾ 1. By
construction
et+2 π n − 1 < φ(n),
and, since lim et+2 π n = +∞, we conclude that lim φ(n) = +∞.
n→+∞ n→+∞
Finally, we have
φ(n) ⩽ et+2 π n ,
and
et+2 π (n+1) − 1 < φ(n + 1).
Therefore
Since e2π − 1 > 0 and since lim et+2 π n = +∞, we conclude that lim (φ(n + 1) −
n→+∞ n→+∞
φ(n)) = +∞.
For this last point, other proofs were possible. For example, one could have used the
fact that ⌊a b⌋ ⩾ ⌊a⌋ ⌊b⌋ when a, b > 0 so that
to conclude that
φ(n + 1) − φ(n) ⩾ (⌊e2π ⌋ − 1) ⌊et+2 π n ⌋.
Alternatively, one could have used the fact that ⌊a + b⌋ ⩾ ⌊a ⌋ + ⌊b ⌋ so that
and hence
⌊et+2 π (n+1) ⌋ − ⌊et+2 π n ⌋ ⩾ ⌊(e2π − 1) et+2 π n ⌋.
4
The function x 7→ cos(ln x) is continuously differentiable on (0, +∞) and its derivative
is given by
sin(ln x)
x 7→ − .
x
The Mean Value Theorem applied to the function x 7→ cos(ln x) between the points
0 < x < y yields he existence of z ∈ (x, y), such that
sin(ln z)
ln et+2πn − ln(φ(n)) =
(y − x) .
z
Since z > x we conclude that
y−x
|cos(ln y) − cos(ln x)| ⩽ .
x
The result follows from the fact that lim φ(n) = +∞.
n→+∞
2.4 - Determine the set of accumulation points of the sequence (cos (ln n))∞
n=1 .
If x ∈ [−1, 1], we define t := arccos x ∈ (0, π) and apply the previous analysis to get
∞
the existence of a subsequence (cos(ln(φ(n)))n=1 which converges to cos t. Thanks to
2.1, the function φ is strictly increasing for n large enough. This implies that any
∞
x ∈ [−1, 1] is an accumulation point of the sequence (cos(ln n))n=1 .
Since the sequence has values in [−1, 1], all accumulation points of the sequence
∞
(cos(ln n))n=1 belong to [−1, 1].
2.5 - Bonus question. To be considered if and only if you have finished all
other exercises. Let f : (0, +∞) → R be a C 1 function. Try to grasp the key properties
of the function x 7→ ln x we have used to reach the conclusion of 2.4 and give sufficient
conditions on the function f and its derivative for the conclusion of question 2.4 to hold
for the sequence (cos(f (n)))∞
n=1 .
5
Exercise 3. The aim of this exercise is to study the function S : (−1, +∞) → R defined
by
∞ Å ã
X 1 1
S(x) := − .
n n+x
n=1
In this exercise, explain clearly the reasons why your computations are le-
gitimate.
∞
X 1
3.1 - Let x, y > −1 be given. Prove that the infinite series converges.
(n + x)(n + y)
n=1
Hint: Observe that n + x > n − 1 and n + y > n − 1 for all x, y > −1.
We have
1 1
0⩽ ⩽ ,
(n + x)(n + y) (n − 1)2
∞
X 1
for all n ⩾ 2. Since the infinite series converges (Riemann Series), the
n=2
(n − 1)2
∞
X 1
Comparison Test for infinite series implies that the infinite series
n=2
(n + x)(n + y)
converges.
∞ Å ã
X 1 1
3.2 - For all x > −1, prove that the infinite series − converges. Its sum
n n+x
n=1
will be denoted by S(x). Prove that
∞ Å ã
1 X 1 1
S(x) = 1 − + − .
1+x n+1 n+1+x
n=1
Since
1 1 x
− = ,
n n+x n (n + x)
∞ Å ã
X 1 1
the fact that the infinite series − converges is just a consequence of
n=1
n n+x
the previous question with y = 0. Now, we write
∞ Å ã ∞ Å ã ∞ Å ã
X 1 1 1 X 1 1 1 X 1 1
− = 1− + − = 1− + − .
n=1
n n+x 1 + x n=2 n n + x 1 + x n=1 n + 1 n + 1 + x
6
We have seen in the previous question that
∞ Å ã
1 X 1 1
S(x) = 1 − + − .
1 + x n=1 n + 1 n + 1 + x
Now, by definition
∞ Å ã
X 1 1
S(x + 1) = − .
n=1
n n+x+1
Since both series converge, we can compute (using operations on convergent infinite
series)
∞ Å ã
1 X 1 1 1
S(x + 1) − S(x) = −1+ − = .
1+x n=1
n n+1 1+x
∞ Å ã ∞ Å ã
X 1 1 X 1 1
Both − and − converge and operations on convergent
n=1
n n+x n=1
n n+y
infinite series imply that
∞ Å ã X ∞ Å ã
X 1 1 1 1
S(y) − S(x) = − − −
n=1
n n+y n=1
n n+x
∞ Å ã
X 1 1 1 1
= − − +
n=1
n n+y n n+x
∞ Å ã
X 1 1
= −
n=1
n+x n+y
∞
X y−x
=
n=1
(n + x)(n + y)
∞
X 1
= (y − x) .
n=1
(n + x)(n + y)
3.5 - Prove that the function S is continuous on (−1 + ∞). Hint: Given a > −1 ,
observe that (n + x)(n + y) > (n + a)2 , for all n ∈ N − {0} and x, y > a. Deduce from
this that the function S is continuous on (a, +∞).
7
3.6 - Prove that the function S is differentiable on (−1, +∞) and compute the derivative
of S. Hint: Prove that the function S is differentiable on (a, +∞) for all a > −1.
and we conclude as in the previous question that S is differentiable on all (a, +∞),
for all a > −1. Moreover,
∞
X 1
S ′ (x) = ,
n=1
(n + x)2
for all x > −1.
S(x)
lim = 1.
x→+∞ ln x
8
Exercise 4. Bonus exercise. To be considered if and only if you have finished
all other exercises. Let f : N − {0} → N − {0} be an injective function. Prove that
the infinite series
∞
X f (k)
.
k2
k=1
diverges.