Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
fijo
Angel Iván Carrillo Pérez
David Limón Cantú
Jessica Sosa Hernández
¿Qué es?
Es un método iterativo que permite resolver
sistemas de ecuaciones no necesariamente
lineales.
En particular se puede utilizar para determinar
raíces de una función de la forma f(x), siempre y
cuando se cumplan los criterios de
convergencia.
El método de iteración de punto fijo, también
denominado método de aproximación sucesiva,
requiere volver a escribir la ecuación f(x)=0 en la
forma x=g(x).
Si para cualquier función g(x) dada se puede
encontrar un punto fijo, entonces cada problema
de búsqueda de las raíces de f(x) = 0 tiene
soluciones que corresponden precisamente a los
Teorema de punto fijo
Ejemplos
u(x, y) = x2 + x y − 10 = 0
v(x, y) = y + 3x y2 − 57 = 0
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Solucio´n
Si xs = [xs , xs , ..., xs ], es la solucio´n del sistema de
1 2 n
ecuaciones
Entonces: f i(x s ) = 0, para i = 1, 2, . . . , n
Solucio´ n exacta
Los sistemas de ecuaciones no lineales no tienen solucio´n
exacta o anal´ıtica.
Soluciones nume´ricas son necesarias
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Ejemplos I
Busquemos la solucio´n del sistema de ecuaciones no lineales:
u(x, y) = x2 + x y − 10 = 0
v(x, y) = y + 3x y2 − 57 = 0
10 − x2
gx (x, y)=
y
Hallar la funcio´n gy (x, y):
gy (x, y) = 57 − 3xy2
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Algoritmo
xi+1 = gx (xi, yi)
yi+1 = gy (xi+1, yi)
Algoritmo: Ejemplos I
10− x 2i
x i+1 = yi
yi+1 = 57 − 3x i+1 yi2
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Programa MATLAB
function p u n t o f i j o s e n v 1 ( gx , gy , x0 , y0 ,EE)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% p u n t o f i j o s e n v 1 : Nombre de l a f u n c i o n
% Valores de entrada
% gx : f u n c i o n matematica de entrada−>x=gx ( x , y )
% gy : f u n c i o n matematica de entrada−>y=gy ( x , y )
% x0 : V a l o r de i n i c i a l de x
% y0 : V a l o r de i n i c i a l de y
% EE : E r r o r Estimado
% Valores de s a l i d a
% Sa l id a : Raiz x , EA x , Raiz y , EA y
% IM : I t e r a c i o n Maxima
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IM=1; x ( IM ) =x0 ; y ( IM ) =y0 ;
EAx( IM ) =10ˆ3 ;
EAy( IM ) =10ˆ3 ;
while EAx ( IM )>EE | | EAy ( IM )>EE
x ( IM+1) =gx ( x ( IM ) , y ( IM ) ) ; y ( IM+1) =gy ( x ( IM+1) , y ( IM ) ) ;
EAx ( IM+1) =abs ( ( x ( IM+1)−x ( IM ) ) / x ( IM+1) ) ∗100;
EAy ( IM+1) =abs ( ( y ( IM+1)−y ( IM ) ) / y ( IM+1) ) ∗100;
IM=IM +1;
end
Salida1 = [ ’ I t e r a c i o n Maxima= ’ , num2str ( IM−1) ] ;
Salida2 = [ x ( 2 : size ( x , 2 ) ) ’ EAx ( 2 : size ( x , 2 ) ) ’ y ( 2 : size ( y , 2 ) ) ’ EAy ( 2 : size ( y , 2 ) ) ’ ] ;
disp ( ’ ’ ) disp (
Salida1 ) disp
( ’ ’)
disp ( ’ Raiz x EApro x Raiz y EApro y ’ )
disp ( Salida2 )
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Programa MATLAB
I t e r a c i o n Maxima=106
1.0 e+154 ∗
Programa MATLAB
Ejemplos II
Busquemos la solucio´n del sistema de ecuaciones no lineales:
u(x, y) = x2 + x y − 10 = 0
v(x, y) = y + 3x y2 − 57 = 0
Programa MATLAB
Algoritmo
√
xi+1 = 10 − xiyi
.
57− yi
yi+1 = 3x
i +1
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Programa MATLAB
I t e r a c i o n Maxima=11
Condicio´ n de convergencia
Convergencia
. . . .
. ∂g x . . ∂g x .
. ∂x . + . ∂y .
. . . . < 1
. . . .
. ∂g y . . ∂g y .
. ∂x . + . ∂y .
. . . . < 1
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Me´todos de Newton-Raphson
El me´todo de Newton-Raphson estudiado anteriormente puede
modificarse para resolver un sistema de ecuaciones no lineales
simultaneas.
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
∂u i ∂u i
ui+1 = u +i (x i+1 − x i ) + (y i+1 − y )i
∂x ∂y
∂v i ∂v i
vi+1 = v +i (x i+1 − x i ) + (y i+1 − y )i
∂x ∂y
Fo´rmula de Newton-Raphson
ui ∂∂vyi − v i ∂∂uyi
xi+1 = xi − ∂u i ∂v ∂u i ∂v
∂x ∂y
i − ∂y ∂x
i
vi ∂∂uxi − u i ∂∂vxi
yi+1 = yi − ∂u i ∂v ∂u i ∂v
∂x ∂y
i − ∂y ∂x
i
-tu-log
INTRODUCCIO´ N ITERACIO´ N DE PUNTO FIJO NEWTON-RAPHSON
Programa MATLAB
Programa MATLAB
> > newtonraphsonsev1 (@( x , y ) x ˆ2+ x∗y−10,@( x , y ) y+3∗x∗y ˆ2 − 5 7 ,1.5 ,3.5 ,0.001)
I t e r a c i o n Maxima=4
Raiz x EApro x Raiz y EApro y
2.0360 26.3272 2.8439 23.0715
1.9987 1.8676 3.0023 5.2764
2.0000 0.0650 3.0000 0.0763
2.0000 0.0000 3.0000 0.0000
-tu-log