Professional Documents
Culture Documents
(Vuelta a la P7):
1 2 1 2
2 3 0 5
In[ ]:= A1 =
4 9 6 7
1 1 5 5
Out[ ]= {{1, 2, 1, 2}, {2, 3, 0, 5}, {4, 9, 6, 7}, {1, 1, 5, 5}}
Out[ ]= 5 t2 + 3 t x + x2 + 6 t y + 4 x y + 3 y2 + 12 t z + 5 x z + 9 y z + 6 z2
5 3 1 9 11 81
Out[ ]= a1 2, a2 , a3 , b1 , b11 - 1, b2 0, c1 , c11 , d11 -
2 2 2 11 4 44
Por pasos:
5 3
Out[ ]= a1 2, a2 , a3
2 2
2 P8 matess (3-11-23).nb
1
Out[ ]= b1 , b11 - 1, b2 0
2
11 t2 9tz
Out[ ]= +
4 2
9 11
Out[ ]= c1 , c11
11 4
81 z2
Out[ ]= -
44
81 z2
In[ ]:= (q1 /. s1〚1〛) + (q2 /. s2〚1〛) + (q3 /. s3〚1〛) -
44
2 2 2
z 2 11 9z 81 z 3t 5z
Out[ ]= - y+ + t+ - + +x+2y+
2 4 11 44 2 2
Práctica 8:
Ejercicio 1:
1 -1 2 1
-1 2 -3 1
In[ ]:= M1 =
2 -3 4 + a 0
1 1 0 5 - a + a2
Out[ ]= {1, - 1, 2, 1}, {- 1, 2, - 3, 1}, {2, - 3, 4 + a, 0}, 1, 1, 0, 5 - a + a2
P8 matess (3-11-23).nb 3
Out[ ]= 1, 1, - 1 + a, a - 2 a2 + a3
-2 -1 1 2
Out[ ]=
-2
-4
Out[ ]= (- 1 + a)2 a
Tenemos que:
* Si a < 0 los menores son: +, +, -, - Por tanto es indefinida.
* Si 0 < a < 1 los menores son: +, +, -, + Indefinida
* Si a > 1 los menores son: +, +, +, + Definida positiva.
Caso a = 0
In[ ]:= A0 = M1 /. {a 0}
Out[ ]= {{1, - 1, 2, 1}, {- 1, 2, - 3, 1}, {2, - 3, 4, 0}, {1, 1, 0, 5}}
Caso a = 1
In[ ]:= A1 = M1 /. {a 1}
Out[ ]= {{1, - 1, 2, 1}, {- 1, 2, - 3, 1}, {2, - 3, 5, 0}, {1, 1, 0, 5}}
Ejercicio 3:
1 -2 1
In[ ]:= M3 = -2 6 -4
1 -4 3
Out[ ]= {{1, - 2, 1}, {- 2, 6, - 4}, {1, - 4, 3}}
Out[ ]= {1, 2, 0}
O por VP:
Out[ ]= 5 + 19 , 5 - 19 , 0
Es semidefinida positiva, además se puede llegar a () ^2 + ()2 con base lineal. Para que sea 0 el
resultado necesariamente base 1 = 0 y base 2 = 0 que es un sistema homogéneo así que es
compatible pero tiene 3 variables y solo 2 ecuaciones: indeterminado; así que hay infinitas
soluciones.
Out[ ]= x - 4 x y + 6 y2 + 2 x z - 8 y z + 3 z 2
2
Solve: Equations may not give solutions for all "solve" variables.
1 1
Out[ ]= z - x + 4 y - 2 - x2 + 2 x y - y2 , z - x + 4 y + 2 - x2 + 2 x y - y2
3 3
Ejercicio 2:
0 0 0
In[ ]:= M2 = 0 0 -1
0 -1 0
Out[ ]= {{0, 0, 0}, {0, 0, - 1}, {0, - 1, 0}}
Out[ ]= {- 1, 1, 0}
-1 0 0
Tendremos una diagonal, por ejemplo, 0 1 0 pero cualquier otra con el mismo número de
0 00
-4 0 0
positivos (signatura) de 0 (rango), por ejemplo 0 0 0 .
0 07
La forma cuadrática es indefinida.
Para la restringida lo primero es saber cuantos grados de libertad quedan (o cuantas variables
quedan) 3 (variables) - 1 (rango) = 2 grados de libertad. Esta lectura se hace sobre el sistema que
restringe.
Resolvemos este sistema:
Solve: Equations may not give solutions for all "solve" variables.