Linear Systems - Notes
Linear Systems - Notes
Introduction: In this topic you will learn how matrices, mainly the concept of rank help us in analyzing
the system of linear equations and finding its solution.
Matrices:
Matrix: A matrix is a rectangular array of numbers; the numbers in the array are called the elements of
the matrix.
The size of the matrix is described in terms of the number of rows (Horizontal lines) and number of
columns (Vertical lines). The matrix having m-rows and n-columns is denoted by
Am n aij , where aij is the element present in the ith row and jth column of the matrix A.
mn
Types of Matrices:
Row Matrix or Row vector: Matrix having one row.
Column Matrix or Column vector: Matrix having one column.
Square Matrix: Matrix having same number of rows and columns.
0, if i j
Upper triangular matrix: Am m aij , where aij
mm
0, if i j .
0, if i j
Lower triangular matrix: Am m aij , where aij .
mm
0, if i j
0, if i j
Diagonal Matrix: Am m aij , where aij .
mm
0, otherwise
k 0,
if i j
Scalar Matrix: Am m aij , where aij .
mm
0, otherwise
1, if i j
Unit Matrix: Am m aij , where aij .
mm
0, otherwise
Null Matrix: A matrix having all elements zero.
Matrix Algebra:
1. Equality of Matrices: Matrix A and B are said to be equal if and only if
i) A and B are of same order and
ii) Corresponding elements of A and B are equal.
2. Addition of Matrices: The matrices A and B are said to be compatible for addition if and only if they
are same order. The sum of A and B denoted by A+B is obtained by adding corresponding elements.
If Am m aij , and Bmn bij , then Cmn A B aij bij
mm mm mm
i.e.A B is the matrix obtained by adding the entries of B to the corresponding entries of A.
3. Scalar Multiplication: If A is any matrix and c is any scalar, then the product cA is the matrix
obtained by multiplying each element of matrix A by c.
Properties of Addition and Scalar multiplication:
1. A B B A (Commutative)
2. A ( B C ) ( A B) C ( Associative)
3. A 0 0 A A (0 Null matrix Additive Identity)
4. A B A C B C (Cancellation Law)
5. ( A B) A B (distributive Law)
4. Multiplication: The matrices A and B are said to be compatible for multiplication A B I, if number
columns of A is equals to number of rows of B.
p
If A aij and B bkj , then A B aik bkj
m p p n
k i mn
Properties Matrix multiplication:
1 1
4. For any non zero scalar k , kA
1
A
k
5. An is invertible and ( An ) 1 A1
n adj ( A)
6. A1
det( A)
Symmetric Matrix: A square matrix A is said to be symmetric if and only if
A A. i.e. If A aij
T
, then aij a ji .
nn
1 0 1 2
R1 2 R2 E3 E2 E1 A , E3
0 1 0 1
1 0 1 0 1 2
E3 E2 E1 A I A E11E21E31
2 1 0 2 0 1
Illustrative Examples:
1 4 5 9 7
1 1 1 5 2 1 1 1 5 2 1 1 1 5 2
0 3 2 0 1 2 0 1 2 7 3
2 3 7 3
R23 R2
0 1 2 7 3 0 3 2 2 3 0 3 2 2 3
0 3 6 4 5 0 3 6 4 5 0 3 6 4 5
1 1 1 5 2
0 1 2 7 3
R3 3R2 , R4 3R1 ( A) 4
0 0 8 23 12
0 0 0 25 4
Q 2) Find the rank of the matrix by reducing it to an Echelon form.
am1 x1 am 2 x2 amn xn bm
1 2 4 0 1 2 4 0
R2 R1 & R3 2 R1 0 0 9 3 R3 R2 0 0 9 3
11
9
0 0 11 1 8
0 0 0 3
( A) 3 4 , system has a non-trivial solution.
Equivalent system is
x1 2 x2 4 x3 0 ---------- (i) 9 x3 3 x4 0 ---------- (ii)
8
x4 0 ---------- (iii) From (iii), x4 0 ---------- (iv)
3
From (ii) & (iv), x3 0 Here x2 is a free variable (as x2 is a non-pivot element)
Let x2 k x1 2k
x1 2k 2
x k 1
Solution vector X 2 k
x3 0 0
x4 0 0
Q 2) Investigate the values of a and b so that the equations
2 x 3 y 5z 9
7 x 3 y 2 z 8 have (i) no solution (ii) unique solution (iii) infinite solutions.
2 x 3 y az b
2 3 5 : 9 2 3 5 : 9
Solution. [ A : B] 7 3 2 : 8 R2 3R1 1 6 17 : 19
2 3 a : b 2 3 a : b
5 2 3 5 2 3 1 8 7
Consider 6, A 3 5 2 R3 R2 R1 3 5 2 R1 2 R2 3 5 2
2 3 5 0 0 0 0 0 0
1 8 7
R2 3R1 0 19 19 ( A) 2, No of free variables is 1, let z k , y k , x k
0 0 0
Practice Examples
Q 1) Determine real values of a so that the system of equations have non-trivial solution
x 2 y ax, 3 x y 2 z ay, and 2 x 3 y z az . Solve the system for this value of a .
Draw the graph of above equations for this value of a using any free online graphical software and show the
solution graphically.
Q 2) Determine whether the following set of equations possesses non-trivial solution. Draw the graph of above
equations using any free online graphical software and show the solution graphically.
x 2 y 3 z 0, 2 x 3 y 4 z 0, 2 x 4 y 9 z 0 .
Q 3) i) Use any free graphical software to graph the following system.
ii) Use the graphs to determine whether the system is consistent or not.
iii) If the system is consistent, show the approximate solution graphically.
iv) Solve the system algebraically also.
v) Compare the solution obtained in step (iii) and step (iv). Write your conclusion.
a) 3 x y 3, 6 x 2 y 1 b) 2 x 8 y 3, x 2 y 0 .
Q 4) Find the values of a , b and c such that the system of equations has i) exactly one solution
ii) infinite solutions iii) no solution. x 5 y z 0, x 6 y z 0, 2 x a y b z c .
Draw the graph of above equations using any free online graphical software for each of the above situations.
Q 5) Determine the values of k such that the following system of equations does not have a unique solution.
x y kz 3, x ky z 2, kx y z 1 .
Solve the system for these values of k . Draw the graph of above equations using any free online graphical
software and show the solution graphically
Q 6) Investigate the values of and such that the system
x y z 6, x 2 y 3 z 10, x 2 y z has i) No solution ii) A unique solution
iii) An infinite solutions.
Q 7) Investigate for consistency and if possible find solution
i) x y z 6; x y 3 z 1: 15 x 3 y 9 z 21
ii) 2 x1 x2 2 x3 x4 6, 6 x1 6 x2 6 x3 12 x4 36
iii) 4 x1 3x2 3x3 3x4 1, 2 x1 2 x2 x3 x4 10