Matrices and Matrix Operations PDF
Matrices and Matrix Operations PDF
DC-1
Semester-II
1
Mathematical Methods for Economics: Matrices and Matrix Operations
1.8 References
In the present chapter you will learn about the following aspects;
2
Mathematical Methods for Economics: Matrices and Matrix Operations
1.1 Introduction
The subject of matrices had its origin in various types of problems. Of these, solutions of
a given system of equations d liner transformations in geometry are extremely interesting. In
1857, the British mathematician Arthur Cayley formulated the general theory of matrices. He
developed the properties of matrices as pure algebraic structure, though matrices as arrays of
coefficients in homogeneous linear equation were recognized long before. A matrix is a very
useful tool to analysed of various problems in different subjects.
1.1.1 Matrices
A matrices is ordered set of numbers listed rectangular form; i.e.
a11 a12 a13
a a23
21 a22
a31 a32 a33
OR
pattern of numbers on the other hand determinant gives us a single number. The size of matrix is
written a ij , where, i =row and j = columns. a ij is the element of a matrix.
For examples
3
Mathematical Methods for Economics: Matrices and Matrix Operations
a11
a a11 a12 a13
a11 a12 a
a 2 2 Matrix 21 4 1 Matrix 21 a22 a23 3 3matrix
21 a22 a31
a31 a32 a33
a41
Square Matrix: If a matrix has ‘n’ rows and ‘n’ columns then we say it is a square
matrix. For example;
Diagonal Matrix: It is a square matrix where all non-diagonal element is zero such that
a11 0 0
A 0 a12 0
0 0 a13 33
a11
A a21
a31 31
Zero Matrix: If the all elements of an matrix is zero then it is called zero matrix.
0 0 0
A 0 0 0
0 0 0
4
Mathematical Methods for Economics: Matrices and Matrix Operations
Opposite Matrix: If the all elements of an matrix multiply by negative sign then we get
opposite matrix
aij = aij
Transpose Matrix: If we convert row to column and column to row of an matrix then we
gent transpose of an matrix. For example;
Then;
AT A' a ' ij , where a’ij = aij
Example: Given;
1 0 2
A , find A
T
2 3 1
Solution:
1 2
A A 0 3
T '
2 1 3 x 2
5
Mathematical Methods for Economics: Matrices and Matrix Operations
Rules of Transposition
A
1 1
A..................(i)
A B A1 B1..................(ii )
1
AB B1 A1........................(iv)
1
Identity Matrix: An identity matrix (I) is an diagonal matrix with all diagonal elements
1 0 0 0
1 0 0 0 0 0
I 3 0 1 0
1
In
.. .. .. ..
0 0 1 33
0 0 0 ...1 nn
Or A In = InA = A
Given; aij = 2i j
6
Mathematical Methods for Economics: Matrices and Matrix Operations
Then Matrix;
1 0 1
A 3 2 1
5 4 3 33
Equality Matrix: Suppose, A = (aij)m n and B = (bij) m n be the two mn matrices.
Then A and B is said to be equal matrices if A = B
Thus, if both matrices have some dimension then they called equal. Otherwise they called
unequal matrix such that A B.
Example: Given;
3 y 1 z 2 2
2 x 4 3
7
Mathematical Methods for Economics: Matrices and Matrix Operations
3 y 1 z 2 2
2
x 4 3
Z 2 3 or Z 5, y 1 2, y 3 and x 3
Let A = aij)m x n and B = (bij) be the two martices thent the sum of A and B matrices is
defined as;
A + B = (aij)m x n + (bij)m x n
A + B = (aij + bij)m x n
A = (aij)m x n = (aij)m x n
A + B = (aij + bij) m x n
Example : Given,
1 2 3 1 0 2
A , B
4 2 - 3 0 2 1
1
Compute A + B, and 2 A B
2
Solution:
8
Mathematical Methods for Economics: Matrices and Matrix Operations
1 2 3 1 0 2
AB
4 2 -3 0 2 1
11 2 0 3 2
4 0 2 0 -3 1
2 2 5
4 4 -2
And
1 2 3 1 1 0 2
2A ½B 2
4 2 -3 2 0 2 1
2 4 6 ½ 0 1
8 4 -6 0 1 ½
2 ½ 4 0 6 1 2½ 4 7
8 0 4 1 -6 ½ 8 5 5½
o (A + B) + C = A + (B + C)
o A+B=B+A
o A+0=A
o A + (A) = 0
o ( + ) A = A + A
o (A + B) = A + B
1.3 Matrix Multiplication:
9
Mathematical Methods for Economics: Matrices and Matrix Operations
Example: Given;
2 3
4
A 2 0 and B
1 2 2
Compute AB and BA
Solution:
2 x 4 3x 2 14
AB 2 x 4 0 x 2 8
1x 4 2 x 2 8
Problem : Given that A = (aij)mn and B (bij)mp then compute the product of both matrix
i.e. C = AB
C AB
10
Mathematical Methods for Economics: Matrices and Matrix Operations
In general;
1 0 0 1
For example, let A and B
0 1 1 0
1 0 0 1
AB
0 1 1 0
1 0 0 1 11 0 0
0 0 (1) 1 0 1 (1) 0
0 1
1 0
And
0 1 1 0 0 x 1 1 x 0 0 x 0 1 x (1)
BA
1 0 0 1 1 x 1 0 x 0 1 x 0 0 x (1)
11
Mathematical Methods for Economics: Matrices and Matrix Operations
0 1
BA
1 0
A(B + C) = AB + AC
AI = A = IA {Also, I I = I}
If the product of two matrices is a zero matrix, then it is possible that none of them is a
zero matrix, i.e.
AB = 0, then A 0 and B 0
Let
1 1 2 2
A and B
1 1 2 2
12
Mathematical Methods for Economics: Matrices and Matrix Operations
Then
3 4 2 6
A and B
2 7 1 5
3 4 2 6
A and B
2 7 1 5
3 2 4 6 5 10
A B
2 1 7 5 3 12
3 4 2 6 3 2 4 1 3 6 4 5
and AB 2 x2 7 x1 2 6 7 5
2 7 1 5
10 38
11 47
Now
3 4 3 4 9 8 12 28
A2
2 7 2 7 6 14 8 49
13
Mathematical Methods for Economics: Matrices and Matrix Operations
17 40
20 57
2 6 2 6 4 6 12 30
B2
1 5 1 5 2 5 6 25
10 42
7 31
17 10 20 40 42 76
20 7 22 57 31 94
47 158
(1)
49 182
Also,
55 170
51 174 ----------------------------------------------(ii)
A B2 A2 B2 2AB
14
Mathematical Methods for Economics: Matrices and Matrix Operations
1 1
Example: Let A then prove that;
0 1
1 k
Ak
0 1
Solution: Given
1 1
A
0 1
1 1 1 1 1
A. A
0 1 0 1
1 1 2
0 1
1 1 k 1 1 1
Then AK AK 1. A 0 1
0 1
1 k
A Pr oved
0 1
Idempotent Matrix: Let A be an square matrix then the product A by itself is called Idempotent
matrix. It is defined as;
AA = A , AAA = A3 = A
In General An = A
15
Mathematical Methods for Economics: Matrices and Matrix Operations
Orthogonal Matrix: Let A is the nn square matrix then A is said to be orthogonal matrix if,
a b
Example: Given; A
b a 2 2
Solution: Given,
a b
A
b a 2 2
a b
Than A
b a 2 2
a b a b
AA
b a b a
a 2 b 2 ab ba
2
ba ab b a
2
a 2 b 2 ab ba
2
ba ab a b
2
a 2 b2
0
0 a b
2 2
Given, a2 + b2 = 1 then
1 0
AA I2 Hence Proved
0 1
16
Mathematical Methods for Economics: Matrices and Matrix Operations
It is defined as;
2x + 3y = 4 --------- (1)
6x - y = 2 --------- (1)
2 3 x 4
A , X and b then;
6 1 y 2
2 3 x 2 x 3 y
AX , y 6 x y
6 1
AX = b
3 4
Example: If A then prove by mathematical induction
1 1
1 2n 4n
An
n 1 2n
3 4
Solution: Let A
1 1
1 2 2 4 2
1 2 1 2 2
17
Mathematical Methods for Economics: Matrices and Matrix Operations
1 2n 4n
A3 A. A
1 2n
proved
n
Example: (i) A matrix P is orthogonal if P'P = 1. Prove that if P is an nn matrix whose columns
are all of length 1 and mutually orthogonal then P is orthogonal .
1 1 1
A 1 3 4
7 5 2
P is orthogonal
(ii) No, A is not orthogonal matrix because columns of A are not of length 1
then;
AA I 3
Example: (i) Let D be the 33 diagonal matrix with entries d1, d2 and along d3 along the
diagonal and zero's elsewhere. Let A = (aij) be an arbitrary 33 matrix. Compute AD and DA.
Show that AD multiplies the ith column of A be entry di while DA multiples the ith row of A by
entry di.
18
Mathematical Methods for Economics: Matrices and Matrix Operations
AD = DA
a11 0 0
(ii) Given; A 0 a22 0
0 0 a33 3 3
2 0 0
D 0 3 0
0 0 4
2 1
Example: For what value of β, D is symmetric?
2 1
Solution: Given,
19
Mathematical Methods for Economics: Matrices and Matrix Operations
2 1
A
2 1
A = AT = A1
2 1 2
2
2 1 1 1
2 1 2
or 2 3
AB = BA = In
or AB = I
Problem Set
20
Mathematical Methods for Economics: Matrices and Matrix Operations
(1) Given,
1 2 x 1
A , B
1
, find x and y
2 1 y
1 q 1 nq
(2) Let B , the prove B n
0 1 0 1
3 2
If A , find A2 5 A 7 I
1
(3)
5
1 3 0 0 1 0
(4) If A 1 1 0 , B 1 0 0 then prove that AB BA
4 1 0 0 5 1
2 3 3 1
(5) Let B , B , prove that AB BA
4 5 2 5
(6) Given,
2 2 4
A 1 3 4 , then prove A is idempatent matrix
1 2 3
1
(7) For the following given matrix is orthogonal
2
0
A 0
0 1 0
3 1 2
(8) Show that A 1 2 0 , is symmetic matrix
2 0 1
21
Mathematical Methods for Economics: Matrices and Matrix Operations
(10) If is a scalar, A and B are matrices of order 3 4, then show that (A + B) = A +
(1) x=1&y=2
11 6
(3) 15 23
2 6 4 2
1 1 1
(9) X , y 1 10 , z 4 6
2 2 2 4 2 3 2
REFRENCES
Allen, R.G,D, Mathematical Analysis for Economists, London: Macmillan and Co. Ltd
Chiang, Alpha C., Fundamental Methods of Mathematical Economics, New York: McGraw Hill
Knut Sydsaeter and Peter J. Hammond, Mathematics for Economic Analysis, Prentice Hall
22
Mathematical Methods for Economics: Matrices and Matrix Operations
Carl P. Simon and Lawrence Blume, Mathematics for Economists, London: W .W. Norton & Co.
23