Math4Econ Lecture - 7 Spring 24
Math4Econ Lecture - 7 Spring 24
A is a matrix of order m x n.
ith row jth column element of the matrix denoted by aij
Remark: A matrix is not just a collec?on of elements but every element has
assigned a definite posi?on in a par?cular row and column.
Two numbers (rows x columns) describe the dimensions or size of the matrix
or we say order of the matrix
types of matrices
Lesson 7: INEQUALITIES
1. column matrix or vector:& MATRIX ALGEBRA
types
types of of matrices
matrices
7.1.The
Introduction tomay
Matrices
1.
1. c
c number
olumn
olumn of rows
matrix
matrix or be
orvector
vector: : but the number of columns is always 1
any integer
• Special Types of Matrices
and order is 1 n
1. Column
The number of Matrix
rows or Vector:
may bebeanya The number
integer the of
butbut rows of
number may be any
columns integer
is al ways but the
1ways
The number1 of rows may
1 n is alwaysany
11 integer the number of columns is al 1
number
and orderofiscolumns
1 1 and order is 1x m
and4 order is 1 n a a21
1 3 11
a11
1
1 2 1 a 21
4 a21am1
42 3
3
2 am1
2. row matrix or am1vector
2. row matrix or vector
2. Row Matrix or Vector: Any number of columns but onlynone
2.Anyisrnownumber
matrixof columns but only one row and of order
or vector 1 row and of order
x1
Any number of columns but only one row and of order n 1
1 1 6 10 3 15 2 11 a 12 a a a
13 n 1 1n
Any number
3. of columns
1 1 r6ectangular
but only
10 3 15matrix
2 one row and of
a11 a12 a13 order
a1n
3. Rectangular
1Contains
1 6 moreMatrix:
than 3Contains
10 one 15 2 more
element than
a11 one
and number aof element aand
a13 is not
12 rows
number
1equal
n
of rows is
to the number
not equal toi.e.
of columns n of columns i.e. m ¹ n
themnumber
1 1
1 1 1 0 0
3 7
2 0 3 3 0
7 7
7 6
a particular row and column.
Lesson 7: INEQUALITIES
1.2 Special Types of Matrices: & MATRIX ALGEBRA
7.1. Introduc-on to Matrices
1. Square matrix:
• Special Types of Matrices
That is and at least one element .
A matrix in which numbers of rows are equal to number of columns is called a sq
4. Square matrix: A matrix in which numbers of rows are equal to number of
matrix. Example:
That iscolumns is called and at least
a square one element
matrix .
Example:
Example:
3. Identity Matrix
That is
Example:
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.1. Introduc-on to Matrices
6. Symmetric Matrix:
8. Zero Matrix:
A matrix whose all elements are zero is called as Zero Matrix and order Zero
matrix denoted by .
Example:
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2. Matrix Algebra (Matrix Operations)
7.2.1. Equality of two matrices:
Two matrices A and B are said to be equal if
(i) They are of same order
(ii) Their corresponding elements are equal.
That is if A = (aij)mxn and B = (bij)mxn and aij = bij for all i and j then A = B
(a scalar: a scalar is a quantity that has only magnitude (or size) and no direction. It's a
2.3. Addition of two matrices:
single number that represents a measurable characteristic of something.)
Let A = and are two matrices with same order then sum of the
2.2. Scalar multiple of a matrix
LessonLet7: INEQUALITIES & MATRIX ALGEBRA
k be a scalar then scalar product of matrix A = given denoted
2.3. Addition of two matrices:
7.2. Matrix Algebra (MatrixorOpera-ons)
given by kA =
7.2.3. Addi?on
Let of
A two
= matrices
and: are two matrices with same order
Let A = (aij)mxn and B = (bij)mxn are two matrices with same order then sum of the
two matrices are given by
two matrices are given by
• Commuta?ve
2.3.
Law
Example 2.1:of
Addition lettwo matrices:
If A + B = B + A for all A and B
• Associa?ve
Let Law
A = and are two matrices with same order th
A + (B + C) = (A + B) + C = A + B + C and .
two matrices are given by
• Existence of Addi?ve Iden?ty
A+0=0+A Find (i) 5B (ii) A + B (iii) 4A 2B (iv) 0 A
• Existence of Addi?ve Inverse
2.4.
A Multiplication
+ (-A) = 0 (where of
–Atwo matrices:
is the matrix composed of –aij as elements)
Example 2.1: let
Example:
Two matrices A and B are said to be confirmable for product AB if num
A equals to the number of rows and
in matrix B. Let A = .
matrices the product matrix C= AB, is matrix of order m r where
Find (i) 5B (ii) A + B (iii) 4A 2B (iv) 0 A
Find (i) 5B (ii) A + B (iii) 4A 2B (iv) 0 A
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2.2.4.
Matrix Algebra (Matrix
Multiplication of twoOperations)
matrices:
7.2.4. Multiplication of two matrices:
Two matricesTwoA andmatrices A to
B are said and
be B are said to
confirmable forbe confirmable
product for product
AB if number of A
columns in A equals
A equals to the number
to the number ofofrows matrixB.B. Let A =
rows in matrix
Let A = (aij)mxn and B = (bij)nxr are two matrices then the product matrix C= AB,
matrices the product matrix C= AB, is matrix of order m r where
is matrix of order mxr where
Example:
Calculate
Calculate (i) AB (ii) BA
(i) AB
(ii) BA (iii) is AB = BA ?
(iii) is AB = BA?
2.5. Integral power of Matrices:
(m times multiplication)
Proper?es of Properties
of Transpose:
transposed of Transpose:
matrices:
Properties
1. (A+B)T = AT + BT (i)
2. (AB)
(i) T = BT AT
(ii) =A
3. (kA)
(ii) = kA
T T =A
(iii) =k for scalar k.
4. (AT(iii)
)T = A =k for scalar k.
(iv)
(iv)
Example: Using the 2.3:
Example following
Usingmatrices A and
the following B, Verify
matrices theB,transpose
A and Verify the properties
transpose propert
xample 2.3: Using the following matrices A and B, Verify the transpose properties
,
,
Proof: (i) Let and are the element of the matrix A and B respect
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2. Matrix Algebra (Matrix Operations)
SYMMETRIC
7.2.5. Transpose MATRICES
of a matrix:
SYMMETRIC MATRICES
A Square
Properties of matrix matrices:
transposed is symmetric if it is equal to its transpose:
A Square
oA Square matrix
matrix is symmetric
is symmetric if A
if it is equalitto=isits
Aequal to its transpose:
Ttranspose:
Let B=
Then =
Then =
Exercise 3.1: Calculate the determinants of the following matrices
(i) (ii)
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2. Matrix Algebra (Matrix Operations)
7.2.6. Determinant of a matrix:
If A is an nxn matrix and one row and one column are deleted, the resulting
matrix is an (n-1)x(n-1) submatrix of A.
The determinant of such a submatrix is called a minor of A and is designated by
mij , where i and j correspond to the deleted row and column, respectively.
mij is the minor of the element aij in A.
Thus 𝐴 2
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2. Matrix Algebra (Matrix Operations)
7.2.9. Elementary Transformations of a Matrix:
• Methods for Finding Rank of a Matrix:
1. Finding the largest order non-vanishing determinant of matrix A.
2. Reducing Matrix A to Echelon Form.
3. Reducing Matrix A to Normal Form.
o Echelon Form:
- All the zero rows or any zero rows follows the nonzero rows.
- The number of zeros before the first non-zero element in first, second,
third row should be in increasing order.
• The rank of matrix in Echelon form is equal to the number of non zero rows of
the matrix.
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.2. Matrix Algebra (Matrix Opera-ons)
7.2.9. Elementary Transforma?ons of a Matrix:
• Methods for Finding Rank of a Matrix:
Ex:
1 2 1 2
1 3 2 2
A R2 R2 R1 R3 R3 2 R1
2 4 3 4
3 7 4 6
and R4 R4 3R1
1 2 1 2
0 1 1 0
A R4 R4 R2
0 0 1 0
0 1 1 0
1 2 1 2
0 1 1 0
0 0 1 0
0 0 0 0 Hence 𝜌 𝐴 3
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equations
• Linear equations are common and important in Business and Economics
• Matrices can be used to express these linear equations and aid in the
computation of unknown values.
• System of equations has three types of solution:
1. Unique Solutions: consider the system of equations
𝑥 + 2𝑦 = 5
3𝑥 − 𝑦 = 1
which gives 𝑥 = 1, 𝑦 = 2 have a single solution or unique solution and
said to be consistent by nature.
2. Infinite solution: Consider
x + 2y = 5
2x + 4y = 10
which does not gives unique solution, but there are many solutions if
𝑥 = 𝑘 and 𝑦 = 5 − 2𝑘 ; k is arbitrary have infinite number of values, so
above equation have infinite solutions and said to be consistent.
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equa-ons
• System of equations has three types of solution:
3. No Solutions: consider the system of equations
𝑥 + 2𝑦 = 5
2𝑥 + 4𝑦 = 7
We get 0 = −3 which absurd therefore equations are said to
inconsistent and have no solution.
.
• There are Two types of linear Equations:
1. Non Homogenous Linear Equation: AX = B
2. Homogenous Linear Equation: AX = 0
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equations
Example
n equations in n unknowns, the aij are numerical
coefficients, the bi are constants and the xj are
unknowns which is non-homogeneous equations
an1 x1 an 2 x2 ann xn bn
1 1 1 ... 4
0 1 1 ... 3
0 0 1 ... 1
0 0 0 ... 0
Which is Echelon form of Matrix [A,B]
𝜌 𝐴 𝜌 𝐴, 𝐵 therefore equations are consistent.
Now 𝜌 𝐴 𝜌 𝐴, 𝐵 3 𝑛(number of variables), the system will have
Unique solution.
1 1 1 4
x
0 1 1 3
y
0 0 1 1
z
0 0 0 0
𝑥+𝑦+𝑧 4
Unique solution.
1 1 &1 MATRIX
Lesson 7: INEQUALITIES 4 ALGEBRA
x
0 1 Linear
7.3. Using Matrix Algebra to Solve 1 3
Equa-ons
y
• 0 0 1
Solution of Non Homogenous Equation: 1
z
0 0 0 0
𝑥+𝑦+𝑧 4
𝑦+𝑧 3
𝑧 1
which gives 𝑥 1, 𝑦 2 𝑎𝑛𝑑 𝑧 1.
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equations
• Solution of Non Homogenous Equation:
Example: Solve the equations such that equations have (i) no Solution (ii) a
Unique solution (iii) a Infinite solution
𝑥 6
𝑥 2 3 10
𝑥 2 𝑎 𝑏
1 1 1 𝑥 6
Here 1 2 3 10
1 2 𝑎 𝑏
Then augmented matrix
1 1 1 ... 6
[ A, B ] 1 2 3 ... 10
1 2 a ... b
R2 R2 R1, R3 R3 R2
1 1 1 ... 6
0 1 2 ... 4
0 0 a 3 ... b 10
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equa-ons
• Solution of Non Homogenous Equation:
When rank of matrix A is r less than number of variables then there will be
infinite solutions
In this case 𝐴 0 and we have non zero solution called non trivial solution.
Example: Solve
𝑥 𝑦 𝑧 0
𝑥 2𝑦 𝑧 0
2𝑥 𝑦 3𝑧 0
1 1 1 𝑥 0
matrix equation becomes 1 2 1 𝑦 0 AX=0
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equa-ons
• Solution of Homogenous Equation:
1 −1 1
𝐴 0 3 −2
0 0 3
This is Echelon form and rank of A =3 (No. of variables). Therfore zero
solution is the only solution.
Now matrix equation
𝑥−𝑦+𝑧 0
3𝑦 − 2𝑧 0
Lesson 7: INEQUALITIES & MATRIX ALGEBRA
7.3. Using Matrix Algebra to Solve Linear Equations
• SolutionLofINEAR EQUATIONS
Linear Equations by Matrix Inversion Method:
Therefore
x1 2,
x2 3,
x3 7