Inverse Matriks: Ax Ax Ax B Ax Ax Ax B

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

SISTEM PERSAMAAN LINEAR

INVERSE MATRIKS

1. Sistem Persamaan Linear


Bentuk umum :

a11 x1 + a12 x2 + ... + a1n xn

= b1

a21 x1 + a22 x2 + ... + a2 n xn

= b2

=#

am1 x1 + am 2 x2 + ... + amn xn = bm

2. Inverse matriks
Penyelesaian sistem persamaan di atas dengan inverse matriks adalah sebagai berikut :
Kita ubah persamaan tersebut menjadi matriks berikut :

Ax = B
a11
a
21
#

am1

a12
a22
#
am 2

" a1n x1 b1
" a2 n x2 b2
=
% # # #

" amn xm bm
A1 Ax = A1 B
x = A 1 B

3. Contoh soal :
Selesaikan sistem persamaan di bawah ini :

8 x1 2 x2 2 x3 = 20
2 x1 + 4 x2 2 x3 = 20
2 x1 2 x2 + 13 x3 = 20

Penyelesaian

8 2 2 x1 20
2 4 2 x = 20

2
2 2 13 x3 20
1

x1 8 2 2 20
x = 2 4 2 20
2

x3 2 2 13 20
x1 6
x = 10
2
x3 4
Perhitungan di Scilab
-->A=[8 -2 -2; -2 4 -2; -2 -2 13];
-->B=[20;20;20];
-->x = inv(A)*B
x

=
6.
10.
4.

Contoh Program di Scilab (Script)


A=[8 -2 -2; -2 4 -2; -2 -2 13];
B=[20;20;20];
x = inv(A)*B

You might also like