Linear Equations in Linear Algebra: Specific Objectives
Linear Equations in Linear Algebra: Specific Objectives
Linear Equations in Linear Algebra: Specific Objectives
Specific Objectives
After the completion of this chapter, students will be able to :
The system of linear equations
Test the consistency and inconsistency of the system of linear equations
Form the Echelon for all reduced Echelon form
Define vector equations
Define the matrix equation Ax=b
Solve the system of linear
Historical Background
Linear algebra is the study of lines and planes, vector spaces and mappings that are required for
linear transforms. It is a relatively young field of study, having initially
been formalized in the 1800s in order to find unknowns in systems of
linear equations. Linear algebra is called linear because it is the study of
straight lines.
A linear function is any function that graphs to a straight line, and linear
algebra is the mathematics for solving systems that are modeled with
multiple linear functions. In simplex words, linear algebra helps us to
understand geometric concepts such as planes in higher dimensions and
perform mathematical operations on them. William Hamilton
The power and progress in linear algebra did not come to fruition until the late 17 th century. The
2 Mathematics - II
emergence of the subject came from determinants, values connected to a square matrix, studied
by the founder of calculus Leibnitz, in the 17th century. In 1843, sir William Rowan Hamilton
invested linear equation and in 1844. Hermann Grassmann published his "Theory of Extension"
which included foundational new topics of what is today called linear algebra. In 1848, James
Joseph Sylvester introduced the term matrix.
For example
i. The solution of the linear systems of the equations x – y = –1 and 3x + y = 9 is shown below:
Y
Solution set
(2, 3)
X
O
Solution
(1, 1)
X
O
1. Consistent and Independent Solution: If a system has at least one solution, it is said to be
consistent. If a consistent system has exactly one solution, it is called independent. In other
words, the system of linear equation is said to have consistent and independent solution if
they have only one solution (Unique solution). If we plot this type of equations in graph, we
get only one point of intersection.
As represented in the graph below, The pair of lines intersects at a point and therefore, it is
consisted and independent linear system having unique solution.
Y
(3, 4)
Consistent and Independent solution
(Exactly one solution)
4
X' X
O 3
x1 + 2x2 = 11
Y'
2. Consistent and Dependent Solution: A system of linear equation is said to have consistent
and dependent solution if they have infinitely many solution. In fact, all points lie on the lines
are called solutions.
As represented in the graph below, the pair of lines coincides i.e. same line and therefore it is
consistent and dependent linear system having infinitely much solution.
4 Mathematics - II
Y Y
O O
X X
3. Inconsistent and Independent Solution: A system of linear equation is said to have
inconsistent and independent solution if they have no solution.
As represented in the graph below, the pair of lines are parallel and therefore, it is inconsistent
and independent linear system having no solution.
Y
Y
x + 2y = 5 x=3 x=4
X
O X
O
x + 2y = 7
. . . .
a ml am2 am3 … amn x b
n n
. . . .
a m1 am2 … amn
x1
x
x=
.
2
= output matrix (or variable matrix)
x n
b1
b
B=
.
2
= input matrix
b n
: :…: : b3
a m1 am2 … amn : b3
For example: Let us consider the systems
x1 + 3x2 – x3 = 4
2x1 + x2 + 2x3 = 10
3x1 – x2 + x3 = 4
Then, the coefficients matrix is
1 3 –1
A= 2 1 2
3 –1 1
Variable matrix is
x1
x = x2 = output matrix
x3
And, the constant matrix
4
B = 10 = input matrix
4
1 3 –1 : 4
Remarks: The matrix of the systems of the form [A B] [A/B] = 2 1 2 : 10 is called
3 –1 1 : 4
the augmented matrix.
earlier level are substitution method, additional/subtraction method, graphical method etc. These
methods are useful for the system with only a few number of variables.
To solve the system whose number of variables are higher, matrix method is introduced. In the
matrix method, we perform some operations, called the elementary row operations. Elementary
row operation are performed in the augmented matrix of the system.
Row–equivalent Matrix
If one matrix can be obtained by performing to the other matrix, then these two matrices are said
to be row equivalent matrices.
Alternatively, two m n matrices are row equivalent if and only if they have the same row space.
Remarks:
1. If the augmented matrices of two linear systems are row equivalent, then the two system have
the same solution set.
2. There are three possibilities of existence and uniqueness of a solution for a system.
i. The system is consistent if the system has a unique solution i.e. exactly one solution.
ii. The system is consistent if the system has infinitely many solution i.e. there is at least one
solution.
iii. The system is inconsistent if the system has no solution.
Now, we solve some examples to determine the existence and uniqueness of a solution of a linear
system using row equivalent matrix method (i.e. Gauss elimination method) of the augmented
matrix.
W OR KE D O UT E X AM P LE
Example 1:
Solve the linear system if the following system is consistent.
Linear Equations in Linear Algebra CHAPTER 1 7
x1 + 3x2 – 2x3 = 0
2x1 – 3x2 + x3 = 1
4x1 – 3x2 + x3 = 3
1 3 –2 : 0
0 1 –5/9 : –1/9
0 –15 9 : 3
Applying R3 R3 + 15 R2 we get
1 3 –2 : 0
0 1 –5/9 : –1/9
0 0 2/3 : 4/3
which is upper triangular matrix .
The linear system of equation can be reduced to
x1 + 3x2 – 2x3 = 0 ... ... ... (i)
5 1
x2 – 9 x3 = – 9 ... ... ... (ii)
2 4
3 x3 = 3 ... ... ... (iii)
Using backward substitution, then
2 4
from (iii), 3 x3 = 3 2x3 = 4
x3 = 2
5 1
from (ii), x2 – 9 2 = – 9
1 10
x2 = – 9 + 9 = 1
from (iii), x1 + 31 – 22 = 0
x1 + 3 – 4 = 0
x1 = 1
Hence, the solution set is
(x1, x2, x3) = (1, 1, 2) which shows that the system have unique solution.
The given system is consistent.
8 Mathematics - II
Example 2:
Examine whether the following system of equations are consistent. If so, solve the system by using upper triangular
matrix.
a. x1 – x2 + x3 = 1
3x1 + x2 + 5x3 = 11
4x1 + 2x2 + 7x3 = 16
b. x1 + 2x2 + 3x3 = 4
4x1 + 5x2 + 6x3 = –7
7x1 + 8x2 + 9x3 = 10
1 –1 1 : 1
0 4 2 : 8
0 0 0 : 0
which is upper triangular matrix. The system can be reduced to
x1 – x2 + x3 = 1 ... ... ... (i)
4x2 + 2x3 = 8 ... ... ... (ii)
0 = 0 i.e. 0.x3 = 0 ... ... ... (iii)
The equation (iii) is true for all values of x3. The variable x3 is called free variable. So, we get infinitely many
solution.
Hence the system is consistent in such case.
This, if x3 = k then from (ii),
4x2 + 2k = 8
8 – 2k 4 – k
x2 = 4 = 2
4–k
from (i), x1 – 2 + k = 1
2x1 – 4 + k + 2k = 2
2x1 = 4 + k + 2k = 2
Linear Equations in Linear Algebra CHAPTER 1 9
6 – 3k
x1 = 2
Solution set is,
6 – 3k 4 – k
(x1, x2, x3) = 2 ‚ 2 ‚ k
b. The given system is,
x1 + 2x2 + 3x3 = 4
4x1 + 5x2 + 6x3 = –7
7x1 + 8x2 + 9x3 = 10
The augmented matrix of the given system is,
1 2 3 : 4
4 5 6 : –7
7 8 9 : 10
Now, we change this matrix into upper triangular matrix. For this
Applying R2 R2 – 4R1 and R3 R3 – 7R1, we get
1 2 3 : 4
0 –3 –6 : –23
0 –6 –12 : –18
Applying R3 R3 – 2R2 we get
1 2 3 : 4
0 –3 –6 : –23
0 0 0 : 28
which is upper triangular matrix. The system is reduced to
x1 + 2x2 + 3x3 = 4 ... ... ... (i)
–3x2 – 6x3 = –23 ... ... ... (ii)
0 = 28 i.e. 0.x3 = 28 ... ... ... (iii)
The equation (iii) is not true for any values of x3. So, we get no solution.
Hence, the given system is inconsistent.
Example 3:
For what values of h and k is the following system consistent?
2x1 – x2 = h
–6x1 + 3x2 = k
Which is upper triangular matrix. Since the given system is consistent so, the system have infinitely many solution if k + 3h
= 0.
Hence, the system is consistent for h, k satisfying k + 3h = 0.
Example 4:
Solve the linear system if the following system is consistent.
a. x – 2y = 1 b. x – y = 1
x – 3y = –3 –3x + 3y = –3
y
We have,
x – 2y = –1 (3, 2)
x – 3y = –3
The augmented matrix of the given system is x
O
1 –2 : –1
1 –3 : –3
For upper triangular matrix, applying R2 R2 – R1, we get
1 –2 : –1
0 –1 : –2
Which is an upper triangular matrix, the system can be written as
x – 2y = –1 … (i)
–y = –2 … (ii)
Using backward substitution,
from (ii), y = 2
from (i), x – 4 = –1 x = 3
Hence, the solution is,
(x, y) = (3, 2); which shows that the system have unique solution. So, the given system is consistent.
b. We have,
x–y=1
–3x + 3y = –3
The augmented matrix of the given system is
1 –1 : 1
–2 2 : –3
For upper triangular matrix, applying R2 R2 + 3R1, we get y
1 –1 : 1
0 0 : 0
x
The system can be reduced to O
x–y=1 … (i)
0.y = 0 … (ii)
The equation (ii) is true for all values of y. The variable y is free. So, we get infinitely many solution.
Hence, the system is inconsistent. In such case,
if y = k then from (i), x – k = 1 i.e. x = 1 + k
Infinitely many solution is, (x, y) = (1 + k, k) for all kR
Linear Equations in Linear Algebra CHAPTER 1 11
Example 5:
Test the consistency and inconsistency of the following system
x + 2y = –1
x + 2y = 2
y
The augmented matrix of the given system is,
x
1 2 : –1 O
1 2 : 2
For upper triangular matrix, applying R2 R2 – R1, we get
1 2 : –1
0 0 : 3
The system can be reduced to
x + 2y = –1 … (i)
0.y = 3 … (ii)
The equation (ii) is not true for any values of y. So, we get no solution and the system is in consistent i.e. parallel.
Exercise 1A
1. Test the consistency or inconsistency of the following system. If so, solve the system.
a. x1 + 2x2 = 5
5x1 – 3x2 = –1
b. 3x1 – 2y1 = 5
4x1 – y1 = 0
c. 2x1 – x2 = –1
–6x1 + 3x2 = 3
2. Determine the value of h and k so that the system have (i) unique solution (ii) infinitely many
solution.
a. x + 3y = 2
3x + hy = k
b. x1 + hx2 = 2
4x1 + 8x2 = k
3. Examine whether the following system of equations are consistent. If so, solve the following system.
a. x1 + 3x2 – x3 = –2
3x1 + 2x2 – x3 = 3
–6x1 – 4x2 – 2x3 = 18
b. x1 + 3y1 + 4z1 = 8
2x1 + y1 + 2z1 = 5
5x1 + 2z1 = 7
4. Show that the following system are inconsistent.
a. x1 + x2 + x3 = –3
12 Mathematics - II
3x1 + x2 – 2x3 = –2
2x1 + 4x2 + 7x3 = 7
b. x2 – 4x3 = 8
2x1 – 3x2 + 2x3 = 1
5x1 – 8x2 + 7x3 = 1
c. (
(x1, x2) =
k–1
)
2 ‚ k , consistent (Infinitely many solution).
2
2. a. h = 9 and k = 3
b. h = 2 and k 8
3. a. (x1, x2, x3) = (1, –3, –6), consistent
b. (
(x1, y1, z1) =
7 – 2k 11 – 6k
)
5 ‚ 5 ‚ k , consistent (Infinitely many solution)
4. a. No solution, inconsistent
b. No solution, inconsistent
For example
Leading entry of R1
Leading entry of R2 (Pivot)
Leading entry of R3 (Pivot)
2 4 –1 6
a. 0 5 3 1
0 0 7 5
[Echelon form]
Leading entry of R1
Leading entry of R2
Free
Leading entry of R3
Leading entry of R4
3 2 1 4 6
0 6 4 5 8
b.
0 0 0 –1 4
0 0 0 0 2
[Echelon form]
Pivot element (Leading entry element 1)
Pivot element (Leading entry element)
Pivot element (Leading entry element 1)
1 0 0
pivot row1
c. 0 1 0 pivot row2
0 0 1 pivot row3
Pivot column
Pivot column
Pivot column
(Reduced echelon form)
1 0 –2 3 0 –5
pivot row
d. 0 1 –2 2 0 6 pivot row [Reduced echelon form]
0 0 0 0 1 4 pivot row
Pivot Position
A pivot position in a matrix is the location of a leading entry in the row echelon form of a matrix.
14 Mathematics - II
A pivot column is a column that contains a pivot position. In example the column one column
two, column five are the pivot columns because they have pivot element.
But the column three, column four and column six are not the pivot column because they have no
pivot element.
For example,
Change into echelon form then into reduced echelon form of the matrix
0 3 –6
A = 3 –7 8
3 –9 12
3 –7 8
0 3 –6
0 0 0
Which is in echelon form of matrix and c1, c2 are the pivot columns.
For Reduced Echelon Form
1
Applying R1 3 R1 then the above matrix reduces to
7 8
1 –3 3
0 3 –6
0 0 0
1
Applying R2 3 R2 we get
Linear Equations in Linear Algebra CHAPTER 1 15
7 8
1 –3 3
0 1 –2
0 0 0
7
Applying R1 R1 + 3 R2 we get
Pivot element 1
Pivot element 1
1 0 –2
0 1 –2
0 0 0
which is in reduced echelon form.
For example
In row–reduction echelon form of matrix
pivot
free variable
1 3 0 5 7
0 0 0 2 6
0 0 1 8 3 pivot
0 0 0 0 4 free
In above row–reduction echelon form matrix, c1, c3 are pivot column. So, they have no free variables.
But, c2 and c4 have no pivot element. So, they have free variables.
The associated system of equation is
x1 + 3x2 + x3 + 5x4 = 7
x2 is free
2x4 = 6
x3 + 8x4 = 3
x4 is free.
The general solution is,
x1 = 7 – 3x2 – 5x4
x2 is free.
x3 = 3 – 8x4
x4 is free.
W OR KE D O UT E X AM P LE S
Example 1:
Applying elementary row operation, convert the following matrix into echelon form then into reduced echelon form
1 1 : 3
1 –1 : 1
We have,
1 1 : 3
1 –1 : 1
For echelon form,
Applying R2 R2 – R1, we get
1 1 : 3
0 –2 : –2
Which is in echelon form
For reduced echelon form
1
Applying R2 – 2 R2, we get
Linear Equations in Linear Algebra CHAPTER 1 17
1 1 : 3
0 1 : 1
Applying R1 R1 – R2, we get
1 0 : 2
0 1 : 1
Which is in reduced echelon form.
Example 2:
Applying elementary row operation to transform the following matrix first into echelon form and then into reduced
echelon form.
0 3 –6 6 4 –5
3 –7 8 –5 8 9
3 –9 12 –9 6 15
Since the first number (Leading entry) of first row is zero. A non–zero number or pivot element must be placed in this
position. For this,
Interchanging R1 R2 we get
3 –7 8 –5 8 9
0 3 –6 6 4 –5
3 –9 12 –9 6 15
Applying R3 R3 – R1 we get
Pivot
3 –7 8 –5 8 9
0 3 –6 6 4
–5
0 –2 4 –4 –2 6
2
Applying R3 R3 + 3 R2, we get
Pivot
3 –7 8 –5 8 9
0
3 –6 64 –5
2 8
0 0 0 0 3 3
which is in echelon form of matrix.
For reduced echelon form
1
Applying R1 3 R1, we get
Pivot element 1
18 Mathematics - II
7 8 5 8
1 –3 3 –3 3 3
0 3 –6 6 4 –5
2 8
0 0 0 0 3 3
1
Applying R2 3 R2, we get
7 8 5 8
1 –3 3 –3 3 3
4 5
0 1 –2 2 3 –3
0 0 0 0
2
3
8
3
3
Apply R3 2 R3, we get
7 8 5 8
1 –3 3 –3 3 3
0 1 –2 2
4 5
–3
3
0 0 0 0 1 4
Pivot element 1
4 8
Applying R2 R2 – 3 R3 and R1 R1 – 3 R3, we get
7 8 5 23
1 –3 3 –3 0 – 3
0 21
1 –2 2 0 – 3
0 0 0 0 1 4
Pivot element 1
7
Applying R1 R1 + 3 R2, we get
1 0 –2 3 0 –24
0 1 –2 2 0 –7
0 0 0 0 1 4
which is in reduced echelon form; where c1, c2, c5 are pivot columns and c3, c4, c6 are not pivot columns because they
have no pivot element.
Example 3:
Solve the system of equations using row reduced echelon method.
x1 + x2 + x3 = 4
x1 + 2x2 + 3x3 = 2
Linear Equations in Linear Algebra CHAPTER 1 19
2x1 + 2x2 + x3 = 5
Example 4:
Find the general solution of the linear system whose augmented matrix is
1 –3 –5 0 3 –4 2 0
a. b. –9 12 –6 0
0 1 1 3
–6 8 –4 0
1 –3 –5 0
a. We have the augmented matrix is
0 1 1 3
Applying R1 R1 + 3R2, the matrix reduces to
1 0 –2 9
0 1 1 3
Which is reduced echelon form. And the associated system is
x1 – 2x3 = 9
x2 + x3 = 3
20 Mathematics - II
x3 is free.
The general solution is
x1 = 9 + 2x3
x2 = 3 – x3
x3 is free.
b. The augmented matrix is
3 –4 2 0
–9 12 –6 0
–6 8 –4 0
For reduced echelon form,
1
Applying R1 3 R1, we get
1 –4/3 2/3 0
–9 12 –6 0
–6 8 –4 0
Applying R2 R2 + 9R1 and R3 R3 + 6R1, we get
1 –4/3 2/3 0
0 0 0 0
0 0 2 0
1
Applying R3 2 R3, we get
1 –4/3 2/3 0
0 0 0 0
0 0 1 0
2
Applying R1 R – 3 R3 we get
1 –4/3 0 0
0 0 0 0
0 0 1 0
Interchanging R2 R3, we get
1 –4/3 0 0
0 0 1 0
0 0 0 0
Which is reduced echelon form. And the associated system of equation is
4
x1 – 3 x2 = 0
x2 is free
x3 is free
The general solution is,
4
x1 = 3 x2
x2 is free
x3 is free
Linear Equations in Linear Algebra CHAPTER 1 21
Example 5:
Using elementary row reduction echelon form, test the consistency or inconsistency of the system
2x1 – 3y1 + 7z1 = 5
3x1 + y1 – 3z1 = 13
2x1 + 19y1 – 47z1 = 32
We have,
2x1 – 3y1 + 7z1 = 5
3x1 + y1 – 3z1 = 13
2x1 + 19y1 – 47z1 = 32
The augmented matrix of the given system is
2 –3 7 : 5
3 1 –3 : 13
2 19 –47 : 32
For row reduce echelon form
3
Applying R2 R2 – 2 R1 and R3 R3 – R1, we get
2 –3 7 : 5
0 11/2 –27/2 : 11/2
0 22 –54 : 27
Applying R2 2×R2, we get
2 –3 7 : 5
0 11 –27 : 11
0 22 –54 : 27
Applying R3 R3 – 2R2 we get
2 –3 7 : 5
0 11 –27 : 11
0 0 0 : 5
Which is in echelon form and the last row is in the form of [0 0 0 b] and b 0.
Hence, the given system is in consistent.
Exercise 1B
1. Apply elementary row operation to transform the following augmented matrix first into echelon
form and then into reduced echelon form.
1 3 4 7 1 4 0 7
a. b.
3 9 7 6 2 7 0 10
1 2 3 4
1 2 0 4 0 1 –2 5
c. 0 0 0 0 d.
0 0 1 2
0 0 2 –3
0 0 0 0
22 Mathematics - II
1 –3 0 –1 0 –2
0 1 0 0 –4 1
e. 0 0 0 1 9 4
0 0 0 0 0 0
2. Find the general solution of the linear system whose augmented matrix is given bellow:
1 3 4 7 1 4 0 7
a. b.
3 9 7 6 2 7 0 10
1 2 3 4
1 2 0 4
0 1 –2 5
c. 0 0 0 0 d.
0 0 1 2
0 0 2 –3
0 0 0 0
1 –3 0 –1 0 –2
0 1 0 0 –4 1
e.
0 0 0 1 9 4
0 0 0 0 0 0
3. Applying elementary row reduce echelon form, test the consistency or inconsistency of the system
y – 8z = 8
2x – 3y + 2z = 1
5x – 8y + 7z = 1
4. Find the general solution of the system
a. x1 + 3x2 + 4x3 = 7
3x1 + 9x2 + 7x3 = 6
b. x – 3z = 8
2x + 2y + 9z = 7
y + 5z = –2
c. x1 – 2x2 – x3 + 3x4 = 0
–2x1 + 4x2 + 5x3 – 5x4 = 3
3x1 – 6x2 – 6x3 + 8x4 = 2
1.
Echelon form Reduced echelon form
[ ] [ ]
1 3 4 7 1 3 0 –5
a.
0 0 –5 –15 0 0 1 3
[ ] [ ]
1 4 0 7 1 0 0 –9
b.
0 –1 0 –4 0 1 0 4
1 2 0 4 1 2 0 4
c. 0 0 1 –3 0 0 1 –3
0 0 0 0 0 0 0 0
Linear Equations in Linear Algebra CHAPTER 1 23
1 2 3 4
1 0 0 –20
d.
0 1 –2 5 0 1 0 9
0 0 1 2 0 0 1 2
0 0 0 0 0 0 0 0
1 –3 0 –1 0 –2
1 0 0 0 –3 5
e.
0 1 0 0 –4 1 0 1 0 0 –4 1
0 0 0 1 9 4 0 0 0 1 9 4
0 0 0 0 0 0 0 0 0 0 0 0
2.
a. x1 = –5 – 3x2 b. x1 = 9
x2 is free x2 = 4
x3 = 3 x3 is free
c. x1 = 4 – 2x2 d. x1 = 5 + 3x5
x2 is free x2 = 1 + 4x5
x3 = –3 x3 is free
x4 = 4 – 9x5
x5 is free
3. Consistent
4.
a. x1 = –5 – 3x2 b. x=5
x2 is free y=3
x3 = 3 z = –1
10
c. x1 = 1 + 2x2 – 3 x4
x2 is free
1
x3 = 1 – 3 x4
x4 is free
Vector Equation
Today we want to introduce two more ways to think of linear system. The first is vector equation
and the next one is matrix equation. This will have given us four different ways to think of linear
system. Switching back and these different ways to think of linear systems is useful for solving
systems. First we need to define row vector, column vector in R 2, R3, …, Rn.
Column Vector in R2: A matrix with only one column and only two rows is called a column
vector in R2.
For example,
2 4
u = , are column vector in R2.
3 1
Column Vector in R3: A matrix with only one column and only three rows is called column vector
in R3.
For example,
3
u= 1 is a column vector in R3.
4
Column Vector in Rn: A matrix with only one row and n columns is called column vector in Rn.
For example
24 Mathematics - II
v1
v
u1
u
,v= v are column vector in R . It is also called n–dimensional column vector.
2 2
u= u n
. .
3 3
u n v n
Algebraic Properties of Column Vectors in Rn
Let u, v and w are vectors in Rn and c, d are some scalars. Then,
i. u + v = v + u (Commutative law)
ii. (u + v) + w = u + (v + w) (Associative law)
iii. u + 0 = 0 + u = u (Existence of additive identity)
iv. u + (–u) = u – u = 0 (Associative law for vector multiplication)
v. c(u + v) = cu + cv (Left istributive law)
vi. (c + d)u = cu + du (Right distributive law)
vii. c(du) = d(cu) = (cd) u (Associative law for vector multiplication)
viii. 1.u = u.1 = u (Existence of multiplication identity)
For Example,
1 1
u = –3 and v = –1 . Then verify u + v = v + u. Also, compute the values of u – 2v and 2u + v.
2 3
We have
1 1
u = –3 , v = –1
2 3
Here,
1 1 2
u + v = –3 + –1 = –4
2 3 5
1 1 2
v + u = –1 + –3 = –4
3 2 5
Hence, u + v = v + u is verified.
Also, for the values of u–2v and 2u+v
1 1
u – 2v = –3 – 2 –1
2 3
1 2 –1
= –3 – –2 = –1
2 6 –4
Linear Equations in Linear Algebra CHAPTER 1 25
1 1
and, 2u + v = 2 –3 + –1
2 3
2 1
= –6 + –1
4 3
'3
= –7
7
Linear Combinations
If x1, x2, x3, …, xn are column vectors in Rn and c1, c2, c3, … cn are scalars, then any vector y of the
n
form y = c1x1 + c2x2 + … + cnxn = cixi is called the linear combinations of the vectors x1, x2, x3,
i=1
…, xn with scalars c1, c2, c3, …, cn.
Remarks:
i. A vector yRn is a linear combination of vectors x1, x2, x3, … xn in Rn if linear system with
augmented matrix [x1 x2 x3 … xn y] represents consistent system i.e. the system x1c1 + x2c2 +
… + xncn = y have infinitely many solution. (i.e. consistent)
ii. A vector yRn is a linear combination of vectors x1, x2, x3, …, xn in Rn if linear system with
augmented matrix [x1 x2 x3 … xn y] represents consistent system i.e. the system x 1c1 + x2c2 + …
+ xncn = y have unique solution. (i.e. consistent)
iii. A vector y Rn is not a linear combination of vectors x1, x2, x3, …, xn in Rn if the system x1c1 +
x2c2 + … + cnxn = y have no solution (i.e. inconsistent).
For Example
1 0 5 2
If x1 = –2 , x2 = 1 , x3 =
–6 , b = –1 . Then, show that b is a linear combination of vectors x1, x2, x3.
0 2 8 6
We have
1 0 5 2
x1 = –2 , x2 = 1 , x3 = –6 , b = –1
0 2 8 6
b is a linear combination of vectors x1, x2, x3 if the augmented matrix form of x1, x2, x3 and b i.e. [x1 x2 x3 b]
represents consistent system.
The augmented matrix form of x1, x2, x3 and b is
1 0 5 2
[x1 x2 x3 b] = –2 1 –6 –1
0 2 8 6
For row reduction echelon form,
Applying R2 R2 + 2R1, the matrix reduces to
26 Mathematics - II
1 0 5 2
0 1 4 3
0 2 8 6
Applying R3 R3 – 2 R2 we get
1 0 5 2
0 1 4 3 [Echelon form]
0 0 0 0
In the last row of the augmented matrix are all zero. It means that the system have infinitely many solution. Thus, the
system [x1, x2 x3 b] is consistent.
Hence, b is a linear combination of vectors x1, x2, x3.
Remarks:
i. The augmented matrix of the equation Ax = b has a solution if and only if b is a linear combination of the columns
of A.
ii. If the augmented matrix in echelon form has a row as the form [0 0 0 b] then system is inconsistent i.e. b is not a
linear combination of the vectors.
Example 1:
1 5 –3
If x1 = –2 , x2 = –13 and b = 8 then, show that b is not in the span of {x1, x2}.
3 –3 1
Here, we have
1 5 –3
x1 = –2 , x2 = –13 and b = 8
3 –3 1
The augmented matrix form of vectors x1, x2 and b is
1 5 –3
[x1 x2 b] = –2 –13 8
3 –3 1
For echelon form, applying R2 R2 + 2R1 and R3 R3 – 3R1, we get
1 5 –3
0 –3 2
0 –18 10
Linear Equations in Linear Algebra CHAPTER 1 27
W OR KE D O UT E X AM P LE S
Example 1:
If b is in the span of {u, v} then find the value of h from the following
1 –2 4
u = 4 , v = –3 , b = 1
–2 7 h
We have
1 –2 4
u = 4 , v = –3 , b = 1
–2 7 h
Since b is in the span {u, v}. It means that the augmented matrix form of u, v and b is
[u v b] must be consistent system.
1 –2 4
Here, [u v b] = 4 –3 1
–2 7 h
For echelon form,
Applying R2 R2 – 4R1 and R3 R3 + 2R1
we get
1 –2 4
0 5 –15
0 3 h+8
Applying R3 R3 – 3/5 R2 we get
1 –2 4
0 5 –15
0 0 h+17
The system gives the solution only when h + 17 = 0
h = –17
Thus, b is in the span of {u, v} for the value of h = –17
Example 2:
6 –3
Let u = –1 and v = 4
5 0
a. u + v b. u – v d. 2u – 3v
28 Mathematics - II
We have,
6 –3
u = –1 and v = 4
5 0
6 –3 3
a. u + v = –1 + 4 = 3
5 0 5
6 –3 9
b. u – v = –1 – 4 = –5
5 0 5
6 –3 12 –9
c. 2u – 3v = 2 –1 – 3 4 = –2 – 12
5 0 10 0
21
= 10
10
Example 3:
1 0 2 –5
If u1 = –2 , u2 = , u3 = 0 , b = 11 . Then, show that b is a linear combination of vectors u1, u2, u3
5
2 5 8 –7
We have,
1 0 2 –5
u1 = –2 , u2 = , u3 = and b = 11
5 0
2 5 8 –7
To show b is a linear combination of the vectors u1, u2, u3, we have to show that the augmented matrix form of u1, u2, u3
and b i.e. [x1, x2, x3, b] represents consistent system.
The augmented matrix form of u1, u2, u3 and b is
1 0 2 –5
[u1, u2, u3, b] = –2 5 0 11
2 5 8 –7
For row reduce echelon form, applying R2 R2 + 2R1 and R3 R3 – 2R1, we get
1 0 2 –5
0 5 4 1
0 5 4 3
Applying R3 R3 – R2, we get
1 0 2 –5
0 5 4 1
0 0 0 2
Which is in echelon form and the last row is in the form of [0 0 0 b] and b 0. It means that the system [u1 u2 u3 b]
has no solution and the system is inconsistent.
Linear Equations in Linear Algebra CHAPTER 1 29
Hence, b is not a linear combination of the given vectors u1, u2 and u3.
Example 4:
Does b in the span of u1, u2, u3; where
1 3 0 3
–1
–1 –1 1
u1 =
0
, u2 =
–4
, u3 = and b = –8
2
2 0 3 –1
We have,
1 3 0 3
–1 –1 –1
1
u1 = 0
, u2 =
–4
, u3 =
2
and b =
–8
2 0 3
–1
Here, b is in the span of {u1, u2, u3} if the augmented matrix form of u1, u2, u3 and b i.e. [u1, u2, u3, b] represents
consistent system.
The augmented matrix is
1 3 0 3
–1 –1 –1 1
[u1, u2, u3, b] =
0 –4 2 –8
2 0 3 –1
For row reduction echelon form,
Applying R2 R2 + R1, R3 R3 – 2R1, we get
1 3 0 3
0 2 –1 4
0 –4 2 –8
0 –6 3 – 7
Applying R3 R3 + 2R2 and R3 R3 – 3R2 we get
1 3 0 3
0 2 –1 4
0 0 0 0
0 0 0 5
Which is in echelon form and the last row is in the form of [0 0 0 0] and b 0, x3 is free. So, the system have no
solution and it is inconsistent.
Hence, b is not in the span of {u1, u2, u3}
Exercise 1C
1 –3
1. If u = –7 and v = 4 be two vectors. Compute
–5 0
a. u + v b. u – v
30 Mathematics - II
c. 2u – 3v d. 3u – 2v
2 5 4 –3
2. Let A = ,u= ,v= and c = 2. Verify that
3 1 –1 5
a. A( u + v) = Au + Av b. A(cu) = c(Au)
1 –2 –6 11
3. u1= 0 ,u = 3 ,u = 7 , b = –5 . Then, show that b is a linear combination of vectors
2 3
1 –2 5 9
u1, u2, u3.
1 –4 2 3
4. If u1= 0 , u2 = 3 , u3 = 5 , b = –7 . Then, show that be is not a linear combination of
–2 8 –4 –3
the vectors u1, u2, u3.
5. Determine if b is a linear combination of the formed from the columns of the matrix A
1 0 2 –5
A= –2 5 0 , b = 11
2 5 8 –7
6. Find the value of h so that vector b is in span {u, v}.
7 –5 4
u= 1 ,v= 3 ,b= 1
–6 0 h
7. For what value of h will y be in the span of {v 1, v2, v3} if
1 5 –3 –4
v1 = –1 , v2 = –4 , v3 = 1 and y = 3
–2 –7 0 h
5 8 7 2
8. Le A = 0 1 –1 and u = –3 . Is u in the subset of R3 spanned by the columns of A? Explain
1 3 0 2
why or why not?
1 3 4 b1
9. Let A = –4 2 –6 and b = b2 . Is the equation Ax = b consistent for all possible b1, b2, b3?
–3 –2 –7 b3
–2 4
10
9
1. a. –3 b. –11 c. –26 d. –29
–5 –5 –10 –15
5. b is not a linear combination
51
6. h = – 13
7. if and only if h = 5
9. Inconsistent for every b
Linear Equations in Linear Algebra CHAPTER 1 31
Trivial Solution
The homogenous system Ax = 0 has a trivial solution if the system does not have any free
variables.
For Exmple
Solve the following homogeneous system of linear equations. And, test whether the system has trivial solutions.
x – 3y + 7z = 0
–2x + y – 4z = 0
x + 2y + 9z = 0
1 –3 7 0
0 –5 10 0
0 0 12 0
This matrix shows that there are no any free variables. So, all the variables are basic variables. 1 st, 2nd and 3rd
columns are pivot columns.
The system of equations reduced to
x – 3y + 7z = 0
–5y + 10z = 0
12z = 0
This implies, x = 0, y = 0, z = 0
Hence, the given homogenous system has trivial solution.
Non–trivial solution
The homogenous system Ax = 0 has a non–trivial solution if the equation has at least one free
variable.
For example
Solve the following homogeneous system of linear equations. And, test whether the system has non–trivial solutions.
2x – 5y + 8z = 0
–2x – 7y + z = 0
4x + 2y + 7z = 0
1 –5/2 4 0
0 –12 9 0
0 0 0 0
1
Applying R2 – 12 R2 we get
Linear Equations in Linear Algebra CHAPTER 1 33
1 –5/2 4 0
0 1 –3/4 0
0 0 0 0
5
Applying R1 R1 + 2 R2 we get
1 0 17/8 0
0 1 –3/4 0
0 0 0 0
Which shows that there is one free variable and first and second columns are pivot column but third column is not
pivot column.
Hence, the given system has non–trivial solution.
The last matrix gives
17 17
x+ 8 z=0x=– 8 z
3 3
y–4z=0y=4z
z is free z is free
Thus, the system Ax = 0 has the general solution in the form.
17 17
–8 z – 8
x
x= y =
3 =z 3 = zv
z 4z 4
z 1
17
– 8
where v =
3 is the non
4
1
Solution of Non–Homogeneous System
When a non–homogeneous linear system has many solutions, the general solution can be written
in the parametric form as the sum of one vector and arbitrary linear combination of vectors that
satisfy the corresponding linear system.
Parametric Form
If there are m free variables in the homogenous system Ax = 0, the solution set can be expressed
as the span of m vectors x = s1v1 + s2v2 + … + smvm. This is called a parametric equation or
parametric vector form of the solution.
Remarks:
i. In the non–trivial solution of the system Ax = 0 is x = zv (for z is free) then the form x = tv for t R is called
parametric vector equation and vector notation of this solution is called parametric vector form.
ii. When the two variable y and z are free variables then the parametric equation is
x = su + tv (for all s, t R)
34 Mathematics - II
For example:
Solve the following system of linear equations and write the solution in parametric form if possible.
x + 3y + z = 1
–4x – 9y + 2z = –1
–3y – 6z = –3
1 3 1 1
0 1 2 1
0 0 0 0
Applying R1 R1 – 3R2, we get
1 0 –5 –2
0 1 2 1
0 0 0 0
Here, the first and second column have a pivot. So, x and y are basic variables and third column is not pivot column.
The last matrix gives,
x – 5z = –2 x = –2 + 5z
y + 2z = 1 y = 1 – 2z
z is free z is free
The general solution of the system is
x –2 + 5z –2 5
x = y = 1 – 2z = 1 + z –2
z 1 0 1
–2 5
x = s + tv; where s = 1 and t = –2 be the parametric equation of solution of given system.
0 1
Linear Equations in Linear Algebra CHAPTER 1 35
1 2 5 0
4 3 –1 0
2 –5 –1 0
Applying R2 R2 – 4R1 and R3 R3 – 2R1 we get
1 2 5 0
0 –5 –21 0
0 –9 –11 0
9
Applying R3 R3 – 5 R2 we get
1 2 5 0
0 –5 –21 0
134
0 0 5 0
This matrix shows that there is no any free variable. So, this implies x1 = 0, x2 = 0, x3 = 0.
This implies, the system has only the trivial solution.
Hence, the set of vectors are linearly independent.
b. The given set of vectors are
1 4 2
v1 = , v2 = , v3 = 1
2 5
3 6 0
The augmented matrix form of the vectors v1, v2, v3 for the system Ax = 0 is
1 4 2 0
0 2 5 0
[v1 v2 v3 0] = 1 0 3 0
6 0 0 0
For echelon form,
Applying R2 R2 – 2R1 and R3 R3 – 3R1, we get
1 4 2 0
0 –3 –3 0
0 –6 –6 0
Applying R3 R3 – 2R2 we get
1 4 –2 0
0 –3 –3 0
0 0 0 0
Which is in echelon form and shows that the variable x3 is free. So, the system has non–trivial solution.
Hence, the given sets of vectors are linearly dependent.
W OR KE D O UT E X AM P LE S
Example 1:
Linear Equations in Linear Algebra CHAPTER 1 37
We have,
x – 2y + 3z = 0
–2x – 3y – 4z = 0
2x – 4y + 9z = 0
The augmented matrix of the given system is
1 –2 3 : 0
–2 –3 –4 : 0
2 –4 9 : 0
For row echelon form applying R2 R2 + 2R1 and R3 R3 – 2R1, we get
1 –2 3 : 0
0 –7 2 : 0
0 0 3 : 0
This matrix shows that there is no any free variable and all the columns are pivot columns.
Hence, the given homogenous system has only trivial solution.
Example 2:
Show that the following system has only non–trivial solution.
2x + 2y + 4z = 0
–4x – 4y – 8z = 0
–3x – 3y = 0
We have,
2x + 2y + 4z = 0
–4x – 4y – 8z = 0
–3x – 3y = 0
The given system has only non–trivial solution if they have at least free variable.
Form this,
The augmented matrix form of the given system is
2 2 4 : 0
–4 –4 –8 : 0
–3 –3 0 : 0
1
Applying R1 2 R1, we get
1 1 2 : 0
–4 –4 –8 : 0
–3 –3 0 : 0
Applying R2 R2 + 4R1 and R3 R3 + 3R1, we get
38 Mathematics - II
1 1 2 : 0
0 0 0 : 0
0 0 6 : 0
Applying R2 R3, we get
1 1 2 : 0
0 0 6 : 0
0 0 0 : 0
This matrix shows that these are two free variable (i.e. x2 is free and x3 is free). This implies that the given system has
only non–trivial solution.
Example 3:
Solve the following system of linear equations and write the solution set in parametric form if possible.
2x1 + 2x2 + 4x3 = 8
–4x1 – 4x2 – 8x3 = –16
–3x2 – 3x3 = 12
We have
2x1 + 2x2 + 4x3 = 8
–4x1 – 4x2 – 8x3 = –16
–3x2 – 3x3 = 12
The augmented matrix form of the given system is
2 2 4 : 8
–4 –4 –8 : –16
0 –3 –3 : 12
For row echelon form, applying R2 R2 + 2R1 we get
2 2 4 : 8
0 0 0 : 0
0 –3 –3 : 12
Applying R2 R3, we get
2 2 4 : 8
0 –3 –3 : 12
0 0 0 : 0
Which is in echelon form and shows that there is one free variable (i.e. x3 is free variable).
The general solution of the above system is
2x1 + 2x2 + 4x3 = 8
–3x2 – 3x3 = 12
x3 is free
x1 + x2 + 2x3 = 4
x2 + x3 = –4
x3 is free
x1 = 4 – x2 = 2x3
x2 = –4 – x3
x3 is free
Linear Equations in Linear Algebra CHAPTER 1 39
x1 = 8 – x3
x2 = –4 – x3
x3 is free
Thus,
x1 8 – x3 8 –1
x = x2 = –4 – x3 = –4 + x3 –1
x3 x3 is free 0 1
x = s + x3 r (i) which is in parametric form, where
8 –1
s = –4 and r = –1
0 1
Here, the equation (i) describes the solution set of Ax = b in parametric vector form.
Example 4:
1 4 2
Show that the given set of vectors u1 = 2 2 3 1 i.e. {u1, u2, u3} is linearly independent.
, u = 5 , u =
3 6 0
We have
1 4 2
u1 = , u2 = , u3 = 1
2 5
3 6 0
The given set of vectors {u1, u2, u3} is linearly independent if the augmented matrix of the system [u1, u2, u3, 0] has only
non–trivial solution.
1 4 2 : 0
The augmented matrix form is [u1, u2, u3, 0] = 2 5 1 : 0
2 6 0 : 0
Applying R2 R2 – 2R1 and R3 R3 – 3R1, we get
1 4 2 : 0
0 –3 –3 : 0
0 –6 –6 : 0
Applying R3 R3 – 2R2, we get
1 4 2 : 0
0 –3 –3 : 0
0 0 0 : 0
Which is in echelon form and shows that there is one free variable (i.e. x3 is free). This implies that, the system has
non–trivial solution.
Non–trivial solution Linearly independent
Hence, the given set of vectors {u1, u2, u3} is linearly independent.
Example 5:
Determine for what value of h, is {v1, v2, v3} linearly dependent?
40 Mathematics - II
1 –3 5
v1 = –3 , v2 = , v3 = –7
9
2 –6 h
The augmented matrix form of the vectors v1, v2, v3 for the system Ax = 0 is
1 –3 5 0
[v1 v2 v3 0] = –3 9 –7 0
2 –6 h 0
For echelon form,
Applying R2 R2 + 3R1 and R3 R3 – 2R1, we get
1 –3 5 0
0 0 8 0
0 0 h–10 0
Which is in echelon form and this matrix shows that the variable x2 is free. So, the system of equation have non–trivial
solution.
Hence, the set of vectors {v1, v2, v3} is linearly dependent for any value of h.
Exercise 1D
1. Determine if the system has a trivial solutions.
a. x1 – 3x2 + 7x3 = 0
–2x1 + x2 – 4x3 = 0
x1 + 2x2 + 9x3 = 0
b. x1 + x2 + x3 = 0
x 1 – x 2 + x3 = 0
3x1 + x2 + x3 = 0
2. Determine if the system has a non trivial solution.
2x1 – 5x2 + 8x3 = 0
–2x1 – 7x2 + x3 = 0
4x1 + 2x2 + 7x3 = 0
3. Determine if the vectors v1, v2, v3 are linearly independent.
5 7 9
v1 = 0 , v2 = 2 , v3 = 4
0 –6 –8
4. Show that the columns of the matrix
0 1 4
A= 1 2 –1 are linearly independent.
5 8 0
5. Show that the columns of the matrix.
Linear Equations in Linear Algebra CHAPTER 1 41
1 4 –3 0
A = –2 –7 5 1 are linearly dependent.
–4 –5 7 5
1 3 –1
6. For what value of h, the columns of the matrix A = –1 –5 5 is linearly dependent?
4 7 h
7. For what value of h, the set of vectors {v1, v2, v3} is linearly dependent?
1 –2 3
v1 = 5 ,v = –9 ,v = h
2 3
–3 6 –9
1. a. Trivial solution
17
–8
x1
2. x = x2 =x 3
3
x3 4
1
3. Linearly independent (x1 = 0, x2 = 0, x3 = 0)
6. Linearly dependent if h = 6
7. Linearly dependent of any value of h