Saltar al contenido

Diario de clases

Clases de Jesús Soto

Menú
  • Home
  • Equation Editor
  • Generador de tablas
Menú

ALG: Factorización QR

Posted on 27 de noviembre de 2026

La Factorización QR (o Descomposición QR) es un proceso por el cual una matriz \(A\) se expresa como el producto de dos matrices especiales: una matriz ortogonal \(Q\) y una matriz triangular superior \(R\).

Formalmente, para una matriz \(A\) de tamaño \(m \times n\) (donde asumimos que las columnas de \(A\) son linealmente independientes, y usualmente \(m \ge n\)), la descomposición es:

\[ A = QR \]

La matriz \(Q\) es una matriz de tamaño \(m \times n\) cuyas columnas \(\{\mathbf{q}_1, \mathbf{q}_2, \ldots, \mathbf{q}_n\}\) forman un conjunto ortonormal. Esto significa que:

  1. Normalidad: Cada columna es un vector unitario, es decir, tiene norma 1:
    \[ \| \mathbf{q}_i \| = 1 \]
  2. Ortogonalidad: El producto escalar de cualquier par de columnas distintas es cero:
    \[ \mathbf{q}_i \cdot \mathbf{q}_j = 0 \quad \text{si } i \ne j \]

La matriz \(R\) es una matriz triangular superior de tamaño \(n \times n\). Esto quiere decir que todos los elementos situados debajo de su diagonal principal son cero.

\[ R = \begin{bmatrix} r_{11} & r_{12} & \cdots & r_{1n} \\ 0 & r_{22} & \cdots & r_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & r_{nn} \end{bmatrix} \]

Veamos el procedimiento para obtener la factorización. Pero antes, refresquemos un concepto, el de componente escalar. Dados dos vectores de \(\mathbf{v},\mathbf{u}\in\mathbb{R}^n\) definimos la componente escalar de \(\mathbf{u}\) sobre \(\mathbf{v}\) como
\[\mathbf{comp}_\mathbf{v}\mathbf{u}=\frac{\mathbf{v}\bullet\mathbf{u}}{\|\mathbf{v}\|}\]

En el caso de que \(\mathbf{v}\) sea normal, entonces

\[\mathbf{comp}_\mathbf{v}\mathbf{u}=\mathbf{v}\bullet\mathbf{u}\]

Recordemos que la proyección de \(\mathbf{u}\) sobre \(\mathbf{v}\) es
\[
\mathbf{proy}_\mathbf{v}\mathbf{u}=(\mathbf{v}\bullet\mathbf{u})\cdot \mathbf{v}
\]
cuando \(\|\mathbf{v}\|=1\).

Comencemos ahora con el proceso para obtener la factorización \(QR\). Este proceso toma las columnas de \(A:[a_{ij}]\), \(\mathbf{a}_1, \mathbf{a}_2, \ldots, \mathbf{a}_n\), y las transforma en las columnas ortonormales \(\mathbf{q}_1, \mathbf{q}_2, \ldots, \mathbf{q}_n\) de la matriz \(Q\).

El vector \(\mathbf{a}_k\) se expresa como una combinación lineal de los vectores ortonormales \(\mathbf{q}_1, \ldots, \mathbf{q}_k\) que abarcan el mismo subespacio que \(\mathbf{a}_1, \ldots, \mathbf{a}_k\):

\[ \mathbf{a}_k = r_{1k} \mathbf{q}_1 + r_{2k} \mathbf{q}_2 + \ldots + r_{kk} \mathbf{q}_k \]

Donde los coeficientes \(r_{ik}\) son las entradas de la matriz \(R\).

Los elementos \(r_{ik}\) se obtienen mediante

\[ r_{ik}=\mathbf{comp}_{\mathbf{q}_i}\mathbf{a}_k= \mathbf{a}_k \bullet \mathbf{q}_i \]

Y dado que \(R\) es triangular superior, los coeficientes para \(i > k\) son cero:

\[ r_{ik} = 0, \quad \text{para } i > k \]

Ejemplo Práctico de la Factorización QR

Consideremos la siguiente matriz \(A\). Notarás que sus columnas son linealmente independientes, lo cual es un requisito para este tipo de factorización (cuando \(R\) es invertible).

Sea la matriz \(A\) de tamaño \(3 \times 2\):

\[ A = \begin{bmatrix} 1 & 0 \\ 1 & 1 \\ 0 & 1 \end{bmatrix} \]

Sean \(\mathbf{a}_1 = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\) y \(\mathbf{a}_2 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}\) sus vectores columna.

Paso 1: Obtener el primer vector ortonormal \(\mathbf{q}_1\)

Aplicamos Gram-Schmidt al primer vector \(\mathbf{a}_1\):

  1. Definimos \(\mathbf{v}_1 = \mathbf{a}_1\).
  2. Calculamos la norma de \(\mathbf{v}_1\):
    \[ \|\mathbf{v}_1\| = \sqrt{1^2 + 1^2 + 0^2} = \sqrt{2} \]
  3. Normalizamos para obtener \(\mathbf{q}_1\):
    \[ \mathbf{q}_1 = \frac{\mathbf{v}_1}{\|\mathbf{v}_1\|} = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{bmatrix} \]
  4. Obtenemos el primer elemento de la matriz \(R\), \(r_{11}\).
    \[ r_{11} = \mathbf{a}_1 \bullet \mathbf{q}_1=\sqrt{2} \]

Paso 2: Obtener el segundo vector ortonormal \(\mathbf{q}_2\)

Ortogonalizamos el vector \(\mathbf{a}_2\) respecto a \(\mathbf{q}_1\):

  1. Calculamos la componente de \(\mathbf{a}_2\) sobre \(\mathbf{q}_1\). El resultado de este producto escalar es el elemento \(r_{12}\) de \(R\):
    \[ r_{12} = \mathbf{a}_2 \bullet \mathbf{q}_1 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}^t \cdot \begin{bmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{bmatrix} = 0 \cdot \frac{1}{\sqrt{2}} + 1 \cdot \frac{1}{\sqrt{2}} + 1 \cdot 0 = \frac{1}{\sqrt{2}} \]
  2. Restamos la proyección de \(\mathbf{a}_2\) sobre \(\mathbf{q}_1\) para obtener el vector ortogonal \(\mathbf{v}_2\):
    \[ \mathbf{v}_2 = \mathbf{a}_2 – r_{12} \mathbf{q}_1 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} – \frac{1}{\sqrt{2}} \begin{bmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{bmatrix} = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} – \begin{bmatrix} 1/2 \\ 1/2 \\ 0 \end{bmatrix} = \begin{bmatrix} -1/2 \\ 1/2 \\ 1 \end{bmatrix} \]
  3. Normalizamos para obtener \(\mathbf{q}_2\). Para ello, calculamos
    \[ \|\mathbf{v}_2\| = \sqrt{(-1/2)^2 + (1/2)^2 + 1^2} = \sqrt{1/4 + 1/4 + 1} = \sqrt{3/2}, \]

    luego

    \[ \mathbf{q}_2 = \frac{\mathbf{v}_2}{\|\mathbf{v}_2\|} = \frac{1}{\sqrt{3/2}} \begin{bmatrix} -1/2 \\ 1/2 \\ 1 \end{bmatrix} = \begin{bmatrix} -1/\sqrt{6} \\ 1/\sqrt{6} \\ 2/\sqrt{6} \end{bmatrix} \]

  4. Calculamos el elemento \(r_{22}\) de \(R\):
    \[ r_{22} = \mathbf{a}_2 \bullet \mathbf{q}_2 =\|\mathbf{v}_2\| = \sqrt{(-1/2)^2 + (1/2)^2 + 1^2} = \sqrt{1/4 + 1/4 + 1} = \sqrt{3/2} \]

Observar, que
\[
\begin{align}
r_{ii} &= \mathbf{a}_i \bullet \mathbf{q}_i\\
&= \mathbf{a}_i \bullet \frac{\mathbf{v}_i}{\|\mathbf{v}_i\|}\\
&(\mbox{recordemos que }\, \mathbf{v}_i=\mathbf{a}_i-\sum_{k=1}^{i-1}r_{ki} \mathbf{q}_{k},) \\
&=\left( \mathbf{v}_i + \sum_{k=1}^{i-1}r_{ki} \mathbf{q}_{k}\right) \bullet \frac{\mathbf{v}_i}{\|\mathbf{v}_i\|}\\
&=\frac{1}{\|\mathbf{v}_i\|}\left( \mathbf{v}_i \bullet\mathbf{v}_i+ \sum_{k=1}^{i-1}r_{ki} (\mathbf{q}_{k}\bullet\mathbf{v}_i)\right) \\
&(\mbox{como}\,\mathbf{q}_{k}\bullet\mathbf{v}_i=0\,\forall k)\\
&=\frac{1}{\|\mathbf{v}_i\|}( \mathbf{v}_i \bullet\mathbf{v}_i)\\
&=\|\mathbf{v}_i\| \\
\end{align}
\]

Paso 3: Construir las matrices \(Q\) y \(R\)

La matriz \(Q\) está formada por los vectores \(\mathbf{q}_1\) y \(\mathbf{q}_2\):

\[ Q = [\mathbf{q}_1 \mid \mathbf{q}_2] = \begin{bmatrix} 1/\sqrt{2} & -1/\sqrt{6} \\ 1/\sqrt{2} & 1/\sqrt{6} \\ 0 & 2/\sqrt{6} \end{bmatrix} \]

La matriz \(R\) está formada por los valores \(r_{ik}\) que calculamos:

\[ R = \begin{bmatrix} r_{11} & r_{12} \\ 0 & r_{22} \end{bmatrix} = \begin{bmatrix} \sqrt{2} & 1/\sqrt{2} \\ 0 & \sqrt{3/2} \end{bmatrix} \]

Paso 4: La Factorización QR

Hemos descompuesto la matriz \(A\) en el producto de \(Q\) y \(R\):

\[ A = QR \]

\[ \begin{bmatrix} 1 & 0 \\ 1 & 1 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1/\sqrt{2} & -1/\sqrt{6} \\ 1/\sqrt{2} & 1/\sqrt{6} \\ 0 & 2/\sqrt{6} \end{bmatrix} \begin{bmatrix} \sqrt{2} & 1/\sqrt{2} \\ 0 & \sqrt{3/2} \end{bmatrix} \]


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

Sea \(\mathbf{a}_1=[1,2],\, \mathbf{a}_2=[2,1]\). Tomemos \(\mathbf{v}_1=\mathbf{a}_1\), entonces

\[\mathbf{q}_1=\frac{\mathbf{v}_1}{\|\mathbf{v}_1\|}=\frac{1}{\sqrt{5}}[1,2]\]

Nuestro \(r_{11}=\|\mathbf{v}_1\|=\sqrt{5}\).

Calculamos el componente de \(\mathbf{a}_1\) sobre \(\mathbf{q}_1\):
\[
r_{12}=\frac{1}{\sqrt{5}}[1,2].[2,1]=\frac{4}{\sqrt{5}}
\]
De este modo,
\[
\mathbf{v}_2=\mathbf{a}_2-r_{12}\mathbf{q}_1=\frac{3}{5}\left[2,-1\right],
\]
y
\[
\mathbf{q}_1=\frac{\mathbf{v}_2}{\|\mathbf{v}_2\|}=\frac{1}{\sqrt{5}}[2,-1]
\]
Por último
\[
r_{22}=\|\mathbf{v}_2\|=\sqrt{5}
\]
Ya temos para contruir las matrices:
\[
Q=\frac{1}{\sqrt{5}}\begin{bmatrix}
1 & 2\\
2& -1
\end{bmatrix},\, R=\begin{bmatrix}
\sqrt{5} & \frac{4}{\sqrt{5}}\\
0& \frac{\sqrt{5}}{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}\).

Paso 1: Primera columna

– \( \mathbf{a}_1 = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} \).
– \( \mathbf{v}_1 = \mathbf{a}_1 \).
– \( r_{11} = \| \mathbf{v}_1 \| = \sqrt{1^2 + 1^2 + 0^2} = \sqrt{2} \).
– \( \mathbf{q}_1 = \frac{\mathbf{v}_1}{r_{11}} = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} \).[2][3]

Paso 2: Segunda columna

– \( \mathbf{a}_2 = \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} \).
– \( r_{12} = \mathbf{q}_1^t \mathbf{a}_2 = \frac{1}{\sqrt{2}} (1 \cdot 1 + 1 \cdot 0 + 0 \cdot 1) = \frac{1}{\sqrt{2}} \).
– \( \mathbf{v}_2 = \mathbf{a}_2 – r_{12} \mathbf{q}_1 = \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} – \frac{1}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} – \begin{bmatrix} \frac{1}{2} \\ \frac{1}{2} \\ 0 \end{bmatrix} = \begin{bmatrix} \frac{1}{2} \\ -\frac{1}{2} \\ 1 \end{bmatrix} \).
– \( r_{22} = \| \mathbf{v}_2 \| = \sqrt{ \left( \frac{1}{2} \right)^2 + \left( -\frac{1}{2} \right)^2 + 1^2 } = \sqrt{ \frac{1}{4} + \frac{1}{4} + 1 } = \sqrt{ \frac{3}{2} } \).
– \( \mathbf{q}_2 = \frac{\mathbf{v}_2}{r_{22}} = \frac{1}{\sqrt{3/2}} \begin{bmatrix} \frac{1}{2} \\ -\frac{1}{2} \\ 1 \end{bmatrix} = \sqrt{\frac{2}{3}} \begin{bmatrix} \frac{1}{2} \\ -\frac{1}{2} \\ 1 \end{bmatrix} = \begin{bmatrix} \frac{1}{\sqrt{6}} \\ -\frac{1}{\sqrt{6}} \\ \sqrt{\frac{2}{3}} \end{bmatrix} \).[3][2]

Paso 3: Tercera columna

– \( \mathbf{a}_3 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} \).
– \( r_{13} = \mathbf{q}_1^t \mathbf{a}_3 = \frac{1}{\sqrt{2}} (1 \cdot 0 + 1 \cdot 1 + 0 \cdot 1) = \frac{1}{\sqrt{2}} \).
– \( r_{23} = \mathbf{q}_2^t \mathbf{a}_3 = \frac{1}{\sqrt{6}} (0 \cdot \frac{1}{2} -1 \cdot 1 + \sqrt{\frac{2}{3}} \cdot 1 ) = \frac{1}{\sqrt{6}} (0 -1 + \sqrt{\frac{2}{3}} \cdot \sqrt{6} / \sqrt{2} ) \),

Calculando directamente: \[ r_{23} = \frac{ \mathbf{a}_3^t \mathbf{v}_2 }{ \| \mathbf{v}_2 \| } = \frac{ 0 \cdot \frac{1}{2} + 1 \cdot (-\frac{1}{2}) + 1 \cdot 1 }{ \sqrt{3/2} } = \frac{ \frac{1}{2} }{ \sqrt{3/2} } = \frac{1}{2} \sqrt{\frac{2}{3}} = \frac{1}{\sqrt{6}} \]

– \( \mathbf{v}_3 = \mathbf{a}_3 – r_{13} \mathbf{q}_1 – r_{23} \mathbf{q}_2 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} – \frac{1}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} – \frac{1}{\sqrt{6}} \begin{bmatrix} \frac{1}{\sqrt{6}} \\ -\frac{1}{\sqrt{6}} \\ \sqrt{\frac{2}{3}} \end{bmatrix} \).
– Simplificando: \( r_{13} \mathbf{q}_1 = \begin{bmatrix} \frac{1}{2} \\ \frac{1}{2} \\ 0 \end{bmatrix} \), \( r_{23} \mathbf{q}_2 = \frac{1}{6} \begin{bmatrix} 1 \\ -1 \\ 2 \end{bmatrix} = \begin{bmatrix} \frac{1}{6} \\ -\frac{1}{6} \\ \frac{1}{3} \end{bmatrix} \).
– \( \mathbf{v}_3 = \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} – \begin{bmatrix} \frac{1}{2} \\ \frac{1}{2} \\ 0 \end{bmatrix} – \begin{bmatrix} \frac{1}{6} \\ -\frac{1}{6} \\ \frac{1}{3} \end{bmatrix} = \begin{bmatrix} -\frac{2}{3} \\ \frac{2}{3} \\ \frac{2}{3} \end{bmatrix} \).
– \( r_{33} = \| \mathbf{v}_3 \| = \sqrt{ 3 \left( \frac{2}{3} \right)^2 } = \sqrt{ 3 \cdot \frac{4}{9} } = \sqrt{ \frac{4}{3} } = \frac{2}{\sqrt{3}} \).
– \( \mathbf{q}_3 = \frac{\mathbf{v}_3}{r_{33}} = \frac{3}{2} \begin{bmatrix} -\frac{2}{3} \\ \frac{2}{3} \\ \frac{2}{3} \end{bmatrix} = \begin{bmatrix} -\frac{1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \end{bmatrix} \).

Matrices finales

\[
Q = \begin{bmatrix}
\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{6}} & -\frac{1}{\sqrt{3}} \\
\frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{6}} & \frac{1}{\sqrt{3}} \\
0 & \sqrt{\frac{2}{3}} & \frac{1}{\sqrt{3}}
\end{bmatrix}, \quad
R = \begin{bmatrix}
\sqrt{2} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\
0 & \sqrt{\frac{3}{2}} & \frac{1}{\sqrt{6}} \\
0 & 0 & \frac{2}{\sqrt{3}}
\end{bmatrix}.
\]


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

Paso 1: Primera columna

– \( \mathbf{a}_1 = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} \).
– \( \mathbf{v}_1 = \mathbf{a}_1 \).
– \( r_{11} = \| \mathbf{v}_1 \| = \sqrt{1^2 + 1^2 + 0^2} = \sqrt{2} \).
– \( \mathbf{q}_1 = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} \).

Paso 2: Segunda columna

– \( \mathbf{a}_2 = \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix} \).
– \( r_{12} = \mathbf{q}_1^t \mathbf{a}_2 = \frac{1}{\sqrt{2}} (1\cdot2 + 1\cdot0 + 0\cdot1) = \frac{2}{\sqrt{2}} = \sqrt{2} \).
– \( \mathbf{v}_2 = \mathbf{a}_2 – r_{12} \mathbf{q}_1 = \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix} – \sqrt{2} \cdot \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix} – \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 1 \\ -1 \\ 1 \end{bmatrix} \).
– \( r_{22} = \| \mathbf{v}_2 \| = \sqrt{1^2 + (-1)^2 + 1^2} = \sqrt{3} \).
– \( \mathbf{q}_2 = \frac{1}{\sqrt{3}} \begin{bmatrix} 1 \\ -1 \\ 1 \end{bmatrix} \).

Matrices finales

\[
Q = \begin{bmatrix}
\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{3}} \\
\frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{3}} \\
0 & \frac{1}{\sqrt{3}}
\end{bmatrix}, \quad
R = \begin{bmatrix}
\sqrt{2} & \sqrt{2} \\
0 & \sqrt{3}
\end{bmatrix}.
\]


Unicidad de la Factorización QR

La unicidad de la factorización QR depende de dos condiciones cruciales: el rango de la matriz \(A\) y la restricción de los signos en la matriz \(R\).

La factorización QR es única si y solo si se cumplen dos condiciones:

  1. La matriz \(A\) tiene columnas linealmente independientes (es decir, \(\text{rango}(A) = n\) si \(A\) es \(m \times n\) con \(m \ge n\)).
  2. Todos los elementos de la diagonal de la matriz triangular superior \(R\), \(r_{ii}\), son positivos: \( r_{ii} > 0 \)

Si estas dos condiciones se satisfacen, la factorización $A = QR$ es única. Esta es la forma en que el Algoritmo QR y las implementaciones de bibliotecas numéricas suelen requerirla.

Aplicaciones Clave en Ingeniería Informática

La factorización QR es fundamental para:

  • Mínimos Cuadrados: Permite resolver sistemas de ecuaciones sobredeterminados de la forma \(A\mathbf{x} = \mathbf{b}\) de una manera computacionalmente eficiente y estable. La solución \(\mathbf{x}\) se obtiene resolviendo el sistema más simple \(R\mathbf{x} = Q^t\mathbf{b}\).
  • Cálculo de Autovalores: El Algoritmo QR itera esta descomposición para converger a los autovalores de una matriz. Es el método más utilizado en la práctica para este fin.
  • Bases Ortonormales: Proporciona un método directo para construir bases ortonormales para subespacios vectoriales (mediante las columnas de \(Q\)), lo cual es importante en gráficos por computadora y procesamiento de señales.

Ejercicio: ¿De cuántos grados es el giro que proporciona la matriz \(\begin{bmatrix}0&-1\\ 1&0\end{bmatrix}\)?

  • 45º
  • 90º
  • 120º


La solución se mostrará más adelante.

MathBio: Integral triple

Posted on 26 de noviembre de 2026

La integral triple de una función, \(f(x,y,z)\), en una región cerrada del espacio, \(Q\), con un volumen \(V\), no es más que la generalización del concepto de integral simple y doble. Así…

MathBio: Integral doble

Posted on 25 de noviembre de 2026

Así como la integral de una función positiva de una variable se interpreta como el área entre la gráfica de la función y el eje \({\displaystyle x}\), la integral doble de una…

ALG: Aplicaciones y matrices ortogonales

Posted on 25 de noviembre de 2026

Aplicaciones y matrices ortogonales Definimos las aplicaciones ortogonales a las aplicaciones de un espacio vectorial con producto escalar \((\mathcal{E},\bullet)\) que conservan el producto escalar; es decir, \(f:\mathcal{E}\to \mathcal{E}\), es ortogonal si \[f(\vec{x})\bullet…

MathBio: Gradiente e Integración numérica con maxima

Posted on 23 de noviembre de 2026

Funciones de varias variables Ejemplo: Determinar el vector gradiente de \(f(x,y,z)=x\,\sin^2(y)+z\,\cos^2(y)\) Solución: Ejemplo: Sea \(f(x,y,z)=x\,\sin^2(y)+ze^{2x}\). ¿Cuánto vale \(\left \|\nabla f\left(1,\tfrac{\pi}{4},0\right) \right \|\) ? Solución: (%i3) fpprintprec:4$f(x,y,z):=x*sin(y)^2+z*%e^(2*x)$define(grf(x,y,z),ratsimp([diff(f(x,y,z),x),diff(f(x,y,z),y),diff(f(x,y,z),z)])); (%o3) grf⁡(x,y,z):=[2⁢%e2⁢x⁢z+sin⁡(y)2,2⁢x⁢cos⁡(y)⁢sin⁡(y),%e2⁢x] (%i5) vn:grf(1,%pi/4,0);sqrt(vn.vn),numer; (vn)[12,1,%e2](%o5) 7.473…

MathBio: Aplicaciones de la integral definida

Posted on 23 de noviembre de 2026

Cálculo de áreas Como dijimos, la integral nos permite calcular el área encerrada bajo una curva y sobre el eje OX. Ejemplo: ¿Cuál es el área de la región entre la curva…

ALG: Ortogonalización con maxima

Posted on 23 de noviembre de 2026

Ejemplo: Sea \(S=\mathbf{Gen}\{X^2-2\}\subset (\mathbb{R}_2[X],\bullet)\), ¿cuál es una base de su ortogonal? Solución: Sabemos que el ortogonal de un subespacio generado por un vector, \(S=\mathbf{Gen}\{\vec{v}\}\subset (\mathcal{E},\bullet)\), es el que tiene por ecuación implícita…

ALG: Proyección ortogonal

Posted on 20 de noviembre de 2026

Proposición: Si \(S,T\subset \mathcal{E}\) son subespacios de un espacio vectorial euclídeo de dimensión finita, y \(T\subset S\) entonces \(S^\bot \subset T^\bot\). Proposición: Si \(S,T\subset \mathcal{E}\), son subespacios de un espacio vectorial euclídeo…

MathBio: Cálculo integral

Posted on 19 de noviembre de 2026

Hoy empezamos con el cálculo integral. Explicamos un poco de historia del cálculo integral y comenzamos la integral indefinida, el cálculo de primitivas. Este cálculo parte de la necesidad de encontrar las…

ALG: Complemento ortogonal

Posted on 18 de noviembre de 2026

Si tenemos un espacio vectorial euclídeo de dimensión finita, \(\mathcal{E}\), definimos el complemento ortogonal (a veces simplemente ortogonal) de un subespacio \(S\) de \(\mathcal{E}\) a \[S^\bot=\{\vec{v}\in \mathcal{E}|\;\vec{v}\bullet\vec{u}=0\,\forall \vec{u}\in S\}\] Proposición. Si \(S\subset…

Paginación de entradas

1 2 … 6 Siguientes

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

  • ALG: Factorización QR
  • MathBio: Integral triple
  • MathBio: Integral doble
  • ALG: Aplicaciones y matrices ortogonales
  • MathBio: Gradiente e Integración numérica con maxima
noviembre 2026
L M X J V S D
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Asignaturas

  • álgebra
  • bioestadistica
  • matematica discreta
  • mathbio

Prácticas

  • Prácticas álgebra
  • Prácticas mathbio

Meta

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