











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
Matrix Algebra
Definition of matrix: In simple word, matrix is rectangular arrangement
of numbers (real or complex) in two brackets. In general word, when the
numbers, parameters or variables are arranged by algebraically, then it is
termed as matrix.
Suppose, A is a matrix of order m×n (i. e, one having m rows and n
columns) may be written as
=
m m m mj mn
i i i ij in
j n
j n
a a a a a
a a a a a
a a a a a
a a a a a
A
...... ..........
....................................................
....... ............
....................................................
...... ..........
...... ..........
1 2 3
1 2 3
21 22 23 2 2
11 12 13 1 1
Where aij(i=1,2,3…………..,m) and (j=1,2,3………………,n) is the
element of i th row and j th column.
Define the order of a matrix with example
Definition: The order of a matrix is the number of row in first and the
number of column in second, that is, order=number of rows×number of
column. If m numbered rows and n numbered columns of a matrix, then
the order of that matrix is m×n (read as m by n)
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
Example,
31 32 33
21 22 23
11 12 13
a a a
a a a
a a a
A is a matrix of order 3×
Different types of matrix
Row matrix: A matrix having only one raw is called a row matrix such
as
Column matrix: A matrix having only one column is called a column
matrix such as
A is a column matrix of order 3×
Null matrix: A matrix having all the elements are zero is called null
matrix. Such as,
B is a null matrix of order 3×
Unit matrix or identity matrix: A square matrix having the principal
diagonal elements are 1 and the other elements are 0 (zero) is called an
unit or an identity matrix. It is generally denoted by In. Such as,
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
Formula one : Order of a matrix= The number of rows× the number of
columns
Formula two: Equality of matrices
Let the matrix,
21 22
11 12
a a
a a A and
21 22
11 12
b b
b b B will be
equal if a 11 = b 11 , a 12 = b 12 , a 21 = b 21 and a 22 = b 22
Formula three: Addition and subtraction of matrix
If
21 22
11 12
a a
a a A and
21 22
11 12
b b
b b B , then
21 21 22 22
11 11 12 12
a b a b
a b a b A B and
21 21 22 22
11 11 12 12
a b a b
a b a b A B
Formula four: Scalar multiplication of matrix
If
21 22
11 12
a a
a a A , then
21 22
11 12
ka ka
ka ka kA
Formula five: Matrix multiplication
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
If
21 22
11 12
a a
a a A and
21 22
11 12
b b
b b B , then
21 11 22 21 21 12 22 22
11 11 12 21 11 12 12 22
21 22
11 12
21 22
11 12
a b a b a b a b
a b a b a b a b
b b
b b
a a
a a A B
Problem 01:
If
C , Then find the following:
(i) A + B
(ii) ( A − B )+ C
(iii)^2 A^ +^3 B
(iv) 2 ( B + C )
(v) 4 A + 3 B + 2 C
Problem 02:
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
Problem 06: If
A and
B , then show that (i)
( )
T (^) T T A + B = A + B (ii)( )
T (^) T T AB = B A
Problem 07:
If
B and
B 3 B A 0 (Nullmatrix),find thematrix A
2
Procedure to find the inverse of a matrix:
To find inverse of the matrix A , we have to follow the following rule
(i) To determine A
(ii) To be checked whether it is A =0 or A 0
(iii) If A =0, then A is said to be singular and A-^1 does not exist.
(iv) If A 0 , A is non-singular and A-^1 exist.
Formula:
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
Adj A A =
− 1
Procedure for finding cofactor associated with element aij:
original matrix. Focus upon the remaining elements in the matrix.
The remaining elements form a submatrix of the original matrix.
is called the minor of the element aij.
computing the cofactor is ( 1 ) (theminor)
i j aij
= −
To determine adjoint matrix of A, follow the following steps:
Therefore, Adj A=AcT
Question No. 1: Find the inverse matrix of
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
B1. The following matrix gives the number of units of three products ( P,
Q and R ) that can be processed per hour on three machines ( A, B and C ):
A B C
P
16 18 14
13 11 20
10 12 15
Q
R
Determine by using matrix algebra, how many units of each product
can be produced if the hours available on machines A, B and C are 54,
46 and 48 respectively.
Solution:
Units of products=
A B C
P
16 18 14
13 11 20
10 12 15
48
46
(^) 54 A
Q B
R C
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
=
=
2364
2168
1812
864 828 672
702 506 960
540 552 720
Therefore, 1812, 2168 and 2364 units of product P, Q and R are
produced respectively.
B1. A manufacturing unit produces three types of mobile sets M 1 ,
M 2 , M 3. The following matrix shows the sales of mobile sets in two
different markets
300 200 100
400 300 200
M 1 M 2 M 3
If cost price of it each set M 1 , M 2 , M 3 is Tk. 1000, Tk. 2000 and Tk.
3000 respectively and selling price is Tk. 1500, Tk. 3000, Tk. 4000
respectively. Find the total profit using matrix algebra only.
Solution:
Let, Q=quantity matrix of mobile sets
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
=
1450000
2300000
450000 600000 400000
600000 900000 800000
4000
3000
1500
300 200 100
400 300 200
Total cost= Quantity matrix of mobile sets ×Matrix of cost price
=
1000000
1600000
300000 400000 300000
400000 600000 600000
3000
2000
1000
300 200 100
400 300 200
Therefore, total profit= Total sales – Total cost
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
−
450000
700000
1000000
1600000
1450000
2300000
Total profit in first market=TK. 700000
Total profit in second market=Tk. 450000
Total profit in two markets=700000+450000=
B3. A manufacturer produces three products: P, Q and R which he
sells in two markets. Annual sales volumes are indicated as
follows:
Markets Products
P Q R
I 10,000 2000 18000
II 6000 20000 8000
If unit sale prices of P, Q and R are Rs. 2.50, 1.25 and 1.
respectively, find the total revenue in each market with the help of
matrix algebra.
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
purchases 1 share of price x, 4 of price y and 10 of price z. find x, y and
z.
Solution: We obtaine the following set of simultaneous linear equations
2x+5y+3z=
4x+3y+6z=
x+4y+10z=
B5. To control
Solution of three linear equations
In order to illustrate we take the following system of three linear
equations:
a 1 x+b 1 y+c 1 z=d 1
a 2 x+b 2 y+c 2 z=d 2
a 3 x+b 3 y+c 3 z=d 3
Forming a determinant by taking the co-efficient of x, y and z
0
3 3 3
2 2 2
1 1 1
=
a b c
a b c
a b c
D
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
The column of the co-efficient of x is replaced by the column of
the constant terms.
=
3 3 3
2 2 2
1 1 1
d b c
d b c
d b c
Dx
The column of the co-efficient of y is replaced by the column of
the constant terms.
=
3 3 3
2 2 2
1 1 1
a d c
a d c
a d c
Dy
The column of the co-efficient of z is replaced by the column of
the constant terms.
=
3 3 3
2 2 2
1 1 1
a b d
a b d
a b d
Dz
Then the required solution will be
D
D z D
D y D
D x
x y z = , = , =
B6: Solve the following system of linear equation by Cramer’s rule and
matrix inverse method:
Instructor: Dr. K. M. Salah Uddin, Assistant Professor
Department of Management Information Systems
University of Dhaka
=
5 1. 5 3. 3 0. 6 0. 2
4 2. 0 1. 1 0. 1 0. 4
2 1. 1 0. 5 0. 5 0. 2
5 2. 8 3. 0 0. 2 0. 5
E