Professional Documents
Culture Documents
Lec2 - CEA - Matrix
Lec2 - CEA - Matrix
Lec2 - CEA - Matrix
Matrix Algebra
Motivation
Example
k11 k12
[k]
21
k k 22
Note,
The 1st subscript is the row position and the 2nd
subscript is the column position.
Therefore, k ij is the element in the ith row and the jth column.
Example
If the matrix elements are defined as:
B1,1=1, B1,2=3, B2,1=4, B2,2=5
Examples
3 x 1: vector 4 x 4: matrix
1 1 0 9 6
6 8 4 0
{u} 2 [K]
2 1 6 3
3.2
6 8 4 0
8 15 12 6 7 6
A B A B
17 20 26 7 16 4
Example
7 12
1 4 3
A B 11 18 A*B = C
5 2 6
9 10
A T a ji
≠0
and it is:
1 0 1 0
1
A* A I
0 1 0 1
The inverse matrix method uses the inverse of a matrix to help solve
a system of equations, such like the above Ax = b. By pre-
multiplying both sides of this equation by A-1 gives:
Algorithm:
•eliminate x from all equations below L1,
•and then eliminate y from all equations below L2.
•put the system into triangular form.
•Then, using back-substitution, each unknown can be
solved for.
Answer
x= 2
Shift + ctrl + enter y=3
z=-1
Jan-20 Ir Dr Mokhtar Awang
https://www.youtube.com/watch?v=PPzGy1MRK2E&feature=youtu.be
Thanks!