algèbre-1-serie-02-correction-1
algèbre-1-serie-02-correction-1
algèbre-1-serie-02-correction-1
Reminder 1.
1. CE A = {x ∈ E : x ∈
/ A}.
2. A ∪ B = {x : x ∈ A or x ∈ B}.
3. A ∩ B = {x : x ∈ A and x ∈ B}.
4. A \ B = {x : x ∈ A and x ∈
/ B}.
5. A∆B = (A \ B) ∪ (B \ A).
Reminder 2.
Power set : The power set of E denoted by P (E) is the collection of all subsets of E.
Solution of exercise 1.
1. Write explicitly the set of odd numbers between e and π 2 .
We have : e ≈ 2, 71 and π 2 ≈ 9, 86 then A = {3, 5, 7, 9}
Write implicitly the set B = {2, 4, 8, 16, 32} the set B can be written in the form :
Reminder 3.
CE (A ∪ B) = (CE A) ∩ (CE B)
1. (De Morgan’s laws).
CE (A ∩ B) = (CE A) ∪ (CE B)
Let x ∈ A ∪ B ⇔ x ∈ A or x ∈ B
⇔ (x ∈ A and x ∈ B) or (x ∈ A and x ∈/ B) or (x ∈
/ A and x ∈ B)
⇔ x ∈ (A ∩ B) or [(x ∈ A \ B) or (x ∈ B \ A)]
⇔ x ∈ (A ∩ B) or x ∈ (A \ B) ∪ (B \ A)
⇔ x ∈ (A ∩ B) ∪ (A 4 B).
(ii) (A ∩ B) = (A ∪ B) ⇒ A = B ;
Suppose that (A ∩ B) = (A ∪ B) and lets show that A = B, showing that A = B
comes back to show the double inclusion A ⊂ B and B ⊂ A.
(a) Lets show that A ⊂ B
then A ⊂ B.
2
Dr. L.BOUCHAL
• A⊂B ⇔A∪B =B
(a) A ⊂ B ⇒ A ∪ B = B :
Suppose that A ⊂ B and show that A ∪ B = B (we have to show the double
inclusion A ∪ B ⊂ B and B ⊂ A ∪ B )
if x ∈ A ⇒ x ∈ B( because A ⊂ B)
Let x ∈ A ∪ B ⇒ x ∈ A or x ∈ B ⇒
if x ∈ B end
then (A ∪ B) ⊂ B.
On the other side,
Then
A ⊂ B ⇒ A ∪ B = B. (1)
(b) A ∪ B = B ⇒ A ⊂ B :
Suppose that A ∪ B = B and show that A ⊂ B.
Let x ∈ A ⇒ x ∈ A ∪ B ⇒ x ∈ B (because A ∪ B = B), then A ⊂ B.
Then
A ∪ B = B ⇒ A ⊂ B. (2)
Conclusion : From (1) and (2), we conclude that A ⊂ B ⇔ A ∪ B = B.
• A ⊂ B ⇔ CE B ⊂ CE A :
(a) A ⊂ B ⇒ CE B ⊂ CE A :
Suppose that A ⊂ B and show that CE B ⊂ CE A.
Let x ∈ CE B ⇒ x ∈
/B⇒ x∈/ A(because A ⊂ B)
⇒ x ∈ CE A.
Then
A ⊂ B ⇒ CE B ⊂ CE A. (3)
(b) CE B ⊂ CE A ⇒ A ⊂ B :
Suppose that CE B ⊂ CE A and show that A ⊂ B.
Let x ∈ A ⇒ x ∈
/ CE A ⇒ x ∈
/ CE B(because CE B ⊂ CE A)
⇒ x ∈ B.
Then
CE B ⊂ CE A ⇔ A ⊂ B. (4)
3
Dr. L.BOUCHAL
Conclusion : We have
A⊂B ⇔A∪B =B
and Then A ⊂ B ⇔ A ∪ B = B ⇔ CE B ⊂ CE A.
A ⊂ B ⇔ CE B ⊂ CE A
1 1
A = [1, 2], B = 0, −1, − , C = [0, 1[, D = , 1, −2 .
2 2
x −∞ 0 +∞
f 0 (x) + 0 −
f(0)=1
f (x)
0 0
1. Determine f (A), f (B), f (A ∪ B), f (A ∩ B). Compare to f (A) ∪ f (B) and f (A) ∩ f (B).
We have :
4
Dr. L.BOUCHAL
f −1 (D) = f −1 ( 21 , 1, −2 )
1
x ∈ R : f (x) ∈
= 2
, 1, −2
1 1 1 1
x∈R:
= 1+x2
= 2
or 1+x2
= 1 or 1+x2
= −2
= {x ∈ R : 2 = 1 + x2 or 1 = 1 + x2 or 1 = −2 − 2x2 }
= {−1, 1, 0}
f −1 (C ∪ D) = {x ∈ R : f (x) ∈ (C ∪ D)}
1
x ∈ R : f (x) ∈ ([0, 1[∪
= 2
, 1, −2 )
1
x ∈ R : f (x) ∈ [0, 1[ or f (x) ∈
= 2
, 1, −2
= R.
f −1 (C ∩ D) = {x ∈ R : f (x) ∈ (C ∩ D)}
1
x ∈ R : f (x) ∈ ([0, 1[∩
= 2
, 1, −2 )
1
x ∈ R : f (x) ∈
= 2
1
x ∈ R : f (x) =
= 2
1 1
x∈R:
= 1+x2
= 2
= {x ∈ R : 2 = 1 + x2 }
= {x ∈ R : x2 = 1 ⇒ (x = 1 or x = −1)}
= {−1, 1} .
We have,
5
Dr. L.BOUCHAL
g(x1 ) = g(x2 ) ⇒ x1 + 1 = x2 + 1 ⇒ x1 = x2 .
Then g is injective.
3. h is injective ⇔ ∀x1 , x2 ∈ N, h(x1 ) = h(x2 ) ⇒ x1 = x2 .
But ∃x1 = 0 ∈ N, ∃x2 = 1 ∈ N such that
6
Dr. L.BOUCHAL
Study of surjectivity :
1. f is surjective ⇔ ∀z ∈ N, ∃(x, y) ∈ N × N : z = f (x, y).
Let z ∈ N, does there exist (x, y) ∈ N × N such that z = x2 + xy − x ?
If we take x = 1 and y = z then
Then f is surjective.
2. g is surjective ⇔ ∀y ∈ N, ∃x ∈ N : g(x) = y.
Let y ∈ N,
g(x) = y ⇒ x + 1 = y ⇒ x = y − 1.
/ N.
If we take y = 0 then x = 0 − 1 = −1 ∈
Then ∃y = 0 ∈ N such that it does not exist an x ∈ N such that y = f (x).
Then g is not surjective.
3. h is surjective ⇔ ∀y ∈ N, ∃x ∈ N : h(x) = y.
Let y ∈ N,
• For (g ◦ h) :
h g
N→− N→ − N
(g ◦ h) is well defined.
Then
1, if x = 0
(g ◦ h)(x) = g(h(x)) = h(x) + 1 =
x, if x ≥ 1
• For (h ◦ g) :
g h
N→− N→ − N
(h ◦ g) is well defined.
Then
0, if g(x) = 0
(h ◦ g)(x) = h(g(x)) =
g(x) − 1, if g(x) ≥ 1
/ N.
• g(x) = 0 ⇒ x + 1 = 0 ⇒ (x = −1) rejected because −1 ∈
• g(x) ≥ 1 ⇒ x + 1 ≥ 1 ⇒ x ≥ 0, then ∀x ∈ N, g(x) ≥ 1.
7
Dr. L.BOUCHAL
Then
(h ◦ g)(x) = h(g(x)) = g(x) − 1 = x + 1 − 1 = x.
1. Is f injective ?
f is injective ⇔ ∀x1 , x2 ∈ R \ {−1}, f (x1 ) = f (x2 ) ⇒ x1 = x2 .
Let x1 , x2 ∈ R \ {−1}
f (x1 ) = f (x2 ) ⇔ 2x 1 +3
1+x1
= 2x 2 +3
1+x2
⇒ (2x1 + 3)(1 + x2 ) = (2x2 + 3)(1 + x1 )
⇒ 2x1 + 2x1 x2 + 3 + 3x2 = 2x2 + 2x1 x2 + 3 + 3x1
⇒ x1 = x2 .
Then f is injective.
2. Determine, according to the values of α ∈ R, the set f −1 ({α}), and deduce whether f is
surjective.
f −1 ({α}) = {x ∈ R \ {−1} : f (x) ∈ {α}}
f (x) ∈ {α} ⇒ f (x) = α
2x+3
⇒ 1+x
=α
⇒ 2x + 3 = αx + α
⇒ (2 − α)x = α − 3
α−3
⇒ x = 2−α with α 6= 2.
Deduce whether f is surjective.
Conclusion :
For α = 2, f −1 ({α}) = ∅
α−3
6 2, f −1 ({α}) = {x =
For α = 2−α
∈ R \ {−1}}
The mapping f is surjective for α ∈ R \ {2}.
3. Calculate f (] − 1, +∞[) and f (] − ∞, −1[).
8
Dr. L.BOUCHAL
x −∞ −1 +∞
f 0 (x) − −
2 +∞
f (x)
−∞ 2
9
Dr. L.BOUCHAL
5. Let
h : R → R
2x if x > − 21
x 7−→
x2 if x ≤ − 12
Are the mappings f ◦ h and h ◦ f defined ? calculate them if they are defined.
We have :
h f
R→− R, R \ {−1} → − R
(f ◦ h) is not defined because the codomain of h is different from the domain of f.
We have
f h
R \ {−1} → − R→ − R
(h ◦ f ) is well defined.
The calculation of (h ◦ f ) :
f (x) > − 21
2f (x)
(h ◦ f )(x) = h(f (x)) =
(f (x))2 f (x) ≤ − 21
4x+6
f (x) > − 21
x+1
=
( 2x+3 )2 f (x) ≤ − 21
x+1
x −∞ − 75 −1 +∞
5x + 7 − 0 + +
2(x + 1) − − 0 +
5x+7
2(x+1) + 0 − +
We have
f (x) > − 12 ⇒ f (x) + 1
2
>0
2x+3 1
⇒ x+1
+ 2
>0
4x+6+x+1
⇒ 2x+2
>0
5x+7
⇒ 2(x+1)
>0
Then
f (x) > − 12 for x ∈] − ∞, − 57 [∪] − 1, +∞[
10
Dr. L.BOUCHAL
Conclusion (h ◦ f ) is defined by :
4x+6
for x ∈] − ∞, − 75 [∪] − 1, +∞[
x+1
(h ◦ f )(x) = h(f (x)) =
( 2x+3 )2 for x ∈ [− 57 , −1[.
x+1
Reminder 7.
1. y ∈ f (A) ⇔ ∃x ∈ A : y = f (x).
2. x ∈ f −1 (B) ⇔ f (x) ∈ B.
then f −1 (f (A)) ⊂ A.
Then, we have if f injective then ∀A ∈ P(E), A = f −1 (f (A)).
(b) ∀A ∈ P(E), A = f −1 (f (A)) ⇒ f injective.
Let x1 , x2 ∈ E such that f (x1 ) = f (x2 ). We want to show that x1 = x2 .
We apply A = f −1 (f (A)) for A = {x1 } and for A = {x2 }.
We have
f −1 (f ({x1 })) = {x1 } = and f −1 (f ({x2 })) = {x2 },
but,
f ({x1 }) = f ({x2 }) ⇒ f −1 (f ({x1 })) = f −1 (f ({x2 }))
⇒ {x1 } = {x2 } ( because A = f −1 (f (A)))
⇒ x1 = x2
Then f is injective.
Conclusion : From (a) and (b) we obtain :
11
Dr. L.BOUCHAL
12