Saltar al contenido principal
LibreTexts Español

8.8 Regla de Cramer

  • Page ID
    107406
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Un sistema de ecuaciones puede ser representado y resuelto en general utilizando matrices y determinantes. Este método puede ser significativamente más eficiente que eliminar variables en ecuaciones. ¿Qué significa que un método de solución sea más eficiente? ¿Es la regla de Cramer el medio más eficiente para resolver un sistema de ecuaciones?

    Usando la regla de Cramer

    El determinante se define de una manera aparentemente arbitraria, sin embargo, cuando se mira la solución general para una\(2 \times 2\) matriz, el razonamiento por el que se define de esta manera es evidente

    \(a x+b y=e\)

    \(c x+d y=f\)

    Cuando resuelves el sistema anterior para\(y\) y\(x\), obtienes lo siguiente:

    \(y=\frac{a f-c e}{a d-b c}\)

    \(x=\frac{b f-d e}{a d-b c}\)

    Tenga en cuenta que el sistema puede ser representado por la matriz y las soluciones pueden escribirse como proporciones de dos determinantes. El determinante en el denominador es de la matriz de coeficientes. La Regla de Cramer establece que para dos ecuaciones, el numerador de la\(x\) solución es el determinante de la nueva matriz cuyas columnas están compuestas por los\(y\) coeficientes y los coeficientes de solución. El numerador de la\(y\) solución es el determinante de la nueva matriz compuesta por los\(x\) coeficientes y los coeficientes de solución.

    \(\left[\begin{array}{ll}a & b \\ c & d\end{array}\right]\left[\begin{array}{l}x \\ y\end{array}\right]=\left[\begin{array}{l}e \\ f\end{array}\right]\)

    \(x=\frac{\left|\begin{array}{ll}e & b \\ f & d\end{array}\right|}{\left|\begin{array}{ll}a & b \\ c & d\end{array}\right|}\)

    \(y=\frac{\left|\begin{array}{ll}a & e \\ c & f\end{array}\right|}{\left|\begin{array}{ll}a & b \\ c & d\end{array}\right|}\)

    Esta es una mejora fantástica sobre la resolución de sistemas mediante sustitución o eliminación. La regla de Cramer también funciona con matrices de orden más grandes. Para un sistema de 3 variables y 3 ecuaciones el razonamiento es idéntico.

    \(a x+b y+c z=j\)

    \(d x+e y+f z=k\)

    \(g x+h y+i z=l\)

    El sistema se puede representar como una matriz.

    \(\left[\begin{array}{lll}a & b & c \\ d & e & f \\ g & h & i\end{array}\right] \cdot\left[\begin{array}{l}x \\ y \\ z\end{array}\right]=\left[\begin{array}{l}j \\ k \\ l\end{array}\right]\)

    Las tres soluciones se pueden representar como una relación de determinantes.

    \(x=\frac{\left|\begin{array}{lll}j & b & c \\ k & e & f \\ l & h & i\end{array}\right|}{\left|\begin{array}{lll}a & b & c \\ d & e & f \\ g & h & i\end{array}\right|}\)

    \(y=\frac{\left|\begin{array}{lll}a & j & c \\ d & k & f \\ g & l & i\end{array}\right|}{\left|\begin{array}{lll}a & b & c \\ d & e & f \\ g & h & i\end{array}\right|}\)

    \(z=\frac{\left|\begin{array}{lll}a & b & j \\ d & e & k \\ g & h & l\end{array}\right|}{\left|\begin{array}{lll}a & b & c \\ d & e & f \\ g & h & i\end{array}\right|}\)

    Recuerde que evaluar los determinantes de\(3 \times 3\) matrices usando la regla de Sarrus es muy eficiente.

    Ejemplos

    Ejemplo 1

    Anteriormente, le preguntaron sobre soluciones eficientes. Has visto que usar la reducción tradicional de filas para resolver un sistema de ecuaciones puede llevar un tiempo y agotar mucho papel. Eficiencia significa, en parte, requerir menos tiempo y espacio. Si esto fuera todo lo que significaba la eficiencia entonces no tendría sentido resolver sistemas de dos ecuaciones con dos incógnitas usando matrices porque la solución podría encontrarse más rápidamente usando la sustitución. Sin embargo, la otra parte de la eficiencia es minimizar el número de decisiones que se tienen que tomar. Una computadora es muy buena para sumar, restar y multiplicar números, pero no muy buena para decidir si eliminar\(x\) o eliminar\(y\) sería mejor. Es por ello que un algoritmo definido usando matrices y Regla de Cramer es más eficiente.

    Ejemplo 2

    Representar el siguiente sistema de ecuaciones como una ecuación matricial y resolver usando la Regla de Cramer.

    \(\begin{aligned} y-13 &=-3 x \\ x &=19-4 y \end{aligned}\)

    Primero escribe cada ecuación en forma estándar.

    \(3 x+y=13\)

    \(x+4 y=19\)

    Después escribe como una matriz de coeficientes multiplicada por una matriz variable igual a una matriz de solución.

    \(\left[\begin{array}{ll}3 & 1 \\ 1 & 4\end{array}\right] \cdot\left[\begin{array}{l}x \\ y\end{array}\right]=\left[\begin{array}{l}13 \\ 19\end{array}\right]\)

    \(x=\frac{\left|\begin{array}{ll}e & b \\ f & d\end{array}\right|}{\left|\begin{array}{ll}a & b \\ c & d\end{array}\right|}=\frac{\left|\begin{array}{ll}13 & 1 \\ 19 & 4\end{array}\right|}{\left|\begin{array}{ll}3 & 1 \\ 1 & 4\end{array}\right|}=\frac{13 \cdot 4-19 \cdot 1}{3 \cdot 4-1 \cdot 1}=\frac{33}{11}=3\)

    \(y=\frac{\left|\begin{array}{ll}3 & 13 \\ 1 & 19\end{array}\right|}{\left|\begin{array}{ll}3 & 1 \\ 1 & 4\end{array}\right|}=\frac{3 \cdot 19-13}{11}=\frac{44}{11}=4\)

    Ejemplo 3

    ¿Qué es\(y\) igual en el siguiente sistema?

    \(x+2 y-z=0\)

    \(7 x-0 y+z=14\)

    \(0 x+y+z=10\)

    Si intentaste resolver esto usando la eliminación, tomaría una página de escritura y reescritura para resolver. La regla de Cramer acelera el proceso de resolución.

    \(\left[\begin{array}{ccc}1 & 2 & -1 \\ 7 & 0 & 1 \\ 0 & 1 & 1\end{array}\right] \cdot\left[\begin{array}{l}x \\ y \\ z\end{array}\right]=\left[\begin{array}{c}0 \\ 14 \\ 10\end{array}\right]\)

    \(y=\frac{\left|\begin{array}{lll}a & j & c \\ d & k & f \\ g & l & i\end{array}\right|}{\left|\begin{array}{lll}a & b & c \\ d & e & f \\ g & h & i\end{array}\right|}=\frac{\left|\begin{array}{ccc}1 & 0 & -1 \\ 7 & 14 & 1 \\ 0 & 10 & 1\end{array}\right|}{\left|\begin{array}{ccc}1 & 2 & -1 \\ 7 & 0 & 1 \\ 0 & 1 & 1\end{array}\right|}=\frac{14+0+(-70)-0-10-0}{0+0+(-7)-0-1-14}=\frac{-66}{-22}=3\)

    Ejemplo 4

    Resuelve el siguiente sistema usando la Regla de Cramer.

    \(\begin{aligned} 5 x+12 y &=72 \\ 18 x-12 y &=108 \end{aligned}\)

    \(x=\frac{\left|\begin{array}{cc}72 & 12 \\ 108 & -12\end{array}\right|}{\left|\begin{array}{cc}5 & 12 \\ 18 & -12\end{array}\right|}=\frac{72 \cdot(-12)-12 \cdot 108}{5 \cdot(-12)-12 \cdot 18}=\frac{-2160}{-276}=\frac{180}{23}\)

    \(y=\frac{\left|\begin{array}{cc}5 & 72 \\ 18 & 108\end{array}\right|}{\left|\begin{array}{cc}5 & 12 \\ 18 & -12\end{array}\right|}=\frac{5 \cdot 108-72 \cdot 18}{-276}=\frac{-756}{-276}=\frac{63}{23}\)

    Ejemplo 5

    ¿Cuál es el valor de\(z\) en el siguiente sistema?

    \(3 x+2 y+z=7\)

    \(4 x+0 y+z=6\)

    \(6 x-y+0 z=5\)

    \(z=\frac{\left|\begin{array}{ccc}3 & 2 & 7 \\ 4 & 0 & 6 \\ 6 & -1 & 5\end{array}\right|}{\left|\begin{array}{ccc}3 & 2 & 1 \\ 4 & 0 & 1 \\ 6 & -1 & 0\end{array}\right|}=\frac{0+2 \cdot 6 \cdot 6+7 \cdot 4 \cdot(-1)-0-(-1) \cdot 6 \cdot 3-5 \cdot 4 \cdot 2}{0+2 \cdot 1 \cdot 6+1 \cdot 4 \cdot(-1)-0-(-1) \cdot 1 \cdot 3-0}\)

    \(=\frac{22}{11}\)

    \(=2\)

    Revisar

    Resuelve los siguientes sistemas de ecuaciones usando la Regla de Cramer. Si no existe una solución, explique.

    \[\begin{array}{c} 4 x-2 y &=-20 \\ x-3 y &=-15 \end{array}\]

    \[\begin{array}{c} 3 x+5 y=33 \\ -x-2 y=-13 \end{array}\]

    \[\begin{array}{c} x+4 y=11 \\ 3 x+12 y=33 \end{array}\]

    \[\begin{array}{c} -3 x+y=-7 \\ -x+4 y=5 \end{array}\]

    \[\begin{array}{c} 3 x+y &=6 \\ -6 x-2 y &=10 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(x\) in the following system: \\ 2 x-y+z &=4 \\ 4 x+7 y-z &=38 \\ -x+3 y+2 z &=23 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(y\) in the following system: \\ 4 x+y-z &=-16 \\ -3 x+4 y+z &=18 \\ x+y-3 z &=-17 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(z\) in the following system: \\ 3 x+2 y-3 z &=7 \\ -x+5 y+2 z &=29 \\ x+2 y+z &=15 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(x\) in the following system: \\ 2 x+y-2 z &=-5 \\ -4 x-2 y+3 z &=2 \\ 3 x+y-z &=3 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(y\) in the following system: \\ -x+3 y+z &=11 \\ 3 x+y+2 z &=27 \\ 5 x-y-z &=5 \end{array}\]

    \[\begin{array}{c} Use Cramer's Rule to solve for \(z\) in the following system: \\ 3 x+2 y+4 z &=21 \\ -2 x+3 y+z &=-11 \\ x+2 y-3 z &=-3 \end{array}\]

    Resuelve los siguientes sistemas de ecuaciones usando la Regla de Cramer. Practica usando tu calculadora para ayudarte con al menos un problema. Si no existe una solución, explique.

    \[\begin{array}{c} -x+2 y-6 z &=4 \\ 8 x+5 y+3 z &=-8 \\ 2 x-4 y+12 z &=5 \end{array}\]

    \[\begin{array}{c} 3 x+5 y+8 z &=37 \\ -6 x+3 y+z &=42 \\ x+3 y-2 z &=5 \end{array}\]

    \[\begin{array}{c} 4 x+y-6 z &=-38 \\ 2 x+7 y+8 z &=108 \\ -3 x+2 y-3 z &=-15 \end{array}\]

    \[\begin{array}{c} 6 x+3 y-2 z &=-22 \\ -4 x-2 y+4 z &=28 \\ 3 x+3 y+2 z &=7 \end{array}\]

    \[\begin{array}{c} \text { When using Cramer's Rule to solve a system of equations you will occasionally find that the determinant of the coefficient matrix is zero. When this happens, how can you tell whether your system has no solution or infinite solutions }\end{array}\]


    8.8 Regla de Cramer is shared under a CC BY-NC license and was authored, remixed, and/or curated by LibreTexts.