BBA Business Mathematics 04 PDF
BBA Business Mathematics 04 PDF
04 Matrix Algebra
Names of Sub-Topics
Overview
In this module, you will learn the matrix, its order and the types of matrices. This module covers
the operation of matrices like addition, subtraction, multiplication, etc. Towards the end, you will be
introduced to equal matrices and some properties of matrices.
Learning Objectives
Learning Outcomes
https://courses.lumenlearning.com/boundless-algebra/chapter/introduction-to-matrices/
product/
https://www.geeksforgeeks.org/matrices-and-its-types-class-12-maths/
4.1 INTRODUCTION
Matrices are useful in various branches of mathematics. Matrices simplify the work as compared to
other straightforward methods, and this is the reason, matrices are the most powerful tools in the field
of Mathematics. To find the solution to the system of linear equations easily and compactly, the concept
of matrices came into existence.
Matrices are essential in 3D mathematics, where they are used to define the relationship between two
coordinate spaces. They accomplish this by defining a procedure for transforming vectors from one
coordinate space to another.
This mathematical tool is not only used in the field of mathematics and science but is also used in
different fields like economics, genetics, modern psychology, sociology, industrial management. Also,
matrices are used in business for cost estimation, budgeting, analysing the results of an experiment,
sales projection and cryptography, etc.
4.2 MATRIX
In linear algebra, a matrix is a rectangular arrangement of numbers that are arranged into rows and
columns. As vector is a one-dimensional array of numbers, similarly a matrix is two-dimensional array
of numbers.
A matrix is a rectangular array in which numbers, functions or symbols are arranged in a row and
column. The horizontal lines in the matrix are known as rows and vertical lines are known as columns.
A matrix having m rows and n columns is called a matrix of order m × n. Elements of matrices are
written inside the square bracket [ ]. m and n should be a natural number. For example,
−1 1
(1) 0 1 is the matrix of order 2 × 2 as it has 2 rows and 2 columns.
(2) [3 1 5] is the matrix of order 1 × 3 as it has 1 row and 3 columns.
2
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
The element in the ith row and jth column in the m × n matrix A is denoted by aij. m × n matrix can be
represented as A = [aij]m×n where i = 1, 2,...,m and j = 1, 2,...,n.
1 −1 0
Example 1: Consider the matrix B = 2 0 5 . Find the number of elements in matrix B.
1 5 3
Solution: Matrix B has 3 rows and 3 columns. Thus,
Total number of elements in matrix B = 3 × 3 = 9
2 5 3
0 −1 3
Example 2: Consider the matrix A = 2 0 0 . Find the total number of elements in matrix A.
2 5 2
3
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
Solution: The total number of elements can be obtained by multiplying the number of rows, say m, with
the number of columns, say n. And, m × n will be the order of the matrix.
Since m×n = 9, thus, possible order is 1 × 9, 9 × 1 and 3 × 3.
Example 5: A matrix has 16 elements then what are the possibilities for the order of this matrix?
Solution: The total number of elements can be obtained by multiplying the number of rows, say m, with
the number of columns, say n. And, m × n will be the order of the matrix.
Since m×n = 16, thus, possible order is 1 × 16, 16 × 1, 2 × 8, 8 × 2 and 4 × 4.
4
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
A square matrix D = aij of order n is called diagonal if it has all its non-diagonal elements zero.
nn
That is, square matrix D = aij nn is a diagonal matrix if aij = 0 for i j .
1 0 0 0
For example, is a diagonal matrix of order 2. Similarly, is a diagonal matrix.
0 −3
0 0
NOTE: Elements that lie on the main diagonal or leading diagonal of any square matrix are called
diagonal elements. For example, in the preceding example, 1 and -3 are diagonal elements. All elements
except diagonal elements are called off-diagonal elements.
A diagonal matrix A = aij nn of order n is called scalar if it has all its diagonal elements equal. That is,
square matrix A = aij nn is the scalar matrix if aij = 0 for i j and aij = c for i = j .
1 0 3 0 0
For example, is a scalar matrix of order 2. Similarly, 0 3 0 is a scalar matrix of order 3.
0 1 0 0 3
A diagonal matrix I = aij is an identity matrix if all its diagonal elements are 1’s. That is, I = aij
nn nn
is the identity matrix of order n if aij = 0 for i ≠ j and aij = 1 for i = j. The identity matrix is also known as
the unit matrix.
5
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
1 0 1 0 0
For example,
and 0 1 0 are identity matrices of order 2 and 3 respectively.
0 1 0 0 1
Note: The identity matrix is a scalar matrix, but a scalar matrix may not be the identity matrix. For example,
6 0
is a scalar matrix but not an identity matrix.
0 6
2
5 3
0 −1 3
For example, is a rectangular matrix as its number of rows, which is 4, is not equal to the
2 0 0
2 5 2
number of columns, which is 3.
1 0 1 0 0
For example, and 2 −2 0 are lower triangular matrices of order 2×2 and 3×3 respectively.
−3
0
0 −3 2
0 0
In a lower triangular matrix, the main diagonal entries could be zero. −1 0 is also a lower triangular
matrix.
6
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
0 −1 0 0 3
For example, and 0 −2 0 are an anti-diagonal matrix of order 2 and 3 respectively.
1 0 1 0 0
Example 6: “Identity matrix is a scalar matrix.” Is it true? Give an example of a scalar matrix of order 3.
1 0 0
Solution: If an identity matrix of order 3 is written, then it will be 0 1 0 . According to the definition
0 0 1
of the scalar matrix, a diagonal matrix in which all the diagonal entries are the same then it is a scalar
matrix. Since all the diagonal entries are 1’s, the identity matrix is a scalar matrix. But the converse
2 0 0
is not true, that is, all scalar matrices cannot be identified. For example, 0 2 0 is scalar but not
0 0 2
identity matrix.
2 0 0
An example of the scalar matrix is 0 2 0 .
0 0 2
Example 7: Write a matrix that is upper triangular as well as a lower triangular matrix.
Solution: According to the definition of upper triangular, all the entries below the main diagonal should
be zero. Similarly, for the lower triangular matrix, all the entries above the main diagonal should be
zero. If both these statements are combined, a matrix in which all entries are zero below and above of
main diagonal is required, and such a matrix is a diagonal matrix.
2 0 0
Thus, 0 0 0 is an example of a diagonal matrix of order 3 which is an upper triangular as well as
0 0 5
a lower triangular matrix.
7
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
Consider the two matrices A = aij mn and B = bij mn of the same order m × n. The addition of these
1 −1 0 2 3 0
For example, let A = 0 2 3
and B =
1 −1 3 , thus, the addition of matrices A and B will be;
1
A + B = −1 0 2 3 0
0 2 3 + 1 −1 3
1 + 2 −1 + 3 0 + 0
=
0 + 1 2 + (−1) 3 + 3
3 2 0
=
1 1 6
−2 + 3 1 + 4 5 + (−5)
10 + 9 7 + 2 2 + (−2)
=
9 + 8 4 + 0 1 + (−5)
1 5 0
= 19 9 0
17 4 −4
3
Example 9: Find the addition of two matrices A = −2 −1 −2
and B = −3 −4 .
7 2
Solution: The addition of two matrices A and B can be found by adding corresponding elements on both
matrices. That is,
3 −2 −1 −2
A+B= −3 −4
7 2
+
8
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
3 + (−1) −2 + (−2)
( ) 2 + (−4)
= 7 + −3
2
−4
= 4 −2
Consider the two matrices A = aij mn and B = bij mn of the same order m × n. Subtraction of matrix
−1 2 3 0
For example, let A = and B = , thus, subtraction of matrices A and B will be;
−3 0 4 −1
−1 2 3 0
A - B = −3 0 – 4 −1
−1 − 3 2−0
= −3 − 4 0 − (−1)
−4 2
=
− 7
1
56 14 45 13 4 −51
Example 10: Determine the matrix P - Q, where P = 17 21 42 and Q = 9 22 −2 .
14 46 11 8 0 −15
56 − 13 14 − 4 45 − (−51)
17 − 9 21 − 22
= 42 − (−2)
14 − 8 46 − 0 11 − (−15)
43 10 96
= 8 −1 44
6 46 26
9
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
−1 2 11 6 −5 2
Example 11: Determine matrix P + Q – R where P = ,Q= and R = .
1 4 10 3 7 5
15 4
=
4 2
Consider the matrix A = aij of order m × n. Scalar multiplication of matrix A is defined as;
mn
−1 2
For example, let A = . If matrix A is multiplied by 2, then the result will be
−
2 −1 2 = 2(−1) 2(2) = −2
( ) −6 0
4
−3 0 2( − )
3 2 0 30
NOTE: For the addition or subtraction of matrices, the order of matrices should be the same. It is not possible to
add or subtract matrices of a different order.
5 4 5
Example 12: Let matrix A = −1 2 4 . Find matrix -3A.
14 −6 11
Solution: To find the matrix -3A, one has to multiply scalar -3 to matrix A. Thus,
5 4 5
-3A = –3 −1 2 4
14 −6 11
−3(14)
−3(−6) −3 ( 11 )
10
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
1 2 −2 7
Example 13: If matrix A = and B = , then find 2A + B.
4 0 2 1
Solution: To find the matrix 2A + B, multiply matrix A by scalar 2 and then add with matrix B. That is,
1 2 −2 7
2A + B = 2 + 2 1
4 0
2 4 −2 7
= 8 0 + 2 1
2 − 2 4 + 7
= 8 + 2 0+ 1
0 11
= 10 1
For example,
−1 2 3 0
(1) Consider A = and B = . Multiplication of matrix A and B is;
−3 0 4 −1
−1 2
3 0 = −1 ( 3 ) + 2(4) −1(0)+ 2(−1)
−3 0 4 −1 −3(3)+ 0(4) −3(0)+ 0(−1)
−3 + 8 0 − 2
=
−+
5 −2
= +
0
−9
9 0 0
5 −2
The resultant matrix is of order 2×2.
−9 0
11
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
−1
(2) Consider A = 1 −2 and B = 2 . Multiplication of matrix A and B is;
2
1
−1
1 −2 2 = 2 ( −1 ) + 1 ( 2 ) − 2(1)
2
1
= − 2 + 2 − 2
= − 2
The resultant matrix is − 2 of order 1×1.
2 0 −1
(3) Consider P = and Q = 3 . If matrix P is multiplied with Q then it is not possible because P
0 −2
1
and Q are of order 2×2 and 3×1 (the number of columns in P is not equal to the number of rows in Q).
Therefore, PQ cannot be defined. Similarly, one can check that QP is also not defined.
Note: Suppose A is a square matrix of order n and I is an identity matrix of order n, then the multiplication of
matrix A and I is equal to matrix A, that is, AI = A = IA.
1 −5 3 −2 6 1
Example 14: If matrix U = 0 −2 6 and V = 7 0 −3 , then find matrix UV.
7 2 −4 2 4 5
7 ( −2 ) + 2 ( 7 ) − 4(2)
7 ( 6 ) + 2 ( 0 ) − 4( 4) 7 ( 1 ) + 2 ( −3) − 4 ( 5 )
−31 18 31
= −4 24 36
−8 26 −19
12
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
1 0
Example 15: Find A2 + 2A + 3I , where A = and I is an identity matrix.
0 6
1 0
=
0 36
Thus,
1 0 1 0 1 0
A2 + 2A + 3I = + 2 + 3
0 36 0 6 0 1
1 0 2 0 3 0
= + +
0 36 0 12 0 3
6 0
=
0 51
−1 0 5 1
Example 16: Find ( A + B) , where A =
2
and B = .
0 3 0 3
Solution: Firstly, one needs to find the addition of two matrices A + B. That is,
−1 0 5 1
A+B= +
0 3 0 3
−1 + 5 0 + 1
= 0+0 3+ 3
4 1
=
0 6
4 1 4 1
(A + B)2 =
0 6 0 6
16 10
=
0 36
13
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
m × n. Matrix A and B will be equal if aij = bij for all i = 1,2, 3,…,m and j = 1,2, 3,…,n .
a a b b
11 a12 a2313 and B = 11 b12 b2313 are two matrices of order 3, matrix A will be equal to
Let A = a21 b21
a22 b22
a31 a32 a33 b31 b32 b33
NOTE: If matrices A and B are not of the same order then the equality of both matrices will not be checked.
2a + b c 6 −1
Example 17: Find the value of a, b and c such that =
2 b 2 2
.
Solution: Two matrices will be equal if both are of the same order and their corresponding elements are
the same. Thus, the result is 2a+b = 6; b = 2 and c = -1 by equating the corresponding elements of both
matrices.
Therefore, the value of a, b and c are 2, 2 and -1 respectively.
10 55 20
Example 18: Consider a square matrix A such that 5A = 25 10 −35 . Determine the matrix A.
−5 −40 0
2 11 4
A = 5 2 −7
−1 −8 0
14
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
1 −1
Example 19: Find (A +I )( A −I ) , where A = and I is an identity matrix.
0 2
A2 = AA
1 −1 1 −1
=
0 2 0 2
1 −3
=
0
1
4
A −I =
2
−3 1 0
−
0 4 0 1
0 −3
=
0 3
0
Thus, (A +I )( A −I ) = −3
.
0 3
One can also find (A +I )( A −I ) by determining (A + I) and (A - I), and then by multiplying both obtained
matrices.
1. If A = aij and B = bij are matrices of order m × n, then matrices satisfy the commutative law
under matrix addition operation. That is, A + B = B + A.
2. Matrices satisfy the associative law under matrix addition operation. That is, if A, B and C are three
matrices of same order then (A+ B) + C = A + (B + C).
3. If A = aij is a matrix of order m × n, then there exists a zero matrix O of the same order m × n such
that A + O = O + A = A, where O is the additive identity for matrix addition. This property is known as
the existence of additive identity.
4. If A = aij is a matrix of order m × n, then there is a matrix −A = − aij = −aij such that A + (-A) =
O = (-A) + A, where -A is the additive inverse or negative of matrix A. This property is known as the
existence of additive inverse.
5. Matrices do not hold commutative law under matrix multiplication. That is, If A and B are two
matrices of some order such that AB and BA are defined then AB ≠ BA.
6. If A = aij is a square matrix of order n, and I is an identity matrix of order n, then AI = A = IA.
15
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
7. If A = aij and B = bij are matrices of order m × n, then k ( A + B) = kA + kB for any scalar k.
9. If A and B are matrices of order m × n and n × p respectively, then both AB and BA are defined if p =
m.
10. If the multiplication of two matrices A and B is zero, that is, AB = 0, then it is not necessary that
either A = 0 or B = 0.
Example 20: Give an example of two matrices A and B such that AB = 0 but A ≠ 0 and B ≠ 0.
2 0 0 0
Solution: Consider the matrix A = and B = .
1 −1
1 0
Multiplication of matrix A and B is;
2 0 0 0
AB = 1 0 1 −1
0 0
=
0 0
Here, A ≠ 0 and B ≠ 0 but AB = 0. Thus, it is clear that it is not necessary if AB = 0 then either A = 0 or B = 0.
After comparing the corresponding values, one gets k = 1. Therefore, the value of k is 1.
Example 22: Give an example of matrix that is row matrix as well as a column matrix.
Solution: A matrix that has only one row is row matrix, and a matrix that has only one column is called
column matrix. From the definition of row and column matric, it is concluded that a matrix that has
only one column and one row will be row and column matrix. That is, all those matrices of order 1 × 1 will
be row matrix and column matrix both.
For example, [3] is a matrix of order 1 × 1 such that it is row matrix as well as column matrix.
16
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
⚫ A matrix is a rectangular array in which numbers, functions or symbols are arranged in a row and
column.
⚫ If a matrix has m rows and n columns then it has total m*n elements.
⚫ A matrix having only one row is said to be row matrix.
⚫ A matrix having only one row is said to be row matrix. In general, A = aij 1n is represented as row
matrix, where j = 1,2,…,n .
⚫ A matrix having only one column is said to be column matrix. In general, A = aij m1 is represented
as a row matrix, where i = 1,2,…,m .
⚫ A matrix is said to be a zero matrix if all the elements in the matrix are zero.
⚫ If the number of rows and number of columns are equal in a matrix, that matrix is called square
matrix.
⚫ A square matrix D = aij nn of order n is called diagonal if it has all its non-diagonal elements zero.
That is, square matrix D = aij nn is diagonal matrix if aij = 0 for i j .
⚫ A diagonal matrix A = aij nn of order n is called scalar if it has all its diagonal elements equal. That
is, square matrix A = aij is scalar matrix if aij = 0 for i j and aij = c for i = j .
nn
⚫ A diagonal matrix I = aij is an identity matrix if all its diagonal elements are 1’s. That is,
nn
I = aij nn is identity matrix of order n if aij = 0 for i j and aij = 1 for i = j .
⚫ A square matrix in which all the elements below main diagonal entries are zero is called an upper
triangular matrix. If square matrix B = bij nn of order n is an upper triangular matrix then bij = 0
for all i j .
⚫ A square matrix in which all the elements above main diagonal entries are zero is called lower
triangular matrix. If square matrix B = bij nn of order n is a lower triangular matrix then bij = 0
for all i j .
⚫ A square matrix in which all the elements are zero except the diagonal elements from lower-left
corner to the upper right corner, is called an anti-diagonal matrix.
⚫ Addition and subtraction of two matrices is possible if matrices are of the same order.
⚫ Addition of two matrices A = aij mn and B = bij mn is defined as; A + B = aij + bij .
mn
⚫ Subtraction of two matrices A = aij and B = bij is defined as; A - B = aij − bij .
mn mn mn
17
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
4.8 GLOSSARY
⚫ Matrix: A matrix is a rectangular array in which numbers, functions or symbols are arranged in a
row and column
⚫ Diagonal Matrix: A square matrix D = aij of order n is called diagonal if it has all its non-
nn
⚫ Identity Matrix: A diagonal matrix I = aij is an identity matrix if all its diagonal elements are
nn
1’s. That is, I = aij nn is identity matrix of order n if aij = 0 for i j and aij = 1 for i = j
⚫ Scalar Matrix: A diagonal matrix A = aij of order n is called scalar if it has all its diagonal
nn
elements equal
⚫ Equal Matrices: Two matrices will be equal if both matrices have the same dimension and
corresponding elements are the same
⚫ https://www.math.tamu.edu/~dallen/m640_03c/lectures/chapter2.pdf
⚫ https://www.britannica.com/science/matrix-mathematics
19
VIGNAN’S
Foundation for Science, Technology & Research ONLINE
( Deemed to be UNIVERSITY)
-Estd. u/s 3 of UGC Act 1956
Driving your future Business Mathematics
20
VIGNAN’S ONLINE
MODULE 04: Matrix Algebra
Foundation for Science, Technology & Research
21