Example 2. Interchange rows 2 and 3 and try to use the Gauss-Jordan subroutine to solve [Graphics:Images/GaussianJordanMod_gr_71.gif].  
Use lists in the subscript to select rows 2 and 3 and perform the row interchange.

Solution 2.

[Graphics:../Images/GaussianJordanMod_gr_72.gif]



[Graphics:../Images/GaussianJordanMod_gr_73.gif]

[Graphics:../Images/GaussianJordanMod_gr_74.gif]

[Graphics:../Images/GaussianJordanMod_gr_75.gif]

Then try to perform Gauss-Jordan elimination without row interchanges.

 

[Graphics:../Images/GaussianJordanMod_gr_76.gif]



[Graphics:../Images/GaussianJordanMod_gr_77.gif]

[Graphics:../Images/GaussianJordanMod_gr_78.gif]

[Graphics:../Images/GaussianJordanMod_gr_79.gif]
[Graphics:../Images/GaussianJordanMod_gr_80.gif]
[Graphics:../Images/GaussianJordanMod_gr_81.gif]

[Graphics:../Images/GaussianJordanMod_gr_82.gif]

[Graphics:../Images/GaussianJordanMod_gr_83.gif]
[Graphics:../Images/GaussianJordanMod_gr_84.gif]

[Graphics:../Images/GaussianJordanMod_gr_85.gif]

Gauss-Jordan elimination does not work without row interchanges.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004