SlideShare a Scribd company logo
1 of 39
Download to read offline
Announcements




     If anyone has not been able to access the class website please
     email me at pgeorge3@mtu.edu
     If anyone didn't get the email sent via the class listserv, please
     see me.
     Homeworks are posted on the class website. I have made a few
     changes, so please make sure you have the updated list.
From Yesterday




   Remember the 3 equations with 3 variables from yesterday?
                                 x − 2y + z = 0
                               3y − 12z = 12
                       −8x + 10y + 18z = −18



       We want a solution (values of x , y and z ) that will satisfy all 3
       equations.
       We will use matrix notation that we saw yesterday
       Start with the augmented matrix
Augmented matrix for the above system




   Augmented column in circles
                            
   
      1    −2    1     0    
                             
                            
                            
   
   
   
       0    3    −12    12   
                             
                             
                            
       −8   10    18   −18
                            
                            
Augmented matrix for the above system




   Augmented column in circles
                              
   
      1     −2    1      0    
                               
                              
                              
   
   
   
       0     3    −12    12    
                               
                               
                              
       −8    10   18     −18
                              
                              



            Then what?
Augmented matrix for the above system




      We want the red numbers to be zero (as many as possible)
                                              
                   
                       1    −2     1     0    
                                               
                                              
                                              
                   
                   
                   
                        0     3   −12    12    
                                               
                                               
                                              
                       −8    10    18    −18
                                              
                                              
Augmented matrix for the above system




      We want the red numbers to be zero (as many as possible)
                                              
                    
                       1     −2    1     0    
                                               
                                              
                                              
                    
                    
                    
                        0     3    −12    12   
                                               
                                               
                                              
                        −8    10    18   −18
                                              
                                              



   O diagonal elements in the coecient matrix should become zero
To achieve this




       We do one or more of the 3 operations we discussed yesterday
To achieve this




       We do one or more of the 3 operations we discussed yesterday
       Add a row to a multiple of another row to replace that row
       (Choose the multiple so that it gives a zero somewhere)
To achieve this




       We do one or more of the 3 operations we discussed yesterday
       Add a row to a multiple of another row to replace that row
       (Choose the multiple so that it gives a zero somewhere)
       Multiply a particular row by a non-zero number
To achieve this




       We do one or more of the 3 operations we discussed yesterday
       Add a row to a multiple of another row to replace that row
       (Choose the multiple so that it gives a zero somewhere)
       Multiply a particular row by a non-zero number
       Interchange any two rows.(Useful if the diagonal becomes zero
       somehow)
To achieve this




       We do one or more of the 3 operations we discussed yesterday
       Add a row to a multiple of another row to replace that row
       (Choose the multiple so that it gives a zero somewhere)
       Multiply a particular row by a non-zero number
       Interchange any two rows.(Useful if the diagonal becomes zero
       somehow)
       Copy the problem correctly. Do calculations carefully. Even
       small mistakes will lead you into wasting hours with no
       solution in sight.
Ok. Let's do the row operations




     Add 8 times rst row to third row to get the new third row)
                                               
                    
                        1    −2     1      0   
                                                




                                                 8R1+R3
                                               
                                               
                    
                    
                    
                         0     3    −12    12   
                                                
                                                
                                               
                        −8     10    18   −18
                                               
                                               
Ok. Let's do the row operations




     Add 8 times rst row to third row to get the new third row)
                                               
                    
                        1    −2     1      0   
                                                




                                                 8R1+R3
                                               
                                               
                    
                    
                    
                         0     3    −12    12   
                                                
                                                
                                               
                        −8     10    18   −18
                                               
                                               



   O diagonal elements in the coecient matrix should become zero
Result




    Try not to lose existing zeros
                                
   
        1    −2     1      0    
                                 
                                
                                
   
   
   
         0    3     −12    12    
                                 
                                 
                                
         0    −6    26    −18
                                
                                
Moving on




   Divide second row by 3, makes life easier
                                    
        
            1    −2     1      0    
                                     
                                    
                                    
        
        
        
             0     3    −12    12    
                                     
                                     
                                    
             0    −6     26   −18
                                    
                                    
This gives




    Getting ones on the diagonal is good
                                   
        
            1    −2     1     0    
                                    
                                   
                                   
        
        
        
             0     1    −4     4    
                                    
                                    
                                   
             0    −6    26    −18
                                   
                                   
Next




   Add 6 times Row 2 to Row 3 to get new Row 3
                                      
           
               1    −2    1     0     
                                       
                                      
                                      
                0     1   −4     4



                                      6R2+R3
                                      
                                      
                                      
                                      
                0    −6    26   −18
                                      
                                      
Result




             More zeros :-)
                                 
   
        1     −2     1       0   
                                  
                                 
                                 
         0      1    −4       4
                                 
                                 
                                 
                                 
         0      0     2       6
                                 
                                 
Next




       Divide the last row by 2
                                 
  
       1     −2     1     0      
                                  
                                 
                                 
        0      1    −4     4
                                 
                                 
                                 
                                 
        0      0     1     3
                                 
                                 
Next




   Add Row 2 to 4 times Row 3 to get new Row 2
                                     
            
               1    −2    1     0    
                                      
                                     
                                     
                0     1    0    16



                                     R2+4R3
                                     
                                     
                                     
                                     
                0     0    1     3
                                     
                                     
Next




   Add Row 1 to 2 times Row 2 to get new Row 1
                                     
                1    −2    1     0




                                     R1+2R2
                                     
                                     
                                     
                                     
                0     1    0    16
                                     
                                     
                                     
                                     
                0     0    1     3
                                     
                                     
Next




           Almost there
                              
  
      1     0     1      32   
                               
                              
                              
       0     1     0      16
                              
                              
                              
                              
       0     0     1      3
                              
                              
Next




   Do Row 1 - Row 3 to get new Row 1
                               
       
          1     0    1    32   
                                
                               




                                 R1-R3
                               
           0     1    0    16
                               
                               
                               
                               
           0     0    1     3
                               
                               
Next



                        Bingo!!
                                         
             
                 1     0      0     29   
                                          
                                         
                                         
                  0     1      0     16
                                         
                                         
                                         
                                         
                  0     0      1     3
                                         
                                         




           The solution is staring right at us

   The coecient matrix is now a TRIANGULAR matrix
Any preferences? Order?




      None! You could do any of these operations in any order you
      want
      You could combine two or more operations in one step as you
      practice more problems.
      If your matrix is getting worse with each step, make sure you
      copied the right problem and check your calculations.
Another example




                             x +y +z = 3
                           2x − y − z = 5
                         2x + 2y + 2z = 7

   Vertical line separates augmented column
                                   
        
            1     1     1     3;   
                                    
                                   
                                   
        
        
        
             2    −1    −1     5;   
                                    
                                    
                                   
             2     2     2     7;
                                   
                                   
Row Operation




   R3 - 2R1 to give new Row 3
                            
   
      1     1     1    3    
                             
                            




                              R1-R3
                            
       2    −1    −1    5
                            
                            
                            
                            
       0     0     0    1
                            
                            
Row Operation




   R3 - 2R1 to give new Row 3
                             
   
       1     1    1     3    
                              
                             




                                  R1-R3
                             
        2    −1    −1    5
                             
                             
                             
                             
        0     0    0     1
                             
                             



    We have a problem, 0=1!!!!!
Inconsistent System




   The above example is an inconsistent system. In other words
   whenever your row reduced matrix looks like (could happen in any
   row)
    Here * is a non-zero number
                              
    
        a     b     c     d   
                               
                              
                              
         0     f     g     h
                              
                              
                              
                              
                              
         0     0     0
                              
                          ∗   
Inconsistent System




       If all elements in a row left to the augmented column are zero
       with a non-zero element in the augmented column, the system
       is inconsistent (no solutions, parallel planes)
       Usually happens when an equation is multiplied by a certain
       number but the right hand side is done wrong (not always)
   Simple example of an inconsistent 2 equation, 2 variable system is
                               x +y = 1
                             2x + 2y = 4
Problem 12 sec 1.1




                         x − 3y + 4z = −4
                        3x − 7y + 7z = −8
                         −4x + 6y − z = 7

   Vertical line separates augmented column
                                   
        
            1    −3     4    −4    
                                    
                                   
                                   
             3    −7     7    −8
                                   
                                   
                                   
                                   
            −4     6    −1     7
                                   
                                   
Problem 12 sec 1.1




   R2-3R1 for new R2 and R3+4R1 for new R3
                                   
           
              1     −3   4    −4   
                                    
                                   
                                   
               0     2    −5    4
                                   
                                   
                                   
                                   
               0     −6   15   −9
                                   
                                   
Problem 12 sec 1.1




        1
   Do   3   R3 and add to R2 to get new R3
                                      
        
              1    −3     4      −4   
                                       
                                      
                                      
               0     2    −5      4
                                      
                                      
                                      
                                      
               0     0     0      1
                                      
                                      



                   Inconsistent
Problem 20 sec 1.1


   Determine the value of h so that the following is the augmented
   matrix of a consistent 
   
                          linear system.
   
       2     −3     h       
                             
                            
                            
       −6      9     5
                            


   Solution: Add 3R1 to R2 to get new R2 (Don't forget that the
   augmented matrix is given to you)
                         
   
       2     −3      h          
                                 
                                
                                
                                
   
       0      0    3h + 5       
                                 


   If this has to be consistent, 3h + 5 = 0 or h = −5 .
                                                   3
Sec 1.2, Row reduction, Echelon forms




   To develop an ecient algorithm for any matrix irrespective of
   whether it represents a linear system.
       Nonzero row/column means a certain row/column has atleast
       one nonzero entry
       Leading entry of a row means the rst nonzero entry in a row
       (left most)
Denition
Echelon form (Row Echelon form, REF): A rectangular matrix is of
Echelon form (Row Echelon Form or REF) if
    All nonzero rows are ABOVE any rows with all zeros
    Each leading entry of a row in a column is to the RIGHT to
    the leading entry of the row above it (results in a STEP like
    shape for leading entries)
    All entries in a column below the leading entry are zero
Denition
Reduced Echelon form (Row Echelon form, REF): A rectangular
matrix is of Echelon form (Reduced Row Echelon Form or RREF) if
    The leading entry in each nonzero row is 1
    Each leading 1 is the only nonzero element in its column.
Examples of REF
                         
   
      3   1      4   0   
                          
                         
                         
       0   −2     0   4
                         
                         
                         
                         
                         
   
      0   0      0   0   
                          
                         
                         
       0   0      0   0
                         
                         
                                              
   
      0   3      1   4       0   4   6   1    
                                               
                                              
                                              
       0   0      7   3       0   5   6   −4
                                              
                                              
                                              
                                              
                                              
   
      0   0      0   0       0   5   6   −4
                                               
                                               
                                              
                                              
       0   0      0   0       0   0   3   0
                                              
                                              
Examples of RREF (Leading elements are ones)
                       
   
      1   0    4   0   
                        
                       
                       
       0   1    0   4
                       
                       
                       
                       
                       
   
      0   0    0   0   
                        
                       
                       
       0   0    0   0
                       
                       
                                            
   
      0   1    0   4       0   0   0   1    
                                             
                                            
                                            
       0   0    1   3       0   0   0   −4
                                            
                                            
                                            
                                            
                                            
   
      0   0    0   0       0   1   0   −4
                                             
                                             
                                            
                                            
       0   0    0   0       0   0   1   0
                                            
                                            

More Related Content

What's hot

What's hot (18)

C slides 11
C slides 11C slides 11
C slides 11
 
001 basic concepts
001 basic concepts001 basic concepts
001 basic concepts
 
Midsem sol 2013
Midsem sol 2013Midsem sol 2013
Midsem sol 2013
 
Data representation and Arithmetic Algorithms
Data representation and Arithmetic AlgorithmsData representation and Arithmetic Algorithms
Data representation and Arithmetic Algorithms
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
STUDY MATERIAL FOR IIT-JEE on Complex number
STUDY MATERIAL FOR IIT-JEE on Complex numberSTUDY MATERIAL FOR IIT-JEE on Complex number
STUDY MATERIAL FOR IIT-JEE on Complex number
 
Add Maths 2
Add Maths 2Add Maths 2
Add Maths 2
 
09 sistema de equação do primeiro grau
09 sistema de equação do primeiro grau09 sistema de equação do primeiro grau
09 sistema de equação do primeiro grau
 
Algo Final
Algo FinalAlgo Final
Algo Final
 
Ism et chapter_6
Ism et chapter_6Ism et chapter_6
Ism et chapter_6
 
Lpp simplex method
Lpp simplex methodLpp simplex method
Lpp simplex method
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Lec4
Lec4Lec4
Lec4
 
Mth 4108-1 b (ans)
Mth 4108-1 b (ans)Mth 4108-1 b (ans)
Mth 4108-1 b (ans)
 
Limits at Infinity, Part 2
Limits at Infinity, Part 2Limits at Infinity, Part 2
Limits at Infinity, Part 2
 
Big-M Method Presentation
Big-M Method PresentationBig-M Method Presentation
Big-M Method Presentation
 

Viewers also liked

Viewers also liked (14)

Orthogonal Projection
Orthogonal ProjectionOrthogonal Projection
Orthogonal Projection
 
Complex Eigenvalues
Complex EigenvaluesComplex Eigenvalues
Complex Eigenvalues
 
Orthogonal sets and basis
Orthogonal sets and basisOrthogonal sets and basis
Orthogonal sets and basis
 
Determinants, Properties and IMT
Determinants, Properties and IMTDeterminants, Properties and IMT
Determinants, Properties and IMT
 
Systems of Linear Equations, RREF
Systems of Linear Equations, RREFSystems of Linear Equations, RREF
Systems of Linear Equations, RREF
 
Orthogonal Decomp. Thm
Orthogonal Decomp. ThmOrthogonal Decomp. Thm
Orthogonal Decomp. Thm
 
Linear (in)dependence
Linear (in)dependenceLinear (in)dependence
Linear (in)dependence
 
Diagonalization
DiagonalizationDiagonalization
Diagonalization
 
Linear Transformations, Matrix Algebra
Linear Transformations, Matrix AlgebraLinear Transformations, Matrix Algebra
Linear Transformations, Matrix Algebra
 
Linear Combination, Matrix Equations
Linear Combination, Matrix EquationsLinear Combination, Matrix Equations
Linear Combination, Matrix Equations
 
Vector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisVector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,Basis
 
Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear Independence
 
Linear Transformations
Linear TransformationsLinear Transformations
Linear Transformations
 
Vector Spaces
Vector SpacesVector Spaces
Vector Spaces
 

More from Prasanth George

Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char polyPrasanth George
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Prasanth George
 
Subspace, Col Space, basis
Subspace, Col Space, basisSubspace, Col Space, basis
Subspace, Col Space, basisPrasanth George
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inversePrasanth George
 

More from Prasanth George (9)

Finding eigenvalues, char poly
Finding eigenvalues, char polyFinding eigenvalues, char poly
Finding eigenvalues, char poly
 
Eigenvalues - Contd
Eigenvalues - ContdEigenvalues - Contd
Eigenvalues - Contd
 
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
Eigenvalues and Eigenvectors (Tacoma Narrows Bridge video included)
 
Cofactors, Applications
Cofactors, ApplicationsCofactors, Applications
Cofactors, Applications
 
Determinants
DeterminantsDeterminants
Determinants
 
IMT, col space again
IMT, col space againIMT, col space again
IMT, col space again
 
Subspace, Col Space, basis
Subspace, Col Space, basisSubspace, Col Space, basis
Subspace, Col Space, basis
 
Matrix Inverse, IMT
Matrix Inverse, IMTMatrix Inverse, IMT
Matrix Inverse, IMT
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inverse
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

Class Announcements and Homework Solutions

  • 1. Announcements If anyone has not been able to access the class website please email me at pgeorge3@mtu.edu If anyone didn't get the email sent via the class listserv, please see me. Homeworks are posted on the class website. I have made a few changes, so please make sure you have the updated list.
  • 2. From Yesterday Remember the 3 equations with 3 variables from yesterday? x − 2y + z = 0 3y − 12z = 12 −8x + 10y + 18z = −18 We want a solution (values of x , y and z ) that will satisfy all 3 equations. We will use matrix notation that we saw yesterday Start with the augmented matrix
  • 3. Augmented matrix for the above system Augmented column in circles     1 −2 1 0          0 3 −12 12      −8 10 18 −18    
  • 4. Augmented matrix for the above system Augmented column in circles     1 −2 1 0          0 3 −12 12      −8 10 18 −18     Then what?
  • 5. Augmented matrix for the above system We want the red numbers to be zero (as many as possible)     1 −2 1 0          0 3 −12 12      −8 10 18 −18    
  • 6. Augmented matrix for the above system We want the red numbers to be zero (as many as possible)     1 −2 1 0          0 3 −12 12      −8 10 18 −18     O diagonal elements in the coecient matrix should become zero
  • 7. To achieve this We do one or more of the 3 operations we discussed yesterday
  • 8. To achieve this We do one or more of the 3 operations we discussed yesterday Add a row to a multiple of another row to replace that row (Choose the multiple so that it gives a zero somewhere)
  • 9. To achieve this We do one or more of the 3 operations we discussed yesterday Add a row to a multiple of another row to replace that row (Choose the multiple so that it gives a zero somewhere) Multiply a particular row by a non-zero number
  • 10. To achieve this We do one or more of the 3 operations we discussed yesterday Add a row to a multiple of another row to replace that row (Choose the multiple so that it gives a zero somewhere) Multiply a particular row by a non-zero number Interchange any two rows.(Useful if the diagonal becomes zero somehow)
  • 11. To achieve this We do one or more of the 3 operations we discussed yesterday Add a row to a multiple of another row to replace that row (Choose the multiple so that it gives a zero somewhere) Multiply a particular row by a non-zero number Interchange any two rows.(Useful if the diagonal becomes zero somehow) Copy the problem correctly. Do calculations carefully. Even small mistakes will lead you into wasting hours with no solution in sight.
  • 12. Ok. Let's do the row operations Add 8 times rst row to third row to get the new third row)     1 −2 1 0   8R1+R3        0 3 −12 12      −8 10 18 −18    
  • 13. Ok. Let's do the row operations Add 8 times rst row to third row to get the new third row)     1 −2 1 0   8R1+R3        0 3 −12 12      −8 10 18 −18     O diagonal elements in the coecient matrix should become zero
  • 14. Result Try not to lose existing zeros     1 −2 1 0          0 3 −12 12      0 −6 26 −18    
  • 15. Moving on Divide second row by 3, makes life easier     1 −2 1 0          0 3 −12 12      0 −6 26 −18    
  • 16. This gives Getting ones on the diagonal is good     1 −2 1 0          0 1 −4 4      0 −6 26 −18    
  • 17. Next Add 6 times Row 2 to Row 3 to get new Row 3     1 −2 1 0       0 1 −4 4 6R2+R3         0 −6 26 −18    
  • 18. Result More zeros :-)     1 −2 1 0       0 1 −4 4         0 0 2 6    
  • 19. Next Divide the last row by 2     1 −2 1 0       0 1 −4 4         0 0 1 3    
  • 20. Next Add Row 2 to 4 times Row 3 to get new Row 2     1 −2 1 0       0 1 0 16 R2+4R3         0 0 1 3    
  • 21. Next Add Row 1 to 2 times Row 2 to get new Row 1   1 −2 1 0 R1+2R2         0 1 0 16         0 0 1 3    
  • 22. Next Almost there     1 0 1 32       0 1 0 16         0 0 1 3    
  • 23. Next Do Row 1 - Row 3 to get new Row 1     1 0 1 32     R1-R3   0 1 0 16         0 0 1 3    
  • 24. Next Bingo!!     1 0 0 29       0 1 0 16         0 0 1 3     The solution is staring right at us The coecient matrix is now a TRIANGULAR matrix
  • 25. Any preferences? Order? None! You could do any of these operations in any order you want You could combine two or more operations in one step as you practice more problems. If your matrix is getting worse with each step, make sure you copied the right problem and check your calculations.
  • 26. Another example x +y +z = 3 2x − y − z = 5 2x + 2y + 2z = 7 Vertical line separates augmented column     1 1 1 3;          2 −1 −1 5;      2 2 2 7;    
  • 27. Row Operation R3 - 2R1 to give new Row 3     1 1 1 3     R1-R3   2 −1 −1 5         0 0 0 1    
  • 28. Row Operation R3 - 2R1 to give new Row 3     1 1 1 3     R1-R3   2 −1 −1 5         0 0 0 1     We have a problem, 0=1!!!!!
  • 29. Inconsistent System The above example is an inconsistent system. In other words whenever your row reduced matrix looks like (could happen in any row) Here * is a non-zero number     a b c d       0 f g h           0 0 0    ∗ 
  • 30. Inconsistent System If all elements in a row left to the augmented column are zero with a non-zero element in the augmented column, the system is inconsistent (no solutions, parallel planes) Usually happens when an equation is multiplied by a certain number but the right hand side is done wrong (not always) Simple example of an inconsistent 2 equation, 2 variable system is x +y = 1 2x + 2y = 4
  • 31. Problem 12 sec 1.1 x − 3y + 4z = −4 3x − 7y + 7z = −8 −4x + 6y − z = 7 Vertical line separates augmented column     1 −3 4 −4       3 −7 7 −8         −4 6 −1 7    
  • 32. Problem 12 sec 1.1 R2-3R1 for new R2 and R3+4R1 for new R3     1 −3 4 −4       0 2 −5 4         0 −6 15 −9    
  • 33. Problem 12 sec 1.1 1 Do 3 R3 and add to R2 to get new R3     1 −3 4 −4       0 2 −5 4         0 0 0 1     Inconsistent
  • 34. Problem 20 sec 1.1 Determine the value of h so that the following is the augmented matrix of a consistent   linear system.   2 −3 h       −6 9 5   Solution: Add 3R1 to R2 to get new R2 (Don't forget that the augmented matrix is given to you)     2 −3 h           0 0 3h + 5   If this has to be consistent, 3h + 5 = 0 or h = −5 . 3
  • 35. Sec 1.2, Row reduction, Echelon forms To develop an ecient algorithm for any matrix irrespective of whether it represents a linear system. Nonzero row/column means a certain row/column has atleast one nonzero entry Leading entry of a row means the rst nonzero entry in a row (left most)
  • 36. Denition Echelon form (Row Echelon form, REF): A rectangular matrix is of Echelon form (Row Echelon Form or REF) if All nonzero rows are ABOVE any rows with all zeros Each leading entry of a row in a column is to the RIGHT to the leading entry of the row above it (results in a STEP like shape for leading entries) All entries in a column below the leading entry are zero
  • 37. Denition Reduced Echelon form (Row Echelon form, REF): A rectangular matrix is of Echelon form (Reduced Row Echelon Form or RREF) if The leading entry in each nonzero row is 1 Each leading 1 is the only nonzero element in its column.
  • 38. Examples of REF     3 1 4 0       0 −2 0 4             0 0 0 0       0 0 0 0         0 3 1 4 0 4 6 1       0 0 7 3 0 5 6 −4             0 0 0 0 0 5 6 −4       0 0 0 0 0 0 3 0    
  • 39. Examples of RREF (Leading elements are ones)     1 0 4 0       0 1 0 4             0 0 0 0       0 0 0 0         0 1 0 4 0 0 0 1       0 0 1 3 0 0 0 −4             0 0 0 0 0 1 0 −4       0 0 0 0 0 0 1 0    