AI-ML Class-04
AI-ML Class-04
Illustration
Consider x1 − 2x2 = −1
−x1 + 3x2 = 3
This linear system has a single solution (3, 2). Geometrically it amounts to
find the intersection of 2 lines.
• Two systems of linear equations that have exactly the same solutions
are called Equivalent.
• The left most nonzero entry of a nonzero row is its leading entry.
• A matrix is said to be in row echelon form if it satisfies the following
3 conditions
a Each non zero row lies above every zero row.
b The leading entry of a nonzero row lies in a column to the right of the
column containing the leading entry of any preceding row.
c If a column contains the leading entry of some row, then all entries of
that column below the leading entry are 0.
Dr. Sabitha D’Souza August 25, 2022 10 / 22
Reduced row echelon form
x1 x2 x3 b
1 0 −5 1
Here x1 , x2 are basic variables and x3 is free variable.
0 1 1 4
3 If [R c] contains a row in which the only non zero entry lies in the last
column, then Ax = b has no solution. Otherwise, the system has at
least one solution. Write the system of linear equations corresponding
to the matrix [R c] and solve this system for the basic variables in
terms of the free variables to obtain a general solution of Ax = b.
Determine whether the given system is consistent and if so, find its general
solution
i x1 + 3x2 + x3 + x4 = −1
−2x3 − 6x2 − x3 = 5
x1 + 3x2 + 2x3 + 3x4 = 2
ii x1 − x2 + x4 = −4
x1 − x2 + 2x4 + 2x5 = −5
3x1 − 3x2 + 2x4 − 2x5 = −11
iii x1 − x2 + x3 = 7, x1 − 2x2 − x3 = 8,
2x1 − x3 = 10 −x1 − 4x2 − x3 = 2
Dr. Sabitha D’Souza August 25, 2022 22 / 22