Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Taller Álgebra Laura - Ana Sofia S
Taller Álgebra Laura - Ana Sofia S
( -1 1 4 )
a.
In[ ]:= MatrixForm[3 A - 4 B]
forma de matriz
Out[]//MatrixForm=
-2 9 3
5 25 - 29
2 16 - 5
b.
In[ ]:= MatrixForm[A.B]
forma de matriz
Out[]//MatrixForm=
8 - 13 26
10 - 13 26
9 - 17 34
c.
In[ ]:= MatrixForm[B.A]
forma de matriz
Out[]//MatrixForm=
4 6 2
6 23 5
3 8 2
d.
In[ ]:= MatrixForm[Transpose[X]]
forma de mat⋯ transposición
Out[]//MatrixForm=
2 0 2
4 1 6
e.
In[ ]:= P = {{2, 0, 2}, {4, 1, 6}}
Out[]= {{2, 0, 2}, {4, 1, 6}}
2. Use las matrices del ejercicio anterior para verificar cada una de las siguientes identidades.
a) (AX)T = X T AT b) (AB)X =A (BX) c) (A+B)X = AX + BX
a.
In[ ]:= MatrixForm[Transpose[A.X]]
forma de mat⋯ transposición
Out[]//MatrixForm=
6 8 6
17 21 18
b.
c.
In[ ]:= MatrixForm[(A + B).X]
forma de matriz
Out[]//MatrixForm=
10 25
26 69
12 33
a.
In[ ]:= W〚2, 1〛
Out[]= 5
b.
In[ ]:= MatrixForm[W〚2〛]
forma de matriz
Out[]//MatrixForm=
5
25
- 29
c.
In[ ]:= MatrixForm[W〚All, 3〛]
forma de matriz todo
Out[]//MatrixForm=
3
- 29
-5
d.
In[ ]:= S = {{5, 25}, {2, 16}}
Out[]= {{5, 25}, {2, 16}}
a.
MatrixPower[A, - 1]
potencia matricial
Out[]= 1
b.
Inverse[{{a, b}, {c, d}}]
matriz inversa
bd b2 bc ab
In[ ]:= ,- , - ,
-b c + a d -b c + a d -b c + a d -b c + a d
bd b2 bc ab
Out[]= ,- , - ,
-b c + a d -b c + a d -b c + a d -b c + a d
b) Exprese la matriz aumentada en forma escalonada reducida por filas y determine las
soluciones del sistema de ecuaciones
a.
In[ ]:= P = {{4, - 3, 2, - 1}, {2, 1, - 3, 0}, {- 1, 4, 1, 2}}
Out[]= {{4, - 3, 2, - 1}, {2, 1, - 3, 0}, {- 1, 4, 1, 2}}
In[ ]:= v = {- 5, 7, 8}
Out[]= {- 5, 7, 8}
b.
In[ ]:= P = {{4, - 3, 2, - 1, - 5}, {2, 1, - 3, 0, 7}, {- 1, 4, 1, 2, 8}}
Out[]= {{4, - 3, 2, - 1, - 5}, {2, 1, - 3, 0, 7}, {- 1, 4, 1, 2, 8}}
4 -3 2 -1 -5
2 1 -3 0 7
-1 4 1 2 8
Out[]//MatrixForm=
x
y
z
9
In[ ]:= -4
1
x-2y+3z
-x + 3 y
2x-5y+5z
Igualación con las matrices obtenidas para hallar el valor de las variables.
x-2y+3z 9
-x + 3 y = -4
2x-5y+5z 1
x = 73
y = 23
z = -6
Método de matriz escalonada reducida, posee única solución, cuenta con la misma cantidad de pivotes
y variables.
1 3 4 -5
7. Let B = 2 -3 5 6 Halle las matrices por las que se debe multiplicar B para realizar
4 9 -6 7
las siguientes operaciones y realice la operación.
a.
In[ ]:= B〚1〛 = 2 * B〚1〛
Out[]= {2, 6, 8, - 10}
b.
In[ ]:= B〚2〛 = 3 * B〚1〛 + B〚2〛
Out[]= {8, 15, 29, - 24}
c.
In[ ]:= B〚3〛 = - 4 * B〚1〛 + B〚3〛
Out[]= {- 4, - 15, - 38, 47}
d.
In[ ]:= B〚{2, 3}〛 = B〚{3, 2}〛
8. Para que valores de a el sistema siguiente no tiene solución, tiene una única solución o
tiene infinitas soluciones?
x- y+z=1
x+3 y+az=2
2x+a y+3z=3
In[ ]:= W = {{1, - 1, 1, 1}, {1, 3, a, 2}, {2, a, 3, 3}}
Out[]= {{1, - 1, 1, 1}, {1, 3, a, 2}, {2, a, 3, 3}}
1 0 0 1
1
0 1 0
3+a
1
0 0 1
3+a
infinitas soluciones
1
In[ ]:= Solvex - 0, {a}
resuelve 3+a
1-3x
Out[]= a
x
sin solución
Out[]= {}
Es una matriz con única solución, cuenta con la misma cantidad de pivotes y variables. “a” puede ser
cualquier numero, excepto -3.
1 2 3 4 1 2 3 4
9. Sea A = 2 0 -1 3 B = 6 8 5 19
2 -5 5 1 4 -5 4 4
4 1 4 4 -4 10 -10 -2
C = 2 0 -1 3 D = 2 0 -1 3
2 4 6 8 2 4 6 8
i) Halle a) A - 3 B b) CT D c) B AT + DT
ii) Use el comando RowReduce para determinar cuales de las anteriores matrices son
equivalentes por filas.
In[ ]:= A = {{1, 2, 3, 4}, {2, 0, - 1, 3}, {2, - 5, 5, 1}}
B = {{1, 2, 3, 4}, {6, 8, 5, 19}, {4, - 5, 4, 4}}
F = {{4, 1, 4, 4}, {2, 0, - 1, 3}, {2, 4, 6, 8}}
G = {{- 4, 10, - 10, - 2}, {2, 0, - 1, 3}, {2, 4, 6, 8}}
Out[]= {{1, 2, 3, 4}, {2, 0, - 1, 3}, {2, - 5, 5, 1}}
a.
In[ ]:= MatrixForm[A - 3 B]
forma de matriz
Out[]//MatrixForm=
-2 -4 -6 -8
- 16 - 24 - 16 - 54
- 10 10 - 7 - 11
b.
In[ ]:= MatrixForm[(Transpose[F]).G]
forma de matriz transposición
Out[]//MatrixForm=
-8 48 - 30 14
4 26 14 30
-6 64 - 3 37
6 72 5 65
c.
In[ ]:= MatrixForm[B.(Transpose[A] + Transpose[G])]
forma de matriz transposición transposición
Out[]//MatrixForm=
8 22 71
81 128 242
- 92 32 101
2.
In[ ]:= MatrixForm[RowReduce[A]]
forma de mat⋯ reduce filas
Out[]//MatrixForm=
97
1 0 0
59
44
0 1 0
59
17
0 0 1
59
Las matrices anteriores poseen Única solución, cuentan con la misma cantidad de pivotes como de
variables.
0 1 0 0
-1 0 0 0
10. Sea A = .
0 0 0 1
0 0 1 0
a) Halle el entero positivo más pequeño k tal que Ak = A. [ Ayuda: Note que el comando
MatrixPower[A,n] da An .]
b) Asuma que A es no singular. Use el resultado de a) para hallar el más pequeño valor de n tal
que A-1 = An .
In[ ]:= A = {{0, 1, 0, 0}, {- 1, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}}
Out[]= {{0, 1, 0, 0}, {- 1, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}}
a.
MatrixForm[MatrixPower[A, 4]]
forma de mat⋯ potencia matricial
Out[]//MatrixForm=
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
Matriz con única solución, cuenta con la misma cantidad de pivotes como de variables.
b.
MatrixForm[MatrixPower[A, - 1]]
forma de mat⋯ potencia matricial
Out[]//MatrixForm=
0 -1 0 0
1 0 0 0
0 0 0 1
0 0 1 0
In[ ]:= P = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}
Out[]= {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}
Matriz con única solución, cuenta con la misma cantidad de pivotes como de variables.
1
1 3
11. Sea A = 1
. Halle A2 , A3 , and A8 . Puede conjeturar quien es An ?. verifique su conjetura.
0 4
a.
In[ ]:= Solve[{x - 2 y + 3 z 9, - x + 3 y - 4, 2 x - 5 y + 5 z 17}, {x, y, z}]
resuelve
b.
In[ ]:= Solve[{x + y 3, 0.3 x + 0.3 y 0.9}, {x, y}]
resuelve
Solve: Equations may not give solutions for all "solve" variables.
c.
In[ ]:= Solve[{x - 2 y + 5 z - 3 w 23.6, x + 4 y - 7 z - 2 w - 4, 3 x - 5 y + 7 z + 4 w 29.9}]
resuelve
d.
In[ ]:= Solve[{2 x + y + z - 2 w 1, 3 x - 2 y + z - 6 w - 2,
resuelve
x + y - z - w - 1, 6 x + z - 9 w - 2, 5 x - y + 2 z - 8 w 3}]
Out[]= {}
El sistema es inconsistente, ya que todos los elementos de la última fila son 0 excepto el último.
2 1 -3
13. Sea A= 0 4 5 .
-1 3 2
a) Halle Det(A).
b) Muestre que Det(AT ) = Det(A)
c) Verifique que Det(2A) = 23 Det(A)
d) Sea A1 la matriz que se obtiene intercambiando las filas 1 y 2 de A. Muestre que Det(A1 ) = -
Det(A).
e) Sea A2 la matriz que se obtiene de A reemplazando la tercera fila de A por la suma de la fila 3
a.
In[ ]:= Det[A]
determinante
Out[]= - 31
b.
In[ ]:= Det[Transpose[A]]
de⋯ transposición
Out[]= - 31
Out[]= - 31
c.
In[ ]:= Det[2 A]
determinante
Out[]= - 248
Out[]= - 248
d.
In[ ]:= A1 = A
Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}
Out[]= - 31
Out[]= 31
e.
In[ ]:= A2 = A
Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}
Out[]= 1
Out[]= 1
a.
In[ ]:= Det[A]
determinante
Out[]= 1
b.
In[ ]:= Det[Transpose[A]]
de⋯ transposición
Out[]= 1
Out[]= 1
c.
In[ ]:= Det[2 A]
determinante
Out[]= 8
Out[]= 8
d.
In[ ]:= A1 = A
Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}
Out[]= 1
Out[]= -1
e.
In[ ]:= A2 = A
Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}
Out[]= 1
Out[]= 1