Академический Документы
Профессиональный Документы
Культура Документы
Definition
Transpose
Symmetric Matrix
Unit Matrix
Addition
Multiplication
Inverse
e=1
n
a
ie
b
ej
[ A]=
[
2 1
3 2
]
[ B]=
[
1 1
2 0
]
[C]=[ A] [ B]=
[
4 2
7 3
]
BDA 4033 Dr. Waluyo Adi Siswanto 11
Multipliation of Matries
in OO "al Spreadsheet
(repare data
0A1 and 021
(repare area for result
Insert function MM)LT MM)LT
Select t!e array data 0A1 and 021
O' O'
To s!o#
T!e result
BDA 4033 Dr. Waluyo Adi Siswanto 12
In*erse of a Matrix
T!e inverse of a matrix is a matrix suc! t!at
[ A]
1
[ A]=[ A] [ A]
1
=[ I ]
[ A]
1
=
[ C]
T
A
=
adj [ A]
A
[C]
A
: $ofactor of matrix
: Determinant of matrix
[ A]
[ A]
BDA 4033 Dr. Waluyo Adi Siswanto 13
"ofator Matrix
[ A]=
[
1 3 2
2 4 2
0 4 1
]
[C]=
[
4 2
4 1
2 2
0 1
2 4
0 4
3 2
4 1
1 2
0 1
1 3
0 4
3 2
4 2
1 2
2 2
1 3
2 4
]
=
[
12 22 8
11 1 4
2 2 2
]
BDA 4033 Dr. Waluyo Adi Siswanto 14
%d+oint and Determinant Matrix
$ontinuing t!e previous result
adj [ A]=[C]
T
=
[
12 11 2
2 1 2
8 4 2
]
det [ A]=A=11
4 2
4 1
31
2 2
0 1
21
2 4
0 4
=10
BDA 4033 Dr. Waluyo Adi Siswanto 15
Determinant of a Matrix
in OO "al Spreadsheet
(repare data 0A1
and place for result
Insert function MDETERM MDETERM Select t!e array data 0A1
O' O'
To s!o#
T!e result
BDA 4033 Dr. Waluyo Adi Siswanto 16
In*erse of a Matrix
in OO "al Spreadsheet
(repare data 0A1
Insert function MIN,ERSE MIN,ERSE Select t!e array data 0A1
O' O'
To s!o#
T!e result
(repare area for result
BDA 4033 Dr. Waluyo Adi Siswanto 17
Orthogonal Matrix
A matrix 0A1 is an ort!ogonal matrix if
[ A]
1
=[ A]
T
[ A]=
[
!os60d"# sin60d"#
sin60d"# !os60d"#
]
=
[
0.5 0.87
0.87 0.5
]
[ A]
T
=
[
0.5 0.87
0.87 0.5
]
[ A]
1
=
[
0.5 0.87
0.87 0.5
]
Matrix 0A1 is an ort!ogonal matrix
BDA 4033 Dr. Waluyo Adi Siswanto 18
Solution Methods
of Simultaneous Linear Equations
$lassical Met!ods
a
n1
x
1
a
n2
x
2
a
nn
x
n
=c
n
T!e e)uation can be #ritten in Matrix
[
a
11
a
12
a
1n
a
21
a
22
a
2n
.
a
n1
a
n2
a
nn
] {
x
1
x
2
x
n
}
=
{
c
1
c
2
c
n
}
[ K ] {x}={F} or
{x}=[ K ]
1
{F} t!en
BDA 4033 Dr. Waluyo Adi Siswanto 20
Example &ro-lem ./0
a 7rite t!e simultaneous e)uation in Matrix
b .ind t!e un/no#n variables x'* x2 and x& from t!e
follo#ing e)uations
x
1
3 x
2
2 x
3
=2
2 x
1
4 x
2
2 x
3
=1
4 x
2
x
3
=3
[
1 3 2
2 4 2
0 4 1
]
{
x
1
x
2
x
3
}
=
{
2
1
3
}
[ K ] {x}={F} or
{x}=[ K ]
1
{F} t!en
BDA 4033 Dr. Waluyo Adi Siswanto 21
Sol*ing Simultaneous Equation
in OO "al Spreadsheet
{
x
1
x
2
x
3
}
=
{
4.1
1.1
1.4
}
T!e result:
BDA 4033 Dr. Waluyo Adi Siswanto 22
"ramer1s Rule Method
[
1 3 2
2 4 2
0 4 1
]
{
x
1
x
2
x
3
}
=
{
2
1
3
}
x
1
=
2 3 2
1 4 2
3 4 1
1 3 2
2 4 2
0 4 1
=4.1
x
2
=
1 2 2
2 1 2
0 3 1
1 3 2
2 4 2
0 4 1
=1.1 x
3
=
1 3 2
2 4 1
0 4 3
1 3 2
2 4 2
0 4 1
=1.4
BDA 4033 Dr. Waluyo Adi Siswanto 23
2auss Elimination
4auss 5limination is based on triangularisation of t!e coefficient matrix
and evaluation of t!e un/no#ns by bac/6substitution starting from t!e last
e)uation
T!e form can be summarised in general form by
a
ij
=a
ij
a
kj
a
ik
a
kk
k=1$2$, n1
i =k1$, n
j=k ,, n1
x
i
=
1
a
ii
a
i , n1
r=i1
n
a
ir
x
r
a
i , n1
r=i1
n
a
ir
x
r
x
3
=
1
a
33
a
34
0
=
1
0.5
1.5=3
x
2
=
1
a
22
a
24
a
23
x
3
=
1
1
[513]=2
x
1
=
1
a
11
a
14
a
12
x
2
a
13
x
3
=
1
2
[92213]=1
BDA 4033 Dr. Waluyo Adi Siswanto 30
8erification using inverse matrix in ;; Spreads!eet
BDA 4033 Dr. Waluyo Adi Siswanto 31
2auss Siedel Iteration Method
4auss6Siedel met!od is based on iterative approac!
x
1
=
1
a
11
c
1
a
12
x
2
a
13
x
3
a
1n
x
n
x
2
=
1
a
22
c
2
a
21
x
1
a
23
x
3
a
2n
x
n
x
n
=
1
a
nn
c
n
a
n1
x
1
a
n2
x
2
a
n, n1
x
n1