Ejemplos (Gauss, Cramer e inversa)

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

{x+y=3x−y=1\begin{cases}x + y = 3 \\ 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
    (111−1)(xy)=(31)\left(\begin{matrix}1 & 1\\1 & -1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right) = \left(\begin{matrix}3\\1\end{matrix}\right)
  2. Matriz aumentada [A∣b][A \mid b]
    [1131−11]\left[\begin{array}{cc|c}1 & 1 & 3\\1 & -1 & 1\end{array}\right]
  3. F2→F2−F1F_{2} \to F_{2} - F_{1}
    [1130−2−2]\left[\begin{array}{cc|c}1 & 1 & 3\\0 & -2 & -2\end{array}\right]
    F2→−12 F2F_{2} \to - \frac{1}{2}\,F_{2}
    [113011]\left[\begin{array}{cc|c}1 & 1 & 3\\0 & 1 & 1\end{array}\right]
    F1→F1−F2F_{1} \to F_{1} - 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=−2 ≠0\det A = -2\ \neq 0
    Determinante 2×2 (productos en diagonal)
    det⁡(A)=a11a22−a12a21=1⋅(−1)−1⋅1=−2\det(A) = a_{11}a_{22} - a_{12}a_{21} = 1\cdot \left(-1\right) - 1\cdot 1 = -2
  3. Ax=(311−1)x=det⁡Axdet⁡A=−4−2=2\begin{gathered}A_{x} = \left(\begin{matrix}3 & 1\\1 & -1\end{matrix}\right)\\[0.4em]x = \frac{\det A_{x}}{\det A} = \frac{-4}{-2} = 2\end{gathered}
    Determinante 2×2 (productos en diagonal)
    det⁡(Ax)=a11a22−a12a21=3⋅(−1)−1⋅1=−4\det(A_{x}) = a_{11}a_{22} - a_{12}a_{21} = 3\cdot \left(-1\right) - 1\cdot 1 = -4
  4. Ay=(1311)y=det⁡Aydet⁡A=−2−2=1\begin{gathered}A_{y} = \left(\begin{matrix}1 & 3\\1 & 1\end{matrix}\right)\\[0.4em]y = \frac{\det A_{y}}{\det A} = \frac{-2}{-2} = 1\end{gathered}
    Determinante 2×2 (productos en diagonal)
    det⁡(Ay)=a11a22−a12a21=1⋅1−3⋅1=−2\det(A_{y}) = a_{11}a_{22} - a_{12}a_{21} = 1\cdot 1 - 3\cdot 1 = -2
  1. Despeja xx
    Ax=b  ⇒  x=A−1bA x = b \;\Rightarrow\; x = A^{-1} b
  2. det⁡(A)=−2 ≠0\det(A) = -2\ \neq 0
    Determinante 2×2 (productos en diagonal)
    det⁡(A)=a11a22−a12a21=1⋅(−1)−1⋅1=−2\det(A) = a_{11}a_{22} - a_{12}a_{21} = 1\cdot \left(-1\right) - 1\cdot 1 = -2
  3. Fórmula directa 2×2
    A−1=1det⁡A(a22−a12−a21a11)=1−2(−1−1−11)=(121212−12)A^{-1} = \frac{1}{\det A}\begin{pmatrix} a_{22} & -a_{12} \\ -a_{21} & a_{11}\end{pmatrix} = \frac{1}{-2}\left(\begin{matrix}-1 & -1 \\ -1 & 1\end{matrix}\right) = \left(\begin{matrix}\frac{1}{2} & \frac{1}{2}\\\frac{1}{2} & - \frac{1}{2}\end{matrix}\right)
  4. Multiplica por b
    x=(121212−12)(31)=(21)x = \left(\begin{matrix}\frac{1}{2} & \frac{1}{2}\\\frac{1}{2} & - \frac{1}{2}\end{matrix}\right)\left(\begin{matrix}3\\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

Más ejercicios resueltos de sistemas de ecuaciones

Guías del blog sobre este tema