Saltar al contenido

Diario de clases

Clases de Jesús Soto

Menú
  • Fórmulas
Menú

Día: 5 de diciembre de 2025

ALG: El espacio vectorial euclídeo con maxima

Posted on 5 de diciembre de 2025

Suma e intersección de subespacios

Ejemplo: Sean los subespacios vectoriales \(S=\textbf{Gen}\{[[1,2],[2,1]],\) \([[0,-1],[1,1]]\}\) \(\in\mathcal{M}_2(\mathbb{R})\) y \(T=\textbf{Gen}\{[[-1,0],[3,-1]],\)\([[1,9],[9,-2]]\}\in\mathcal{M}_2(\mathbb{R})\). Determinar las ecuaciones implícitas de \(S\cap T\).


Ejemplo: Dados los subespacios anteriores, ¿cuáles son las sumas(en valor absoluto) de las coordenadas de las componentes normales de las ecuaciones implícitas que definen \(S+T\)?


Veamos un problema de incidencia y paralelismo:

Ejemplo: Sean \(S=\left\{\begin{bmatrix}1&2\\ 0& -1\end{bmatrix}+\left.\begin{bmatrix}a+b&3a-b\\ b& -a\end{bmatrix}\right|a,b\in\mathbb{R}\right\}\) y \(T=\left\{\begin{bmatrix}0&-1\\ 1& 3\end{bmatrix}+\left.\begin{bmatrix}d&c-2d\\ -c& d+c\end{bmatrix}\right|c,d\in\mathbb{R}\right\}\) ¿Cuál es su posición relativa?


El espacio vectorial euclídeo

Ejemplo: Calcular \(\begin{bmatrix}1&2\\ 0& -1\end{bmatrix}\bullet\begin{bmatrix}0&-1\\ 1& 3\end{bmatrix}\)


Ejemplo: Calcular \(\left( -3 {{x}^{2}}+2 x+1\right) \bullet \left( {{x}^{2}}-x-2\right)\)


Ejemplo: ¿Cuál es el coseno entre los vectores \(x-x^2\) y \(1+x+x^2\)?


Ejemplo: Calcular \(\cos\left(\begin{bmatrix}1&2\\ 0& -1\end{bmatrix},\begin{bmatrix}0&-1\\ 1& 3\end{bmatrix}\right)\)

Ejemplo: Calcular \(\text{dist}\left(\begin{bmatrix}1&2\\ 0& -1\end{bmatrix},\begin{bmatrix}0&-1\\ 1& 3\end{bmatrix}\right)\)


Factorizción QR

Ejercicio: Encontrar la factorización QR de la matriz \[\begin{bmatrix}1 & 2\\
-1 & 3\end{bmatrix}\]

(%i2) A:matrix([1,2],[−1,3]);
R:matrix([0,0],[0,0])$

\[{ }\begin{bmatrix}1 & 2\\-1 & 3\end{bmatrix}\]

(%i4) a1:transpose(col(A,1))[1];
a2:transpose(col(A,2))[1];

\[{ }\left[ 1{,}-1\right] \]

\[{ }\left[ 2{,}3\right] \]

(%i6) v1:a1$
R[1,1]:sqrt(a1.a1);

\[{ }\sqrt{2}\]

(%i7) q1:v1/R[1,1];

\[{ }\left[ \frac{1}{\sqrt{2}}{,}-\frac{1}{\sqrt{2}}\right] \]

(%i8) R[1,2]:a2.q1;

\[{ }-\frac{1}{\sqrt{2}}\]

(%i9) v2:a2−R[1,2]·q1;

\[{ }\left[ \frac{5}{2}{,}\frac{5}{2}\right] \]

(%i10) R[2,2]:sqrt(v2.v2);

\[{ }\frac{5}{\sqrt{2}}\]

(%i11) q2:v2/R[2,2];

\[{ }\left[ \frac{1}{\sqrt{2}}{,}\frac{1}{\sqrt{2}}\right] \]

(%i12) Q:transpose(matrix(q1,q2));

\[{ }\begin{bmatrix}\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}\\-\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}\end{bmatrix}\]

Verifiquemos el resultado

(%i13) Q.R;

\[{ }\begin{bmatrix}1 & 2\\-1 & 3\end{bmatrix}\]


Ejemplo: Determina la factorización QR de la matriz \(\begin{bmatrix}1 & 1 & 0 \\
1 & 0 & 1 \\
0 & 1 & 1\end{bmatrix}\).

(%i3) A:matrix([1,1,0],[1,0,1],[0,1,1])$
R:zeromatrix(3,3)$
a:makelist(transpose(col(A,i))[1],i,1,3);

\[{ }\left[ \left[ 1{,}1{,}0\right] {,}\left[ 1{,}0{,}1\right] {,}\left[ 0{,}1{,}1\right] \right] \]

(%i6) v1:a[1]$
R[1,1]:sqrt(v1.v1)$
q1:v1/R[1,1];

\[{ }\left[ \frac{1}{\sqrt{2}}{,}\frac{1}{\sqrt{2}}{,}0\right] \]

(%i11) R[1,2]:a[2].q1$R[1,3]:a[3].q1$
v2:a[2]−R[1,2]·q1$
R[2,2]:sqrt(v2.v2)$
q2:v2/R[2,2];

\[{ }\left[ \frac{1}{\sqrt{2} \sqrt{3}}{,}-\frac{1}{\sqrt{2} \sqrt{3}}{,}\frac{\sqrt{2}}{\sqrt{3}}\right] \]

(%i15) R[2,3]:ratsimp(a[3].q2)$
v3:a[3]−R[1,3]·q1−R[2,3]·q2$
R[3,3]:sqrt(v3.v3)$
q3:v3/R[3,3];

\[{ }\left[ -\frac{1}{\sqrt{3}}{,}\frac{1}{\sqrt{3}}{,}\frac{1}{\sqrt{3}}\right] \]

(%i17) Q:transpose(matrix(q1,q2,q3))$
print(A,«=»,Q,«.»,R,«=»,Q.R)$

\[\begin{align}\begin{bmatrix}1 & 1 & 0\\1 & 0 & 1\\0 & 1 & 1\end{bmatrix}&=\begin{bmatrix}\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2} \sqrt{3}} & -\frac{1}{\sqrt{3}}\\\frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{2} \sqrt{3}} & \frac{1}{\sqrt{3}}\\0 & \frac{\sqrt{2}}{\sqrt{3}} & \frac{1}{\sqrt{3}}\end{bmatrix}\cdot\begin{bmatrix}\sqrt{2} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}\\0 & \frac{\sqrt{3}}{\sqrt{2}} & \frac{1}{\sqrt{2} \sqrt{3}}\\0 & 0 & \frac{2}{\sqrt{3}}\end{bmatrix}\\ &=\begin{bmatrix}1 & 1 & 0\\1 & 0 & 1\\0 & 1 & 1\end{bmatrix}\end{align}\]


 

Ejercicio: ¿Cuál es \(\text{dist}\left( -3 {{x}^{2}}+2 x+1,{{x}^{2}}-x-2\right)\)?
  • 3.19
  • 5.65
  • 7.24

A.)

Novela

La Loba, la lucha fraticida por un reino

La Loba, la lucha fratricida por un reino.

Urraca, señora de Zamora, acusada de instigar la muerte de su hermano, el rey Sancho de Castilla, deberá defenderse de la acusación, al tiempo que luchará por mantener la cohesión entre los hermanos y los reinos cristianos: una lobera de fieros lobeznos.

👉 En amazon

Entradas recientes

  • MAD: Presentación
  • ALG: Ejercicios de repaso
  • ALG: Diagonalización de una matriz
  • ALG: Autovectores y autovalores con maxima
  • ALG: Autovectores y autovalores
diciembre 2025
L M X J V S D
1234567
891011121314
15161718192021
22232425262728
293031  
« Nov   Feb »

Categorías

  • Álgebra Lineal
  • general
  • Matemática Discreta
  • MathBio

Etiquetas

Prácticas MathBio Prácticas Álgebra

Meta

  • Acceder
  • Feed de entradas
  • Feed de comentarios
  • WordPress.org
©2026 Diario de clases | Diseño: Tema de WordPress Newspaperly