SlideShare a Scribd company logo
Guass-Jordan 
Represented 
By 
Ezzat Gul
The Gauss-Jordan Method 
J. Gauss: 
1777-1855 
M. Jordan: 
1838-1922 
GAUSS / JORDAN (G / J) is a device to solve 
systems of (linear) equations.
Carl Friedrich Gauss 
1777-1855 
At the age of seven, Carl 
Friedrich Gauss started 
elementary school, and his 
potential was noticed almost 
immediately. His teacher, 
Büttner, and his assistant, 
Martin Bartels, were amazed 
when Gauss summed the 
integers from 1 to 100 
instantly by spotting that the 
sum was 50 pairs of numbers, 
each pair summing to 101.
DEFINITION 
The elimination process applied to obtain the 
row reduced echelon form of the augmented 
matrix is called the Gauss-Jordan elimination. 
 The rows consisting of all zeros comes 
below all non-zero rows; 
 the leading terms appear from left to right in 
successive rows
The Gauss-Jordan Method 
The Gauss-Jordan elimination method is a 
technique for solving systems of linear 
equations of any size. 
The operations of the Gauss-Jordan method 
are 
1. Interchange any two equations. 
2. Replace an equation by a nonzero constant 
multiple of itself. 
3. Replace an equation by the sum of that 
equation and a constant multiple of any 
other equation.
Gauss-Jordan Elimination 
 Any linear system must have exactly one solution, no 
solution, or an infinite number of solutions. 
 Previously we considered the 2 ´ 2 case, in which the term 
consistent is used to describe a system with a unique 
solution, inconsistent is used to describe a system with no 
solution, and dependent is used for a system with an 
infinite number of solutions. In this section we will 
consider larger systems with more variables and more 
equations, but the same three terms are used to describe 
them.
Matrix Representations of Consistent, 
Inconsistent and Dependent Systems 
 The following matrix representations of three linear 
equations in three unknowns illustrate the three different 
cases: 
 Case I: consistent  From this matrix 
representation, you can 
determine that 
ö 
x = 3 
y = 4 
z = 5 ÷ ÷ ÷ 
ø 
æ 
ç ç ç è 
3 
4 
5 
1 0 0 
0 1 0 
0 0 1
Matrix Representations 
(continued) 
 Case 2: inconsistent  From the second row of 
the matrix, we find that 
0x + 0y +0z =6 
or 
0 = 6, 
an impossible equation. 
From this, we conclude 
that there are no solutions 
to the linear system. 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
4 
6 
0 
1 2 3 
0 0 0 
0 0 0
Matrix Representations 
(continued) 
 Case 3: dependent  When there are fewer non-zero 
rows of a system than 
ö 
there are variables, there 
will be infinitely many 
solutions, and therefore 
the system is dependent. ÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
4 
0 
0 
1 2 3 
0 0 0 
0 0 0
Reduced Row Echelon Form 
 A matrix is said to be in reduced row echelon form or, 
more simply, in reduced form, if 
• Each row consisting entirely of zeros is below any row 
having at least one non-zero element. 
• The leftmost nonzero element in each row is 1. 
• All other elements in the column containing the 
leftmost 1 of a given row are zeros. 
• The leftmost 1 in any row is to the right of the leftmost 
1 in the row above.
Examples of Reduced 
Row Echelon Form 
ö 
÷ ÷ ÷ ø 
æ 
ç ç ç 
è 
4 
6 
0 
1 2 3 
0 0 0 
0 0 0 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
3 
4 
5 
1 0 0 
0 1 0 
0 0 1 
ö 
÷ ÷ ÷ 
ø 
æ - 
ç ç ç 
è 
2 
7 
8 
0 
0 
1 
0 
1 
0 
3 
0 
0 
1 
0 
0
Solving a System 
Using Gauss-Jordan Elimination 
 Example: Solve 
x + y – z = –2 
2x – y + z = 5 
–x + 2y + 2z = 1
Solving a System 
Using Gauss-Jordan Elimination 
 Example: Solve 
x + y – z = –2 
2x – y + z = 5 
–x + 2y + 2z = 1 
 Solution: 
We begin by writing the system as an augmented matrix
Example 
(continued) 
We already have a 1 in the 
diagonal position of first column. 
Now we want 0’s below the 1. 
The first 0 can be obtained by 
multiplying row 1 by –2 and 
adding the results to row 2: 
 Row 1 is unchanged 
 (–2) times Row 1 is added to 
Row 2 
 Row 3 is unchanged 
é 1 1 - 1 - 2 
ù 
ê 2 - 1 1 5 
úÞ ê ú 
êë- 1 2 2 1 
úû
Example 
(continued) 
The second 0 can be obtained 
by adding row 1 to row 3: 
 Row 1 is unchanged 
 Row 2 is unchanged 
 Row 1 is added to Row 3
Example 
(continued) 
Moving to the second 
column, we want a 1 in the 
diagonal position (where 
there was a –3). We get this 
by dividing every element in 
row 2 by -3: 
 Row 1 is unchanged 
 Row 2 is divided by –3 
 Row 3 is unchanged
Example 
(continued) 
To obtain a 0 below the 1 , 
we multiply row 2 by –3 and 
add it to the third row: 
 Row 1 is unchanged 
 Row 2 is unchanged 
 (–3) times row 2 is added 
to row 3
Example 
(continued) 
To obtain a 1 in the third 
position of the third row, we 
divide that row by 4. Rows 1 
and 2 do not change.
Example 
(continued) 
We can now work upwards to get 
zeros in the third column, above 
the 1 in the third row. 
 Add R3 to R2 and replace R2 
with that sum 
 Add R3 to R1 and replace R1 
with the sum. 
Row 3 will not be changed. 
All that remains to obtain 
reduced row echelon form is to 
eliminate the 1 in the first row, 2nd 
position. 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
0 
- 
2 
1 
1 1 0 
0 1 0 
0 0 1
Example 
(continued) 
To get a zero in the first row 
and second position, we 
multiply row 2 by –1 and add 
the result to row 1 and 
replace row 1 by that result. 
Rows 2 and 3 remain 
unaffected. 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
0 
- 
2 
1 
1 1 0 
0 1 0 
0 0 1 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
1 
- 
2 
1 
1 0 0 
0 1 0 
0 0 1
Final Result 
We can now “read” our 
solution from this last matrix. 
We have 
x = 1, 
y = –1 
z = 2. 
Written as an ordered triple, 
we have (1, –1, 2). This is a 
consistent system with a 
unique solution. 
ö 
÷ ÷ ÷ 
ø 
æ 
ç ç ç 
è 
1 
- 
2 
1 
1 0 0 
0 1 0 
0 0 1
Example 2 
Example: Solve the system 
3x – 4y + 4z = 7 
x – y – 2z = 2 
2x – 3y + 6z = 5
Example 2 
Example: Solve the system 
3x – 4y + 4z = 7 
x – y – 2z = 2 
2x – 3y + 6z = 5 
Solution: 
Begin by representing the 
system as an augmented matrix: 3 4 4 7 
æ - ö 
ç ç 1 - 1 - 2 2 
¸ ¸ 
çè 2 - 3 6 5 
ø¸
Example 2 
(continued) 
 Since the first number in 
the second row is a 1, we 
interchange rows 1 and 2 
and leave row 3 
unchanged: 
æ 3 - 4 4 7 
ö 
ç ¸ ç 1 - 1 - 2 2 
¸ 
çè 2 - 3 6 5 
ø¸ 
2 
æ 1 - 1 2 
ö 
ç ¸ 
ç 3 - 4 4 7 
¸ 
ç è 2 
- 3 6 5 
¸ ø 
-
Example 2 
(continued) 
In this step, we will get 
zeros in the entries beneath 
the 1 in the first column: 
 Multiply row 1 by –3 , add 
to row 2 and replace row 2: 
–3R1 + R2 → R2. 
 Multiply row 1 by –2, add 
to row 3 and replace row 3: 
–2R1+R3 → R3. 
æ 1 - 1 2 
ö 
ç ¸ 
ç 3 - 4 4 7 
¸ 
ç ¸ è - 3 6 5 
ø 
2 
æ 1 - 1 2 
ö 
ç ¸ 
ç 0 - 1 10 1 
¸ 
ç è 0 
- 1 10 1 
¸ ø 
- 
2 
2 
-
26 
Final Result 
To get a zero in the third 
row, second entry we 
multiply row 2 by –1 and add 
the result to R3 and replace 
R3 by that sum: Notice this 
operations “wipes out” row 3 
so row 3 consists entirely of 
zeros. 
Any time you have fewer 
non-zero rows than variables 
you will have a dependent 
system. 
- 
2 
æ 1 - 1 2 
ö 
ç ¸ 
ç 0 - 1 10 1 
¸ 
ç è 0 
- 1 10 1 
¸ ø 
æ 1 - 1 - 2 2 
ö 
ç ç 0 - 1 10 1 
¸ ¸ 
çè 0 0 0 0 
ø¸
Representation of a Solution of a 
Dependent System 
æ - - ö 
ç - ¸ ç ¸ 
çè ø¸ 
 We can interpret the 
second row of this matrix 
as 
–y + 10z = 1, or 
10z – 1 = y 
 So, if we let z = t 
(arbitrary real number,) 
then in terms of t, 
y = 10t – 1. 
Next we can express the variable x 
in terms of t as follows: From the 
first row of the matrix, we have x – 
y -2z = 2. 
If z = t and y = 10t – 1, we have 
x – (10t – 1) – 2t = 2 or x = 12t + 1. 
Our general solution can now be 
expressed in terms of t: 
(12t + 1,10t – 1, t), 
where t is an arbitrary real number. 
1 1 2 2 
0 1 10 1 
0 0 0 0
Procedure for 
Gauss-Jordan Elimination 
Step 1. Choose the leftmost nonzero column and use appropriate 
row operations to get a 1 at the top. 
Step 2. Use multiples of the row containing the 1 from step 1 to 
get zeros in all remaining places in the column containing this 1. 
Step 3. Repeat step 1 with the submatrix formed by (mentally) 
deleting the row used in step and all rows above this row. 
Step 4. Repeat step 2 with the entire matrix, including the rows 
deleted mentally. Continue this process until the entire matrix is 
in reduced form. 
Note: If at any point in this process we obtain a row with all 
zeros to the left of the vertical line and a nonzero number to the 
right, we can stop because we will have a contradiction.
Applications 
Systems of linear equations provide an excellent opportunity to 
discuss mathematical modeling. The process of using mathematics 
to solve real-world problems can be broken down into three steps: 
Step 1. Construct a mathematical model whose solution will 
provide information about the real-world problem. 
Real-world 
problem 
3. Interpret 1. Construct 
Mathematical 
Model 
Mathematical 
Solution 
2. Solve
Applications 
(continued) 
Step 2. Solve the mathematical model. 
Step 3. Interpret the solution to the mathematical model in 
terms of the original real-world problem. 
Example: Purchasing. A company that rents small moving 
trucks wants to purchase 25 trucks with a combined capacity 
of 28,000 cubic feet. Three different types of trucks are 
available: a 10-foot truck with a capacity of 350 cubic feet, a 
14-foot truck with a capacity of 700 cubic feet, and a 24-foot 
truck with a capacity of 1,400 cubic feet. How many of each 
type of truck should the company purchase?
Solution 
Step 1. The question in this example indicates that the relevant 
variables are the number of each type of truck. 
x = number of 10-foot trucks 
y = number of 14-foot trucks 
z = number of 24-foot trucks 
We form the mathematical model: 
x + y + z = 25 (Total number of trucks) 
350x + 700y + 1,400z = 28,000 (Total capacity)
Solution 
(continued) 
Step 2. Now we form the augmented coefficient matrix of 
the system and solve by using Gauss-Jordan elimination: 
1 1 1 25 
350 700 1, 400 28,000 
é ù 
ê ú 
ë û 
(1/350)R2 R2 
1 1 1 25 
1 2 4 80 
é ù 
ê ú 
ë û 
–R1 + R2 R2 
1 1 1 25 
0 1 3 55 
é ù 
ê ú 
ë û 
–R2 + R1 R1 
é 1 0 - 2 - 30 
ù 
ê ú 
ë 0 1 3 55 
û 
Matrix is in reduced form. 
x – 2z = –30 or x = 2z – 30, 
y + 3z = 55 or y = –3z + 55.
Solution 
(continued) 
Let z = t. Then for t any real number 
x = 2t – 30 
y = –3t + 55 
z = t 
is a solution to our mathematical model. 
Step 3. We must interpret this solution in terms of the original 
problem. Since the variables x, y, and z represent numbers of trucks, 
they must be nonnegative. And since we can’t purchase a fractional 
number of trucks, each must be a nonnegative whole number.
Solution 
(continued) 
Since t = z, it follows that t must also 
be a nonnegative whole number. The 
first and second equations in the 
model place additional restrictions on 
the values t can assume: 
x = 2t – 30 > 0 implies that t > 15 
y = –3t + 55 > 0 implies that t < 55/3 
Thus the only possible values of t that 
will produce meaningful solutions to 
the original problem are 15, 16, 17, 
and 18. A table is a convenient way to 
display these solutions. 
10-ft 
truck 
14-ft. 
truck 
24-ft 
truck 
t x y z 
15 0 10 15 
16 2 7 16 
17 4 4 17 
18 6 1 18
Question 
Session ?
Thanks ( )

More Related Content

What's hot

First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
Nofal Umair
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
Prasanth George
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Farzad Javidanrad
 
Co-factor matrix..
Co-factor matrix..Co-factor matrix..
Co-factor matrix..
Syed Muhammad Zeejah Hashmi
 
Intro to Domain, Range, and Functions.
Intro to Domain, Range, and Functions.Intro to Domain, Range, and Functions.
Intro to Domain, Range, and Functions.
Colomduran
 
Matrices Questions & Answers
Matrices Questions & AnswersMatrices Questions & Answers
Matrices Questions & Answers
SantoshTamadaddi
 
Graphing quadratic vertex form
Graphing quadratic   vertex formGraphing quadratic   vertex form
Graphing quadratic vertex form
Northside ISD
 
Elimination method Ch 7
Elimination method Ch 7Elimination method Ch 7
Elimination method Ch 7
Wood-Ridge
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
Matthew Leingang
 
Matrix inverse
Matrix inverseMatrix inverse
Matrix inverse
mstf mstf
 
Ppt on matrices
Ppt on matricesPpt on matrices
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace
2461998
 
Writing and Graphing slope intercept form
Writing and Graphing slope intercept formWriting and Graphing slope intercept form
Writing and Graphing slope intercept form
guestd1dc2e
 
Vector space - subspace By Jatin Dhola
Vector space - subspace By Jatin DholaVector space - subspace By Jatin Dhola
Vector space - subspace By Jatin Dhola
Jatin Dhola
 
Logarithms and exponents solve equations
Logarithms and exponents solve equationsLogarithms and exponents solve equations
Logarithms and exponents solve equations
srobbins4
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matrices
math260
 
Independence, basis and dimension
Independence, basis and dimensionIndependence, basis and dimension
Independence, basis and dimension
ATUL KUMAR YADAV
 
Solving Literal Equations
Solving Literal EquationsSolving Literal Equations
Solving Literal Equations
Clayton Rainsberg
 
6.2 special cases system of linear equations
6.2 special cases system of linear equations6.2 special cases system of linear equations
6.2 special cases system of linear equations
math260
 
Partial Differentiation
Partial DifferentiationPartial Differentiation
Partial Differentiation
Deep Dalsania
 

What's hot (20)

First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Co-factor matrix..
Co-factor matrix..Co-factor matrix..
Co-factor matrix..
 
Intro to Domain, Range, and Functions.
Intro to Domain, Range, and Functions.Intro to Domain, Range, and Functions.
Intro to Domain, Range, and Functions.
 
Matrices Questions & Answers
Matrices Questions & AnswersMatrices Questions & Answers
Matrices Questions & Answers
 
Graphing quadratic vertex form
Graphing quadratic   vertex formGraphing quadratic   vertex form
Graphing quadratic vertex form
 
Elimination method Ch 7
Elimination method Ch 7Elimination method Ch 7
Elimination method Ch 7
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
 
Matrix inverse
Matrix inverseMatrix inverse
Matrix inverse
 
Ppt on matrices
Ppt on matricesPpt on matrices
Ppt on matrices
 
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace
 
Writing and Graphing slope intercept form
Writing and Graphing slope intercept formWriting and Graphing slope intercept form
Writing and Graphing slope intercept form
 
Vector space - subspace By Jatin Dhola
Vector space - subspace By Jatin DholaVector space - subspace By Jatin Dhola
Vector space - subspace By Jatin Dhola
 
Logarithms and exponents solve equations
Logarithms and exponents solve equationsLogarithms and exponents solve equations
Logarithms and exponents solve equations
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matrices
 
Independence, basis and dimension
Independence, basis and dimensionIndependence, basis and dimension
Independence, basis and dimension
 
Solving Literal Equations
Solving Literal EquationsSolving Literal Equations
Solving Literal Equations
 
6.2 special cases system of linear equations
6.2 special cases system of linear equations6.2 special cases system of linear equations
6.2 special cases system of linear equations
 
Partial Differentiation
Partial DifferentiationPartial Differentiation
Partial Differentiation
 

Similar to Gauss Jordan

Systems of linear equations; matrices
Systems of linear equations; matricesSystems of linear equations; matrices
Systems of linear equations; matrices
ST ZULAIHA NURHAJARURAHMAH
 
1  Part 2 Systems of Equations Which Do Not Have A Uni.docx
1  Part 2  Systems of Equations Which Do Not Have A Uni.docx1  Part 2  Systems of Equations Which Do Not Have A Uni.docx
1  Part 2 Systems of Equations Which Do Not Have A Uni.docx
eugeniadean34240
 
Thomas algorithm
Thomas algorithmThomas algorithm
Thomas algorithm
Paridhi SK
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.ppt
vinnisart
 
Linear equations
Linear equationsLinear equations
Linear equations
Nisarg Amin
 
The geometry of three planes in space
The geometry of three planes in spaceThe geometry of three planes in space
The geometry of three planes in space
Tarun Gehlot
 
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/SlidesChapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chaimae Baroudi
 
Nsm
Nsm Nsm
System of equations
System of equationsSystem of equations
System of equations
mariacadena
 
System of equations
System of equationsSystem of equations
System of equations
mariacadena
 
System of equations
System of equationsSystem of equations
System of equations
mariacadena
 
System of equations
System of equationsSystem of equations
System of equations
mariacadena
 
System of equations
System of equationsSystem of equations
System of equations
mariacadena
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
kishor pokar
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Diler4
 
Condition (linear algebra)
Condition (linear algebra)Condition (linear algebra)
Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)
Osama Zahid
 
07 chap3
07 chap307 chap3
07 chap3
ELIMENG
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1
ingroy
 
Linear equations rev - copy
Linear equations rev - copyLinear equations rev - copy
Linear equations rev - copy
Yash Jain
 

Similar to Gauss Jordan (20)

Systems of linear equations; matrices
Systems of linear equations; matricesSystems of linear equations; matrices
Systems of linear equations; matrices
 
1  Part 2 Systems of Equations Which Do Not Have A Uni.docx
1  Part 2  Systems of Equations Which Do Not Have A Uni.docx1  Part 2  Systems of Equations Which Do Not Have A Uni.docx
1  Part 2 Systems of Equations Which Do Not Have A Uni.docx
 
Thomas algorithm
Thomas algorithmThomas algorithm
Thomas algorithm
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.ppt
 
Linear equations
Linear equationsLinear equations
Linear equations
 
The geometry of three planes in space
The geometry of three planes in spaceThe geometry of three planes in space
The geometry of three planes in space
 
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/SlidesChapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/Slides
 
Nsm
Nsm Nsm
Nsm
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Condition (linear algebra)
Condition (linear algebra)Condition (linear algebra)
Condition (linear algebra)
 
Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)
 
07 chap3
07 chap307 chap3
07 chap3
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1
 
Linear equations rev - copy
Linear equations rev - copyLinear equations rev - copy
Linear equations rev - copy
 

Recently uploaded

Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 

Recently uploaded (20)

Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 

Gauss Jordan

  • 2. The Gauss-Jordan Method J. Gauss: 1777-1855 M. Jordan: 1838-1922 GAUSS / JORDAN (G / J) is a device to solve systems of (linear) equations.
  • 3. Carl Friedrich Gauss 1777-1855 At the age of seven, Carl Friedrich Gauss started elementary school, and his potential was noticed almost immediately. His teacher, Büttner, and his assistant, Martin Bartels, were amazed when Gauss summed the integers from 1 to 100 instantly by spotting that the sum was 50 pairs of numbers, each pair summing to 101.
  • 4. DEFINITION The elimination process applied to obtain the row reduced echelon form of the augmented matrix is called the Gauss-Jordan elimination.  The rows consisting of all zeros comes below all non-zero rows;  the leading terms appear from left to right in successive rows
  • 5. The Gauss-Jordan Method The Gauss-Jordan elimination method is a technique for solving systems of linear equations of any size. The operations of the Gauss-Jordan method are 1. Interchange any two equations. 2. Replace an equation by a nonzero constant multiple of itself. 3. Replace an equation by the sum of that equation and a constant multiple of any other equation.
  • 6. Gauss-Jordan Elimination  Any linear system must have exactly one solution, no solution, or an infinite number of solutions.  Previously we considered the 2 ´ 2 case, in which the term consistent is used to describe a system with a unique solution, inconsistent is used to describe a system with no solution, and dependent is used for a system with an infinite number of solutions. In this section we will consider larger systems with more variables and more equations, but the same three terms are used to describe them.
  • 7. Matrix Representations of Consistent, Inconsistent and Dependent Systems  The following matrix representations of three linear equations in three unknowns illustrate the three different cases:  Case I: consistent  From this matrix representation, you can determine that ö x = 3 y = 4 z = 5 ÷ ÷ ÷ ø æ ç ç ç è 3 4 5 1 0 0 0 1 0 0 0 1
  • 8. Matrix Representations (continued)  Case 2: inconsistent  From the second row of the matrix, we find that 0x + 0y +0z =6 or 0 = 6, an impossible equation. From this, we conclude that there are no solutions to the linear system. ö ÷ ÷ ÷ ø æ ç ç ç è 4 6 0 1 2 3 0 0 0 0 0 0
  • 9. Matrix Representations (continued)  Case 3: dependent  When there are fewer non-zero rows of a system than ö there are variables, there will be infinitely many solutions, and therefore the system is dependent. ÷ ÷ ÷ ø æ ç ç ç è 4 0 0 1 2 3 0 0 0 0 0 0
  • 10. Reduced Row Echelon Form  A matrix is said to be in reduced row echelon form or, more simply, in reduced form, if • Each row consisting entirely of zeros is below any row having at least one non-zero element. • The leftmost nonzero element in each row is 1. • All other elements in the column containing the leftmost 1 of a given row are zeros. • The leftmost 1 in any row is to the right of the leftmost 1 in the row above.
  • 11. Examples of Reduced Row Echelon Form ö ÷ ÷ ÷ ø æ ç ç ç è 4 6 0 1 2 3 0 0 0 0 0 0 ö ÷ ÷ ÷ ø æ ç ç ç è 3 4 5 1 0 0 0 1 0 0 0 1 ö ÷ ÷ ÷ ø æ - ç ç ç è 2 7 8 0 0 1 0 1 0 3 0 0 1 0 0
  • 12. Solving a System Using Gauss-Jordan Elimination  Example: Solve x + y – z = –2 2x – y + z = 5 –x + 2y + 2z = 1
  • 13. Solving a System Using Gauss-Jordan Elimination  Example: Solve x + y – z = –2 2x – y + z = 5 –x + 2y + 2z = 1  Solution: We begin by writing the system as an augmented matrix
  • 14. Example (continued) We already have a 1 in the diagonal position of first column. Now we want 0’s below the 1. The first 0 can be obtained by multiplying row 1 by –2 and adding the results to row 2:  Row 1 is unchanged  (–2) times Row 1 is added to Row 2  Row 3 is unchanged é 1 1 - 1 - 2 ù ê 2 - 1 1 5 úÞ ê ú êë- 1 2 2 1 úû
  • 15. Example (continued) The second 0 can be obtained by adding row 1 to row 3:  Row 1 is unchanged  Row 2 is unchanged  Row 1 is added to Row 3
  • 16. Example (continued) Moving to the second column, we want a 1 in the diagonal position (where there was a –3). We get this by dividing every element in row 2 by -3:  Row 1 is unchanged  Row 2 is divided by –3  Row 3 is unchanged
  • 17. Example (continued) To obtain a 0 below the 1 , we multiply row 2 by –3 and add it to the third row:  Row 1 is unchanged  Row 2 is unchanged  (–3) times row 2 is added to row 3
  • 18. Example (continued) To obtain a 1 in the third position of the third row, we divide that row by 4. Rows 1 and 2 do not change.
  • 19. Example (continued) We can now work upwards to get zeros in the third column, above the 1 in the third row.  Add R3 to R2 and replace R2 with that sum  Add R3 to R1 and replace R1 with the sum. Row 3 will not be changed. All that remains to obtain reduced row echelon form is to eliminate the 1 in the first row, 2nd position. ö ÷ ÷ ÷ ø æ ç ç ç è 0 - 2 1 1 1 0 0 1 0 0 0 1
  • 20. Example (continued) To get a zero in the first row and second position, we multiply row 2 by –1 and add the result to row 1 and replace row 1 by that result. Rows 2 and 3 remain unaffected. ö ÷ ÷ ÷ ø æ ç ç ç è 0 - 2 1 1 1 0 0 1 0 0 0 1 ö ÷ ÷ ÷ ø æ ç ç ç è 1 - 2 1 1 0 0 0 1 0 0 0 1
  • 21. Final Result We can now “read” our solution from this last matrix. We have x = 1, y = –1 z = 2. Written as an ordered triple, we have (1, –1, 2). This is a consistent system with a unique solution. ö ÷ ÷ ÷ ø æ ç ç ç è 1 - 2 1 1 0 0 0 1 0 0 0 1
  • 22. Example 2 Example: Solve the system 3x – 4y + 4z = 7 x – y – 2z = 2 2x – 3y + 6z = 5
  • 23. Example 2 Example: Solve the system 3x – 4y + 4z = 7 x – y – 2z = 2 2x – 3y + 6z = 5 Solution: Begin by representing the system as an augmented matrix: 3 4 4 7 æ - ö ç ç 1 - 1 - 2 2 ¸ ¸ çè 2 - 3 6 5 ø¸
  • 24. Example 2 (continued)  Since the first number in the second row is a 1, we interchange rows 1 and 2 and leave row 3 unchanged: æ 3 - 4 4 7 ö ç ¸ ç 1 - 1 - 2 2 ¸ çè 2 - 3 6 5 ø¸ 2 æ 1 - 1 2 ö ç ¸ ç 3 - 4 4 7 ¸ ç è 2 - 3 6 5 ¸ ø -
  • 25. Example 2 (continued) In this step, we will get zeros in the entries beneath the 1 in the first column:  Multiply row 1 by –3 , add to row 2 and replace row 2: –3R1 + R2 → R2.  Multiply row 1 by –2, add to row 3 and replace row 3: –2R1+R3 → R3. æ 1 - 1 2 ö ç ¸ ç 3 - 4 4 7 ¸ ç ¸ è - 3 6 5 ø 2 æ 1 - 1 2 ö ç ¸ ç 0 - 1 10 1 ¸ ç è 0 - 1 10 1 ¸ ø - 2 2 -
  • 26. 26 Final Result To get a zero in the third row, second entry we multiply row 2 by –1 and add the result to R3 and replace R3 by that sum: Notice this operations “wipes out” row 3 so row 3 consists entirely of zeros. Any time you have fewer non-zero rows than variables you will have a dependent system. - 2 æ 1 - 1 2 ö ç ¸ ç 0 - 1 10 1 ¸ ç è 0 - 1 10 1 ¸ ø æ 1 - 1 - 2 2 ö ç ç 0 - 1 10 1 ¸ ¸ çè 0 0 0 0 ø¸
  • 27. Representation of a Solution of a Dependent System æ - - ö ç - ¸ ç ¸ çè ø¸  We can interpret the second row of this matrix as –y + 10z = 1, or 10z – 1 = y  So, if we let z = t (arbitrary real number,) then in terms of t, y = 10t – 1. Next we can express the variable x in terms of t as follows: From the first row of the matrix, we have x – y -2z = 2. If z = t and y = 10t – 1, we have x – (10t – 1) – 2t = 2 or x = 12t + 1. Our general solution can now be expressed in terms of t: (12t + 1,10t – 1, t), where t is an arbitrary real number. 1 1 2 2 0 1 10 1 0 0 0 0
  • 28. Procedure for Gauss-Jordan Elimination Step 1. Choose the leftmost nonzero column and use appropriate row operations to get a 1 at the top. Step 2. Use multiples of the row containing the 1 from step 1 to get zeros in all remaining places in the column containing this 1. Step 3. Repeat step 1 with the submatrix formed by (mentally) deleting the row used in step and all rows above this row. Step 4. Repeat step 2 with the entire matrix, including the rows deleted mentally. Continue this process until the entire matrix is in reduced form. Note: If at any point in this process we obtain a row with all zeros to the left of the vertical line and a nonzero number to the right, we can stop because we will have a contradiction.
  • 29. Applications Systems of linear equations provide an excellent opportunity to discuss mathematical modeling. The process of using mathematics to solve real-world problems can be broken down into three steps: Step 1. Construct a mathematical model whose solution will provide information about the real-world problem. Real-world problem 3. Interpret 1. Construct Mathematical Model Mathematical Solution 2. Solve
  • 30. Applications (continued) Step 2. Solve the mathematical model. Step 3. Interpret the solution to the mathematical model in terms of the original real-world problem. Example: Purchasing. A company that rents small moving trucks wants to purchase 25 trucks with a combined capacity of 28,000 cubic feet. Three different types of trucks are available: a 10-foot truck with a capacity of 350 cubic feet, a 14-foot truck with a capacity of 700 cubic feet, and a 24-foot truck with a capacity of 1,400 cubic feet. How many of each type of truck should the company purchase?
  • 31. Solution Step 1. The question in this example indicates that the relevant variables are the number of each type of truck. x = number of 10-foot trucks y = number of 14-foot trucks z = number of 24-foot trucks We form the mathematical model: x + y + z = 25 (Total number of trucks) 350x + 700y + 1,400z = 28,000 (Total capacity)
  • 32. Solution (continued) Step 2. Now we form the augmented coefficient matrix of the system and solve by using Gauss-Jordan elimination: 1 1 1 25 350 700 1, 400 28,000 é ù ê ú ë û (1/350)R2 R2 1 1 1 25 1 2 4 80 é ù ê ú ë û –R1 + R2 R2 1 1 1 25 0 1 3 55 é ù ê ú ë û –R2 + R1 R1 é 1 0 - 2 - 30 ù ê ú ë 0 1 3 55 û Matrix is in reduced form. x – 2z = –30 or x = 2z – 30, y + 3z = 55 or y = –3z + 55.
  • 33. Solution (continued) Let z = t. Then for t any real number x = 2t – 30 y = –3t + 55 z = t is a solution to our mathematical model. Step 3. We must interpret this solution in terms of the original problem. Since the variables x, y, and z represent numbers of trucks, they must be nonnegative. And since we can’t purchase a fractional number of trucks, each must be a nonnegative whole number.
  • 34. Solution (continued) Since t = z, it follows that t must also be a nonnegative whole number. The first and second equations in the model place additional restrictions on the values t can assume: x = 2t – 30 > 0 implies that t > 15 y = –3t + 55 > 0 implies that t < 55/3 Thus the only possible values of t that will produce meaningful solutions to the original problem are 15, 16, 17, and 18. A table is a convenient way to display these solutions. 10-ft truck 14-ft. truck 24-ft truck t x y z 15 0 10 15 16 2 7 16 17 4 4 17 18 6 1 18