You are on page 1of 2

Naïve Gauss elimination for 3 by 3 matrices

Starting Matrix
A=

1
4
7

2
5
8

3
6
-9

b=

1
7
2

1
0
0

2
-0.75
-0.85714

3
-1.5
-4.28571

b=

1
0.75
-0.71429

1
0
0

2
-0.75
0

3
-1.5
-2.25

b=

1
0.75
-1.375

Step 1

Step 2

Verification
x3=
x2=
x1=

0.611111
-2.22222
3.611111

A^(-1)=

-1.72222 0.777778 -0.05556
1.444444 -0.55556 0.111111
-0.05556 0.111111 -0.05556

611111 -2.22222 0.611111 .x= 3.