Section 2: Systems of Linear Equations
Section 2: Systems of Linear Equations
Consider example 1.1. Suppose a person wishes to buy the same quantity of each type
of vegetable from each of the vegetable stalls (say for example c kg of carrots from each
stall). He has in mind the amount he wishes to spend at each stall. His problem is to
determine the quantity of each type he should buy.
If and denote respectively the quantity of carrots, pumpkin, leeks and brinjals he
can purchase if he spends Rs. Rs. and Rs. respectively at , and , then the
problem would be to solve the following system of equations.
Here, the first equation for example states that the person pays Rs. for kg of carrots,
kg of pumpkin, kg of leeks and kg of brinjals at the stall .
or .
1
A solution of the system of linear equations is a set of values which satisfy
the above equations. The set of all possible solutions of the system is called the
solution set of the linear system.
It is clear that in the homogeneous case, is a solution of the
system. If the system is not homogeneous, it is possible that no set of values will satisfy
all the equations in the system. If this is the case the system is said to be inconsistent.
Geometrically each equation represents a straight line. The fact that the system has no
solution means that they do not intersect; i.e., they are parallel to each other.
If there exists a solution which satisfies all the equations of the system, the system is
said to be consistent. A homogeneous system is thus always consistent since it has the
trivial solution . There are just two possible types of solutions to
a consistent system of linear equations. Either the system will have a unique solution or
it will have infinitely many solutions. If a homogeneous system has a unique solution,
then, since the trivial solution is always a solution, the trivial solution will be its unique
solution.
Geometrically this means that the two lines which are the graphs of the two equations
intersect at the unique point with coordinates .
2
The most fundamental method of finding solutions to systems of linear equations is the
method of elimination. That is, we eliminate some of the unknowns by performing
certain operations on the equations of the system.
Let us consider the method we use to obtain the solution of a system of 2 linear
equations in 2 unknowns.
We first eliminate by multiplying the second equation by 3 and adding it to the first
equation. We then obtain , and thus by multiplying this equation by we
obtain , and hence .
Performing the first operation of multiplying row 2 by 3 and adding to row 1 we obtain
.
And finally by multiplying the first row by –1 and adding it to row 2 we obtain
.
We note that we only perform the operations on the matrices with scalars and the
matrix with the variables as elements remains unaffected.
We have used two operations here, namely addition of a scalar multiple of a row to
another row, and multiplication of a row by a scalar.
3
We use a similar method to find the solution set of any system of linear equations. We
apply 3 types of operations on the equations of the system, to reduce them to another
system of linear equations (whose solution set is the same as that of the original system)
from which it will be possible to determine whether the system is consistent or not, and
if consistent to determine its solution. The operations we use are called elementary row
operations.
We have shown above by a simple example how these operations can be used to obtain
the solution of a system of 2 linear equations in 2 unknowns when written in matrix
form.
We will show below by examples how the elementary row operations are used to
determine whether a system is consistent and if it is consistent to determine its
solution.
The goal is to use the elementary row operations to change the original matrix into row
reduced echelon form (defined below). The solution to the system with matrix in row
reduced echelon form (if a solution exists) is the same as the solution to the original
system. This method of solving systems of linear equations is called the Gauss-Jordan
reduction procedure.
4
Example 2.1: An example of a matrix in row reduced echelon form is
Theorem 2.1: Every nonzero matrix is row equivalent to a unique matrix in row
reduced echelon form.
The Gauss – Jordan reduction procedure for solving the linear system
Step 2: Transform the augmented matrix to row reduced echelon form by using
elementary row operations.
Step 3: The linear system that corresponds to the matrix in row reduced echelon form
that has been obtained in step 2 has exactly the same solution set as the given linear
system. If the system is consistent, for each nonzero row of the matrix in row reduced
echelon form, solve the corresponding equation for the unknown that corresponds to
the leading entry of the row. The rows consisting entirely of zeros can be ignored since
the corresponding equation will be satisfied for any values of the unknowns.
–
–
–
5
Multiplying the first row by –3 and adding it to the second row we obtain
Multiplying the first row by –5 and adding it to the third row we obtain
This shows us that the system is inconsistent since the third equation is false. Thus this
system has no solution.
6
Adding row 2 to row 3 we obtain .
This system is consistent and has infinitely many solutions given by,
– is free. -----------------(1)
Here and are called basic variables and is called the free variable. is called the
free variable because it can take any value in the field under consideration. Once a value
is selected for the values of the basic variables and are obtained from (1) above.
Each different value of determines a different solution to the system, and every
solution to the system is determined in this manner. Therefore, the solution (1) is called
a general solution to the system, because it gives an explicit description of all the
solutions to the system.
Note: If the system is considered as a system with elements from the field , then can
take any real number. If it is considered as a system with elements from , then can
take any complex value.
–
– –
7
Adding row 1 to row 2 we obtain .
Multiplying row 1 by –1 and adding to row 2 and then multiplying row 3 by 1/5 and
8
Example 2.5: Consider the following system of linear equations.
Step 2: Transform the matrix on the left of the matrix obtained in Step 1 to row
reduced echelon form by using elementary row operations.
Example 2.6:
Solution:
The 3 × 6 matrix is .
9
Add (-2) times row 1 to row 3 -
Multiply row 2 by ½ -
10