Está en la página 1de 20

Universidad Santo Tomás

Departamento de Ciencias Básicas


Solución Taller de Mathematica para Algebra Lineal
Laura Alejandra Romero Rey - Código 2 326 525

Ana Sofia Sanchez Ospina - Código 2 318 785

Temas : Matrices, operaciones, sistemas de ecuaciones lineales y Determinantes


Use comandos de Mathematica tales como : MatrixForm, Dot, Transpose, MatrixPower, Part,
Inverse, Det, Simplify
1. Considere las siguientes matrices:
2 3 1 2 0 0 2 4 1
A= 3 3 1 ; B = 1 -4 8 ; X = 0 1 ; Y = 0 ; Z =( -1 1 4 )
2 4 1 1 -1 2 2 6 6
Calcule.
a) 3A - 4B b) AB c) BA d) X T e) XT B Y Z
In[ ]:= A = {{2, 3, 1}, {3, 3, 1}, {2, 4, 1}}

{{2, 3, 1}, {3, 3, 1}, {2, 4, 1}}

In[ ]:= MatrixForm[A]


forma de matriz
Out[]//MatrixForm=
2 3 1
3 3 1
2 4 1

B = {{2, 0, 0}, {1, - 4, 8}, {1, - 1, 2}}

{{2, 0, 0}, {1, - 4, 8}, {1, - 1, 2}}

In[ ]:= MatrixForm[B]


forma de matriz
Out[]//MatrixForm=
2 0 0
1 -4 8
1 -1 2

In[ ]:= X = {{2, 4}, {0, 1}, {2, 6}}


Out[]= {{2, 4}, {0, 1}, {2, 6}}

Printed by Wolfram Mathematica Student Edition


2 TALLER ÁLGEBRA (1).nb

In[ ]:= MatrixForm[X]


forma de matriz
Out[]//MatrixForm=
2 4
0 1
2 6

In[ ]:= Y = {{1}, {0}, {6}}


Out[]= {{1}, {0}, {6}}

In[ ]:= MatrixForm[Y]


forma de matriz
Out[]//MatrixForm=
1
0
6

In[ ]:= Z = {{- 1, 1, 4}}


Out[]= {{- 1, 1, 4}}

In[ ]:= MatrixForm[Z]


forma de matriz
Out[]//MatrixForm=

( -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

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 3

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}}

In[ ]:= MatrixForm[P.B.Y.Z]


forma de matriz
Out[]//MatrixForm=
- 30 30 120
- 135 135 540

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

In[ ]:= MatrixForm[(Transpose[X]).(Transpose[A])]


forma de matriz transposición transposición
Out[]//MatrixForm=
6 8 6
17 21 18

b.

Printed by Wolfram Mathematica Student Edition


4 TALLER ÁLGEBRA (1).nb

In[ ]:= MatrixForm[(A.B).X]


forma de matriz
Out[]//MatrixForm=
68 175
72 183
86 223

In[ ]:= MatrixForm[A.(B.X)]


forma de matriz
Out[]//MatrixForm=
68 175
72 183
86 223

c.
In[ ]:= MatrixForm[(A + B).X]
forma de matriz
Out[]//MatrixForm=
10 25
26 69
12 33

In[ ]:= MatrixForm[A.X + B.X]


forma de matriz
Out[]//MatrixForm=
10 25
26 69
12 33

3. Sea W = 3A - 4B, donde A y B son las matrices definidas en 1. Halle:


a) w21
b) la segunda fila de W
c) la tercera columna de W
d) la submatriz obtenida al quitar la fila1 y la columna 3 de W.
In[ ]:= W = 3A-4B
Out[]= {{- 2, 9, 3}, {5, 25, - 29}, {2, 16, - 5}}

In[ ]:= MatrixForm[W]


forma de matriz
Out[]//MatrixForm=
-2 9 3
5 25 - 29
2 16 - 5

a.
In[ ]:= W〚2, 1〛
Out[]= 5

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 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}}

In[ ]:= MatrixForm[S]


forma de matriz
Out[]//MatrixForm=
5 25
2 16

4. a) Para la matriz A en el ejercicio 1, hallar A-1 y mostrar que A A-1 = I.


a b
b) Hallar la inversa general de una matriz 2×2 asumiendo que ad - bc es no nulo.
c d

a.
MatrixPower[A, - 1]
potencia matricial

Out[]= {{- 1, 1, 0}, {- 1, 0, 1}, {6, - 2, - 3}}

In[ ]:= Q = {{- 1, 1, 0}, {- 1, 0, 1}, {6, - 2, - 3}}


Out[]= {{- 1, 1, 0}, {- 1, 0, 1}, {6, - 2, - 3}}

In[ ]:= MatrixForm[Q]


forma de matriz
Out[]//MatrixForm=
-1 1 0
-1 0 1
6 -2 -3

Printed by Wolfram Mathematica Student Edition


6 TALLER ÁLGEBRA (1).nb

In[ ]:= Det[Q]


determinante

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

5. Considere el siguiente sistema de ecuaciones.


4 x - 3 y + 2 z - w = -5
2x+y-3z = 7
-x + 4 y + z + 2 w = 8

a) Use el comando LinearSolve[A,b] para determinar su solución.

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}

In[ ]:= LinearSolve[P, v]


resuelve ecuación lineal
68 165 56
Out[]=  , ,- , 0
67 67 67

La respuesta del sistema dado es incompatible.

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}}

In[ ]:= MatrixForm[P]


forma de matriz

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 7

4 -3 2 -1 -5
2 1 -3 0 7
-1 4 1 2 8

In[ ]:= RowReduce[P]


reduce filas
1 68 31 165 11 56
Out[]= 1, 0, 0, , , 0, 1, 0, , , 0, 0, 1, ,- 
67 67 67 67 67 67

In[ ]:= MatrixForm[RowReduce[P]]


forma de mat⋯ reduce filas
Out[]//MatrixForm=
1 68
1 0 0
67 67
31 165
0 1 0
67 67
11 56
0 0 1 -
67 67

Matriz reducida con única solución.


1 -2 3 9
6. Sea A = -1 3 0 yb = -4 . Resuelva el sistema A X = b.
2 -5 5 1
In[ ]:= A = {{1, - 2, 3}, {- 1, 3, 0}, {2, - 5, 5}}

In[ ]:= {{1, - 2, 3}, {- 1, 3, 0}, {2, - 5, 5}} // MatrixForm


forma de matriz
Out[]//MatrixForm=
1 -2 3
-1 3 0
2 -5 5

In[ ]:= X = {{x}, {y}, {z}}

In[ ]:= {{x}, {y}, {z}} // MatrixForm


forma de matriz

Out[]//MatrixForm=
x
y
z

B = {{9}, {- 4}, {1}}

In[ ]:= B = {{9}, {- 4}, {1}} // MatrixForm


forma de matriz

9
In[ ]:= -4
1

In[ ]:= Y = A.X // MatrixForm


forma de matriz

Printed by Wolfram Mathematica Student Edition


8 TALLER ÁLGEBRA (1).nb

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

In[ ]:= Solve[{x - 2 y + 3 z  9, - x + 3 y  - 4, 2 x - 5 y + 5 z  1}, {x, y, z}]


resuelve

Out[]= {{x  73, y  23, z  - 6}}

In[ ]:= F = {{1, - 2, 3, 9}, {- 1, 3, 0, - 4}, {2, - 5, 5, 1}}

In[ ]:= {{1, - 2, 3, 9}, {- 1, 3, 0, - 4}, {2, - 5, 5, 1}} // MatrixForm


forma de matriz
Out[]//MatrixForm=
1 -2 3 9
-1 3 0 -4
2 -5 5 1

In[ ]:= RowReduce[F] // MatrixForm


reduce filas forma de matriz
Out[]//MatrixForm=
1 0 0 73
0 1 0 23
0 0 1 -6

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) Multiplicar la fila 1 por 2.

b) Adicionar 3 veces la fila 1 a la fila 2.

c) Adicionar -4 veces la fila 1 a la fila 3.

d) intercambiar las filas 2 y 3.

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 9

In[ ]:= B = {{1, 3, 4, - 5}, {2, - 3, 5, 6}, {4, 9, - 6, 7}}


Out[]= {{1, 3, 4, - 5}, {2, - 3, 5, 6}, {4, 9, - 6, 7}}

In[ ]:= MatrixForm[B]


forma de matriz
Out[]//MatrixForm=
1 3 4 -5
2 -3 5 6
4 9 -6 7

a.
In[ ]:= B〚1〛 = 2 * B〚1〛
Out[]= {2, 6, 8, - 10}

In[ ]:= B // MatrixForm


forma de matriz
Out[]//MatrixForm=
2 6 8 - 10
2 -3 5 6
4 9 -6 7

b.
In[ ]:= B〚2〛 = 3 * B〚1〛 + B〚2〛
Out[]= {8, 15, 29, - 24}

In[ ]:= B // MatrixForm


forma de matriz
Out[]//MatrixForm=
2 6 8 - 10
8 15 29 - 24
4 9 -6 7

c.
In[ ]:= B〚3〛 = - 4 * B〚1〛 + B〚3〛
Out[]= {- 4, - 15, - 38, 47}

In[ ]:= B // MatrixForm


forma de matriz
Out[]//MatrixForm=
2 6 8 - 10
- 4 - 15 - 38 47
8 15 29 - 24

d.
In[ ]:= B〚{2, 3}〛 = B〚{3, 2}〛

Printed by Wolfram Mathematica Student Edition


10 TALLER ÁLGEBRA (1).nb

Out[]= {{- 4, - 15, - 38, 47}, {8, 15, 29, - 24}}

In[ ]:= B // MatrixForm


forma de matriz
Out[]//MatrixForm=
2 6 8 - 10
- 4 - 15 - 38 47
8 15 29 - 24

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}}

In[ ]:= RowReduce[W] // MatrixForm


reduce filas forma de matriz

1 0 0 1
1
0 1 0
3+a
1
0 0 1
3+a

infinitas soluciones

1
In[ ]:= Solvex -  0, {a}
resuelve 3+a

1-3x
Out[]= a  
x

sin solución

In[ ]:= Solve[0 + 0 + 1  0. {a}]


resuelve

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

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 11

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}}

Out[]= {{1, 2, 3, 4}, {6, 8, 5, 19}, {4, - 5, 4, 4}}

Out[]= {{4, 1, 4, 4}, {2, 0, - 1, 3}, {2, 4, 6, 8}}

Out[]= {{- 4, 10, - 10, - 2}, {2, 0, - 1, 3}, {2, 4, 6, 8}}

In[ ]:= MatrixForm[A]


forma de matriz
Out[]//MatrixForm=
1 2 3 4
2 0 -1 3
2 -5 5 1

In[ ]:= MatrixForm[B]


forma de matriz
Out[]//MatrixForm=
1 2 3 4
6 8 5 19
4 -5 4 4

In[ ]:= MatrixForm[F]


forma de matriz
Out[]//MatrixForm=
4 1 4 4
2 0 -1 3
2 4 6 8

In[ ]:= MatrixForm[G]


forma de matriz
Out[]//MatrixForm=
- 4 10 - 10 - 2
2 0 -1 3
2 4 6 8

Printed by Wolfram Mathematica Student Edition


12 TALLER ÁLGEBRA (1).nb

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

In[ ]:= MatrixForm[RowReduce[B]]


forma de mat⋯ reduce filas
Out[]//MatrixForm=
265
1 0 0
137
116
0 1 0
137
17
0 0 1
137

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 13

In[ ]:= MatrixForm[RowReduce[F]]


forma de mat⋯ reduce filas
Out[]//MatrixForm=
19
1 0 0
17
44
0 1 0
17
13
0 0 1 -
17

In[ ]:= MatrixForm[RowReduce[G]]


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}}

In[ ]:= MatrixForm[A]


forma de matriz
Out[]//MatrixForm=
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

Printed by Wolfram Mathematica Student Edition


14 TALLER ÁLGEBRA (1).nb

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[ ]:= MatrixPower[A, 4]


potencia matricial

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}}

In[ ]:= MatrixForm[MatrixPower[P, 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.
1
1 3
11. Sea A = 1
. Halle A2 , A3 , and A8 . Puede conjeturar quien es An ?. verifique su conjetura.
0 4

In[ ]:= A = {{1, 1 / 3}, {0, 1 / 4}}


1 1
Out[]= 1, , 0, 
3 4

In[ ]:= MatrixForm[A]


forma de matriz
Out[]//MatrixForm=
1
1
3
1
0
4

In[ ]:= MatrixForm[MatrixPower[A, 2]]


forma de mat⋯ potencia matricial
Out[]//MatrixForm=
5
1
12
1
0
16

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 15

In[ ]:= MatrixForm[MatrixPower[A, 3]]


forma de mat⋯ potencia matricial
Out[]//MatrixForm=
7
1
16
1
0
64

In[ ]:= MatrixForm[MatrixPower[A, 8]]


forma de mat⋯ potencia matricial
Out[]//MatrixForm=
21 845
1
49 152
1
0
65 536

12. Resuelva los siguientes sistemas de ecuaciones lineales:


x1 - 2 x2 + 3 x3 = 9
x 1 + x2 = 3
a) - x1 + 3 x2 = -4 b)
0.3 x1 + 0.3 x2 = 0.9
2 x1 - 5 x2 + 5 x3 = 17
2x + y +z-2w= 1
x1 - 2 x2 + 5 x3 - 3 x4 = 23.6 3 x - 2 y + z - 6 w = -2
c) x1 + 4 x2 - 7 x3 - 2 x4 = -4 d) x + y - z - w = -1
3 x1 - 5 x2 + 7 x3 + 4 x4 = 29.9 6 x + z - 9 w = -2
5x - y+2z-8w=3

a.
In[ ]:= Solve[{x - 2 y + 3 z  9, - x + 3 y  - 4, 2 x - 5 y + 5 z  17}, {x, y, z}]
resuelve

Out[]= {{x  1, y  - 1, z  2}}

In[ ]:= A = {{1, - 2, 3, 9}, {- 1, 3, 0, - 4}, {2, - 5, 5, 17}} // MatrixForm


forma de matriz
Out[]//MatrixForm=
1 -2 3 9
-1 3 0 -4
2 - 5 5 17

El sistema de ecuaciones tiene única solución donde x=1, y=-1, z=2

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.

Out[]= {{y  3. - 1. x}}

Printed by Wolfram Mathematica Student Edition


16 TALLER ÁLGEBRA (1).nb

In[ ]:= RowReduce[{{1, 1, 3}, {0.3, 0.3, 0.9}}] // MatrixForm


reduce filas forma de matriz
Out[]//MatrixForm=
1 1. 3.
0 0 0

El sistema tiene infinitas soluciones.

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

Out[]= {{x  8.35 + 0.527778 w, y  7.5 + 4.11111 w, z  6.05 + 2.13889 w}}

In[ ]:= Q = {{1, - 2, 5, - 3, 23.6}, {1, 4, - 7, - 2, - 4}, {3, - 5, 7, 4, 29.9}} // MatrixForm


forma de matriz
Out[]//MatrixForm=
1 - 2 5 - 3 23.6
1 4 -7 -2 -4
3 - 5 7 4 29.9

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[]= {}

In[ ]:= RowReduce[{{2, 1, 1, - 2, 1}, {3, - 2, 1, - 6, - 2},


reduce filas
{1, 1, - 1, - 1, - 1}, {6, 1, 0, - 9, - 2}, {5, - 1, 2, - 8, 3}}] // MatrixForm
forma de matriz
Out[]//MatrixForm=
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1

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

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 17

y 5 veces la fila 1. Muestre que Det(A2 ) = Det(A).


In[ ]:= A = {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}
Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}

In[ ]:= MatrixForm[A]


forma de matriz
Out[]//MatrixForm=
2 1 -3
0 4 5
-1 3 2

a.
In[ ]:= Det[A]
determinante

Out[]= - 31

b.
In[ ]:= Det[Transpose[A]]
de⋯ transposición

Out[]= - 31

In[ ]:= P = Det[A]


determinante

Out[]= - 31

c.
In[ ]:= Det[2 A]
determinante

Out[]= - 248

In[ ]:= (2 ^ 3) Det[A]


determinante

Out[]= - 248

d.
In[ ]:= A1 = A
Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}

In[ ]:= A1〚{1, 2}〛 = A1〚{2, 1}〛


Out[]= {{0, 4, 5}, {2, 1, - 3}}

Printed by Wolfram Mathematica Student Edition


18 TALLER ÁLGEBRA (1).nb

In[ ]:= Det[A]


determinante

Out[]= - 31

In[ ]:= Det[A1]


determinante

Out[]= 31

e.
In[ ]:= A2 = A
Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}

In[ ]:= A2〚3〛 = B〚3〛 + 5 B〚1〛


Out[]= {9, 5, 19, 24}

In[ ]:= Det[A]


determinante

Out[]= 1

In[ ]:= S = {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}


Out[]= {{2, 1, - 3}, {0, 4, 5}, {- 1, 3, 2}}

In[ ]:= Det[S]


determinante

Out[]= 1

14. Volver a hacer el ejercicio anterior si A es un matriz arbitraria 3x3.


a11 a12 a13
A = a21 a22 a23
a31 a32 a33
In[ ]:= A = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}
Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}

a.
In[ ]:= Det[A]
determinante

Out[]= 1

b.
In[ ]:= Det[Transpose[A]]
de⋯ transposición

Out[]= 1

Printed by Wolfram Mathematica Student Edition


TALLER ÁLGEBRA (1).nb 19

In[ ]:= Det[A]


determinante

Out[]= 1

c.
In[ ]:= Det[2 A]
determinante

Out[]= 8

In[ ]:= (2 ^ 3) Det[A]


determinante

Out[]= 8

d.
In[ ]:= A1 = A
Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}

In[ ]:= A1〚{1, 2}〛 = A1〚{2, 1}〛


Out[]= {{0, 1, 0}, {1, 0, 0}}

In[ ]:= Det[A]


determinante

Out[]= 1

In[ ]:= Det[A1]


determinante

Out[]= -1

e.
In[ ]:= A2 = A
Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}

In[ ]:= A2〚3〛 = B〚3〛 + 5 B〚1〛


Out[]= {9, 5, 19, 24}

In[ ]:= Det[A]


determinante

Out[]= 1

In[ ]:= S = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}


Out[]= {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}

Printed by Wolfram Mathematica Student Edition


20 TALLER ÁLGEBRA (1).nb

In[ ]:= Det[S]


determinante

Out[]= 1

Printed by Wolfram Mathematica Student Edition

También podría gustarte