Cu 3
Cu 3
Cu 3
Linear Equations
This means that the matrix meets the following three requirements:
2. The first number in the row (called a leading coefficient) is 1.
Note: some authors don’t require that the leading coefficient is a 1; it could be any
number.
2. Every leading 1 is to the right of the one above it.
3. Any non-zero rows are always above rows with all zeros.
The following examples are of matrices in echelon form:
The following examples are not in echelon form:
•The first non-zero number from the left (the “leading coefficient“) is always to the
right of the first non-zero number in the row above.
•Rows consisting of all zeros are at the bottom of the matrix.
If the leading coefficient in each row is the only non-zero number in that column,
the matrix is said to be in reduced row echelon form.
What is Reduced Row Echelon Form?
Reduced row echelon form is a type of matrix used to solve systems of linear
equations. Reduced row echelon form has four requirements:
•The first non-zero number in the first row (the leading entry) is the number 1.
•The second row also starts with the number 1, which is further to the right than the
leading entry in the first row. For every subsequent row, the number 1 must be
further to the right.
•The leading entry in each row must be the only non-zero number in its column.
•Any non-zero rows are placed at the bottom of the matrix.
Transformation of a Matrix to Reduced Row Echelon Form
Any matrix can be transformed to reduced row echelon form, using a technique called
Gaussian elimination. This is particularly useful for solving systems of linear
equations.
Solution:
Following the row reduction matrix method:
Ans
Example 2: Solution:
Row reduce the next Following the row reduction matrix method:
matrix to reduced echelon
form.
What is Gaussian elimination?
Gaussian elimination is the name of the method we use to perform the three types
of matrix row operations on an augmented matrix coming from a linear system of
equations in order to find the solutions for such system. This technique is also called
row reduction and it consists of two stages: Forward elimination and back substitution.
(1) Write the given system of linear equations in matrix form AX = B, where A is the
coefficient matrix, X is a column matrix of unknowns and B is the column matrix of the
constants.
(2) Reduce the augmented matrix [A : B] by elementary row operations to get [A’ : B’].
(3) We get A’ as an upper triangular matrix.
(4) By the backward substitution in A’X = B’, we get the solution of the given system of
linear equations.
Example 3: Solution:
If we were to have the Let us row-reduce (use Gaussian elimination)
following system of linear so we can simplify the matrix:
equations containing three
equations for three
unknowns:
STEPS:
1.Write the augmented matrix.
2.Interchange rows if necessary to obtain a non-zero number in the first row, first
column.
3.Use a row operation to get a 1 as the entry in the first row and first column.
4.Use row operations to make all other entries as zeros in column one.
5.Interchange rows if necessary to obtain a nonzero number in the second row, second
column. Use a row operation to make this entry 1. Use row operations to make all other
entries as zeros in column two.
6.Repeat step 5 for row 3, column 3. Continue moving along the main diagonal until you
reach the last row, or until the number is zero.
The final matrix is called the reduced row-echelon form.
Example 4:
Solve the following system
by the Gauss-Jordan
method.
2x+y+2z=10
x+2y+z =8
3x+y−z=2
SOLUTION:
1. Form the augmented matrix.
If we consider the intersection of two lines in a plane, three things can happen.
1.The lines intersect in exactly one point. This is called an independent system.
2.The lines are parallel, so they do not intersect. This is called an inconsistent
system.
3.The lines coincide; they intersect at infinitely many points. This is a dependent
system.
The figures below show all three cases.
Example 5:
Solve the following system of equations.
Solution:
Transform to augmented matrix then
convert to reduced echelon form
Let z=t,
Inverse of A or A-1
HOMOGENEOUS SYSTEM
What is a Homogeneous System of Linear Equations?
A homogeneous system of linear equations is a linear system of equations in which
there are no constant terms. i.e., a homogeneous linear system is of the form:
a₁₁ x₁ + a₁₂ x₂ + ... + a₁ x = 0
a₂₁ x₁ + a₂₂ x₂ + ... + a₂ x = 0
....
a ₁ x₁ + a ₂ x₂ + ... + a x =0
This is a system in 'n' unknowns (x₁, x₂, ..., x ), and in each equation, the constant
term is 0.
Types:
1) Trivial solutions – all variables are equal to zeros.
2) Non-trivial solutions – not all variables are zeros.
Example: Example:
LU – FACTORIZATION
https://www.cuemath.com/algebra/solutions-of-a-linear-equation/
https://www.cs.tau.ac.il/~dcor/Graphics/adv-slides/Solving.pdf
https://www.statisticshowto.com/matrices-and-matrix-algebra/reduced-r
ow-echelon-form-2/
https://www.studypug.com/linear-algebra-help/row-reduction-and-echel
on-forms
D. CHOLESKY’S METHOD
Unlike the Doolittle and Crout’s method, it does not have any condition for the main diagonal
entries . For a symmetric, positive definitive matrix, this relation in A=LU yields A=LLT.
https://www.cuemath.com/algebra/solutions-of-a-linear-equation/
https://www.cs.tau.ac.il/~dcor/Graphics/adv-slides/Solving.pdf
https://www.statisticshowto.com/matrices-and-matrix-algebra/reduced-r
ow-echelon-form-2/
https://www.studypug.com/linear-algebra-help/row-reduction-and-echel
on-forms
Assignment / Exercise
1. Give one example for each solution for system of linear equations (Gaussian elimination and
Gauss-Jordan Reduction method) using row operation. Minimum of 3 unknown variables.
2. Give one example for each solution for system of linear equations (row operation method, Doolittle’s
method, Crout’s method, and Cholesky’s method) by LU factorization. Minimum of 3 unknown variables.
https://www.cuemath.com/algebra/solutions-of-a-linear-equation/
https://www.cs.tau.ac.il/~dcor/Graphics/adv-slides/Solving.pdf
https://www.statisticshowto.com/matrices-and-matrix-algebra/reduced-r
ow-echelon-form-2/
https://www.studypug.com/linear-algebra-help/row-reduction-and-echel
on-forms