2021-2022 Final Exam
2021-2022 Final Exam
Final Exam.
Tuesday, January 25, 2022
Duration: 2 hours.
Final word: Exercise 5 (on page 4) is a ”Bonus exercise” and should only be considered
if you have finished all other exercises.
1
Exercise 1. (Special exercise for BX24). We define the function
2024
!
X (−1)n+1
h(x) := exp xn .
n
n=1
which proves that the formula holds for n+1. The principle of mathematical induction
implies that the formula holds for all n ⩾ 1.
1.2 - Prove that there exists a function x 7→ η(x) which tends to 0 as x tends to 0, such
that
2024
X (−1)n+1
ln(1 + x) = xn + x2024 η(x),
n
n=1
2
Thanks to the previous question, we can write
2024
X (−1)n+1 n
x = ln(1 + x) − x2024 η(x).
n=1
n
Hence we get
Now, we use the fact that the exponential function admits a Taylor expansion at order
1 at 0. So we can write
exp z = 1 + z + z ψ(z),
where the function ψ tends to 0 as z tends to 0. Using this, we conclude that
h(x) = (1 + x) 1 − x2024 η(x) − x2024 η(x) ψ −x2024 η(x)
= 1 + x + x2024 γ(x),
Å ã1/x2
tan x
g(x) := .
x
2.1 - Prove that the function g is well defined, continuous and differentiable on (− π2 , π2 )−
{0}.
2.2 - Prove that the Taylor expansion of the function x 7→ tan x at order 5 at x = 0 is
given by
x3 2x5
tan(x) = x + + + x5 ψ(x),
3 15
where x 7→ ψ(x) tends to 0, as x tends to 0.
3
We have
x3 x5
sin x = x − + + x5 η(x),
6 120
and
x2 x4
cos x = 1 − + + x4 θ(x),
2 24
where both x 7→ η(x) and x 7→ θ(x) tend to 0, as x tends to 0. Using the expansion
1
= 1 + z + z 2 + z 2 ξ(z),
1+z
where z 7→ ξ(z) tends to 0, as X tends to 0. Using this, we conclude with little work
that
x2 2x4
tan(x) = 1 + + + x4 ψ(x),
3 15
where x 7→ ψ(x) tends to 0, as x tends to 0.
2.3 - Prove that the function g has a limit as x tends to 0 and compute this limit.
Using the previous question together with the second order Taylor expansion of y 7→
ln(1 + y) at y = 0,
y2
ln(1 + y) = y − + y 2 ζ(y),
2
where y 7→ ζ(y) tends to 0, as y tends to 0, we get
x2 2x4 x4
Å ã
tan x
ln = + − + x4 ψ(x)
x 3 15 18
x2 7x4
= + + x4 ψ(x).
3 90
where x 7→ ψ(x) tends to 0, as x tends to 0. This implies that
ln tan x
x 1
lim 2
= ,
x→0,x̸=0 x 3
and, using the continuity of x 7→ exp x, we conclude that
√
lim g(x) = exp(1/3) = 3 e.
x→0,x̸=0
4
We have seen in the previous question that
x2 7x4
Å ã
tan x
ln = + + x4 ψ(x),
x 3 90
therefore,
tan x
Ç å
ln x
g(x) = exp
x2
1 7x2
Å ã
= exp + + x2 ψ(x)
3 90
Å 2 ã
7x
= e1/3 exp + x2 ψ(x) ,
90
where x 7→ ψ(x) tends to 0, as x tends to 0. Using the Taylor expansion of y 7→ exp y
at order 1 at y = 0, we conclude that
7x2
Å ã
g(x) = e1/3 1 + + x2 ζ(x) ,
90
where x 7→ ζ(x) tends to 0, as x tends to 0. In particular
g(x) − g(0)
Å ã
1/3 7x
=e + x ζ(x) ,
x−0 90
tends to 0 as x tends to 0. So, g is differentiable at 0 and g ′ (0) = 0.
lim f ′ (x),
x→0, x̸=0
exists. Prove that f is differentiable at x = 0. Hint: Use the Mean Value Theorem
between 0 and x.
Assume that x > 0. The Mean Value Theorem implies that there exists cx ∈ (0, x),
such that
f (x) − f (0) = f ′ (cx ) (x − 0).
Since f ′ has a limit at 0, we conclude that
lim f ′ (cx ) = ℓ
x→0,x̸=0
5
3.2 - In this question, we assume that f is differentiable at x = 0. Is it true that
lim f ′ (x),
x→0, x̸=0
The function Å ã
1
f (x) = x2 sin
x
is differentiable on R but
Å ã Å ã
′ 1 1
f (x) = 2 x sin − cos ,
x x2
n
un+1 := un ,
n+α
for all n ⩾ 1.
4.2 - We define
vn := ln (nα un )
Compute wn := vn+1 − vn in terms of n.
We have
wn := vn+1 − vn
Å ã Å ã
n+1 un+1
= α ln + ln
n un
Å ã
1 α
= α ln 1 + − ln 1 +
n n
6
Using a Taylor expansion of x 7→ ln(1 + x) at order 2 at 0, we get
lim n2 wn − α(1 − α) = 0.
n→+∞
α (1−α)
Therefore, the sequence (n2 wn )∞
n=1 converges to 2 .
∞
X
Thanks to the previous question, we know that the infinite series wn converges.
n=1
Hence the sequence (vn )∞
n=1 converges and, since the exponential function is continu-
ous, we conclude that the sequence (nα un )∞
n=1 converges to some positive real number.
∞
X
4.5 - Prove that the infinite series un converges if α > 1 and diverges when α ∈ (0, 1].
n=1
∞
X 1
Since the infinite series α
converges when α > 1 and diverges when α < 1, we
n=1
n
can use the previous question together with the comparison test to conclude that the
∞
X
infinite series un converges if α > 1 and diverges when α ∈ (0, 1].
n=1
∞
X
4.6 - Prove that the infinite series (−1)n un converges for all α > 0.
n=1
The sequence (un )∞n=1 is decreasing and tends to 0. A result from the lecture implies
∞
X
that the alternative series (−1)n un converges.
n=1
4.7 - Assume that α > 1 is fixed and that (an )∞n=1 is a real valued sequence such that
an > 0 for all n ⩾ 1 and
an+1 α
⩽1− ,
an n
∞
X
for all n ⩾ 2. What can you say about the infinite series an ?
n=1
7
∞
X
and the comparison test implies that the infinite series an converges.
n=1
for n large enough, say n ⩾ N . This implies that the sequence (nγ an )∞
n=N is increas-
ing and hence Å ãγ
N
an ⩾ aN ,
n
∞
X
and the comparison test implies that the infinite series an diverges.
n=1
f (n+1) (c)
0= ,
(n + 1)!