Homework Sunita Parajuli
Homework Sunita Parajuli
a1 x1 + a2 x2 + .... + an xn = b (1)
where b and the coefficients a1 , ...., an are real or complex numbers. The subscript n may
be any positive integer normally between 2 and 5. In real life, n might be 50 or 5000, or
even larger.
The examples of linear equations are :
x1 - 22 + 3x3 = 10 and 2x1 + 3x2 - 2x3 = 1
The finite set of linear equations is called a system of linear equations or linear system.
The variables in a linear system are called the unknowns. For example:
x1 − 4x3 = −7 (3)
The graph of these equations are straight lines. So, solution (x1 , x2 ) of this system is
in fact a point of intersection of these lines.
There are three possibilities for a pair of straight lines:
• The lines may be parallel and distinct in which case there is no intersection and
consequently no solution.
• The lines may intersect at only one point, in which case the system has exactly one
solution.
• The lines may coincide, in which case there are infinitely many points of intersec-
tions ( the point on the common line) and consequently infinitely many solutions.
x1 − 2x2 + x3 = 0
2x2 − 8x3 = 8 (4)
5x1 − 5x3 = 10
is called coefficient matrix (or matrix of coefficients) of the system (3), and
1 −2 1 0
0 2 −8 8
5 0 −5 10
is called the augmented matrix of the system. An augmented matrix of a system consists
of the coefficient matrix with an added column containing the constants from the right
sides of the equations.
The size of the matrix tells how many rows and columns it has. Matrix notations will
simplify the calculations.
Definition: A rectangular matrix is in echelon form (or row echelon form) if it has the
following three properties:
2. Each leading nonzero element of any row is to the right of the leading nonzero
element in the row just above it.
3. In each column containing a leading nonzero element, the entries below that leading
nonzero element are zeros.
Note : If a matrix in echelon form satisfies the following additional conditions, then it is
in reduced echelon form ( or reduced row echelon form):
Pivot Positions: When row operations ( Interchange, Scaling and Replacement) are per-
formed on the matrix and produced an echelon form, and further row operations leads
to row reduced echelon form do not change the positions of the leading entries. Since,
the reduced echelon form is unique, the leading entries are always in the same positions
in any echelon form obtained from a given matrix. These leading entries correspond to
leading 1’s in the reduced echelon form.
Step1 : Begin with the leftmost nonzero column. This is pivot column. Pivot position is
at the top.
0 −5 −4
1 4 3
5 10 7
1 4 3
0 −5 −4
5 10 7
Step 3: Use row operations to create zeros in all positions below pivot.
R3 →R3 - 5R1
1 4 3
0 −5 −4
0 −10 −8
Step 4 : Next pivot column is second column. Again row operation is performed. R3 →R3
- 2R2
1 4 3
0 −5 −4
0 0 0
This is in the echelon form. Certain operations are performed to get the row reduced
echelon form. R2 →(-1/5) R2
1 4 3
0 1 4/5
0 0 0
This is an row reduced echelon form which has 1 as its nonzero leading entry and all the
zero rows have been moved to the bottom of the matrix.
There are three variables because the augmented matrix has four columns. The associated
system of equations is
x1 − 5x3 = 1
x2 + x3 = 4 (5)
0=0
which means x3 is free (independent). The variables x1 and x2 corresponding to the pivot
columns in the above matrix are called basic variables and x3 is called free variable.
In (5), we can solve the first equation for x1 and the second for x2 . The third equation is
ignored since it offers no restrictions on the variables.)
x1 = 1 + 53
x2 = 4 − x3 (6)
x3 is f ree
x3 is free which means that we are free to choose any value for x3 . When x3 is 0, the
solution is (1,4,0) and when x3 is 1, the solution is (6,3,1) etc. Each different choice of
x3 determines a different solution of the system and every solution of the system is deter-
mined by the choice of x3 .
The descriptions in (6) is the parametric description of solution sets in which the free
variables acts as parameters.
Whenever the system is consistent and has free variables, the solution set has many para-
metric distributions. For instance, in system (5) we may add 5 times equation 2 to equation
1 and obtain the equivalent system
x1 + 5x2 = 21
(7)
x2 + x3 = 4
Whenever the system is inconsistent, the solution set is empty, even when the system has
free variables. In this case, the solution set has no parametric representation.
Trivial Solution: A homogeneous system Ax = 0 always has at least one solution, namely,
x = 0(the zero vector in Rn ). This zero solution is usually called the trivial solution of the
homogeneous system.
Nontrivial Solution: A solution of a linear system other than trivial is called its nontriv-
ial solution i.e, the solution of a homogeneous equation Ax = 0 such that x̸= 0 is called
nontrivial solution, that is, a nonzero vector x that satisfies Ax = 0.
culture. Then the other equations governing the nutrients N1 , N2 and N3 are
R1 →R1 - R2
1 1 4 2300
3 1 2 1900
7 5 2 4700
R2 →(-1/2) R2 , R3 →(-1/2) R3
1 1 4 2300
0 1 5 2500
0 1 13 5700
R3 →R3 - R2
1 1 4 2300
0 1 5 2500
0 0 8 3200
3x1 − 2x2 = 6
(10)
−5x1 + 4x2 = 8
Solution:
View
the system as Ax = b. Using the
notation
introduced above,
3 −2 6 −2 3 6
A= , A1 (b) = , A2 (b) =
−5 4 8 4 −5 8
Since, det A = 2, the system has a unique solution. By Cramer’s rule,
detA1 (b) 24+16
x1 = detA = 2 = 20
detA2 (b) 24+30
x2 = detA = 2 = 27