You are on page 1of 9

Ejercicio 1

m2 = K O
2 4 10
- 6 8 12
1 -2
m3 = -3 4
6 7
-1 5 8
m4 = 2 -6 9
3 7 10

Ejercicio 2

m2 = 882, 4, 10<, 8- 6, 8, 12<<


882, 4, 10<, 8- 6, 8, 12<<

Dimensions@m2D
82, 3<

m3 = 881, - 2<, 8- 3, 4<, 86, 7<<


881, - 2<, 8- 3, 4<, 86, 7<<

Dimensions@m3D
83, 2<

m4 = 88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<


88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<

Dimensions@m4D
83, 3<

Ejercicio 3

m2 = 882, 4, 10<, 8- 6, 8, 12<<


882, 4, 10<, 8- 6, 8, 12<<

m2@@2, 1DD
-6

m3 = 881, - 2<, 8- 3, 4<, 86, 7<<


881, - 2<, 8- 3, 4<, 86, 7<<

m3@@2, 3DD

Part::partw : Part 3 of 8-3, 4< does not exist. ‡

881, - 2<, 8- 3, 4<, 86, 7<<P2, 3T

Printed by Wolfram Mathematica Student Edition


2 Taller 1.nb

m4 = 88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<


88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<

m4@@3, 4DD

Part::partw : Part 4 of 83, 7, 10< does not exist. ‡

88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<P3, 4T

Ejercicio 4

MatrixForm@m2D

K O
2 4 10
- 6 8 12

Transpose@m2D  MatrixForm
2 -6
4 8
10 12

m2.m4  MatrixForm

K O
36 56 152
58 6 144

3 * m2  MatrixForm

K O
6 12 30
- 18 24 36

Power@m3, 4D  MatrixForm
1 16
81 256
1296 2401

MatrixPower@m4, 3D  MatrixForm
358 868 1639
361 - 225 1605
606 1256 2585

Ejercicio 5

RowReduce@m2D  MatrixForm
4
1 0 5
21
0 1 10

RowReduce@882, 4, 10<, 8- 6, 8, 12<<D  MatrixForm


4
1 0 5
21
0 1 10

Printed by Wolfram Mathematica Student Edition


Taller 1.nb 3

RowReduce@881, - 2<, 8- 3, 4<, 86, 7<<D  MatrixForm


1 0
0 1
0 0

RowReduce@m3D  MatrixForm
1 0
0 1
0 0

RowReduce@m4D  MatrixForm
1 0 0
0 1 0
0 0 1

RowReduce@88- 1, 5, 8<, 82, - 6, 9<, 83, 7, 10<<D  MatrixForm


1 0 0
0 1 0
0 0 1

Ejercicio 6

2x+y+z = 7
x-4y+3z = 2
3 x + 2 y + 2 z = 13
SolveA2 x + y + z == 7 && x - 4 y + 3 z == 2 && 3 x + 2 y + 2 z == 13, 8x, y, z<E
88x ® 1, y ® 2, z ® 3<<

RowReduce@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, 2, 2, 13<<D  MatrixForm


1 0 0 1
0 1 0 2
0 0 1 3

LinearSolve@882, 1, 1<, 81, - 4, 3<, 83, 2, 2<<, 887<, 82<, 813<<D

881<, 82<, 83<<

2x+y+z = 7
x-4y+3z = 2
3 x - 3 y + 4 z = 10
Solve@2 x + y + z Š 7 && x - 4 y - 3 z Š 2 && 3 x - 3 y - 4 z Š 10, 8x, y, z<D

::x ® >>
61 13 1
,y® ,z®-
18 18 2

Printed by Wolfram Mathematica Student Edition


4 Taller 1.nb

RowReduce@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, - 3, 4, 10<<D  MatrixForm


7
1 0 9
0
5
0 1 -9 0
0 0 0 1

LinearSolve@882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<, 887<, 82<, 810<<D

LinearSolve::nosol : Linear equation encountered that has no solution. ‡

LinearSolve@882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<, 887<, 82<, 810<<D

2 x + y + z = 7,
x-4y+3z = 2
3x-3y+4z = 9
Solve@2 x + y + z Š 7 && x - 4 y + 3 z Š 2 && 3 x - 3 y + 4 z Š 9, 8x, y, z<D

Solve::svars : Equations may not give solutions for all "solve" variables. ‡

::y ® >>
19 5x 30 9x
- ,z® -
7 7 7 7

RowReduce@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, - 3, 4, 9<<D  MatrixForm


7 10
1 0 9 3
5 1
0 1 -9 3
0 0 0 0

LinearSolve@882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<, 887<, 82<, 89<<D

:: >, : >, 80<>


10 1
3 3

CONCLUSION
Para el primer ejemplo se puede resolver cualquier ecuacion no necesariamnete
matricial como el comando es solve puede resolver dando a x, y,
z un valor numerico las otras si tienen que ver con matrices ya que en el 2 ejemplo
el resultado es en forma de matriz y el 3 ejemplo el resultado esta fila por fila

Ejercicio 7

2x+y+z = 7
x-4y+3z = 2
3 x + 2 y + 2 z = 13
MatrixForm@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, 2, 2, 13<<D

2 1 1 7
1 -4 3 2
3 2 2 13

Tr@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, 2, 2, 13<<D


0

Printed by Wolfram Mathematica Student Edition


Taller 1.nb 5

a = 882, 1, 1<, 81, - 4, 3<, 83, 2, 2<<

882, 1, 1<, 81, - 4, 3<, 83, 2, 2<<

Det@aD
-7

7 1 1
a1 = 2 -4 3
13 2 2
2 7 1
a2 = 1 2 3
3 13 2
2 1 7
a3 = 1 -4 2
3 2 3
Det@a1D
887, 1, 1<, 82, - 4, 3<, 813, 2, 2<<

882, 7, 1<, 81, 2, 3<, 83, 13, 2<<

882, 1, 7<, 81, - 4, 2<, 83, 2, 3<<

-7

Det@a2D
- 14

Det@a3D

69
Det@a1D  Det@aD
1

Det@a2D  Det@aD
2

Det@a3D  Det@aD
69
-
7

sistema con Unica solucion

2x+y+z = 7
x-4y+3z = 2
3 x - 3 y + 4 z = 10
Tr@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, - 3, 4, 10<<D
2

Printed by Wolfram Mathematica Student Edition


6 Taller 1.nb

b = 882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<


MatrixForm@bD
882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

2 1 1
1 -4 3
3 -3 4
Det@bD
882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

7 1 1
b1 = 2 -4 3
10 - 3 4
2 7 1
b2 = 1 2 3
3 10 4
2 1 7
b3 = 1 -4 2
3 - 3 10

Det@b1D
7

Det@b2D
-5

Det@b3D
-9

Det@b1D  Det@bD
1
Power::infy : Infinite expression encountered. ‡
0
ComplexInfinity

Det@b2D  Det@bD
1
Power::infy : Infinite expression encountered. ‡
0
ComplexInfinity

Printed by Wolfram Mathematica Student Edition


Taller 1.nb 7

Det@b3D  Det@bD
1
Power::infy : Infinite expression encountered. ‡
0
ComplexInfinity

sistema que No tiene solucion

2x+y+z = 7
x-4y+3z = 2
3x-3y+4z = 9
Tr@882, 1, 1, 7<, 81, - 4, 3, 2<, 83, - 3, 4, 9<<D
2

c = 882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<


882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

MatrixForm@cD

2 1 1
1 -4 3
3 -3 4
Det@cD
882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

7 1 1
c1 = 2 -4 3
9 -3 4
2 7 1
c2 = 1 2 3
3 9 4
2 1 7
c3 = 1 -4 2
3 -3 9
Det@c1D
887, 1, 1<, 82, - 4, 3<, 89, - 3, 4<<

882, 7, 1<, 81, 2, 3<, 83, 9, 4<<

882, 1, 7<, 81, - 4, 2<, 83, - 3, 9<<

Det@c2D
0

Det@c3D
0

Printed by Wolfram Mathematica Student Edition


8 Taller 1.nb

Det@c1D  Det@cD
1
Power::infy : Infinite expression encountered. ‡
0

Infinity::indet : Indeterminate expression 0 ComplexInfinity encountered. ‡

Indeterminate

Det@c2D  Det@cD
1
Power::infy : Infinite expression encountered. ‡
0

Infinity::indet : Indeterminate expression 0 ComplexInfinity encountered. ‡

Indeterminate

Det@c3D  Det@cD
1
Power::infy : Infinite expression encountered. ‡
0

Infinity::indet : Indeterminate expression 0 ComplexInfinity encountered. ‡

Indeterminate

Sistema con infinitas soluciones

Ejercicio 8

2x+y+z = 7
x-4y+3z = 2
3 x + 2 y + 2 z = 13
a = 882, 1, 1<, 81, - 4, 3<, 83, 2, 2<<
882, 1, 1<, 81, - 4, 3<, 83, 2, 2<<

Det@aD
-7

como - 7 ¹ 0 este sistema si tiene matriz inversa

inversa = Inverse@aD

:82, 0, - 1<, :- 1, - >, :- 2, >>


1 5 1 9
, ,
7 7 7 7

a.inversa  MatrixForm
1 0 0
0 1 0
0 0 1

2x+y+z = 7
x-4y+3z = 2
3 x - 3 y + 4 z = 10

Printed by Wolfram Mathematica Student Edition


Taller 1.nb 9

b = 882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<


882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

Det@bD
0

como 0 = 0 este sistema no tiene matriz inversa

2x+y+z = 7
x-4y+3z = 2
3x-3y+4z = 9
c = 882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<
882, 1, 1<, 81, - 4, 3<, 83, - 3, 4<<

Det@cD
0

como 0 = 0 este sistema no tiene matriz inversa

Printed by Wolfram Mathematica Student Edition

You might also like