Sie sind auf Seite 1von 17

MTODOS NUMRICOS

SISTEMAS DE ECUACIONES

MTODO DE CRAMER
1. Utilice la regla de Cramer para encontrar las soluciones del
siguiente sistema de ecuaciones.

2x1 6x2 x3 = 38
3x1 x2 +7x3 = 34
8x1 +x2 2x3 = 20
Hallamos el determinante D
2
3
8

D=

=2

1
1

6 1
1 7
1 2

3
7
+6
8
2

7
3
2
8

1
= 2(-5) + 6(62) (-11) = 373
1

Para x1:

38 6 1
34 1 7
1 = 20 1 2

38 6 1
1
34 1 7 = -38
1
20 1 2

34 7
34
7
+6
20 2
20
2

1
= 1492
1

1492
1 =
=4
373
Para x2:
2 38 1
3 34 7
2 = 8 20 2

2 38 1
34
3 34 7 = 2
20
8 20 2
2 =

2984
=8
373

7
3 7
3
+ 38
2
8 2
8

34
= 2984
20
3

Para x3:

2 6 38
3 1 34
3 = 8 1 20

2 6 38
1
3 1 34 = 2
1
8 1 20

34
3 34
3 1
+6
- 38
= 746
20
8 20
8 1

746
3 =
= 2
373
Comprobamos:
2(4) 6(8) (2) = 38
3(4) (8) +7(2) = 34
8(4) +(8) 2(2) = 20
4

ELIMINACIN DE GAUSS
2. Utilice la eliminacin de Gauss para encontrar las soluciones del
siguiente sistema de ecuaciones.

1
1
2
1

+2

1
1
1
2

1
1
1
3

+ +
+
+2
3 +4

1
1
2
4

4
0
2
10

=
=
=
=

4
0
2
10

2 1
3 21
4 1

1
0
0
0

1 1 1
2 0 2
3 3 0
3
1
2

4
4
6 23 32
6 24 + 2
5

1
0
0
0

1 1 1
2 0 2
0 6 6
0
4
4

48 = 48
t=1

4
4
0
8

64 + 43

6 6 = 0
6z=6(1)
z=1

1
0
0
0

1 1 1
2 0 2
0
6 6
0 0 48

2 2 = 4
2y -2=-4
y=1

4
4
0
48

+ + + =4
x+1+1+1=4
x=1

Comprobamos:
1
+1
1
1
1
2(1)
+2(1)
1

+1
+1
1
3(1)

+1 = 4
1 = 0
+2(1) = 2
+4(1) = 10
6

ELIMINACIN DE GAUSS-JORDAN
3. Utilice la eliminacin de Gauss-Jordan para encontrar las
soluciones del siguiente sistema de ecuaciones.

16x1
x1
16x1
9x1

6x2
8x2
+2x2
+8x2

+4x3 +x4 = 36
+x3 +x4 = 64
4x3 +x4 = 4
3x3 +x4 = 64

16
1
16
9

6 4 1 36 1 2
8 1 1 64
2 4 1 4
8 3 1 64

1
16
16
9

1
0
16
9

8
8
2
8

1
0
0
0

1 1 64
8 0 32
4 1 4
3 1 64

1 8 2
161 + 3
2 3

8 1 1 64
6 4 1 36
2 4 1 4
8 3 1 64
8
1
130
80

1
1
1
0
20 15
12 8

2 3

82 + 1
64
4
7
1020 1302 + 3
512 802 + 4

1
0
0
0

0 7
1 32
1 1
0
4
0 110 15 500 1 5 3
0 68 8
192 1 4 4

1
0
0
0

0 7
1
1 1
0
0 22 3
0
0 7

1 0 7 0
0 1 1
0
0 0 22 0
0 0 0 1
1
0
0
0

0 0
1 0
0 1
0 0

0
0
0
1

32
4
100
644 1 7 4
60
4
176
92
4
4
8
92

1 22 3

1
0
0
0

0 7
1 32
1 1
0
4
0 22 3
100
0 17 2
48

173 224

1
0
0
0

0 7
1
1 1
0
0 22 3
0
0 1

32
4
100
92

4 + 1

1
0
0
0

0 7
1 1
0
1
0 0

60
4
8
92

73 + 1
3 + 2

0
0
0
1

34 + 3

1
0
0
0

0 0
1 0
0 1
0 0

0
0
0
1

4
4
8
92

Comprobamos:
16(4)
(4)
16(4)
9(4)

6(4) +4(8) +(92)


8(4) +(8) +(92)
+2(4) 4(8) +(92)
+8(4) 3(8) +(92)

= 36
= 64
= 4
= 64

Entonces x1 =4, x2 = -4, x3 = -8, x4 = -92

MTODO DE GAUSS-SEIDEL
4. Partiendo de (x=1, y=2, z=0) aplique el mtodo de Gauss Seidel
para resolver el sistema.
10 +0y z = 1
4 +12y 4z = 8
4 +4y +10z = 4
Despejamos las
incgnitas:
1 + 0 +
=
10
8 4 + 4
=
12
4 4 4
=
10

10

Primera iteracin

1+0(2)+0
10

8 4(0.1) + 4(0)
= 0.7
12

4 4(0.1) 4(0.7)
10

= - 0.1

= 0.16

Segunda iteracin

1+0(0.7)+0.16
10

8 4(0.084) + 4(0.16)
= 0.748
12

4 4(0.084) 4(0.748)
10

= - 0.084

11

= 0.134

Tercera iteracin

1+0(0.748)+0.134
10

= - 0.086

8 4(0.086) + 4(0.134)
=
= 0.740
12
=

4 4(0.086) 4(0.740)
10

= 0.138

12

MTODO DE JACOBI
5. Utilice el mtodo de Jacobi para encontrar las soluciones del siguiente
sistema de ecuaciones. Utilice como iteracin inicial x1 = x2 = x3 = 0.
4x1 +0.5x2 +x3 = 8
x1 10x2 +x3 = 6
x1
+5x3 = 10
+x2
Entonces, despejamos las
variables:

1 =

8 0.52 3
4

2 =

6 1 3
10

3 =

10 + 1 2
5

13

Para la primera iteracin x1 = 0, x2 = 0, x3 = 0 :


1 =

80.523 80.5 0 0
=
=2
4
4

2 =

613
10

3 =

10+1 2 10+00
=
=2
5
5

600
=0.6
10

Para la segunda iteracin x1 = 2, x2 = 0.6, x3 = 2 :


1 =

80.523 80.5 0.6 2


=
=1.425
4
4

2 =

613
10

3 =

10+1 2 10+20.6
= 5 =2.28
5

622
=1
10

14

Para la tercera iteracin x1 = 1.425, x2 = 1, x3 = 2.28 :


1 =

80.523 80.5 1 2.28


=
=1.305
4
4

2 =

613
10

3 =

10+1 2 10+1.4251
=
=2.085
5
5

61.4252.28
=0.9705
10

ITERACIN

x1

x2

x3

0.6

1.425

2.28

1.305

0.9705

2.085

1.3574

0.9390

2.0669

1.3659

0.9424

2.0837

1=0.0062
2=0.0036
3=0.0081
15

EJERCICIOS PROPUESTOS
1. Resolver el siguiente sistema de ecuaciones utilizando eliminacin
de Gauss y regla de Kramer.
8x1 +2x2 2x3 = 2
10x1 +2x2 +4x3 = 4
12x1 +2x2 +2x3 = 6
2. Emplee el mtodo de Gauss-Seidel para resolver el sistema
siguiente hasta que el error relativo porcentual est por debajo de 5%.

10x1 +2x2 1x3 = 27


3x1 6x2 +2x3 = 61.5
+x2 +5x3 = 21.5
x1
16

3. Emplee la eliminacin de Gauss Jordan para resolver el siguiente


sistema.
2x1 +1x2 1x3 = 1
5x1 +2x2 +2x3 = 4
+x3 = 5
3x1 +x2

4. Emplee el mtodo de Gauss-Seidel para resolver el siguiente


sistema Ax = b. Partir de x1 = x2 = x3 = 0. (4 iteraciones)
16
A= 2
1

3 1
10 3
3
10

14
= 5
14

1
x = 2
3
17

5. Del ejercicio anterior, resulvalo ahora con mtodo de Jacobi.


(6 iteraciones)

Das könnte Ihnen auch gefallen