SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
Lesson 9
      Gaussian Elimination (KH, Section 1.6)

                          Math 20


                      October 10, 2007

Announcements
   Problem Set 4 will be on the course web site today. Due
   10/17
   Prob. Sess.: Sundays 6–7 (SC B-10), Tuesdays 1–2 (SC 116)
   OH Mon 1–2, Tues 3–4, Weds 1–3 (SC 323)
   Midterm I 10/18, Hall A 7–8:30pm
   Review Session (ML), 10/16, 7:30–9:30 Hall E
Systems of Linear equations


   Any set (system) of equations involving one or more variables, in
   which each equation involves a linear combination of the variables.
Systems of Linear equations


   Any set (system) of equations involving one or more variables, in
   which each equation involves a linear combination of the variables.
   Example
   Here is a single linear equation in one variable:

                                4x + 2 = 6
Systems of Linear equations


   Any set (system) of equations involving one or more variables, in
   which each equation involves a linear combination of the variables.
   Example
   Here is a single linear equation in one variable:

                                4x + 2 = 6


   Solution
   Subtract 2 from each side and you get 4x = 4. Divide both sides
   by 4 and you get x = 1.
Two equations in two variables




   Example
   Solve 2x + y = 3, x + 2y = 0.
Two equations in two variables




   Example
   Solve 2x + y = 3, x + 2y = 0.

   Solution
   x = 2, y = −1.
Three equations in three variables



   Example
   Solve the system of linear equations

                               2x2 − 3x3 =  4
                   −2x1 +       x2 + 2x3 = −6
                    2x1            + x3 =   0
Three equations in three variables



   Example
   Solve the system of linear equations

                               2x2 − 3x3 =  4
                   −2x1 +       x2 + 2x3 = −6
                    2x1            + x3 =   0

   The more variables you get, the bigger the need for a systematic
   way of solving systems of linear equations.
The Matrix viewpoint on SLEs

   A system of m equations in n variables looks like:

            a11 x1 +    a12 x2 + . . . + a1n xn = b1
            a21 x1 +    a22 x2 + . . . + a2n xn = b2
                 .           .                .    .
                                  ..
                 .           .                .    .
                                     .
                 .           .                .    .
            am1 x1   + am2 x2 + . . . + amn xn = bm

   The operative data are the coefficients and the right-hand sides.
   We can summarize it like this:
                                  
           a11 a12 . . . a1n        x1       b1
          a21 a22 . . . a2n  x2  b2 
                              .   .  =  .  , or Ax = b
                                  
         .       .    ..
            .     .           .  .   . 
                          .
         .       .           .      .        .
           am1 am2 . . .     amn     xn        bn
The augmented matrix



  In fact, we can express the whole system of linear equations in a
  single matrix, called the augmented matrix:
                                                 
                         a11 a12 . . . a1n b1
                      a21 a22 . . . a2n b2 
                                                 
                           .   . ..       .     .
                           .   .          .     .
                     
                                     .
                           .   .          .     .
                     
                      am1 am2 . . .     amn bm
Operations on systems of equations



   Here are some facts about systems of equations.
   1. Transposing equations doesn’t change their solution.
   2. Scaling an equation doesn’t change its solution.
   3. If a set of numbers satisfies two equations, then it also satisfies
      the equation which is one plus a scalar multiple of the other.
Operations on systems of equations



   Here are some facts about systems of equations.
   1. Transposing equations doesn’t change their solution.
   2. Scaling an equation doesn’t change its solution.
   3. If a set of numbers satisfies two equations, then it also satisfies
      the equation which is one plus a scalar multiple of the other.
   A simpler form might be
   3’. If a set of numbers satisfies two equations, it satisfies the sum
       of the two equations.
Row Operations



  The operations on systems of linear equations are reflected in the
  augmented matrix, too.
    1. Transposing (switching) rows in an augmented matrix does
       not change the solution.
    2. Scaling any row in an augmented matrix does not change the
       solution.
    3. Adding to any row in an augmented matrix any multiple of
       any other row in the matrix does not change the solution.
The Process of Gaussian Elimination


   We’ll solve the system of linear equations

                               2x2 − 3x3 =  4
                    −2x1 +      x2 + 2x3 = −6
                     2x1           + x3 =   0

   The augmented matrix is
                                     
                            0 2 −3  4
                          −2 1  2 −6 
                            20   1  0
Transpose the first and third equations:
                                                   
            2 −3             ←−
       0               4                2 0   1    0
    −2 1             − 6          −2 1          − 6
                2                             2
                             ←−               −3
       2    0   1      0                0 2        4
Transpose the first and third equations:
                                                    
            2 −3             ←−
       0               4                2 0   1     0
    −2 1             − 6          −2 1           − 6
                2                             2
                             ←−               −3
       2    0   1      0                0 2         4

Now we can add the first row to the second and get another zero
in that column.
                                                    
         2   0  1     0                20      1     0
     −2 1           − 6 ← +−                      − 6
                2                    0 1      3
             2 −3                      0 2 −3
         0            4                              4
We add (-2) times the second row to the third   row.
                                                       
      20       1     0                 20       1       0
                    −6                                 − 6
    0 1       3                     0 1       3
                              −2
                        
      0 2 −3               ←+
                           −                    −9
                     4                 00              16
We add (-2) times the second row to the third   row.
                                                       
      20       1     0                 20       1       0
                    −6                                 − 6
    0 1       3                     0 1       3
                              −2
                        
      0 2 −3               ←+
                           −                    −9
                     4                 00              16

This matrix is in row echelon form. The corresponding SLE can
be solved by back-substitution.
                
                        20      1     0
                                     − 6
                       0 1     3
                                −9
                        00           16
Since −9x3 = 16, we have x3 = − 16 . Substituting this into the
                                9
second equation gives
                                          −6
                   48          54              2
           x2 −       = −6 = −               =− .
                                  =⇒ x2 =
                    9          9          9    3
Finally, we have
                             16            8
                     2x1 −      = 0 =⇒ x1 = .
                             9             9
More Gaussian Elimination: The “backward pass”

   Starting with the last matrix above, we scale the last row by − 1 :
                                                                   9
                                                          
                                            201          0
          20       1      0
                                                        −6
                         − 6              0 1 3
         0 1      3
                                                        − 16
                                     1
                   −9         |−            001
          00             16                                9
                                     9
More Gaussian Elimination: The “backward pass”

   Starting with the last matrix above, we scale the last row by − 1 :
                                                                   9
                                                          
                                            201          0
          20       1      0
                                                        −6
                         − 6              0 1 3
         0 1      3
                                                        − 16
                                     1
                   −9         |−            001
          00             16                                9
                                     9

   Now we can zero out the third column above that bottom entry,
   by adding (-3) times the third row to the second row, then adding
   (-1) times the third row to the first row.
                                                           16
                                                             
                            ← − −+
                             −−
        201           0                       200          9
                                                          −6
                     −6    ←+
                            −
       0 1 3                                0 1 0
                                                            9
                     − 16                                 − 16
        001                                   001
                              −3 −1
                        9                                   9
The top row can be scaled by 1 , and we finally have
                             2

                      16        1                 8
                                                   
                               |2
         200                         100
                      9                           9
                    −6                         −6
        0 1 0                      0 1 0
                      9                           9
                    − 16                        − 16
         001                         001
                      9                           9

This matrix is said to be in reduced row echelon form.
The top row can be scaled by 1 , and we finally have
                             2

                       16        1                  8
                                                     
                                |2
         200                          100
                       9                            9
                     −6                          −6
        0 1 0                       0 1 0
                       9                            9
                     − 16                         − 16
         001                          001
                       9                            9

This matrix is said to be in reduced row echelon form.
And there you go; the solutions are staring you in the face!
Gaussian Elimination
    1. Locate the first nonzero column. This is pivot column, and
       the top row in this column is called a pivot position.
       Transpose rows to make sure this position has a nonzero entry.
       If you like, scale the row to make this position equal to one.
    2. Use row operations to make all entries below the pivot
       position zero.
    3. Repeat Steps 1 and 2 on the submatrix below the first row
       and to the right of the first column. Finally, you will arrive at
       a matrix in row echelon form. (up to here is called the
       forward pass)
    4. Scale the bottom row to make the leading entry one.
    5. Use row operations to make all entries above this entry zero.
    6. Repeat Steps 4 and 5 on the submatrix formed above and to
       the left of this entry. (These steps are called the backward
       pass)
So to solve a SLE:
    Form the augmented matrix.
    reduce this matrix to (R)REF.
    read off the solution.
Meet the Mathematician




     German
     “the prince of
     mathematicians”
     Proved FTA four times
     Invented least-squares
     method
     Predicted motion of
     planets

                              Carl Friedrich Gauss
                                   1777–1855
Questions


   Suppose the matrix
                                     
                      0 3 −6 6 4 −5
                    3 −7 8 −5 8 9 
                      3 −9 12 −9 6 15

   is given as the augmented matrix to a system of linear equations.
   How do we interpret the solution from the RREF?
Questions


   Suppose the matrix
                                     
                      0 3 −6 6 4 −5
                    3 −7 8 −5 8 9 
                      3 −9 12 −9 6 15

   is given as the augmented matrix to a system of linear equations.
   How do we interpret the solution from the RREF?
                                              
                         1 0 −2 3 0 −24
                       0 1 −2 2 0 −7 
                         00 0 01             4
The system of linear equations is

                    − 2x3 + 3x4          = −24
           x1
                 x2 − 2x3 + 2x4          = −7
                                    x5   =   4
The system of linear equations is

                    − 2x3 + 3x4                 = −24
           x1
                 x2 − 2x3 + 2x4                 = −7
                                           x5   =   4
or
                       x1 = −24 + 2s − 3t
                       x2 = −7 + 2s − 2t
                       x3 = s
                       x4 = t
                       x5 = 4
Here s and t can be anything we want and we can construct a
solution out of them. x3 and x4 are known as free variables; they
can take any value.
The system of linear equations is

                    − 2x3 + 3x4                 = −24
           x1
                 x2 − 2x3 + 2x4                 = −7
                                           x5   =   4
or
                       x1 = −24 + 2s − 3t
                       x2 = −7 + 2s − 2t
                       x3 = s
                       x4 = t
                       x5 = 4
Here s and t can be anything we want and we can construct a
solution out of them. x3 and x4 are known as free variables; they
can take any value.
We see free variables in the RREF as the columns with no leading
entry.
Question
What if the RREF of the matrix   were
                                       
                    1 0 −2       3 0 −24
                  0 1 −2        2 0 −7 
                    00 0         00   1

What would be the solutions to the associated system now?
Question
What if the RREF of the matrix   were
                                       
                    1 0 −2       3 0 −24
                  0 1 −2        2 0 −7 
                    00 0         00   1

What would be the solutions to the associated system now?

Answer.
The bottom row represents the equation 0 = 1, which has no
solution. This system of equations is inconsistent.

Más contenido relacionado

La actualidad más candente

Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)NirnayMukharjee
 
System of linear inequalities
System of linear inequalitiesSystem of linear inequalities
System of linear inequalitiesmstf mstf
 
Absolute Value Equations and Inequalities
Absolute Value Equations and InequalitiesAbsolute Value Equations and Inequalities
Absolute Value Equations and Inequalitiesdmidgette
 
Introduction to Matrices
Introduction to MatricesIntroduction to Matrices
Introduction to Matricesholmsted
 
Polynomials and factoring
Polynomials and factoringPolynomials and factoring
Polynomials and factoringShilpi Singh
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equationsDiler4
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equationssaahil kshatriya
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equationsalrosiemae
 
Sequences and Series
Sequences and SeriesSequences and Series
Sequences and Seriessujathavvv
 
Parallel and perpendicular lines
Parallel and perpendicular linesParallel and perpendicular lines
Parallel and perpendicular linesJessica Garcia
 
Inequalities
InequalitiesInequalities
Inequalitiessusoigto
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Matthew Leingang
 
Lesson29 Intro To Difference Equations Slides
Lesson29   Intro To Difference Equations SlidesLesson29   Intro To Difference Equations Slides
Lesson29 Intro To Difference Equations SlidesMatthew Leingang
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodNaimesh Bhavsar
 
Direct and inverse variation
Direct and inverse variationDirect and inverse variation
Direct and inverse variationharshprajapati123
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 

La actualidad más candente (20)

Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)Matrix and its operation (addition, subtraction, multiplication)
Matrix and its operation (addition, subtraction, multiplication)
 
Solving absolute values
Solving absolute valuesSolving absolute values
Solving absolute values
 
System of linear inequalities
System of linear inequalitiesSystem of linear inequalities
System of linear inequalities
 
Myp10 system of linear equations with solution
Myp10 system of linear equations with solutionMyp10 system of linear equations with solution
Myp10 system of linear equations with solution
 
Absolute Value Equations and Inequalities
Absolute Value Equations and InequalitiesAbsolute Value Equations and Inequalities
Absolute Value Equations and Inequalities
 
Introduction to Matrices
Introduction to MatricesIntroduction to Matrices
Introduction to Matrices
 
Polynomials and factoring
Polynomials and factoringPolynomials and factoring
Polynomials and factoring
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
 
Sequences and Series
Sequences and SeriesSequences and Series
Sequences and Series
 
Parallel and perpendicular lines
Parallel and perpendicular linesParallel and perpendicular lines
Parallel and perpendicular lines
 
Inequalities
InequalitiesInequalities
Inequalities
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
 
Lesson29 Intro To Difference Equations Slides
Lesson29   Intro To Difference Equations SlidesLesson29   Intro To Difference Equations Slides
Lesson29 Intro To Difference Equations Slides
 
21 simpson's rule
21 simpson's rule21 simpson's rule
21 simpson's rule
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan method
 
Direct and inverse variation
Direct and inverse variationDirect and inverse variation
Direct and inverse variation
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 

Destacado

Lesson 9 Virginia Plan Pp
Lesson 9 Virginia Plan PpLesson 9 Virginia Plan Pp
Lesson 9 Virginia Plan Ppgsagan
 
Gaussian_GaussJordan
Gaussian_GaussJordanGaussian_GaussJordan
Gaussian_GaussJordanJames Little
 
Métodos directos para la solución de sistemas de ecuaciones lineales
Métodos directos para la solución de sistemas de ecuaciones linealesMétodos directos para la solución de sistemas de ecuaciones lineales
Métodos directos para la solución de sistemas de ecuaciones linealesMileacre
 
linear equation system with 2 and 3 variables
linear equation system with 2 and 3 variableslinear equation system with 2 and 3 variables
linear equation system with 2 and 3 variablesWanda Sari
 
Gaussian elimination
Gaussian eliminationGaussian elimination
Gaussian eliminationAwais Qureshi
 
Linear equation in two variables
Linear equation in two variablesLinear equation in two variables
Linear equation in two variablesMERBGOI
 
Lesson 3: The limit of a function
Lesson 3: The limit of a functionLesson 3: The limit of a function
Lesson 3: The limit of a functionMatthew Leingang
 
Lesson 8: Determinants III
Lesson 8: Determinants IIILesson 8: Determinants III
Lesson 8: Determinants IIIMatthew Leingang
 
Lesson 4: Calculating Limits
Lesson 4: Calculating LimitsLesson 4: Calculating Limits
Lesson 4: Calculating LimitsMatthew Leingang
 
Lesson30 First Order Difference Equations Handout
Lesson30   First Order Difference Equations HandoutLesson30   First Order Difference Equations Handout
Lesson30 First Order Difference Equations HandoutMatthew Leingang
 
Lesson 4 - Calculating Limits (Slides+Notes)
Lesson 4 - Calculating Limits (Slides+Notes)Lesson 4 - Calculating Limits (Slides+Notes)
Lesson 4 - Calculating Limits (Slides+Notes)Matthew Leingang
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices SlidesMatthew Leingang
 
Lesson31 Higher Dimensional First Order Difference Equations Slides
Lesson31   Higher Dimensional First Order Difference Equations SlidesLesson31   Higher Dimensional First Order Difference Equations Slides
Lesson31 Higher Dimensional First Order Difference Equations SlidesMatthew Leingang
 
Lesson 4: Lines and Planes (slides + notes)
Lesson 4: Lines and Planes (slides + notes)Lesson 4: Lines and Planes (slides + notes)
Lesson 4: Lines and Planes (slides + notes)Matthew Leingang
 
Lesson 6 - Introduction To Determinants (Slides+Notes)
Lesson 6 - Introduction To  Determinants (Slides+Notes)Lesson 6 - Introduction To  Determinants (Slides+Notes)
Lesson 6 - Introduction To Determinants (Slides+Notes)Matthew Leingang
 
Lesson30 First Order Difference Equations Slides
Lesson30   First Order Difference Equations SlidesLesson30   First Order Difference Equations Slides
Lesson30 First Order Difference Equations SlidesMatthew Leingang
 
OAME 2016 - Making Grade 9 Math Tasks Contextual
OAME 2016 - Making Grade 9 Math Tasks ContextualOAME 2016 - Making Grade 9 Math Tasks Contextual
OAME 2016 - Making Grade 9 Math Tasks ContextualKyle Pearce
 
Lesson 1: Systems of Linear Equations (slides)
Lesson 1: Systems of Linear Equations (slides)Lesson 1: Systems of Linear Equations (slides)
Lesson 1: Systems of Linear Equations (slides)Matthew Leingang
 
Lesson32 Second Order Difference Equations Slides
Lesson32   Second Order Difference Equations SlidesLesson32   Second Order Difference Equations Slides
Lesson32 Second Order Difference Equations SlidesMatthew Leingang
 

Destacado (20)

Lesson 9 Virginia Plan Pp
Lesson 9 Virginia Plan PpLesson 9 Virginia Plan Pp
Lesson 9 Virginia Plan Pp
 
Gaussian_GaussJordan
Gaussian_GaussJordanGaussian_GaussJordan
Gaussian_GaussJordan
 
Métodos directos para la solución de sistemas de ecuaciones lineales
Métodos directos para la solución de sistemas de ecuaciones linealesMétodos directos para la solución de sistemas de ecuaciones lineales
Métodos directos para la solución de sistemas de ecuaciones lineales
 
linear equation system with 2 and 3 variables
linear equation system with 2 and 3 variableslinear equation system with 2 and 3 variables
linear equation system with 2 and 3 variables
 
Gaussian elimination
Gaussian eliminationGaussian elimination
Gaussian elimination
 
Linear equation in two variables
Linear equation in two variablesLinear equation in two variables
Linear equation in two variables
 
Lesson 3: The limit of a function
Lesson 3: The limit of a functionLesson 3: The limit of a function
Lesson 3: The limit of a function
 
Lesson 8: Determinants III
Lesson 8: Determinants IIILesson 8: Determinants III
Lesson 8: Determinants III
 
Lesson 4: Calculating Limits
Lesson 4: Calculating LimitsLesson 4: Calculating Limits
Lesson 4: Calculating Limits
 
Lesson30 First Order Difference Equations Handout
Lesson30   First Order Difference Equations HandoutLesson30   First Order Difference Equations Handout
Lesson30 First Order Difference Equations Handout
 
Lesson 4 - Calculating Limits (Slides+Notes)
Lesson 4 - Calculating Limits (Slides+Notes)Lesson 4 - Calculating Limits (Slides+Notes)
Lesson 4 - Calculating Limits (Slides+Notes)
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices Slides
 
Lesson 7: Determinants II
Lesson 7: Determinants IILesson 7: Determinants II
Lesson 7: Determinants II
 
Lesson31 Higher Dimensional First Order Difference Equations Slides
Lesson31   Higher Dimensional First Order Difference Equations SlidesLesson31   Higher Dimensional First Order Difference Equations Slides
Lesson31 Higher Dimensional First Order Difference Equations Slides
 
Lesson 4: Lines and Planes (slides + notes)
Lesson 4: Lines and Planes (slides + notes)Lesson 4: Lines and Planes (slides + notes)
Lesson 4: Lines and Planes (slides + notes)
 
Lesson 6 - Introduction To Determinants (Slides+Notes)
Lesson 6 - Introduction To  Determinants (Slides+Notes)Lesson 6 - Introduction To  Determinants (Slides+Notes)
Lesson 6 - Introduction To Determinants (Slides+Notes)
 
Lesson30 First Order Difference Equations Slides
Lesson30   First Order Difference Equations SlidesLesson30   First Order Difference Equations Slides
Lesson30 First Order Difference Equations Slides
 
OAME 2016 - Making Grade 9 Math Tasks Contextual
OAME 2016 - Making Grade 9 Math Tasks ContextualOAME 2016 - Making Grade 9 Math Tasks Contextual
OAME 2016 - Making Grade 9 Math Tasks Contextual
 
Lesson 1: Systems of Linear Equations (slides)
Lesson 1: Systems of Linear Equations (slides)Lesson 1: Systems of Linear Equations (slides)
Lesson 1: Systems of Linear Equations (slides)
 
Lesson32 Second Order Difference Equations Slides
Lesson32   Second Order Difference Equations SlidesLesson32   Second Order Difference Equations Slides
Lesson32 Second Order Difference Equations Slides
 

Similar a Lesson 9: Gaussian Elimination

Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear IndependenceMatthew Leingang
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingMatthew Leingang
 
Lesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear EquationsLesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear EquationsMatthew Leingang
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session SlidesMatthew Leingang
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsNigel Simmons
 
General Math Lesson 3
General Math Lesson 3General Math Lesson 3
General Math Lesson 3alicelagajino
 
AA Section 5-3
AA Section 5-3AA Section 5-3
AA Section 5-3Jimbo Lamb
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidelarunsmm
 
1.2. l1. sol of quadratic eq by factorization
1.2. l1. sol of quadratic eq by factorization1.2. l1. sol of quadratic eq by factorization
1.2. l1. sol of quadratic eq by factorizationSKY HAWKS' ACADEMY
 
Materi perkalian kelas 2
Materi perkalian kelas 2Materi perkalian kelas 2
Materi perkalian kelas 2Dei Al-faroby
 
Solucion de problemas de ecuaciones difrenciales hasta 19
Solucion de problemas de ecuaciones difrenciales hasta 19Solucion de problemas de ecuaciones difrenciales hasta 19
Solucion de problemas de ecuaciones difrenciales hasta 19JAVIERTELLOCAMPOS
 
Calculus And Its Applications 10th Edition Bittinger Solutions Manual
Calculus And Its Applications 10th Edition Bittinger Solutions ManualCalculus And Its Applications 10th Edition Bittinger Solutions Manual
Calculus And Its Applications 10th Edition Bittinger Solutions Manualfujumazaja
 

Similar a Lesson 9: Gaussian Elimination (20)

Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear Independence
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data Fitting
 
Lesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear EquationsLesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear Equations
 
Midterm I Review
Midterm I ReviewMidterm I Review
Midterm I Review
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session Slides
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphs
 
Do you know the line
Do you know the lineDo you know the line
Do you know the line
 
General Math Lesson 3
General Math Lesson 3General Math Lesson 3
General Math Lesson 3
 
AA Section 5-3
AA Section 5-3AA Section 5-3
AA Section 5-3
 
Review for final exam
Review for final examReview for final exam
Review for final exam
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Notes 4-8
Notes 4-8Notes 4-8
Notes 4-8
 
1.2. l1. sol of quadratic eq by factorization
1.2. l1. sol of quadratic eq by factorization1.2. l1. sol of quadratic eq by factorization
1.2. l1. sol of quadratic eq by factorization
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equations
 
Materi perkalian kelas 2
Materi perkalian kelas 2Materi perkalian kelas 2
Materi perkalian kelas 2
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Solo edo hasta 20
Solo edo hasta 20Solo edo hasta 20
Solo edo hasta 20
 
Solucion de problemas de ecuaciones difrenciales hasta 19
Solucion de problemas de ecuaciones difrenciales hasta 19Solucion de problemas de ecuaciones difrenciales hasta 19
Solucion de problemas de ecuaciones difrenciales hasta 19
 
Calculus And Its Applications 10th Edition Bittinger Solutions Manual
Calculus And Its Applications 10th Edition Bittinger Solutions ManualCalculus And Its Applications 10th Edition Bittinger Solutions Manual
Calculus And Its Applications 10th Edition Bittinger Solutions Manual
 

Más de Matthew Leingang

Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceMatthew Leingang
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsMatthew Leingang
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Matthew Leingang
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Matthew Leingang
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Matthew Leingang
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Matthew Leingang
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Matthew Leingang
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Matthew Leingang
 

Más de Matthew Leingang (20)

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
 
Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choice
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper Assessments
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)
 

Último

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Lesson 9: Gaussian Elimination

  • 1. Lesson 9 Gaussian Elimination (KH, Section 1.6) Math 20 October 10, 2007 Announcements Problem Set 4 will be on the course web site today. Due 10/17 Prob. Sess.: Sundays 6–7 (SC B-10), Tuesdays 1–2 (SC 116) OH Mon 1–2, Tues 3–4, Weds 1–3 (SC 323) Midterm I 10/18, Hall A 7–8:30pm Review Session (ML), 10/16, 7:30–9:30 Hall E
  • 2. Systems of Linear equations Any set (system) of equations involving one or more variables, in which each equation involves a linear combination of the variables.
  • 3. Systems of Linear equations Any set (system) of equations involving one or more variables, in which each equation involves a linear combination of the variables. Example Here is a single linear equation in one variable: 4x + 2 = 6
  • 4.
  • 5. Systems of Linear equations Any set (system) of equations involving one or more variables, in which each equation involves a linear combination of the variables. Example Here is a single linear equation in one variable: 4x + 2 = 6 Solution Subtract 2 from each side and you get 4x = 4. Divide both sides by 4 and you get x = 1.
  • 6. Two equations in two variables Example Solve 2x + y = 3, x + 2y = 0.
  • 7.
  • 8. Two equations in two variables Example Solve 2x + y = 3, x + 2y = 0. Solution x = 2, y = −1.
  • 9. Three equations in three variables Example Solve the system of linear equations 2x2 − 3x3 = 4 −2x1 + x2 + 2x3 = −6 2x1 + x3 = 0
  • 10. Three equations in three variables Example Solve the system of linear equations 2x2 − 3x3 = 4 −2x1 + x2 + 2x3 = −6 2x1 + x3 = 0 The more variables you get, the bigger the need for a systematic way of solving systems of linear equations.
  • 11. The Matrix viewpoint on SLEs A system of m equations in n variables looks like: a11 x1 + a12 x2 + . . . + a1n xn = b1 a21 x1 + a22 x2 + . . . + a2n xn = b2 . . . . .. . . . . . . . . . am1 x1 + am2 x2 + . . . + amn xn = bm The operative data are the coefficients and the right-hand sides. We can summarize it like this:      a11 a12 . . . a1n x1 b1  a21 a22 . . . a2n  x2  b2  .   .  =  .  , or Ax = b      . . .. . . .  .   .  . . . . . . am1 am2 . . . amn xn bn
  • 12.
  • 13. The augmented matrix In fact, we can express the whole system of linear equations in a single matrix, called the augmented matrix:   a11 a12 . . . a1n b1  a21 a22 . . . a2n b2    . . .. . . . . . .  . . . . .  am1 am2 . . . amn bm
  • 14.
  • 15. Operations on systems of equations Here are some facts about systems of equations. 1. Transposing equations doesn’t change their solution. 2. Scaling an equation doesn’t change its solution. 3. If a set of numbers satisfies two equations, then it also satisfies the equation which is one plus a scalar multiple of the other.
  • 16. Operations on systems of equations Here are some facts about systems of equations. 1. Transposing equations doesn’t change their solution. 2. Scaling an equation doesn’t change its solution. 3. If a set of numbers satisfies two equations, then it also satisfies the equation which is one plus a scalar multiple of the other. A simpler form might be 3’. If a set of numbers satisfies two equations, it satisfies the sum of the two equations.
  • 17.
  • 18. Row Operations The operations on systems of linear equations are reflected in the augmented matrix, too. 1. Transposing (switching) rows in an augmented matrix does not change the solution. 2. Scaling any row in an augmented matrix does not change the solution. 3. Adding to any row in an augmented matrix any multiple of any other row in the matrix does not change the solution.
  • 19. The Process of Gaussian Elimination We’ll solve the system of linear equations 2x2 − 3x3 = 4 −2x1 + x2 + 2x3 = −6 2x1 + x3 = 0 The augmented matrix is   0 2 −3 4  −2 1 2 −6  20 1 0
  • 20. Transpose the first and third equations:     2 −3 ←− 0 4 2 0 1 0 −2 1 − 6 −2 1 − 6 2 2 ←− −3 2 0 1 0 0 2 4
  • 21. Transpose the first and third equations:     2 −3 ←− 0 4 2 0 1 0 −2 1 − 6 −2 1 − 6 2 2 ←− −3 2 0 1 0 0 2 4 Now we can add the first row to the second and get another zero in that column.     2 0 1 0 20 1 0 −2 1 − 6 ← +− − 6 2 0 1 3 2 −3 0 2 −3 0 4 4
  • 22. We add (-2) times the second row to the third row.     20 1 0 20 1 0 −6 − 6 0 1 3 0 1 3 −2  0 2 −3 ←+ − −9 4 00 16
  • 23. We add (-2) times the second row to the third row.     20 1 0 20 1 0 −6 − 6 0 1 3 0 1 3 −2  0 2 −3 ←+ − −9 4 00 16 This matrix is in row echelon form. The corresponding SLE can be solved by back-substitution.
  • 24.
  • 25.  20 1 0 − 6 0 1 3 −9 00 16 Since −9x3 = 16, we have x3 = − 16 . Substituting this into the 9 second equation gives −6 48 54 2 x2 − = −6 = − =− . =⇒ x2 = 9 9 9 3 Finally, we have 16 8 2x1 − = 0 =⇒ x1 = . 9 9
  • 26. More Gaussian Elimination: The “backward pass” Starting with the last matrix above, we scale the last row by − 1 : 9     201 0 20 1 0 −6 − 6 0 1 3 0 1 3 − 16 1 −9 |− 001 00 16 9 9
  • 27. More Gaussian Elimination: The “backward pass” Starting with the last matrix above, we scale the last row by − 1 : 9     201 0 20 1 0 −6 − 6 0 1 3 0 1 3 − 16 1 −9 |− 001 00 16 9 9 Now we can zero out the third column above that bottom entry, by adding (-3) times the third row to the second row, then adding (-1) times the third row to the first row. 16     ← − −+ −− 201 0 200 9 −6 −6  ←+ − 0 1 3 0 1 0 9 − 16 − 16 001 001 −3 −1 9 9
  • 28. The top row can be scaled by 1 , and we finally have 2 16 1 8     |2 200 100 9 9 −6 −6 0 1 0 0 1 0 9 9 − 16 − 16 001 001 9 9 This matrix is said to be in reduced row echelon form.
  • 29. The top row can be scaled by 1 , and we finally have 2 16 1 8     |2 200 100 9 9 −6 −6 0 1 0 0 1 0 9 9 − 16 − 16 001 001 9 9 This matrix is said to be in reduced row echelon form. And there you go; the solutions are staring you in the face!
  • 30. Gaussian Elimination 1. Locate the first nonzero column. This is pivot column, and the top row in this column is called a pivot position. Transpose rows to make sure this position has a nonzero entry. If you like, scale the row to make this position equal to one. 2. Use row operations to make all entries below the pivot position zero. 3. Repeat Steps 1 and 2 on the submatrix below the first row and to the right of the first column. Finally, you will arrive at a matrix in row echelon form. (up to here is called the forward pass) 4. Scale the bottom row to make the leading entry one. 5. Use row operations to make all entries above this entry zero. 6. Repeat Steps 4 and 5 on the submatrix formed above and to the left of this entry. (These steps are called the backward pass)
  • 31.
  • 32. So to solve a SLE: Form the augmented matrix. reduce this matrix to (R)REF. read off the solution.
  • 33. Meet the Mathematician German “the prince of mathematicians” Proved FTA four times Invented least-squares method Predicted motion of planets Carl Friedrich Gauss 1777–1855
  • 34. Questions Suppose the matrix   0 3 −6 6 4 −5 3 −7 8 −5 8 9  3 −9 12 −9 6 15 is given as the augmented matrix to a system of linear equations. How do we interpret the solution from the RREF?
  • 35.
  • 36.
  • 37. Questions Suppose the matrix   0 3 −6 6 4 −5 3 −7 8 −5 8 9  3 −9 12 −9 6 15 is given as the augmented matrix to a system of linear equations. How do we interpret the solution from the RREF?   1 0 −2 3 0 −24 0 1 −2 2 0 −7  00 0 01 4
  • 38. The system of linear equations is − 2x3 + 3x4 = −24 x1 x2 − 2x3 + 2x4 = −7 x5 = 4
  • 39. The system of linear equations is − 2x3 + 3x4 = −24 x1 x2 − 2x3 + 2x4 = −7 x5 = 4 or x1 = −24 + 2s − 3t x2 = −7 + 2s − 2t x3 = s x4 = t x5 = 4 Here s and t can be anything we want and we can construct a solution out of them. x3 and x4 are known as free variables; they can take any value.
  • 40. The system of linear equations is − 2x3 + 3x4 = −24 x1 x2 − 2x3 + 2x4 = −7 x5 = 4 or x1 = −24 + 2s − 3t x2 = −7 + 2s − 2t x3 = s x4 = t x5 = 4 Here s and t can be anything we want and we can construct a solution out of them. x3 and x4 are known as free variables; they can take any value. We see free variables in the RREF as the columns with no leading entry.
  • 41. Question What if the RREF of the matrix were   1 0 −2 3 0 −24 0 1 −2 2 0 −7  00 0 00 1 What would be the solutions to the associated system now?
  • 42. Question What if the RREF of the matrix were   1 0 −2 3 0 −24 0 1 −2 2 0 −7  00 0 00 1 What would be the solutions to the associated system now? Answer. The bottom row represents the equation 0 = 1, which has no solution. This system of equations is inconsistent.