










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Lê Xuân Trường
Consider the follwing system of linear equations
a 11
x 1
x 2
x n
= b 1
a 21 x 1 + a 22 x 2 + · · ·a 2 nxn = b 2
am 1 x 1 + am 2 x 2 + · · ·amnxn = bm
We denote
A =
a 11 a 12 · · · a 1 n
a 21 a 22 · · · a 2 n
· · · · · · · · · · · ·
am 1 am 2 · · · amn
X =
x 1
x 2
. . .
xn
and B =
b 1
b 2
. . .
bm
A is called to be the coefficients matrix.
Using matrix multiplications, we can rewrite the above system as a
matrix equation AX = B.
Associated to the system of linear equation AX = B, we also put
augmented matrix
If rank(A) 6 = rank(A) then the system has no solution
If rank(A) = rank(A) = n, the system has a unique solution
If rank(A) = rank(A) = k < n the system has infinitely many
solutions.
How to solve a system of linear equations?
Gaussian elimination
or Gauss-Jordan elimination
Cramer’s rule
Example: The following matrix are in RREF
Example: The following matrix are not in RREF
Perform Gaussian elimination to get the matrix in REF
For each non-zero row R i
from bottom to top, perform
i
−→ p
− 1
i
i
where p i
is the pivot in the row i.
For each non-zero row R i
from bottom to top, perform
j
j
− α j
i
for all j < i
where α j
is the entry in row j directly above the pivot in row i
Keep in mind that linear systems for which the matrix coefficient is in row
echelon form are easy to solve
Going from the last equation to the first while solving for the
unknowns is called backsolving.
Example: For the following system
x + y + z = 0
− 3 y + z = 4
− 5 z = 10
From the last equation we derive z = − 2
Replacing z = −2 in the second equation then we have y = − 2
Similarly, let replace y = z = −2 in the first equation. Then x = 4
Consider the system of linear equation in the form AX = B.
(1) Write the augmented matrix of the system A = [A B]
(2) Using Gaussian elimination to transform A into REF
Decide whether the system has solution using Kronecker-Capelli’s
theorem. If it has not, stop; otherwise go to the next step
(3) Continue row reduction to obtain the reduced row echelon form using
Gauss-Jordan’s method
(4) Write the system of equations corresponding to the matrix obtained
in step 3.
(5) State the solution using the backsolving technique.
Since rank(A) = rank(A) = 4 the system has a unique solution
system ⇐⇒
x 1
− x 3
x 2 + 2 x 3 − 3 x 4 = 3
− 7 x 3
4 x 4 = 0
x 1
5
7
x 2 =
9
7
x 3
6
7
x 4 = 0
Example: Solve the following systems of equations
x 1
2 x 2
x 3
x 1
3 x 2
2 x 3
2 x 2 + x 3 = 6
x 1 + x 2 + 3 x 3 = 3
2 x 1
2 x 2
3 x 3
x 1
x 2
x 3
If AX = B is a system of n equations in n unknowns such that det(A) 6 = 0
then the system has a unique solution. This solution is
x 1 =
det(A 1
det(A)
, x 2 =
det(A 2
det(A)
, · · · , xn =
det(A n
det(A)
where Aj is the matrix obtained by replacing the entries in the j-th column
of A by the entries in the matrix B.
Use the Cramer’s rule to solve the following system of equations
x 1 + + 2 x 3 = 6
− 3 x 1
4 x 2
6 x 3
−x 1
− 2 x 2
Solution We can calculate
det(A) = 44 , det(A 1 ) = − 40 , det(A 2 ) = 72 , det(A 3 ) = 152
Hence the solution of the system is
x 1 = −
, x 2 = −
, x 3 = −