LINEAR
1. SISTEM PERSAMAAN LINEAR DAN MATRIKS
8 8
ij
9 6
1. (A + B) + C = A + (A + B) 3. A(B . C) = (A . B)C
2. (A + B) C = AC + BC ≠ (B .C)A
≠ CA + BC 4. (A + B)T = AT + BT
≠ CA + CB 5. (A .B)T = BT . AT
3. Determinan dan Invers
Determinan suatu matriks A didefinisikan sebagai :
Determinan (aij) = aij
n
= (1) i j
.aij .M ij
1 1
cij
Invers aij = (cij ) T a ij
det a ij det a ij
cij = (-1)i+j .Mij
contoh :
x1 + 0,5x2 = 100
2x1 + x2 + x3 = 200
0,5x1 + 0,5x2 + x3 = 100
Dalam bentuk matriks :
1,0 0,5 0 x1 100 invers:
2,0 1,0 1,0 x 200
2 cij = (-1) . M ij
0,5 0,5 1,0 x3 100 c11 = 1(1,0 - 0,5) = 0,5
c12 = -1(2,0 - 0,5) = -1,5
1,0 0,5 0
2,0 1,0 1,0 a c13 = 1(1,0 - 0,5) = 0,5
ij c21 = -1(0,5 – 0) = -0,5
0,5 0,5 1,0 c22 = 1(1,0 - 0) = 1,0
c23 = -1(0,5 – 0,25) = -0,25
Determinan ; c31 = 1(0,5 – 0) = 0,5
c32 = -1(1,0 – 0) = -1,0
1,0 1,0 2,0 1,0
aij 1,0 0,5 0 c33 = 1(1,0 – 1,0) =0
0,5 1,0 0,5 1,0
0,5 - 1,5 0,5
= 1,0 (1,0–0,5) – 0,5(2,0–0,5) + 0 cij - 0,5 1,0 - 0,25
= 0,25
0,5 - 1,0 0
nilai xj : aij .x j bi
c
T
c ji ij
x j aij1 .bi
0,5 - 0,5 0,5
- 1,5 1,0 1,0
2,0 2,0 - 2,0 100
0,5 - 0,25 0
x j 6,0 - 4,0 4,0 200
0,5 - 0,5 0,5 - 2,0 1,0 0 100
1
aij1 - 1,5 1,0 1,0
0,25 x1 0
0,5 - 0,25 0 x 200
2
2,0 2,0 - 2,0 x3 0
6,0 - 4,0 4,0
- 2,0 1,0 0 jadi : x1 = 0; x2 = 200,
dan x3 = 0
4. Eliminasi gauss
70,084
z 7
10,012
19,562 (0,293x7)
y 2,5
7,003
7,85 (0,1x 2,5) (0,2 x7)
z 3
3
5. Metode Gauss Jordan
• Metode Gauss jordan adalah
pengembangan dari eliminasi gauss
• Matriks di rubah menjadi segitiga
bawah dan atas (matriks identitas)
• Variabel persamaan bisa langsung
dibaca
Contoh :
1 0 - 0,0668 x 2 ,5236
0 1 - 0,4188 y 2 , 7932
0 0 1 z 7
1 0 0 x 3
0 1 0 y 2,5
0 0 1 z 2
6. Metode Gauss Seidel
• Meode ini menerapkan terkaan-terkaan
awal dan kemudian diiterasi untuk
memperoleh taksiran-taksiran yang
diperhalus dari penyelesaiannya
Contoh :
Iterasi pertama
Dengan menganggap bahwa y dan z adalah nol,
maka x dapat dihitung: