SlideShare una empresa de Scribd logo
1 de 31
Chapter 4
Systems of Linear Equations;
Matrices
Section 3
Gauss-Jordan Elimination
2
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.
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
Matrix Representations of Consistent,
Inconsistent and Dependent Systems
 Case I: consistent  From this matrix
representation, you can
determine that
x = 3
y = 4
z = 5










5
4
3
100
010
001
 The following matrix representations of three linear
equations in three unknowns illustrate the three different
cases:
5
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.










0
6
4
000
000
321
6
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.









0
0
4
000
000
321
7
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.
8
Examples of Reduced
Row Echelon Form










0
6
4
000
000
321










5
4
3
100
010
001









 −
8
7
2
1
0
0
0
1
0
0
0
3
0
0
1
9
Solving a System
Using Gauss-Jordan Elimination
 Example: Solve
x + y – z = –2
2x – y + z = 5
–x + 2y + 2z = 1
10
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
11
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
− − 
 − ⇒ 
 − 
12
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
13
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
14
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
15
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.
16
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.










−
2
1
0
100
010
011
17
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.










−
2
1
0
100
010
011










−
2
1
1
100
010
001
18
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.










−
2
1
1
100
010
001
19
Example 2
Example: Solve the system
3x – 4y + 4z = 7
x – y – 2z = 2
2x – 3y + 6z = 5
20
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
 − 
 ÷
− − ÷
 ÷− 
21
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:
1 1 2
3 4 4 7
53 6
2
2
 −
 ÷
− ÷
 ÷
− 
−
3 4 4 7
1 1 2 2
2 3 6 5
 − 
 ÷
− − ÷
 ÷− 
22
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
0 1 10 1
11 10
2
0
 −
 ÷
− ÷
 ÷
− 
−
1 1 2
3 4 4 7
53 6
2
2
 −
 ÷
− ÷
 ÷
− 
−
23
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.
1 1 2 2
0 1 10 1
0 0 0 0
 − − 
 ÷
− ÷
 ÷
 
1 1 2
0 1 10 1
11 10
2
0
 −
 ÷
− ÷
 ÷
− 
−
24
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
 − − 
 ÷
− ÷
 ÷
 
25
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.
26
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
Mathematical
Model
Mathematical
Solution
1. Construct3. Interpret
2. Solve
27
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?
28
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)
29
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.
30
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.
31
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

Más contenido relacionado

La actualidad más candente

Solving Systems of Linear Inequalities
Solving Systems of Linear InequalitiesSolving Systems of Linear Inequalities
Solving Systems of Linear Inequalitiesswartzje
 
Linear equtions with one variable
Linear equtions with one variableLinear equtions with one variable
Linear equtions with one variableANKIT SAHOO
 
Equations with Variables on Both Sides
Equations with Variables on Both SidesEquations with Variables on Both Sides
Equations with Variables on Both SidesPassy World
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matricesAditya Vaishampayan
 
Pair of linear equations in 2 variables
Pair of linear equations in 2 variablesPair of linear equations in 2 variables
Pair of linear equations in 2 variablesgeet bajaj
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matricesmath260
 
Linear equations in two variables
Linear equations in two variablesLinear equations in two variables
Linear equations in two variablesVinisha Pathak
 
Imaginary numbers ppt.
Imaginary numbers ppt.Imaginary numbers ppt.
Imaginary numbers ppt.Acoy1
 
Solving inequalities
Solving inequalitiesSolving inequalities
Solving inequalitiesIta Rodriguez
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Solving systems of equations
Solving systems of equationsSolving systems of equations
Solving systems of equationsHind Al Awadi
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformationslothomas
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinantsitutor
 
Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theoremRonak Machhi
 
Factorising algebraic expressions
Factorising algebraic expressionsFactorising algebraic expressions
Factorising algebraic expressionsMrGarvey
 
Quadratic Equation
Quadratic EquationQuadratic Equation
Quadratic Equationitutor
 

La actualidad más candente (20)

Solving Systems of Linear Inequalities
Solving Systems of Linear InequalitiesSolving Systems of Linear Inequalities
Solving Systems of Linear Inequalities
 
Linear equtions with one variable
Linear equtions with one variableLinear equtions with one variable
Linear equtions with one variable
 
Equations with Variables on Both Sides
Equations with Variables on Both SidesEquations with Variables on Both Sides
Equations with Variables on Both Sides
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
 
Pair of linear equations in 2 variables
Pair of linear equations in 2 variablesPair of linear equations in 2 variables
Pair of linear equations in 2 variables
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matrices
 
Linear equations in two variables
Linear equations in two variablesLinear equations in two variables
Linear equations in two variables
 
Matrices
MatricesMatrices
Matrices
 
Imaginary numbers ppt.
Imaginary numbers ppt.Imaginary numbers ppt.
Imaginary numbers ppt.
 
Solving inequalities
Solving inequalitiesSolving inequalities
Solving inequalities
 
Algebraic Expression
Algebraic ExpressionAlgebraic Expression
Algebraic Expression
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Solving systems of equations
Solving systems of equationsSolving systems of equations
Solving systems of equations
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformations
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinants
 
Matrices
Matrices Matrices
Matrices
 
Matrices
MatricesMatrices
Matrices
 
Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theorem
 
Factorising algebraic expressions
Factorising algebraic expressionsFactorising algebraic expressions
Factorising algebraic expressions
 
Quadratic Equation
Quadratic EquationQuadratic Equation
Quadratic Equation
 

Destacado

Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsMaria Fernanda
 
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row ReductionLecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reductionnjit-ronbrown
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6Yasser Ahmed
 
Applied numerical methods lec7
Applied numerical methods lec7Applied numerical methods lec7
Applied numerical methods lec7Yasser Ahmed
 
Punnett squares presentation teachership academy
Punnett squares presentation teachership academyPunnett squares presentation teachership academy
Punnett squares presentation teachership academyBeth819
 
Linear programming in market application
Linear programming in market applicationLinear programming in market application
Linear programming in market applicationAhmad Raza Bhatti
 
Maths polynomials
Maths polynomialsMaths polynomials
Maths polynomialsavimehta14
 
Introductory maths analysis chapter 10 official
Introductory maths analysis   chapter 10 officialIntroductory maths analysis   chapter 10 official
Introductory maths analysis chapter 10 officialEvert Sandye Taasiringan
 
Chapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationChapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationMuhammad Bilal Khairuddin
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equationsCesar Mendoza
 

Destacado (20)

Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic Equations
 
Unit 7.3
Unit 7.3Unit 7.3
Unit 7.3
 
Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01
 
Systems of equations and matricies
Systems of equations and matriciesSystems of equations and matricies
Systems of equations and matricies
 
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row ReductionLecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
 
Met num 6
Met num 6Met num 6
Met num 6
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
 
Applied numerical methods lec7
Applied numerical methods lec7Applied numerical methods lec7
Applied numerical methods lec7
 
Punnett squares presentation teachership academy
Punnett squares presentation teachership academyPunnett squares presentation teachership academy
Punnett squares presentation teachership academy
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Linear programming in market application
Linear programming in market applicationLinear programming in market application
Linear programming in market application
 
Maths polynomials
Maths polynomialsMaths polynomials
Maths polynomials
 
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
 
Introductory maths analysis chapter 10 official
Introductory maths analysis   chapter 10 officialIntroductory maths analysis   chapter 10 official
Introductory maths analysis chapter 10 official
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Es272 ch4a
 
Chapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of IntegrationChapter 15 - Methods and Applications of Integration
Chapter 15 - Methods and Applications of Integration
 
Nsm
Nsm Nsm
Nsm
 
Chapter 6 - Matrix Algebra
Chapter 6 - Matrix AlgebraChapter 6 - Matrix Algebra
Chapter 6 - Matrix Algebra
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 

Similar a Systems of linear equations; matrices

Gauss Jordan
Gauss JordanGauss Jordan
Gauss JordanEzzat Gul
 
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.docxeugeniadean34240
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbragandhinagar
 
Thomas algorithm
Thomas algorithmThomas algorithm
Thomas algorithmParidhi SK
 
Linear equations
Linear equationsLinear equations
Linear equationsNisarg Amin
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
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 spaceTarun Gehlot
 
Lecture 11 systems of nonlinear equations
Lecture 11 systems of nonlinear equationsLecture 11 systems of nonlinear equations
Lecture 11 systems of nonlinear equationsHazel Joy Chong
 
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/SlidesChaimae Baroudi
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.pptvinnisart
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1ingroy
 
7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variablessmiller5
 
Final presentation
Final presentationFinal presentation
Final presentationpaezp
 
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
 
Elementary-linear-algebra- chapter 1.pdf
Elementary-linear-algebra- chapter 1.pdfElementary-linear-algebra- chapter 1.pdf
Elementary-linear-algebra- chapter 1.pdfRanaHammad39
 

Similar a Systems of linear equations; matrices (20)

Gauss Jordan
Gauss JordanGauss Jordan
Gauss Jordan
 
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
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
 
Thomas algorithm
Thomas algorithmThomas algorithm
Thomas algorithm
 
Linear equations
Linear equationsLinear equations
Linear 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 equations
System of equationsSystem of equations
System of 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
 
Condition (linear algebra)
Condition (linear algebra)Condition (linear algebra)
Condition (linear algebra)
 
Lecture 11 systems of nonlinear equations
Lecture 11 systems of nonlinear equationsLecture 11 systems of nonlinear equations
Lecture 11 systems of nonlinear equations
 
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
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.ppt
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1
 
7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables7.2 Systems of Linear Equations - Three Variables
7.2 Systems of Linear Equations - Three Variables
 
Final presentation
Final presentationFinal presentation
Final presentation
 
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)
 
Elementary-linear-algebra- chapter 1.pdf
Elementary-linear-algebra- chapter 1.pdfElementary-linear-algebra- chapter 1.pdf
Elementary-linear-algebra- chapter 1.pdf
 

Más de ST ZULAIHA NURHAJARURAHMAH

Contoh materi-matematika-dalam-metode-pembelajaran-brainstorming
Contoh materi-matematika-dalam-metode-pembelajaran-brainstormingContoh materi-matematika-dalam-metode-pembelajaran-brainstorming
Contoh materi-matematika-dalam-metode-pembelajaran-brainstormingST ZULAIHA NURHAJARURAHMAH
 
Systems of linear equations and augmented matrices
Systems of linear equations and augmented matricesSystems of linear equations and augmented matrices
Systems of linear equations and augmented matricesST ZULAIHA NURHAJARURAHMAH
 

Más de ST ZULAIHA NURHAJARURAHMAH (20)

Contoh materi-matematika-dalam-metode-pembelajaran-brainstorming
Contoh materi-matematika-dalam-metode-pembelajaran-brainstormingContoh materi-matematika-dalam-metode-pembelajaran-brainstorming
Contoh materi-matematika-dalam-metode-pembelajaran-brainstorming
 
Metode creative problem solving
Metode creative problem solvingMetode creative problem solving
Metode creative problem solving
 
Format silabus berkarakter
Format silabus berkarakterFormat silabus berkarakter
Format silabus berkarakter
 
Format rpp pengajaran langsung berkarakter
Format rpp pengajaran langsung berkarakterFormat rpp pengajaran langsung berkarakter
Format rpp pengajaran langsung berkarakter
 
Format rpp kooperatif berkarakter
Format rpp kooperatif berkarakterFormat rpp kooperatif berkarakter
Format rpp kooperatif berkarakter
 
Format lks langsung berkarakter
Format lks langsung berkarakterFormat lks langsung berkarakter
Format lks langsung berkarakter
 
Format lks kooperatif berkarakter
Format lks kooperatif berkarakterFormat lks kooperatif berkarakter
Format lks kooperatif berkarakter
 
Format lks berbasis masalah berkarakter
Format lks berbasis masalah berkarakterFormat lks berbasis masalah berkarakter
Format lks berbasis masalah berkarakter
 
Format buku siswa berkarakter
Format buku siswa berkarakterFormat buku siswa berkarakter
Format buku siswa berkarakter
 
Format rpp pbl berkarakter
Format rpp pbl berkarakterFormat rpp pbl berkarakter
Format rpp pbl berkarakter
 
Vectors
VectorsVectors
Vectors
 
Systems of linear equations and augmented matrices
Systems of linear equations and augmented matricesSystems of linear equations and augmented matrices
Systems of linear equations and augmented matrices
 
Solutions of linear systems (2.1 old)
Solutions of linear systems (2.1   old)Solutions of linear systems (2.1   old)
Solutions of linear systems (2.1 old)
 
Solution of linear system of equations
Solution of linear system of equationsSolution of linear system of equations
Solution of linear system of equations
 
Matrix
MatrixMatrix
Matrix
 
Matrix inverses
Matrix inversesMatrix inverses
Matrix inverses
 
Matrix equations and inverses honors
Matrix equations and inverses honorsMatrix equations and inverses honors
Matrix equations and inverses honors
 
Linear algebra
Linear algebraLinear algebra
Linear algebra
 
Problem posing & problem solving
Problem posing & problem solvingProblem posing & problem solving
Problem posing & problem solving
 
Problem solving
Problem solvingProblem solving
Problem solving
 

Último

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Último (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Systems of linear equations; matrices

  • 1. Chapter 4 Systems of Linear Equations; Matrices Section 3 Gauss-Jordan Elimination
  • 2. 2 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.
  • 3. 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. 4 Matrix Representations of Consistent, Inconsistent and Dependent Systems  Case I: consistent  From this matrix representation, you can determine that x = 3 y = 4 z = 5           5 4 3 100 010 001  The following matrix representations of three linear equations in three unknowns illustrate the three different cases:
  • 5. 5 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.           0 6 4 000 000 321
  • 6. 6 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.          0 0 4 000 000 321
  • 7. 7 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.
  • 8. 8 Examples of Reduced Row Echelon Form           0 6 4 000 000 321           5 4 3 100 010 001           − 8 7 2 1 0 0 0 1 0 0 0 3 0 0 1
  • 9. 9 Solving a System Using Gauss-Jordan Elimination  Example: Solve x + y – z = –2 2x – y + z = 5 –x + 2y + 2z = 1
  • 10. 10 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
  • 11. 11 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 − −   − ⇒   − 
  • 12. 12 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
  • 13. 13 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
  • 14. 14 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
  • 15. 15 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.
  • 16. 16 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.           − 2 1 0 100 010 011
  • 17. 17 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.           − 2 1 0 100 010 011           − 2 1 1 100 010 001
  • 18. 18 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.           − 2 1 1 100 010 001
  • 19. 19 Example 2 Example: Solve the system 3x – 4y + 4z = 7 x – y – 2z = 2 2x – 3y + 6z = 5
  • 20. 20 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  −   ÷ − − ÷  ÷− 
  • 21. 21 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: 1 1 2 3 4 4 7 53 6 2 2  −  ÷ − ÷  ÷ −  − 3 4 4 7 1 1 2 2 2 3 6 5  −   ÷ − − ÷  ÷− 
  • 22. 22 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 0 1 10 1 11 10 2 0  −  ÷ − ÷  ÷ −  − 1 1 2 3 4 4 7 53 6 2 2  −  ÷ − ÷  ÷ −  −
  • 23. 23 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. 1 1 2 2 0 1 10 1 0 0 0 0  − −   ÷ − ÷  ÷   1 1 2 0 1 10 1 11 10 2 0  −  ÷ − ÷  ÷ −  −
  • 24. 24 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  − −   ÷ − ÷  ÷  
  • 25. 25 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.
  • 26. 26 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 Mathematical Model Mathematical Solution 1. Construct3. Interpret 2. Solve
  • 27. 27 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?
  • 28. 28 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)
  • 29. 29 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.
  • 30. 30 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.
  • 31. 31 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