Você está na página 1de 17

Sistemas de

Ecuaciones
Diferenciales
Sistemas de Ecuaciones Diferenciales
Sistemas de Ecuaciones Diferenciales
Ecuaciones Diferenciales de orden m>1
Mtodos numricos para sistemas
Teora cualitativa
Plano de fases
Puntos de equilibrio
Estabilidad
Sistemas de Ecuaciones Diferenciales
Condiciones iniciales
' =
' =
' =

y t f t y t y t y t
y t f t y t y t y t
y t f t y t y t y t
m
m
m m m
1 1 1 2
2 2 1 2
1 2
( ) ( , ( ), ( ),..., ( ))
( ) ( , ( ), ( ),..., ( ))
( ) ( , ( ), ( ),..., ( ))

f IR IR i m t a b
i
m
: , , ,... , [ , ]
+
= e
1
12
y a y y a y y a y
m m 1 10 2 20 0
( ) , ( ) , ..., ( ) = = =
Ecuaciones Diferenciales de orden m >1
Condiciones iniciales
y t f t y t y t y t y t t a b
m m ( ) ( ),
( ) ( , ( ), ( ), ( ),..., ( )), [ , ] = ' '' e
1
y a y y a y y a y y a y
m m
( ) , ( ) , ( ) ,..., ( )
( ) ( )
= ' = ' '' = '' =

0 0 0
1
0
1
y t y t
y t y t
y t y t
y t y t
y t y t
y t y t
y t y t
y t f t y y
m
m
m m
1
2
3
1
1 2
2 3
3 4
1
( ) ( )
( ) ( )
( ) ( )
( ) ( )
( ) ( )
( ) ( )
( ) ( )
( ) ( , ,... )
( )
=
= '
= ''
=
' =
' =
' =
' =


Cambio de variable Sistema equivalente
Ejemplo: movimiento del pndulo
Ley de Newton: ecuacin de 2 orden
Sistema diferencial de 1
er
orden
ly t ky g y t e t
y y y w
'' + ' + =
= ' =
( ) sen ( ) ( )
( ) , ( ) 0 0
0 0
' =
' =

`
)
y t w
w t e kw g y l
( )
( ) ( sen ) /
y
l
Fuerza externa
Resistencia del medio
Ejemplo: circuito elctrico
Ecuacin de 2 orden
Sistema diferencial de 1
er
orden
LQ RQ
Q
C
E t Q Q I I '' + ' + = = = ( ), ( ) , ( ) 0 0
0 0
' =
' = +

Q I
I
LC
Q
R
L
I
E t
L
1 ( )
L
E(t)
R
C
Expresin matricial del S.E.D.
Problema de valor inicial
siendo,
' = e = y f y y y ( ) ( , ( )) , [ , ] , ( ) t t t t a b t
0 0
y
y
f y y y y
y
( ) ( ( ), ( ),..., ( ))
( ) ( ( ), ( ),..., ( ))
( , ) ( ( , ), ( , ),..., ( , ))
( , ,..., )
t y t y t y t
t y t y t y t
t f t f t f t
y y y
m
m
m
m
=
' = ' ' '
=
=
1 2
1 2
1 2
0 01 02 0
T
T
T
T
Mtodos numricos para
sistemas
function [t,y]=mieuler(a,b,y0,n)
m=length(y0);
h=(b-a)/n; t=a:h:b;
y=zeros(n+1,m); y(1,:)=y0;
for k=1:n
y(k+1,:)=y(k,:)+h*f(t(k),y(k,:));
end
Ecuacin del pndulo
function z=pendulo(t,y)
% z=pendulo(t,y)
% ly"+ky'+gsen(y) = e(t)
% l: longitud, k: resistencia del medio
% g: acel. grav., e(t): fuerza externa
l=1; k=0; g=9.81; e=0; % Datos
z(1)=y(2); % Ecuacin
z(2)=(e - k*y(2) - g*sin(y(1)))/l;
Pndulo simple no amortiguado!!
0 2 4 6 8 10
-5
-4
-3
-2
-1
0
1
2
3
4
5
Velocidad
ngulo
Teora cualitativa
Sistema de 2 ecuaciones
diferenciales
Sistema autnomo
Puntos de equilibrio
' =
' =

`
)
x f t x y
y g t x y
( , , )
( , , )
' =
' =

`
)
x f x y
y g x y
( , )
( , )
f x y
g x y
( , )
( , )
=
=

`
)
0
0
Plano de fases
Trayectorias u rbitas
Propiedades
Unicidad
Trayectorias punto de equilibrio
Comportamiento asinttico
rbitas cerradas
( ( ), ( )), [ , ] x t y t t t e
0
Plano de fases
x=a:h:b; y=c:h:d;
[xx,yy] = meshgrid(x,y);
dx = f(xx,yy);
dy = g(xx,yy);
quiver(xx,yy,dx,dy)
Plano de fases
-6 -4 -2 0 2 4 6
-4
-3
-2
-1
0
1
2
3
4
Pndulo simple no amortiguado
Ecuacin de van der Pol
Ecuacin 2 orden
Cambio
Sistema 1
er
orden

function z=vanderPol(t,y)
k=0.1;
z(1)=y(2);
z(2)=k*(1-y(1).^2).*y(2)-y(1);
'' + ' + = y k y y y ( )
2
1 0
y y y y
1 2
= = ' ,
' =
' =

`
)
y y
y k y y y
1 2
2
2
2 1
1 ( )
Ecuacin de van der Pol
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
Estabilidad
Las trayectorias prximas en un instante
dado, permanecen siempre prximas.
Las trayectorias prximas en un instante
dado, no lo estn posteriormente.
Las trayectorias prximas en un instante
dado, estn cada vez ms prximas.

Você também pode gostar