Example 4.  Solve the linear system  
        [Graphics:Images/HomogenLinSystemMod_gr_276.gif]    

Solution 4.

Enter the equations into Mathematica.  

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

Identify the matrix of coefficients A and column vector B for the matrix problem AX = B.  

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



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

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

 

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

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

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

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

Form the augmented matrix  M = [A, B]  and find its reduced row echelon form.

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



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

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

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

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


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


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

The equation form for this matrix is  

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

There are two free variables which we choose to be  [Graphics:../Images/HomogenLinSystemMod_gr_293.gif]  and  [Graphics:../Images/HomogenLinSystemMod_gr_294.gif].   They is used in computing  [Graphics:../Images/HomogenLinSystemMod_gr_295.gif].  

Solve the previous equations for  [Graphics:../Images/HomogenLinSystemMod_gr_296.gif].  

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

Make the substitutions  [Graphics:../Images/HomogenLinSystemMod_gr_298.gif]  and  [Graphics:../Images/HomogenLinSystemMod_gr_299.gif].  

    [Graphics:../Images/HomogenLinSystemMod_gr_300.gif]
    
Get    
    [Graphics:../Images/HomogenLinSystemMod_gr_301.gif]

The solution vector  [Graphics:../Images/HomogenLinSystemMod_gr_302.gif]  is

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

We are done.

Aside.  We can verify that this is the solution by direct multiplication A X.  This is just for fun !

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



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

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

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

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

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

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

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

Aside.  We can let Mathematica find the reduced row echelon matrix.  This is just for fun !

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


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

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

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

Notice.  Since the last two rows are entirely zero, the system has reduced to three equations and five unknowns.  

We can add the equations  [Graphics:../Images/HomogenLinSystemMod_gr_316.gif]  and  [Graphics:../Images/HomogenLinSystemMod_gr_317.gif]  to those in the reduced row echelon form and then row reduce one more time to get the solution.

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



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

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

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

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

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

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

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

The 5×5 identity matrix appears in the left 5 columns of  M, and the given linear system is equivalent to:

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

The solution vector is the sixth column of  M.

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


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

We can verify that this is the solution by direct multiplication A X.  This is just for fun !

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



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

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

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

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

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

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

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

We are really done.

Aside.
  We check out  [Graphics:../Images/HomogenLinSystemMod_gr_337.gif].  

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


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

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

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

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

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

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

Looking at the above calculations we see that  [Graphics:../Images/HomogenLinSystemMod_gr_345.gif], and the theorem guarantees that the system has an infinite number of solution.    However, it might be easier to just check out the determinant.  

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


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

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

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

We are really really done.

Aside.  The following Mathematica steps will also solve the problem automatically.  It starts with the equations, creates the matrices, and ends up with the vector form of the solution.  This is just for fun !

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


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

 

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

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

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

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

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

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

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

[Graphics:../Images/HomogenLinSystemMod_gr_359.gif]
[Graphics:../Images/HomogenLinSystemMod_gr_360.gif]

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

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

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

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004