LaTeX

Álgebra lineal

Matrices, determinantes, sistemas de ecuaciones, reducción por filas, espacios vectoriales y valores propios.

Símbolos

Prueba cualquier fórmula en el probador: ábrelo con Alt + P o con el botón «Probador LaTeX».

Vectores

  • Espacio de dimensión n espacio euclidiano · r n · vectores
    \mathbb{R}^{n}
  • Vector (flecha) vector · flecha
    \vec{v}
  • Vector (negrita) vector · negrita
    \mathbf{v}
  • Norma norma de un vector · magnitud · longitud
    \lVert \mathbf{v} \rVert
  • Producto interno producto escalar · producto punto · ángulos
    \langle \mathbf{u}, \mathbf{v} \rangle
  • Producto punto producto escalar
    \mathbf{u} \cdot \mathbf{v}
  • Producto cruz producto vectorial
    \mathbf{u} \times \mathbf{v}
  • Paralelo a paralelas · parallel
    \parallel
  • No paralelo a
    \nparallel
  • Perpendicular a perpendiculares · ortogonal · perp
    \perp
  • No perpendicular a
    \not\perp

Matrices

  • Matriz con paréntesis matriz · pmatrix
    \begin{pmatrix}
      a & b \\
      c & d
    \end{pmatrix}
  • Matriz con corchetes matriz · bmatrix
    \begin{bmatrix}
      a & b \\
      c & d
    \end{bmatrix}
  • Matriz con llaves o dobles barras Bmatrix · Vmatrix · matriz
    \begin{Bmatrix}
      a & b \\
      c & d
    \end{Bmatrix}
  • Matriz general m × n matriz · puntos suspensivos · cdots
    A =
    \begin{pmatrix}
      a_{11} & a_{12} & \cdots & a_{1n} \\
      a_{21} & a_{22} & \cdots & a_{2n} \\
      \vdots & \vdots & \ddots & \vdots \\
      a_{m1} & a_{m2} & \cdots & a_{mn}
    \end{pmatrix}
  • Matriz identidad identidad
    I_{n}
  • Transpuesta traspuesta · transpose
    A^{T}
  • Matriz inversa inversa
    A^{-1}
  • Puntos suspensivos centrados puntos · dots
    \cdots
  • Puntos verticales puntos · matriz
    \vdots
  • Puntos diagonales puntos · matriz
    \ddots

Determinantes y sistemas

  • Determinante determinante · vmatrix · barras
    \begin{vmatrix}
      a & b \\
      c & d
    \end{vmatrix}
  • Determinante (función) det
    \det(A)
  • Traza trace
    \operatorname{tr}(A)
  • Rango de una matriz rank · rg
    \operatorname{rango}(A)
  • Sistema de ecuaciones sistema · ecuaciones simultáneas · llave
    \begin{cases}
      2x + 3y = 7 \\
      x - y = 1
    \end{cases}
  • Matriz aumentada matriz ampliada · sistema · array
    \left(
    \begin{array}{cc|c}
      1 & 2 & 5 \\
      3 & 4 & 6
    \end{array}
    \right)
  • Operación de filas reducción por filas · gauss · eliminación
    \xrightarrow{F_2 - 3F_1}

Espacios vectoriales y transformaciones

  • Dimensión dim
    \dim V
  • Espacio generado span · generado · combinaciones lineales
    \operatorname{gen}\{ \mathbf{v}_1, \ldots, \mathbf{v}_n \}
  • Suma directa oplus
    U \oplus W
  • Producto tensorial otimes · tensor
    U \otimes W
  • Núcleo kernel · espacio nulo
    \ker T
  • Imagen de un homomorfismo imagen
    \operatorname{Im} \varphi
  • Función de un conjunto en otro dominio y codominio · aplicación · función
    f \colon A \to B
  • Composición de funciones compuesta · circ · función compuesta
    (f \circ g)(x)
  • Lambda valor propio · eigenvalor
    \lambda

Ejemplos completos

Producto de matrices

Dos matrices con pmatrix: & separa las columnas y \\ las filas.

\[ \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix} = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix} \]
\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}
\begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}
= \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}

Eliminación gaussiana

La matriz aumentada es un array con una barra en la especificación de columnas (cc|c); \xrightarrow{} lleva la operación de filas encima.

\[ \left( \begin{array}{cc|c} 1 & 2 & 5 \\ 3 & 4 & 6 \end{array} \right) \xrightarrow{F_{2} - 3F_{1}} \left( \begin{array}{cc|c} 1 & 2 & 5 \\ 0 & -2 & -9 \end{array} \right) \]
\left( \begin{array}{cc|c} 1 & 2 & 5 \\ 3 & 4 & 6 \end{array} \right)
\xrightarrow{F_{2} - 3F_{1}}
\left( \begin{array}{cc|c} 1 & 2 & 5 \\ 0 & -2 & -9 \end{array} \right)

Determinante por cofactores

El desarrollo por la primera fila de un determinante de 3 × 3, con vmatrix.

\[ \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a \begin{vmatrix} e & f \\ h & i \end{vmatrix} - b \begin{vmatrix} d & f \\ g & i \end{vmatrix} + c \begin{vmatrix} d & e \\ g & h \end{vmatrix} \]
\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix}
= a \begin{vmatrix} e & f \\ h & i \end{vmatrix}
- b \begin{vmatrix} d & f \\ g & i \end{vmatrix}
+ c \begin{vmatrix} d & e \\ g & h \end{vmatrix}

Inversa de una matriz de 2 × 2

Una fracción delante de la matriz y el exponente ^{-1}.

\[ A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \implies A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} \]
A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}
\implies A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

Valores y vectores propios

Los vectores en negrita con \mathbf{} y la ecuación característica.

\[ A\mathbf{v} = \lambda \mathbf{v}, \; \mathbf{v} \neq \mathbf{0} \iff \det(A - \lambda I) = 0 \]
A\mathbf{v} = \lambda \mathbf{v}, \; \mathbf{v} \neq \mathbf{0} \iff \det(A - \lambda I) = 0

Espacio generado

Las combinaciones lineales de k vectores, con \ldots en la lista y \cdots entre las sumas.

\[ \operatorname{gen}\{ \mathbf{v}_{1}, \ldots, \mathbf{v}_{k} \} = \{ c_{1}\mathbf{v}_{1} + \cdots + c_{k}\mathbf{v}_{k} \mid c_{i} \in \mathbb{R} \} \]
\operatorname{gen}\{ \mathbf{v}_{1}, \ldots, \mathbf{v}_{k} \} = \{ c_{1}\mathbf{v}_{1} + \cdots + c_{k}\mathbf{v}_{k} \mid c_{i} \in \mathbb{R} \}

Teorema de la dimensión

Para una transformación lineal T definida en V. \ker y \dim ya existen; \operatorname{Im} escribe «Im» recto.

\[ \dim V = \dim(\ker T) + \dim(\operatorname{Im} T) \]
\dim V = \dim(\ker T) + \dim(\operatorname{Im} T)

Errores frecuentes

  • ✗ Así no \begin{matrix} 1 & 2 \\ 3 & 4 \end{matrix} \(\begin{matrix} 1 & 2 \\ 3 & 4 \end{matrix}\)
    ✓ Así sí \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \(\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\)

    matrix no dibuja paréntesis. Usa pmatrix (paréntesis), bmatrix (corchetes) o vmatrix (determinante).

  • ✗ Así no ||\mathbf{v}|| \(||\mathbf{v}||\)
    ✓ Así sí \lVert \mathbf{v} \rVert \(\lVert \mathbf{v} \rVert\)

    Dos barras del teclado quedan separadas. La norma se escribe con \lVert y \rVert.

  • ✗ Así no <\mathbf{u}, \mathbf{v}> \(<\mathbf{u}, \mathbf{v}>\)
    ✓ Así sí \langle \mathbf{u}, \mathbf{v} \rangle \(\langle \mathbf{u}, \mathbf{v} \rangle\)

    Los signos menor y mayor no son los corchetes del producto interno: usa \langle y \rangle.

  • ✗ Así no A^T^{-1} \(A^T^{-1}\)
    ✓ Así sí (A^{T})^{-1} \((A^{T})^{-1}\)

    Dos exponentes seguidos dan error («Double exponent»). Agrupa con paréntesis.

  • ✗ Así no \vec{AB} \(\vec{AB}\)
    ✓ Así sí \overrightarrow{AB} \(\overrightarrow{AB}\)

    \vec dibuja una flecha corta, para una sola letra. Sobre dos letras usa \overrightarrow{}.