Lecture1.1. Basic Definitions of Matrices
Lecture1.1. Basic Definitions of Matrices
1.1.1 Matrix
A n x m matrix is a rectangular array arranged in n-rows and m-columns
Examples.
A 2 x 3 matrix is rectangular array of objects, written in 2-rows and
3- columns. These objects can be numbers or functions.
2 1 0
A is 2 x 3 matrix,
5 2 x
with a11 2, a12 1, a13 0, a 21 5, a 22 2 and a 32 x
3 2 4
B= 5 9 8 is 3 x 3 matrix
-1 0 4
C= 3 is 1 x 1 matrix
Example.1.
Examples:
0 1 2
2 0
(i) is 2 x 2 matrix (ii) 9 7 4 is 3x3 matrix
3 1 3 5 1
1 x x2 ex
(iii) x 1 2 0 2 x is 3x4 matrix (3 rows x 4 columns )
0 0 5 x
2. Square Matrix: If n = m that is number rows and columns are equal, then the
matrix is square matrix.
1 2
A= , 2x2 is a square matrix
3 4
If number of rows and columns are not equal ( n ≠ m ) then matrix is called Rectangular
matrix.
2 3 1 0
B 3 1 0 7 is 3x 4 matrix
1 1 1 5
3. Row Matrix: Matrix with only one row and can contain any number of columns
4. Column Matrix: Matrix with only one column and can contain any number of rows
1
2
C = , 4x1 is a column matrix
3
4
5. Zero Matrix: A zero matrix is a matrix of nay order whose all entries are zero.
0 0
O= , is a zero matrix.
0 0
6. Diagonal Matrix: A square matrix with all its non- diagonal entries are zero.
1 0 0
Examples. A 0 2 0
0 0 1
2 0
B
0 3
7. Unit Matrix: A diagonal matrix with all diagonal entries are one ‘1’
1 0 0
I 0 1 0
0 0 1
y= mx .1
Example:3
2x 3y 5, x y 2 are linear equations in two variables x
and y and are known as equations of line.
Example:4
2x 3y 4z 5, x y 2z 2
are linear equations in three variables x, y and z and are known as equations of
plane.
a1x1 a2 x2 a3 x3 .... an xn b .2
where x1, x2 , x3 ,..., xn are variables or unknowns and a’s and b’s
are constants.
2x 3 y 4z 5
x 2y z 2
3x 7 y 3z 3
x 3 y 4z 2
x 3 y 4z 0
2
x y z 2
3
3x y 3z 3
Example:3. Write the matrix and augmented form of the system of linear equations
3x – y + 6z = 6
x+y+ z=2
2x + y +4z = 3
Solution:
1. Matrix form of the system is
3 1 6 x 6
1 1 1 y 2 AX B
2 1 4 z 3
3 1 6 6
2. Augmented form is A : b 1 1 1 2 .
2 1 4 3
x - 3y 3 E1
2x y 8 E2
Solution: Eliminating x from both equations, we subtract twice E1 from E2
-2E1 + E2
2x 6 y 6
2x y 8
______________
+7y = 14 y=2
From Eq. 1
x = -3 +3y
x = -3 + 6 = 3
Example.2. No solution
Solve the system of equations
x - 3y 7 1
2x - 6 y 7 2
Solution:
2E1 - E2
2x - 6 y - 7
2 x 6 y - 14
_____________________
0 + 0 = -21
This makes no sense as 0 -21, hence there is no solution. System is inconsistent
a1 x - b1 y c1 l1
a2 x - b 2 y c2 l2
Note:1. A system will have unique solution (only one solution) when number of unknowns
is equal to number of equations.
Note:2. A system is over determined, if there are more equations then unknowns and it
will be mostly inconsistent.
Note:3. A system is under determined if there are less equations then unknowns and it may
turn inconsistent.
x 2y 2 E1
2x 4y 4 E2
Solution. Adding multiple E1 by –2 to E2
- 2x 4y 4 E1
2x 4y 4 E2
_______________________
00 x 2y 2
x 2 - 2y
Let y 2 x 2 4 2, solution is x -2 and y 2
There is solution for each value of y,
hence system has infinite many solutions. Such system is known as consistent.