Vous êtes sur la page 1sur 3

SISTEMA DE ECUACIONES ORDINARIAS NO HOMOGENEAS

X A.X gt
MTODO DE COEFICIENTES INDETERMINADOS
In[53]:= A
2 1
1 2
;
g
2
t
3 t
;
In[55]:= E2
1 0
0 1
;
P DetA r E2
Out[56]= 3 4 r r
2
In[57]:= SolveP 0, r
Out[57]= r 3, r 1
In[58]:= r 3;
A r E2 MatrixForm
Out[59]//MatrixForm=

1 1
1 1

1
a
b

a
a
a
1
1

In[60]:= r 1;
A r E2 MatrixForm
Out[61]//MatrixForm=

1 1
1 1

1
a
b

a
a
a
1
1

In[72]:= X c1
1
1

3 t
c2
1
1

t
;
Simplify
t
X A.X MatrixForm
Out[73]//MatrixForm=

0
0

LUEGO DE DETERMINAR LA SOLUCION DEL SISTEMA HOMOGENEO
AHORA DETERMINAREMOS LA SOLUCIN PARTICULAR :
g
2
t
3 t

2
0

t

0
3
t
Por el principio de superposicin calculamos la solucin parcial solo para la parte g1

2
0

t
y luego g2
0
3
t
OBSERVAMOS. g1
2
0

t
y es parte de una de las soluciones
por tanto buscaremos la solucin as : a t
t
b
t
In[74]:= X
a
b
t
t

c
d

t
;
Simplify
t
X A.X MatrixForm
Out[75]//MatrixForm=

t
a c d a t b t

t
b c d a t b t
Para que sea solucin particular los coeficientes tienen que ser igual g1
2
0

t
: a c d 2;
a b 0; b c d 0; a b 0; el sistema se expresa en la forma de Gauss en el orden a b c d
In[76]:= m
1 0 1 1 2
1 1 0 0 0
0 1 1 1 0
1 1 0 0 0
;
RowReducem MatrixForm
Out[77]//MatrixForm=
1 0 0 0 1
0 1 0 0 1
0 0 1 1 1
0 0 0 0 0
entonces a 1; b 1; c 1 d; d es una variable libre por tanto la solucin particular
X
1
1
t
t

1 d
d

t

1
1
t
t

1
0

t
d
1
1

t
;
Obviamente la parte d
1
1

t
es la solucion
del sistema homogeneo por tanto la solucin particular es
In[78]:= X
1
1
t
t

1
0

t
;
Simplify
t
X A.X MatrixForm
Out[79]//MatrixForm=
2
t
0
Este resultado verifica que este es una la solucin particular buscada
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ __
Ahora buscamos la otra solucin particular para g2
0
3
t
La buscamos de la forma X
a
b
t
c
d
;
2 04_Sistema_no_homogeneo.nb
In[80]:= X
a
b
t
c
d
;
Simplify
t
X A.X MatrixForm
Out[81]//MatrixForm=

a 2 c d 2 a t b t
b c 2 d a t 2 b t

Este resultado debe ser igual a :
0
3
t
0
3 t

Por tanto tenemos un sistema :
a 2 c d 0;
2 a b 0;
b c 2 d 0;
a 2 b 3;
Expresamos este sistema en la forma de Gauss, tenemos :
In[82]:= m
1 0 2 1 0
2 1 0 0 0
0 1 1 2 0
1 2 0 0 3
;
RowReducem MatrixForm
Out[83]//MatrixForm=
1 0 0 0 1
0 1 0 0 2
0 0 1 0
4
3
0 0 0 1
5
3
De este sistema tenemos a 1; b 2; c
4
3
; d
5
3
;
por tanto la solucion particular es X
1
2
t

4
3

5
3

1
2
t
1
3

4
5
;
Verificamos que este resultado satisface la ecuacin
In[88]:= X
1
2
t
1
3

4
5
;
Simplify
t
X A.X MatrixForm
Out[89]//MatrixForm=

0
3 t

Ahora la solucion General y su verificacin
In[90]:= X c1
1
1

3 t
c2
1
1

t

1
1
t
t

1
0

t

1
2
t
1
3

4
5
;
Simplify
t
X A.X MatrixForm
Out[91]//MatrixForm=
2
t
3 t
04_Sistema_no_homogeneo.nb 3

Vous aimerez peut-être aussi