SolitaryRoad.com

Website owner:  James Miller


[ Home ] [ Up ] [ Info ] [ Mail ]

 Solution of a consistent system of linear equations



Solution of a consistent system of linear equations. The following theorem gives the complete solution of a consistent system of linear equations Ax = b. It deals not only with the case in which the rank of the matrix A is equal to the number of unknowns, in which case there is one single solution. It also deals with the case of underdetermined systems where the rank of A is less than the number of unknowns. The complete solution to the system in this case consists of any particular solution of the system Ax = b plus all solutions of the system Ax = 0 (a linear manifold of solutions).


Theorem. Let Ax = b be a consistent system having n unknowns, and let the rank of A be r.


Case 1. r = n. There is a single solution vector x which can be found by one of the usual methods.

  

Case 2. r < n. Let ole.gif be a particular solution to the system Ax = b i.e. vector ole1.gif can be any vector that satisfies the system. Then the complete solution of the system Ax = b can be written as


            X = ole2.gif + ole3.gif


where ole4.gif are arbitrary constants and the vectors ole5.gif are any set of linearly independent vectors that span the solution space of the system Ax = 0. There are n-r such vectors. In other words, one can find n-r linearly independent vectors ole6.gif which satisfy the set of homogeneous equations Ax = 0. The vector ole7.gif plus any linear combination of these vectors ole8.gif is a solution of the given equation. There are no other solutions. If b = 0, the vector ole9.gif can be taken as ole10.gif = 0.


Example. Solve the system:


      ole11.gif     ole12.gif



We divide the first equation by 4 and use it to eliminate ole13.gif from the remaining equations:



      ole14.gif    


Now we rearrange to put the largest element in the proper position:


    ole15.gif   



We divide the second equation by 4.5 and use it to eliminate ole16.gif from the other two equations:



     ole17.gif   


We see that the rank of A is 2 and that the system has two equations.


Because there are four unknowns and the rank of A is 2, we know from the theorem that the complete solution is made up of a particular solution and any linear combination of two linearly independent solution vectors.


We can find the complete solution as follows:


Add .25 times row 2 to row 1, obtaining:

      ole18.gif   


We can find the particular solution by choosing two arbitrary values for x2 and x4. Let us choose ole19.gif = 0. Substituting these values into the system we get


      ole20.gif  = 13/9

      ole21.gif  = -2/9


Thus the particular solution is:

        ole22.gif                                             


To find two linearly independent solution vectors, we take the homogeneous equation


       ole23.gif   


and choose arbitrary values for ole24.gif and ole25.gif .


For the first vector let us take ole26.gif = 0, ole27.gif = 3. On substituting into the system we get


             ole28.gif  + 1/3 = 0

            ole29.gif  - 5/3 = 0


which has the solution


            ole30.gif  = -1/3, ole31.gif = 5/3 .


Thus the first vector is:



                ole32.gif


For the second vector let us pick the values ole33.gif = 3, ole34.gif = 0. On substituting into the system we get:


             ole35.gif  + 1 = 0

            ole36.gif  - 2 = 0


which has the solution


              ole37.gif  = -1, ole38.gif = 2 .


The second vector is then


            ole39.gif


and the general solution is:


            ole40.gif    



where ole41.gif and ole42.gif are arbitrary constants.









[ Home ] [ Up ] [ Info ] [ Mail ]