ECOLE NATIONALE SUPERIEURE DES TRAVAUX
PUBLICS
Module : Algèbre 2 1 ère année
Série 4 : Systèmes d'équations linéaires
Exercice 1
Résoudre les deux systèmes d'équations linéaires suivants :
x + y − 2z = 1
(S1 ) 2x − 4y + z = 0
2y − 3z = −1
On a
1 1 −2
∆ = 2 −4 1 = 8 ̸= 0 donc le système (S1 ) admet une solution unique.
0 2 −3
On a
1 1 −2 1 1 −2 1 1
1
∆x = 0 −4 1 = 17. ∆y = 2 0 1 = 11, ∆z = 2 −4 0 = 10.
-1 2 −3 0 -1 −3 0 2 -1
Ainsi x = ∆∆x = 17 , y = ∆∆y = 11 , z = ∆∆z = 5
.
8 8 4
x + 2y + 3z − 2t = 6
2x − y − 2z − 3t = 8
(S2 )
3x + 2y − z + 2t = 4
2x − 3y + 2z + t = −8
1 2 3 −2 6 L1
2 −1 −2 −3 8 L
2
3 2 −1 2 4 L3
2 −3 2 1 −8 L4
0
1 2 3 −2 6 L1 1 2 3 −2 6 L1
0 −5 −8 1 −4 L ← l − 2L 0 −5 −8 −4
2 2 1 1 L2
→ →
0 −4 −10 8 −14 L3 ← l3 − 3L1 0 0 − 18 36
− 54 L3 ← l3 − 4 L2
5 5 5 5
0 −7 −4 5 −20 L4 ← l4 − 2L1 0 0 36 18
−572
L4 ← l4 − 5 L2
7
5 5
1 2 3 −2 6 L1
0 −5 −8 1 −4
L2
0 0 − 18 36
−5
54
L3
5 5
0 0 0 18 −36 L4 ← l4 + 2L3
x + 2y + 3z − 2t = 6
− 5y − 8z − t = 8
(S2 ) ⇔ (S2′ )
− 5z + 5t = −5
18 36 54
18t = −36
′
Déterminons la variable t de l'équation 4 du système (S2 ) :
18t = −36 ⇒ t = −2
Déterminons la variable z de l'équation 3 du système (S2′ ) :
− 18
5
z + 36
5
t = − 54
5
⇒ z = −1
Déterminons la variable y de l'équation 2 du système (S2′ ) :
−5y − 8z + t = −4 ⇒ y = 2.
Déterminons la variable x de l'équation 1 du système (S2′ ) :
x + 2y + 3z − 2t = 6 ⇒ x = 1.
1
2
D'où la solution de (S2 ) est X= .
−1
−2
1
Exercice 2
Résoudre les deux systèmes d'équations linéaires suivants :
2x + 3y − 5z =
1
(S1 ) 3y + 2z = −1
3x + 2y − 3z = 1
On a
2 3 −5
∆ = 0 3 2 = 37 ̸= 0
donc le système (S1 ) admet une solution unique.
3 2 −3
On a
3 −5 2 −5 2 3
1 1 1
∆x = -1 3 2 = 9. ∆y = 0 -1 2 = −7, ∆z = 0 3 -1 = −8.
1 2 −3 3 1 −3 3 2 1
9 −7 −8
Ainsi x= 37
,y = 37
,z = 37
.
2x + y − z + t = 1
3x − 2y + 2z − 3t = 2
(S2 )
5x + y − z + 2t = −1
2x − y z − 3t = 4
+
2 1 −1 1 1 L1 2 1 −1 1 1 L1
3 −2 2 −3 2 0 −7 7 −9 1
L2 ← L2 − 23 L1
L2 2
→ 2 2 2
→
5 1 −1 2 −1 L3 − 27
0 −2 2 −2 ← −
3 3 1 5
3L L 3 L
2 1
2 −1 1 −3 4 L4 0 −2 2 −4 3 L4 ← L4 − L1
2 1 −1 1 1 L1 2 1 −1 1 1 L1
0 −7 −2
0 −2 −2
7 9 1 7 7 9 1
L2 L2
2 2 2
→ 2 2
0 0 0 10
− 26
L ← L − 3
L 0 0 0 10
− 26 L3
7 7 3 3 7 2 7 7
0 0 0 −7 10 19
L4 ← L4 − 7 L2
4
0 0 0 0 1 L4 ← L4 + L3
7
2x + y − z + t = 1
− 7
y + 7
z − 9
t = 1
(S2 ) ⇔ 2 2 2 2
.
10
t = − 26
7 7
0t = −1
2
Alors le système (S2 ) n'a pas de solution.
Exercice 3
Résoudre et discuter suivant le paramètre m ∈ R les deux systèmes d'équations li-
néaires suivants :
x + my + 2z = 1
(S1 ) x + (m − 1)y + mz = 1
2x + 3y + 4z = m
On a
1
m 2
∆ = 1 m − 1 m = −(3 − 2m)(m − 2)
2 3 4
Si m ∈ R − { , 2} alors ∆ ̸= 0. Ceci implique que (S1 ) possède une solution unique
3
:
2
1 1 1 2
m 2
∆x = 1 m − 1 m = (m − 1)(m − 2). ∆y = 1 1 m = −(m − 2)2 ,
2
m 3 4 2 m 4
1
m 1
∆z = 1 m − 1 1 = −(m − 2).
2 3 m
1−m2 2−m 1
Ainsi x= 3−2m
, y = 3−2m ,z = 3−2m
.
3
Si m = alors
2
3
x + 2 y + 2z = 1 (L1 )
(S1 ) x + 21 y + 32 z = 1 (L2 )
2x + 3y + 4z = 23 (L3 )
On remplace L3 par L3 − 2L1 on obtient 0 = 12 impossible.
Donc (S1 ) n'a pas de solution.
Sim = 2alors
x + 2y + 2z = 1 (L1 )
(S1 ) x + y + 2z = 1 (L2 )
2x + 3y + 4z = 2 (L3 )
On a x + y + 2z = 1 alors L2 implique y = 0.
3
x + 2z = 1
Donc (S1 ) devient
2x + 4z = 2
Donc x = 1 − 2z , ainsi les solutions de (S1 ) sont (1 − 2z, 0, z), z ∈ R.
En récapitulant, les solutions de
(S1 ) sont :
ϕ si m= 3
2
{(1 − 2z, 0, z), z ∈ R} si m = 2.
2
1−m
( 3−2m 2−m
, 3−2m 1
, 3−2m ) si m ∈ R − { 32 , 2}
mx + y + z = 1
(S2 ) x + my + z = m
x + + mz = m2
y
m 1 1 1 L1
On a 1 m 1 m
L2
1 1 m m2 L3
Echangeons la ligne 2 et la ligne 1.
1 m 1 m L1 1 L1 m 1 m
m 1 1 2
L2 ↔ L1 → 0 1 − m 1 − m 1 − m L2 ← L2 − mL1
2
1
1 1 m m2 L3 0 1 − m m − 1 m2 − m L3 ← L3 − L1
1. Si 1 − m2 ̸= 0 i.e m ̸= 1 et m ̸= −1 alors
1 m 1 m L1
0 1 − m2 1 − m 1 − m2 L2
m2 +m−2
0 0 m −1
2
L3 ← L3 − 1
L
1+m 2
m+1
x + my + z = m
(1 − m2 )y + (1 − m)z = 1 − m2 (S2′ )
m2 +m−2
m+1
z = m2 − 1
a. Si m2 + m − 2 ̸= 0 i.e m ̸= 1 et m ̸= −2. Alors
(m+1)2
z= m+1
m2 +m−2
× (m + 1) = m+2
.
On remplace z par sa valeur dans l'équation 2 du système (S2′ ), on obtient
4
1
y=
m+2
Déterminons la variable x dans l'équation 1 du (S2′ ). x + my + z = m ⇒ x = − m+2
m+1
.
b. Si m = −2 alors
1 −2 1 −2
x − 2y + z = −2
0 −3 3 −3 Ainsi − 3y + 3z = −3
0 0 0 3 0z = 3
on a 0 × z = 3 alors le système ci-dessus n'a pas de solution.
1 m 1 m
m2 − 1 = [Link] = −1 m=1 0 0 −m + 1 0
2. Si ou alors
0 −m + 1 m − 1 m − m
2
a. Si m = −1 alors
1 −1 1 −1
0 0 2 0
Echangeons la ligne 2 et la ligne 3 :
0 2 −2 2
1 −1 1 −1
x −
y + z = −1
0 2 −2 2 2y + 2z = 2
Ainsi
0 0 2 0 2z = 0
On en déduit :
0 1 1 1 1
z = 0, y = 1 et x = 0 donc X = 1
b. Si m = 1 alors 0 0 0 0 , ce ci implique
0 0 0 0 0
que x + y + z = 1 donc z = 1 − x − y .
x
d'où X = y où x, y ∈ R
1−x−y
En récapitulant, les solutions de (S2 ) sont :
ϕ si m = −2
{(x, y, 1 − x − y), (x, y) ∈ R } si
2
m = 1.
1−m2 2−m 1
( 3−2m , 3−2m , 3−2m ) si m ∈ R − {−2, 1}