Beruflich Dokumente
Kultur Dokumente
ogico de L
azaro C
ardenas
Ingeniera Electr
onica
M
etodo de Newton-Raphson para
Sistemas de Ecuaciones No Lineales
Asignatura: Analisis Numerico
Docente: M.C. Julio Cesar Gallo Sanchez
Equipo: 9
4o Semestre
Marzo 14 de 2012
M
etodo de Newton-Raphson para
Sistemas de Ecuaciones No Lineales
Resumen
En el presente documento se presenta la construccion del metodo de NewtonRaphson para Sistemas de Ecuaciones No Lineales desde un punto de vista
meramente matricial, haciendo uso primeramente del polinomio de Taylor hasta llegar a hacer uso de la matriz Jacobiana en cada una de las iteraciones.
Posteriormente se desarrollan tres ejemplos de aplicacion del presente metodo.
1.
Desarrollo del M
etodo
Considerense dos ecuaciones con dos incognitas
f0 (x0 , x1 ) = 0
f1 (x0 , x1 ) = 0
(1)
f1
f1
(x0,0 , x0,1 )(x0 x0,0 ) +
(x0,0 , x0,1 )(x1 x0,1 )
f1 (x0 , x1 ) = f1 (x0,0 , x0,1 ) +
x0
x1
(
1 2 f1 (x0,0 , x0,1 )
+
(x0 x0,0 )2
2
2!
x0
2 f1 (x0,0 , x0,1 )
+2
(x0 x0,0 )(x1 x0,1 )
x0 x1
)
2 f1 (x0,0 , x0,1 )
+
(x1 x0,1 )2 +
x21
(2)
las cuales tienen una forma mas comparta usando la notacion de vectores como
f0 (x0 )
f0 (x0 )
f0 (
x) = f0 (x0 ) +
(x0 x0,0 ) +
(x1 x0,1 )
x0
x1
(
1 2 f0 (x0 )
2 f0 (x0 )
2
+
(x
x
)
+
2
(x0 x0,1 )
0
0,0
2!
x20
x0 x1
)
2 f0 (x0 )
(x1 x0,0 )2 +
+
x21
f1 (x0 )
f1 (x0 )
f1 (
x) = f1 (x0 ) +
(x0 x0,0 ) +
(x1 x0,1 )
x0
x1
(
1 2 f1 (x0 )
2 f1 (x0 )
2
+
(x
x
)
+
2
(x0 x0,1 )
0
0,0
2!
x20
x0 x1
)
2 f1 (x0 )
(x1 x0,0 )2 +
+
x21
(3)
x
)
+
2
(p0 x0,1 )(p1 x0,1 )
0
0,0
2!
x20
x0 x1
)
2 f0 (
x0 )
+
(p1 x0,0 )2
2
x1
(4)
f1 (x0 )
f1 (x0 )
0 = f1 (
p) f1 (x0 ) +
(p0 x0,0 ) +
(p1 x0,1 )
x0
x1
(
1 2 f1 (
x0 )
2 f1 (
x0 )
2
+
(p0 x0,1 )(p1 x0,1 )
(p
x
)
+
2
0
0,0
2
2!
x0
x0 x1
)
2 f1 (
x0 )
+
(p1 x0,0 )2
x21
(5)
(6)
fi (
x0 )
xj
(7)
(8)
f0 (
x0 )f1,1 (
x0 ) + f1 (
x0 )f0,1 (
x0 )
,
f0,0 (
x0 )f1,1 (
x0 ) f0,1 (
x0 )f1,0 (
x0 )
f1 (
x0 )f0,0 (
x0 ) + f0 (
x0 )f1,0 (
x0 )
p1 x0,1 +
.
f0,0 (
x0 )f1,1 (
x0 ) f0,1 (
x0 )f1,0 (
x0 )
p0 x0,0 +
(11)
(12)
x1,0
x1,1
f0 f1,1 + f1 f0,1
x0,0 +
,
f0,0 f1,1 f0,1 f1,0
x0
f1 f0,0 + f0 f1,0
x0,1 +
.
f0,0 f1,1 f0,1 f1,0
(13)
(14)
x
0
(
x1 = [x1,0 x1,1 ]T ), donde las funciones y derivadas estan evaluadas en x0 .
Continuando este proceso para generar (
xn ) para n Z+ (as en general xn =
T
[xn,0 xn,1 ] ) de acuedo a
f0 (
xn )f1,1 (
xn ) + f1 (
xn )f0,1 (
xn )
xn+1,0 = xn,0 +
,
f0,0 (
xn )f1,1 (
xn ) f0,1 f1,0 (
xn )
x0
f1 (
xn )f0,0 (
xn ) + f0 (
xn )f1,0 (
xn )
xn+1,1 = xn,1 +
.
f0,0 (
xn )f1,1 (
xn ) f0,1 (
xn )f1,0 (
xn )
(15)
(16)
x
0
Ahora definimos
f0 (xn,0 , xn,1 )
f0 (
xn )
F (
xn ) =
=
f1 (xn,0 , xn,1 )
f1 (
xn )
(17)
Tambien
F
(1)
f0,0 (
xn ) f0,1 (
xn )
(
xn ) =
= JF (
xn ),
f1,0 (
xn ) f1,1 (
xn )
(18)
[JF (
xn )]
1
f1,1 (
xn ) f0,1 (
xn )
,
=
xn ) f0,0 (
xn )
f0,0 (
xn )f1,1 (
xn ) f0,1 (
xn )f1,0 (
xn ) f1,0 (
(19)
(20)
para n Z+ . Si xn Rm (por
incognitas), entonces
f0,0 (
xn )
f1,0 (
x
n)
JF (
xn ) =
..
.
fm1,0 (
xn )
y
f0,1 (
xn )
f1,1 (
xn )
..
.
fm1,1 (
xn )
F (
xn ) =
f0 (
xn )
f1 (
xn )
..
.
f0,m1 (
xn )
f1,m1 (
xn )
..
.
(21)
fm1,m1 (
xn )
fm1 (
xn )
(22)
2.
Ejemplos
Ejemplo 1.- Se requiere resolver
1
f0 (x0 , x1 ) = x0 x20 x21 = 0
4
2
f1 (x0 , x1 ) = x1 x0 + x21 = 0.
(23)
1
f0 (
xn ) = xn,0 x2n,0 x2n,1 = 0
4
2
f1 (
xn ) = xn,1 xn,0 x2n,1 = 0,
(24)
Consecuentemente
f0,0 (
xn ) = 1 2xn,0 = 0, f1,0 (
xn ) = 2xn,0
1
f0,1 (
xn ) = xn,1 , f1,1 (
xn ) = 1 + 2xn,1 .
2
(25)
xn+1,0 = xn,0 +
xn+1,1
Con lo cual vemos que la respuesta es correcta en cuatro cifras decimales en solo
tres iteracones.
Ejemplo 2.- Dada la ecuacion z 3 3 = 0, donde z C. Encuentre todas las
soluciones de la ecuacion. Para resolver la ecuacion hacemos z = x + y i, con i2 = 1,
obteniendo:
(x + y i)3 3 = 0
Resolviendo el producto notable y agrupando terminos se obtiene
(x3 3xy 2 3) + (3x2 y y 2 ) i = 0
Haciendo r = (x, y)t con P (x, y) = x3 3xy 2 3 y Q(x, y) = 3x2 y y 2 , se tiene que
P (r)
0
F (r) =
=
=0
Q(r)
0
Con la matriz jacobiana
J(r) =
3x2 3y 2
6xy
6xy
3x2 3y 2
x1 = 0,9
= 0,8944444
= 0,8944272
= 0,8944272
= 0,8944272
= 0,8944272
y1 = 0,6
y2 = 0,4666667
y3 = 0,447619
y4 = 0,4472138
y5 = 0,4472136
y6 = 0,4472136
Los resultados de las iteraciones usando [x0 y0 ]T = [+1 1]T fueron las siguientes
x2
x3
x4
x5
x6
x1 = 0,9
= 0,8944444
= 0,8944272
= 0,8944272
= 0,8944272
= 0,8944272
y1 = 0,6
y2 = 0,4666667
y3 = 0,447619
y4 = 0,4472138
y5 = 0,4472136
y6 = 0,4472136
Los resultados de las iteraciones usando [x0 y0 ]T = [1 + 1]T fueron las siguientes
x2
x3
x4
x5
x6
x1 = 0,9
= 0,8944444
= 0,8944272
= 0,8944272
= 0,8944272
= 0,8944272
y1 = 0,6
y2 = 0,4666667
y3 = 0,447619
y4 = 0,4472138
y5 = 0,4472136
y6 = 0,4472136
Los resultados de las iteraciones usando [x0 y0 ]T = [1 1]T fueron las siguientes
x2
x3
x4
x5
x6
x1 = 0,9
= 0,8944444
= 0,8944272
= 0,8944272
= 0,8944272
= 0,8944272
y1 = 0,6
y2 = 0,4666667
y3 = 0,447619
y4 = 0,4472138
y5 = 0,4472136
y6 = 0,4472136