Matrix - An Introduction
Matrix - An Introduction
Matrix- An Introduction
Suppose you have to disseminate some information or data that is scattered. What would you
do? Can you think of a way to organize the data so that the receiver gets a clear picture and so
that is becomes easy to store for future use?
Objectives
The objectives of this module are:
1. Discover the concept of a matrix
2. Interpret the structure of a matrix
Terminology
1. Matrix: a system or environment where something originates and develops.
2. Square matrix: a matrix where number of rows and columns are equal
3. Diagonal matrix: a square matrix where the diagonal elements are non-zero and all
other elements are zero
4. Scalar matrix: a diagonal matrix where all elements in the diagonal are equal
5. Identity matrix: a diagonal matrix where all diagonal elements are equal to 1
6. Triangular matrix: a matrix where all elements above or below the diagonal are zero
7. Upper triangular matrix: a matrix where all elements above the diagonal elements are
non-zero and elements below the diagonal are zero
8. Lower triangular matrix: a matrix where all elements below the diagonal elements are
non-zero and elements above the diagonal elements are zero
9. Transpose of a matrix: a matrix obtained by interchanging the rows and columns of the
original matrix
10. Symmetric matrix: if the transpose of a matrix is equal to the original matrix
11. Null matrix or zero matrix: all elements in a matrix are zero
the term matrix which is a Latin word for womb. Later in 1856, Arthur Cayley introduced matric
multiplication and inverse matrix.
Image 10.1 Joseph Sylvester [1] Image 10.2 Arthur Cayley [2]
[1]
https://en.wikipedia.org/wiki/James_Joseph_Sylvester#/media/File:James_Joseph_Sylvester.jpg
[2]
https://en.wikipedia.org/wiki/Arthur_Cayley#/media/File:Arthur_Cayley.jpg
The word matrix is widely used in many different fields of study. A matrix is a system or an
environment in which something originates and develops. It is an arrangement or an ordered
series of information. Matrix is used as a noun and the plural term is called “matrices”.
f) Literature: In literature, it is used to represent a system of lines and roads that cross
each other and form a series of different shapes in between.
g) Economics: In Economics, matrix may be used in a variety of ways, such as, study of a
market, study the interaction between industries in an economy, study the connection
between inputs and outputs of a production system.
Z=
In short hand, the elements of a matric are represented as Z i j , where i represents the element
in the i-th row and j is the element in the j-th column.
Thus, Z21 is the element in the 2 nd row and the first column and that is the number 7. Similarly,
Z32 is the element in the third row and second column that is number 1 and so on.
Z43 is the element in the fourth row and third column. Since there is no fourth row in the matrix
Z, hence, this is undefined.
Figure 4.1 is an example of an m x n (read as m by n) matrix; that is, there are m horizontal rows
and n vertical columns.
The elements of a matrix are usually denoted by a letter with two subscripts. In the above
example, the elements are denoted by a11, a12, a21, a22 and so on. a11 represents the element in
the first row and first column; a21 represents the element in the second row and first column
and so on.
B. Order or dimension of a matrix:
The total number of elements in a matrix is the order or the dimension of the matric. The order
is represented by the product of the rows and columns and is written on the bottom right hand
corner of the matrix.
Note: There is a rule for writing the order of a matrix, and that is, the number of rows is
multiplied by the number or columns. Thus, if “r” is the number of rows and “c” is the number
of columns, then the order of the matrix with “r” rows and “c” columns may be written as
“r x c”.
Thus,
is a matrix with two rows and two columns and may be written as 2 x 2 matrix. There are
(2 x 2) = 4 elements in this matrix. Since the number of rows and columns are equal, this is an
example of a square matrix.
Similarly,
is a matrix with two rows and three columns and may be written as 2 x 3 matrix. There are
(2 x 3) = 6 elements in this matrix. Since the number of rows and columns are not equal, this is
an example of a rectangular matrix.
Let us name the rows as D and E and the columns as A B C.
A B C
The possible connections that may be derived from the above matrix are DA, DB, DC, EA, EB and
EC. The element 1 means that there is some connection between the first row D and the first
column A, element 2 means that there is some connection between D and B and so on. Thus
there are six different connections.
10.4. Types of matrices used in Mathematics:
There may be different types of matrices depending upon the field of study. In Mathematics,
matrices are broadly categorized as rectangular or square matrix, as discussed above. Further,
matrices may also be of the following types:
a) Diagonal Matrix: A diagonal matrix is formed only in square matrices, where the
number of rows and columns are equal. If all the elements that form the diagonal of a
matrix are non-zero and all the other elements are zero, it is termed as a diagonal
matrix.
Example,
[ ]
The diagonal elements of the above matrix are 10, 14 and 6, that are non-zero and all the other
elements are zero.
The interdependence between industries in an economy may be represented by using a
diagonal matrix. If the output of one industry is not used as input in some other industry, the
element is zero. For example, sugarcane is used only in the sugarcane industry but is not used
in the groundnut industry.
b) Scalar Matrix: If all the elements in the diagonal of a diagonal matrix are equal, it is a
scalar matrix.
Example,
[ ]
In the above diagonal matrix, all the elements in the diagonal are equal, that is four. Such
matrices are termed as scalar matrix.
c) Identity Matrix: if all the elements in the diagonal of a diagonal matrix are equal to one,
it is an Identity Matrix.
Example,
[ ]
In the above matrix, all the elements in the diagonal are equal and equal to one. Thus, it is a
scalar matrix and is also an identity matrix.
An industry with a single line of production may form an identity matrix. For example, the water
transport industry has only a single line of production. Hence the product mix may be
represented by unity or one.
Note: A scalar matrix may not be an identity matrix, but an identity matrix is always a scalar
matrix. Similarly, a diagonal matrix may be a scalar matrix or an identity matrix, but a scalar
matrix or an identity matrix is always a diagonal matrix.
d) Triangular Matrix: A matrix may be a lower triangular matrix or an upper triangular
matrix. If all the elements above the diagonal elements of the matrix are zero and the
elements below the diagonal matrix are non-zero, then it is referred as a lower
triangular matrix. On the other hand, if all the elements below the diagonal elements
are zero and the elements above the diagonal elements are non-zero, it is termed as an
upper triangular matrix.
Example,
[ ]
[ ]
matrix.
g) Null or Zero Matrix: If all the elements of a matrix are zero, then it is known as a zero
matrix or a null matrix.
Example,
M=[ ] and N = [ ]
M+N=[ ]
Or, (M + N) = R (say) = [ ]
The elements in the above matrix give the total sales of the three products for January,
February and March.
Thus, the element 15 in the first row and first column is the total sales of product 1 from
market A and B in the month of January.
B. Matrix Multiplication
Rule:
Before multiplying two matrices, it should be kept in mind that the number of columns of the
first matrix must be equal to the number of rows in the second matrix.
In the example of the monthly sales of three products, suppose the prices of the products are
fixed at `5, `10 and `2.
This may be written as a column vector as:
3x1
Given the matrix of total sales:
R=[ ]
3x3
Therefore,
[ ][ ]
[ ]
[ ]
[ ]
[ ]