Beruflich Dokumente
Kultur Dokumente
What is a matrix?
A rectangular arrangement of numbers in ‘m’ rows and ‘n’ columns, can be called as
a matrix with order of m x n (m by n).
3rd Row
The order of a matrix is the number of the rows and the columns.
Example 1:
9 2 5 𝜋 5
𝐴 = [ 11 −1] 𝐵=[ ] 𝐶 = [8 −11 7]
−3 8 −4 3
1. Row vector
A matrix just only has 1 row and ‘n’ columns, called as 1 x n matrix.
2. Column vector
A matrix just only has ‘m’ rows and 1 column, called as m x 1 matrix.
1
𝐸 = [2], order E3×1
3
3. Square matrix
1 2
𝐹=[ ], order F2×2
3 4
4. Zero matrix
0 0 0
𝐺 = [0 0 0], order G3×3
0 0 0
5. Identity matrix
A square matrix which has ‘1’s on the diagonal and zero everywhere else.
1 0 0
𝐼 = [0 1 0], order I3×3
0 0 1
6. Upper triangular matrix
A square matrix in which all elements below the diagonal are zero.
1 2 3
𝐻 = [0 4 5], order H3×3
0 0 6
A square matrix is the opposite of upper triangular matrix, in which all elements
above the diagonal are zero.
1 0 0
𝐽 = [2 3 0], order J3×3
4 5 6
8. Diagonal matrix
A square matrix in which all elements are zero except on the main diagonal.
−1 0 0
𝐾 = [ 0 2𝜋 0], order K 3×3
0 0 2
9. Symmetrical matrix
A square matrix in which all elements in the upper triangular is equal to the lower
triangular.
1 9 2
𝐿 = [9 7 −3], order L3×3
2 −3 0
10. Transposed matrix
1
𝑇
i. 𝑀3×1 = [−3], 𝑀1×3 = [1 −3 8]
8
4 6 −7 4 −1 3
𝑇
ii. 𝑁3×3 = [−1 3 3𝜋 ], 𝑁3×3 =[ 6 3 2]
3 2 0 −7 3𝜋 0
1. Addition/Subtraction
𝑎 𝑏 𝑝 𝑞 𝑎±𝑝 𝑏±𝑞
[ ]±[ ]=[ ]
𝑐 𝑑 𝑟 𝑠 𝑐±𝑟 𝑑±𝑠
2. Multiplication
𝑎 𝑏 𝑘𝑎 𝑘𝑏
𝑘[ ]=[ ]
𝑐 𝑑 𝑘𝑐 𝑘𝑑
b) Multiplication of matrices
a b
[p q r] × [c d] = [𝑝𝑎 + qc + re pb + qd + rf]
e f
3.4 Determinant of matrices
Let A be any square matrix of order (n x n). Then, if there exists a matrix B such that
AB = BA = I
then B is called inverse of A and vice-versa. The inverse of A is denoted by A-1. Also,
A . A-1 = A-1 . A = I
2 0 1 2 6 2
1 2 3 4 12 3 4
1 0 2 2 6 2
2
Therefore, 4 is an eigenvector with corresponding an eigenvalue 3
2
Finding Eigenvalues and eigenvectors:
An iterative approach in which to determine the largest eigenvalue and its corresponding
eigenvector.
Av v
Steps of Power method:
1. Calculate A vi .
2. Find m which is the largest magnitude of A vi .
1
3. Find vi1 A vi
m
4. STOP the process until the difference | vi1 vi | ≤