2023 Lecture Section 1 Matrices
2023 Lecture Section 1 Matrices
elements: 𝐴=[ ]
3×1
A row matrix or row vector of length 𝑛 (1 × 𝑛 matrix, 𝑚 = 1) is a matrix with 1 row
of elements: 𝐴=[ ]1×4
2. A zero matrix is a matrix in which all entries are zero. We use the symbol 0 to represent a zero matrix of
0 0 0
any dimensions: 𝟎 = [ ]
0 0 0 2×3
𝑎11 𝑎12 … 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛
3. A square matrix has as many rows as columns, i.e. 𝑚 = 𝑛: 𝐴 = 𝐴(𝑛,𝑛) = [ ⋮ ⋮ ⋱ ⋮ ]
𝑎𝑛1 𝑎𝑛2 … 𝑎𝑛𝑛 𝑛×𝑛
In the square matrix 𝐴 = [𝑎𝑖𝑗 ]𝑛×𝑛 the entries for which 𝑖 = 𝑗, namely {𝑎11 , 𝑎22 , … , 𝑎𝑛𝑛 }, 𝑛 ∈ ℕ, form a
principal diagonal (or main diagonal or primary diagonal or diagonal entries) of 𝐴.
Elements {𝑎1𝑛 , 𝑎2(𝑛−1) , … , 𝑎𝑛1 } form a secondary diagonal.
4. A diagonal matrix is a square matrix with all non-diagonal elements equal zero:
𝑎11 0 … 0
… 0 0
0 𝑎22 … 0
∀𝑖, 𝑗 ∈ {1,2, … , 𝑛}; 𝑖 ≠ 𝑗 ∶ 𝑎𝑖𝑗 = 0 𝐷=[ ] e.g. 𝐷 = [ 0 … 0]
⋮ ⋮ ⋱ ⋮
… 𝑎𝑛𝑛 𝑛×𝑛 0 0 … 3×3
0 0
5. The identity (unit) matrix is a diagonal matrix such that every diagonal element is equal to 1:
1 0 … 0 1 0 0
0 for 𝑖 ≠ 𝑗 0 1 … 0 1 0
𝑎𝑖𝑗 = { 𝐼 = 𝐼𝑛 = [ ] e.g. 𝐼2 = [ ] 𝐼3 = [0 1 0]
1 for 𝑖 = 𝑗 ⋮ ⋮ ⋱ ⋮ 0 1
0 0 … 1 𝑛×𝑛 0 0 1
Notation:
𝑀𝑚×𝑛 (ℝ) is a set of all real matrices of dimensions 𝑚 × 𝑛.
𝑀(𝑚, 𝑛) is a set of all matrices of dimensions 𝑚 × 𝑛.
𝑀𝑛 (ℝ) is a set of all real square matrices of dimensions 𝑛 × 𝑛.
Transposition
The transpose of a matrix 𝐴, denoted by 𝐴𝑇 , is found by interchanging rows and columns of 𝐴.
Let 𝐴 = [𝑎𝑖𝑗 ] be an 𝑚 × 𝑛 matrix. The transpose of the matrix 𝐴 is the 𝑛 × 𝑚 matrix: 𝐴𝑇 = [𝑎𝑗𝑖 ]
𝑛×𝑚
Example 1.3 Find the transpose of 𝐴.
Caution ! The sum or difference of two matrices DOES NOT EXIST if dimensions of matrices are not the
same.
Example 1.4 Add and subtract given matrices.
Remark Let 𝐴 ∈ 𝑀𝑚×𝑛 (ℝ), 𝐵 ∈ 𝑀𝑛×𝑝 (ℝ), 𝐶 ∈ 𝑀𝑝×𝑟 (ℝ), 𝐼 ∈ 𝑀𝑛 (ℝ). Then:
1. 𝐴 ∙ 𝐵 ≠ 𝐵 ∙ 𝐴
2. 𝐴 ∙ (𝐵 ∙ 𝐶) = (𝐴 ∙ 𝐵) ∙ 𝐶 associativity of multiplication
3. 𝐼 ∙ 𝐴 = 𝐴 ∙ 𝐼 = 𝐴 identity matrix is a multiplication identity
Remark If 𝐴 ∈ 𝑀𝑛 (ℝ) is a square matrix, we can define powers of it: 𝐴2 = 𝐴 ∙ 𝐴, 𝐴3 = 𝐴2 ∙ 𝐴, and so on.
In general for any positive integer 𝑘 we have 𝐴𝑘+1 = 𝐴𝑘 ∙ 𝐴, where we take 𝐴0 = 𝐼𝑛 .
Example 1.6 For a matrix 𝐴 compute 𝐴2 .
Definition 1.2
The minor 𝑀𝑖𝑗 of dimension 𝑛 − 1 (subdeterminant) belonging to the element 𝑎𝑖𝑗 of a square matrix 𝐴 of
order 𝑛 ≥ 2 is the determinant of the matrix obtained by deleting the 𝑖th row and the 𝑗th column of 𝐴.
−2 3 0
Example 1.7 Given the determinant 𝑑𝑒𝑡 [ 5 1 −2] write the minor of each of the following elements:
7 −4 8
𝑎11 , 𝑎23 , 𝑎31 .
Definition 1.3 The cofactor 𝐶𝑖𝑗 of an element 𝑎𝑖𝑗 of a square matrix 𝐴 is given by
𝐶𝑖𝑗 = (−1)𝑖+𝑗 ∙ 𝑀𝑖𝑗 where 𝑀𝑖𝑗 is the minor of 𝑎𝑖𝑗 .
−2 3 0
Example 1.7 (cont.)Given the determinant 𝑑𝑒𝑡 [ 5 1 −2] write the cofactor of elements: 𝑎11 , 𝑎23 , 𝑎31 .
7 −4 8
Remark The matrix 𝐴𝐶 formed by all the cofactors of the elements in a matrix 𝐴 = [𝑎𝑖𝑗 ]𝑛×𝑛 is called the
cofactor matrix 𝐴: 𝐴𝐶 = [𝐶𝑖𝑗 ]𝑛×𝑛 .
Remarks
𝑎11 𝑎12
A second-order determinant of a matrix 𝐴 = [𝑎 𝑎22 ] is given as follows:
21
det𝐴 = 𝑎11 ∙ 𝐶11 +𝑎12 ∙ 𝐶12 = 𝑎11 ∙ (−1)1+1 ∙ 𝑎22 +𝑎12 ∙ (−1)1+2 ∙ 𝑎21 = 𝑎11 ∙ 𝑎22 −𝑎12 ∙ 𝑎21
Applications:
1. Calculating determinants: before expanding by cofactors we may transform a determinant with the
help of elementary transformations into a form such that it contains as many zeros as possible or into a
triangular matrix.
2. Finding the inverse of a matrix.
3. Solving general system of linear equations (the Gauss or Gauss-Jordan elimination methods).
Properties:
Operation 1) changes determinant of a matrix (det 𝐴′ = − det 𝐴).
Operation 2) changes determinant of a matrix (det 𝐴′ = 𝑘 det 𝐴).
Operation 3) does NOT change determinant of a matrix (det 𝐴′ = det 𝐴).
Beata Ciałowicz ~ 10 ~
Mathematics for Economics and Business - Section 1. Algebra of matrices – Lecture
1.6 Matrix equations
A matrix equations is an equation in which a variable stands for a matrix.
Remarks
𝐴 ∙ 𝑋 = 𝐵 ⟺ 𝑋 = 𝐴−1 ∙ 𝐵
𝑋∙𝐴=𝐵 ⟺ 𝑋 = 𝐵 ∙ 𝐴−1
𝐴∙𝑋∙𝐵 =𝐶 ⟺ 𝑋 = 𝐴−1 ∙ 𝐶 ∙ 𝐵 −1
1 −2 4 1
Example 1.11 Given 𝐴 = [ ] 𝐵=[ ] determine matrices 𝑋 and 𝑌 satisfying:
3 4 0 −3
1) 𝐴 ∙ 𝑋 = 𝐵, b) 𝑌 ∙ 𝐴 = 𝐵, c) [1 1 1] ∙ 𝑋 = 𝐼.
0 1 1
Beata Ciałowicz ~ 11 ~
Mathematics for Economics and Business - Section 1. Algebra of matrices – Lecture
1.7* Matrix algebra in macroeconomics
Macroeconomics is concerned with the working of the economy as a whole rather than with individual
markets.
Example 1.12. A macroeconomic model of the economy.
Symbols and assumptions:
1. Households considered in aggregate earn their incomes (in a form of wages, salaries or profits) by
producing output.
𝑄 - value of output
𝑌 – aggregate household income
2. Aggregate household income must equal the value of output: 𝑌 = 𝑄.
3. Output must be bought by somebody, otherwise it would not be produced so value of output must equal
demand (or aggregate expenditure): 𝑄 = 𝐸, where 𝐸 – demand; aggregate expenditure.
4. Aggregate expenditure consists of consumption expenditure and investments expenditure: 𝐸 = 𝐶 + 𝐼,
where 𝐶– consumption expenditure, 𝐼– investment expenditure (assumed exogenous).
5. Planed household consumption 𝐶̃ is a (linear) function of household income: 𝐶̃ = 𝑎𝑌 + 𝑏, where 𝑎 is
called the marginal propensity to consume and 0 < 𝑎 < 1, 𝑏 > 0. 𝑎 > 0 means increase in planned
consumption.
6. Planed or desired savings 𝑆̃ = 𝑌 − 𝐶̃ = 𝑌 − (𝑎𝑌 + 𝑏) = (1 − 𝑎)𝑌 − 𝑏 (savings function), where
1 − 𝑎 is the marginal propensity to save.
7. Taxes 𝑇 of all income is at a rate 𝑡: 𝑇 = 𝑡𝑌, so disposable income is: 𝑌𝑑 = 𝑌 − 𝑇.
8. 𝐺̃ is (government) spending on goods and services.
Beata Ciałowicz ~ 12 ~