0% found this document useful (0 votes)
122 views12 pages

Determinan Maple

The document discusses solving a system of equations using Gaussian elimination and the Sarrus rule. It provides the steps to transform the coefficient matrix into reduced row echelon form using Gaussian elimination. It then solves another system of equations using the Sarrus rule to find the determinants of the minors and determines the solutions.

Uploaded by

rally
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views12 pages

Determinan Maple

The document discusses solving a system of equations using Gaussian elimination and the Sarrus rule. It provides the steps to transform the coefficient matrix into reduced row echelon form using Gaussian elimination. It then solves another system of equations using the Sarrus rule to find the determinants of the minors and determines the solutions.

Uploaded by

rally
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Determinan

-1
-1
2

det A =

(-1)

2
-1

2
-2

(-1)

-1
2
-1

-1
2

2
-2

1
2
-2

-1
2

2
-1

-3

Soal : K | -1 -1 1 |
| -1 2 2 |
| 2 -1 -2 |
Jawab : invers
Solution:
To find the inverse matrix write the matrix and added to it on the right identity matrix:
-1
-1
1
1
0
0
-1
2
2
0
1
0
2
-1
-2
0
0
1
devide the 1-th row by -1
1
1
-1
2
2
-1

-1
2
-2

-1
0
0

0
1
0

from 2; 3 rows we subtract the 1-th row, multiplied respectively by -1; 2


1
1
-1
-1
0
0
3
1
-1
1
0
-3
0
2
0
devide the 2-th row by 3
1
1
0
1
0
-3

-1
1/3
0

-1
-1/3
2

0
1/3
0

0
0
1
0
0
1
0
0
1

from 1; 3 rows we subtract the 2-th row, multiplied respectively by 1; -3


1
0
-4/3
-2/3
-1/3
0
1
1/3
-1/3
1/3
0
0
1
1
1

0
0
1

from 1; 2 rows we subtract the 3-th row, multiplied respectively by -4/3; 1/3
1
0
0
2/3
1
4/3
0
1
0
-2/3
0
-1/3
0
0
1
1
1
1
Answer:
2/3
-2/3
1

-1

A =

1
0
1

4/3
-1/3
1

Metode Kofaktor :

k=

-1

-1

-1

-1

-2

Jawab :
Solution:
-1
-1
2

A=

-1
2
-1

1
2
-2

Finding the determinant of the matrix


det A = -3
The determinant of A is non-zero, hence the inverse matrix A-1 exists. To find the inverse
matrix was calculated the minors and cofactors of the matrix

Finding the minor M1,1 and cofactor A1,1. The matrix A cross out the row 1 and
column 1.
M1,1 =

2
-1

2
-2

-2

C1,1 = (-1)1+1M1,1 =

-2

Finding the minor M1,2 and cofactor A1,2. The matrix A cross out the row 1 and
column 2.
M1,2 =

-1
2

2
-2

-2

C1,2 = (-1)1+2M1,2 =

Finding the minor M1,3 and cofactor A1,3. The matrix A cross out the row 1 and
column 3.
M1,3 =

-1
2

2
-1

-3

C1,3 = (-1)1+3M1,3 =

-3

Finding the minor M2,1 and cofactor A2,1. The matrix A cross out the row 2 and
column 1.
M2,1 =

-1
-1

1
-2

C2,1 = (-1)2+1M2,1 =

-3

Finding the minor M2,2 and cofactor A2,2. The matrix A cross out the row 2 and
column 2.
M2,2 =

-1
2

1
-2

C2,2 = (-1)2+2M2,2 =

Finding the minor M2,3 and cofactor A2,3. The matrix A cross out the row 2 and
column 3.
M2,3 =

-1
2

-1
-1

C2,3 = (-1)2+3M2,3 =

-3

Finding the minor M3,1 and cofactor A3,1. The matrix A cross out the row 3 and
column 1.
M3,1 =

-1
2

1
2

-4

C3,1 = (-1)3+1M3,1 =

-4

Finding the minor M3,2 and cofactor A3,2. The matrix A cross out the row 3 and
column 2.
M3,2 =

-1
-1

1
2

-1

C3,2 = (-1)3+2M3,2 =

Finding the minor M3,3 and cofactor A3,3. The matrix A cross out the row 3 and
column 3.
-1
-1

M3,3 =

-1
2

-3

C3,3 = (-1)3+3M3,3 =

-3

Matrix of cofactors:
-2
-3
-4

C=

2
0
1

-3
-3
-3

Transpose of cofactor matrix:


-2
2
-3

C =

-3
0
-3

-4
1
-3

Finding the inverse matrix.


-1

A =

CT
det A

2/3
-2/3
1

Metode Gauss jordan


Divide row1 by -1
1 1 -1

-1 2 2

2 -1 -2

1
0
1

4/3
-1/3
1

Add (1 * row1) to row2


1 1 -1

0 3 1

2 -1 -2

Add (-2 * row1) to row3


1 1 -1

0 3 1

0 -3 0

Divide row2 by 3
1

-1

1 1/3

-3

-1

1 1/3

Add (3 * row2) to row3

Add (-1/3 * row3) to row2


1 1 -1

0 1 0

0 0 1

Add (1 * row3) to row1


110

010

001

Add (-1 * row2) to row1


100

010

001
Metodekaidah sarrus :
-x + 5y + 2z = 3
2x + 3y + 3z = -2
X 2y z = 5

-1
2
1

5
3
-2

2
3
-1

1 =

3
-2
5

5
3
-2

2
3
-1

52

2 =

-1
2
1

3
-2
5

2
3
-1

52

-1
2
1

3 =

5
3
-2

3
-2
5

-92

x
1 =

52
8

13
2

x
2 =

52
8

13
2

x
3 =

-92
8

23
2

Gauss jordan
Solusi:
Menulis ulang sistem persamaan dalam bentuk matriks dan menyelesaikannya dengan
metode Gauss-Jordan
-1
5
2
3
2
3
3
-2
1
-2
-1
5
Bagilah dengan 1-th -1

1
2
1

-5
3
-2

-2
3
-1

-3
-2
5

dari 2; 3 baris sustraigamos 1 baris, masing-masing dikalikan dengan 2; 1


1
-5
-2
-3
0
13
7
4
0
3
1
8
Bagilah dengan 2-13 th
1
0
0

-5
1
3

-2
7-13
1

-3
4/13
8

dari 1; 3 baris 2 sustraigamos baris dikalikan masing-masing sebesar -5; 3


1
0
9-13
-19/13
0
1
7-13
4/13
0
0
-8/13
92/13
Bagilah dengan 3-yo th -8/13
1
0
0
1
0
0

9-13
7-13
1

-19/13
4/13
-11,5

dari 1; 2 baris sustraigamos baris 3 dikalikan dengan 9/13 masing-masing; 7-13


1
0
0
6.5
0
1
0
6.5
0
0
1
-11,5
Hasil:
x 1 = 6.5
x 2 = 6.5
x 3 = -11,5

2w + x + y + 3z = 2
3w + x y- = 1
2w 2x y + 6 z = 4
4w x 2y -3z = -2
Jawab:
Metode gauss jordan
Solusi:

Menulis ulang sistem persamaan dalam bentuk matriks dan menyelesaikannya dengan
metode Gauss-Jordan
2
1
1
3
2
3
1
-1
0
1
2
-2
-1
6
4
4
-1
-2
-3
-2
Divide 1-th 2
1
3
2
4

0,5
1
-2
-1

0,5
-1
-1
-2

1.5
0
6
-3

1
1
4
-2

dari 2; 3; 4 baris sustraigamos 1 baris, masing-masing dikalikan dengan 3; 2; 4


1
0,5
0,5
1.5
0
-0.5
-2.5
-4.5
0
-3
-2
3
0
-3
-4
-9
Bagilah dengan -0.5 2-th
1
0,5
0
1
0
-3
0
-3

0,5
5
-2
-4

1.5
9
3
-9

1
-2
2
-6
1
4
2
-6

dari 1; 3; 4 baris 2 sustraigamos baris dikalikan masing-masing sebesar 0,5; -3; -3


1
0
-2
-3
-1
0
1
5
9
4
0
0
13
30
14
0
0
11
18
6
Bagilah 3 oleh 13 th-I
1
0
0
1
0
0
0
0

-2
5
1
11

-3
9
30/13
18

-1
4
14/13
6

dari 1; 2; 4 baris sustraigamos baris 3 dikalikan masing-masing oleh -2; Mei; 11


1
0
0
21/13
15/13
0
1
0
-33/13
-18/13
0
0
1
30/13
14/13
0
0
0
-96/13
-76/13
Bagilah dengan 4-yo th -96/13
1
0
0
0
1
0

21/13
-33/13

15/13
-18/13

30/13

14/13

19-24

dari 1; 2; 3 baris sustraigamos 4 baris, dikalikan dengan 21/13 masing-masing; -33/13; 30/13
1
0
0
0
-0,125
0
1
0
0
0.625
0
0
1
0
-0.75
0
0
0
1
19-24
Hasil:
x 1 = -0,125
x 2 = 0.625
x 3 = -0.75
x 4 = 19/24
Metode kaidah sarrus

2
3
2
4

1
1
-2
-1

1
-1
-1
-2

3
0
6
-3

1 =

2
1
4
-2

1
1
-2
-1

1
-1
-1
-2

2 =

2
3
2
4

2
1
4
-2

1
-1
-1
-2

3 =

2
3
2
4

1
1
-2
-1

2
1
4
-2

3
0
6
-3

96

-12

3
0
6
-3

3
0
6
-3

60

-72

4 =

x
1 =

x
2 =

2
3
2
4

1
1
-2
-1

1
-1
-1
-2

x
3 =

x
4 =

96
60

-12

2
1
4
-2

-72

96

96

8
5

96

76

76

8
3

4
19
24

You might also like