Ejemplos (Gauss, Cramer e inversa)

Sistema de ecuaciones 2x + y = 5 ; x − y = 1 paso a paso

{2x+y=5x−y=1\begin{cases}2 x + y = 5 \\ x - y = 1\end{cases}

Resultado

x=2,y=1x = 2,\quad y = 1

El desarrollo de abajo lo ha generado y verificado el motor de MathOperator. Abrir este ejercicio en la calculadora de sistemas de ecuaciones para ver su gráfica o cambiar la expresión.

  1. Forma matricial Ax=bAx = b
    (211−1)(xy)=(51)\left(\begin{matrix}2 & 1\\1 & -1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right) = \left(\begin{matrix}5\\1\end{matrix}\right)
  2. Matriz aumentada [A∣b][A \mid b]
    [2151−11]\left[\begin{array}{cc|c}2 & 1 & 5\\1 & -1 & 1\end{array}\right]
  3. F1→12 F1F_{1} \to \frac{1}{2}\,F_{1}
    [112521−11]\left[\begin{array}{cc|c}1 & \frac{1}{2} & \frac{5}{2}\\1 & -1 & 1\end{array}\right]
    F2→F2−F1F_{2} \to F_{2} - F_{1}
    [112520−32−32]\left[\begin{array}{cc|c}1 & \frac{1}{2} & \frac{5}{2}\\0 & - \frac{3}{2} & - \frac{3}{2}\end{array}\right]
    F2→−23 F2F_{2} \to - \frac{2}{3}\,F_{2}
    [11252011]\left[\begin{array}{cc|c}1 & \frac{1}{2} & \frac{5}{2}\\0 & 1 & 1\end{array}\right]
    F1→F1−12 F2F_{1} \to F_{1} - \frac{1}{2}\,F_{2}
    [102011]\left[\begin{array}{cc|c}1 & 0 & 2\\0 & 1 & 1\end{array}\right]
  4. Forma escalonada reducida (Gauss-Jordan)
    [102011]\left[\begin{array}{cc|c}1 & 0 & 2\\0 & 1 & 1\end{array}\right]
  5. Lee la solución
    x=2,y=1x = 2,\quad y = 1
  1. Idea de Cramer
    xi=det⁡Aidet⁡A(Ai: A con la columna i sustituida por b)x_i = \frac{\det A_i}{\det A}\quad\text{(}A_i\text{: A con la columna }i\text{ sustituida por }b\text{)}
  2. det⁡A=−3 ≠0\det A = -3\ \neq 0
    Determinante 2×2 (productos en diagonal)
    det⁡(A)=a11a22−a12a21=2⋅(−1)−1⋅1=−3\det(A) = a_{11}a_{22} - a_{12}a_{21} = 2\cdot \left(-1\right) - 1\cdot 1 = -3
  3. Ax=(511−1)x=det⁡Axdet⁡A=−6−3=2\begin{gathered}A_{x} = \left(\begin{matrix}5 & 1\\1 & -1\end{matrix}\right)\\[0.4em]x = \frac{\det A_{x}}{\det A} = \frac{-6}{-3} = 2\end{gathered}
    Determinante 2×2 (productos en diagonal)
    det⁡(Ax)=a11a22−a12a21=5⋅(−1)−1⋅1=−6\det(A_{x}) = a_{11}a_{22} - a_{12}a_{21} = 5\cdot \left(-1\right) - 1\cdot 1 = -6
  4. Ay=(2511)y=det⁡Aydet⁡A=−3−3=1\begin{gathered}A_{y} = \left(\begin{matrix}2 & 5\\1 & 1\end{matrix}\right)\\[0.4em]y = \frac{\det A_{y}}{\det A} = \frac{-3}{-3} = 1\end{gathered}
    Determinante 2×2 (productos en diagonal)
    det⁡(Ay)=a11a22−a12a21=2⋅1−5⋅1=−3\det(A_{y}) = a_{11}a_{22} - a_{12}a_{21} = 2\cdot 1 - 5\cdot 1 = -3
  1. Despeja xx
    Ax=b  ⇒  x=A−1bA x = b \;\Rightarrow\; x = A^{-1} b
  2. det⁡(A)=−3 ≠0\det(A) = -3\ \neq 0
    Determinante 2×2 (productos en diagonal)
    det⁡(A)=a11a22−a12a21=2⋅(−1)−1⋅1=−3\det(A) = a_{11}a_{22} - a_{12}a_{21} = 2\cdot \left(-1\right) - 1\cdot 1 = -3
  3. Fórmula directa 2×2
    A−1=1det⁡A(a22−a12−a21a11)=1−3(−1−1−12)=(131313−23)A^{-1} = \frac{1}{\det A}\begin{pmatrix} a_{22} & -a_{12} \\ -a_{21} & a_{11}\end{pmatrix} = \frac{1}{-3}\left(\begin{matrix}-1 & -1 \\ -1 & 2\end{matrix}\right) = \left(\begin{matrix}\frac{1}{3} & \frac{1}{3}\\\frac{1}{3} & - \frac{2}{3}\end{matrix}\right)
  4. Multiplica por b
    x=(131313−23)(51)=(21)x = \left(\begin{matrix}\frac{1}{3} & \frac{1}{3}\\\frac{1}{3} & - \frac{2}{3}\end{matrix}\right)\left(\begin{matrix}5\\1\end{matrix}\right) = \left(\begin{matrix}2\\1\end{matrix}\right)
  5. Lee la solución
    x=2,y=1x = 2,\quad y = 1

En vídeo

Sistema de ecuaciones por Gauss paso a paso
Sistema de ecuaciones por Gauss paso a paso

Más ejercicios resueltos de sistemas de ecuaciones

Guías del blog sobre este tema