M’Hamed Bougara University, Boumerdes.
Sciences Faculty, ST Department.
Analysis II (Part II of Calculus) Academic year 2023/2024.
Final Exam Duration: 1h30 mn.
11-05-2024
Exercise 1. :(7 Pts)
1) Give the Taylor’s formula with the reminder of Lagrange to the order n = 3 at x0 = 0
for f (x) = e−3x .
√ 1
2) Give the limited development of f (x) = x to the order n = 3 at x0 = .
2
3) Calculate using L.D, the following limit
√
ex − 1 + x
lim .
x−→0 2 arctan(x) − arcsin(x)
Exercise 2.
(8 Pts)
2 1 −2 1 0 0
Let M = −1 2 3 and N = 0 −2 0 .
1 2 1 0 0 3
1. Compute the determinant of M and N , then deduce det(3M ), det(M N ) and det((M t )N ).
2. Compute the inverse M −1 of M using the co-factor matrix.
2α + 1β − 2γ = 1
3. Deduce the solution of the following linear system : −α + 2β + 3γ = 0
α + 2β + γ = −1
Exercise 3. (5 Pts)
ex sin xdx.
R
1. Using integration by parts compute
2. Compute the following primitives
R sin x
(a) dx.
cos2 x + 4
R 6
(b) 2
dx.
x + 5x + 4
Indication (LD at x0 = 0 to the order n):
x3 x5 x2n+1
arctan x = x − + − ...(−1)n + o(x2n+2 ),
3 5 2n + 1
√ x x2 2n!
1+x=1+ − + ... + (−1)n 2n+1 xn+1 + o(xn+1 ).
2 8 2 n!(n + 1)!
x x2 xn
ex = 1 + + + ... + + o(xn+1 ).
1! 2! n!
1 · x3 1 · 3x5 1 · 3 · 5...(2n − 1)x2n+1
arcsin x = x + + + ... + + o(x2n+2 ).
2·3 2·4·6 2.4.6...(2n)(2n + 1)
1
Final Exam solution.
1. The Taylor’s formula with the reminder of Lagrange to the order n = 3 at x0 = 0
for f (x) = e−3x is given by:
f 0 (0) f (2) (0) 2 f (3) (0) 3 f (4) (c) 4
f (x) = f (0) + x+ x + x + x ,
1! 2! 3! 4!
such that 0 < c < x or x < c < 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.5+0.25 pt)
As the function f belongs to C ∞ (R) · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
∀x ∈ R : f 0 (x) = −3e−3x , f (2) (x) = 9e−3x , f (3) (x) = −27e−3x , f (4) (x) = 81e−3x (0.5pt)
Then, f 0 (0) = −3, f (2) (0) = 9, f (3) (0) = −27, f (4) (c) = 81e−3c · · · · · · · · · (0.5 pt)
Hence,
9 2 27 3 81ec 4
f (x) = 1 + −3x + x − x + x , with 0 < x < c or x < c < 0 · · · (0.5 pt)
2! 6 24
√ 1
2. Give the limited development of f (x) = x to the order n = 3 at x0 = .
2
1 1
We put t = x − then x = t + · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
2 2
1
x→ then t → 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
2
Then, r √
1 1 2√
f (x) = f (t + ) = t + = 1 + 2t · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.5 pt)
2 2 2
t → 0 then 2t → 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25pt)
Using indication (LD at point 0).
√ 1 1 1
1 + 2t = 1 + (2t) − (2t)2 + (2t)3 + o(t3 ) · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
2 8 16
1 2 1 3
= 1 + t − t + t + o(t3 ) · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
2 2
√
2
multiplying by and replacing t by its value, gives
2
√ √ √ √
2 2 1 2 1 2 2 1 1
f (x) = + (x− )− (x− ) + (x− )3 +o((x− )3 ) · · · · · · · · · (0.25 pt)
2 2 2 4 2 4 2 2
3. We use indication (LD at x0 = 0 to the order n = 1)
p 1
ex = 1 + x + o(x), (1 + x) = 1 + x + o(x) · · · · · · · · · · · · (0.25 + 0.25 pt)
2
2 arctan(x) = 2x + o(x), arcsin(x) = x + o(x) · · · · · · · · · · · · (0.25 + 0.25 pt)
Hence the limit
√ 1 1
ex − 1 + x 1 + x + o(x) − 1 − x − o(x) + x + o(x)
lim = lim 2 = lim 2 · · · (0.5pt)
x−→0 2 arctan(x) − arcsin(x) x−→0 2x + o(x) − x + o(x) x−→0 x + o(x)
1 1
x + x.ε1 (x) x + ε1 (x)
2 1
= lim 2 = lim = .(0.25+0.25+0.25 pt)
x−→0 x + x.ε2 (x) x−→0 x (1 + ε2 (x)) 2
because lim ε1 (x) = 0 lim ε2 (x) = 0 · · · · · · · · · · · · · · · · · · · · · (0.25pt)
x−→0 x−→0
2
2 3 −1 3 −1 2
1. • det(M ) = 2 −1 −2 · · · · · · · · · · · · · · · · · · · · · · · · (0.5 pt)
2 1 1 1 1 2
= 2(2 − 6) − (−1 − 3) − 2(−2 − 2) = 4 · · · · · · · · · · · · · · · · · · · · · · · · (0.5 pt)
• det(N ) = 1·(−2)·3 = −6. (because N is triangular matrix) · · · · · · (0.25+0.25 pt)
Further, according to the stated properties during the course, we
have:
• det(3M ) = 33 det(M ) = 33 ·4 = 108 · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25+0.25 pt)
• det(M N ) = det(M ) · det(N ) = 4 · (−6) = −24 · · · · · · · · · · · · (0.25+0.25 pt)
• det(M t N ) = det(M t ) · det(N ) = det(M ) · det(N ) = 4 · (−6) = −24 · · · (0.5 pt)
2. The inverse of M : As det(M ) 6= 0 the matrix M admits an inverse· · · (0.5pt)
1
M −1 = (Com(M ))t · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
det (M )
−1 3 −1
2 3 2
+ 2 − +
1 1 1 1 2
1 −2 2 −2 2 1
− 2 −
Com(M ) = + · · · · · · · · · · · · (0.25 × 9 pt)
1 1 1 1 2
1 −2 2 −2 2 1
+ − +
2 3 1 3 −1 2
which gives
us
−4 4 −4 −4 −5 7
Com(M ) = −5 4 −3 · · · (0.25 pt); (Com M )t = 4 4 −4 · · · (0.25 pt)
7 −4 5 −4 −3 5
To conclude that
−5 7
−4 −5 7
−1
1 4 4
M −1 = 4
4 −4 = 1 1 −1 · · · · · · · · · · · · (0.25 pt)
4
−3 5
−4 −3 5 −1
4 4
3. Deduce the solution of the following linear system :
2α + 1β − 2γ = 1
−α + 2β + 3γ = 0 · · · · · · · · · (I)
α + 2β + γ = −1
α 1
(I) ⇐⇒ M · X = b such thatX = β
and b = 0 · · · (0.25pt)
γ −1
⇐⇒ M −1 · M · X = M −1 · b · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
⇐⇒ X = M −1 · b because M −1 exist and M −1 · M = I3 · · · (0.25pt)
3
The unique solution of (I) is
−5 7 11
α
1 −1 −
−1
4 4 1 4
β = M 0 = 1 1 −1 = 2 · · · (0.25 + 0.25 pt)
0
−3 5 9
γ −1 −1 −1 −
4 4 4
1. Compute I = ex sin xdx.
R
We will integrate by parts twice in a row with the usual formula
Z Z
f g dx = f g − f 0 gdx · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
0
We put f = sin(x) and g 0 = ex · · · (0.25 pt) then f 0 = cos(x), and g = ex · · · (0.25 pt)
Hence,
Z
I = e sin(x) − ex cos(x)dx · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
x
The second one is done as follows:
we put f = cos(x), g 0 = ex · · · (0.25 pt) that is f 0 = − sin(x) and g = ex · · · (0.25 pt)
which gives us
Z
I = ex sin(x) − ex cos(x) − −ex sin(x)dx · · · · · · · · · · · · · · · · · · (0.25 pt)
Z
x x x
= e sin(x) − e cos(x) + e sin(x)dx · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
1 x
= e (sin(x) − cos(x)) + C. C ∈ R · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
2
sin x
R
2. (a) Evaluate I = dx.
cos2 x + 4
cos(x) sin(x)
Substitute t = which gives us dt = − dx · · · · · · · · · · · · (0.25 pt)
2 2
Z Z
1 1 1
I = − 2 2 dt = − dt · · · · · · (0.25 + 0.25 pt)
4t + 4 2 t2 + 1
1
= − arctan(t) + C. C ∈ R · · · (0.25 pt)
2
R6
(b) Calculate I = dx.
x2 + 5x + 4
As the discriminant of the polynomial in the denominator (∆ = 9) is positive,
we can factorize the denominator and write · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
1 −1
Z Z
1 3 3
I = 6 dx = 6 + dx.(0.25 + 0.25 + 0.25 pt)
(x + 1)(x + 4) (x + 1) (x + 4)
Z Z
1 1
= 2 dx − dx · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · (0.25 pt)
x+1 x+4
= 2 ln(|x + 1|) − 2 ln(|x + 4|) + C. C ∈ R · · · · · · · · · · · · · · · (0.25 pt)