Estudio de un sistema matricial compatible indeterminado y su resolución para un caso particular por Gauss

Uno de los ejercicios propuestos en Andalucía en el modelo de prueba de selectividad para este curso consiste en determinar los valores de m para que un sistema homogéneo dado en forma matricial sea compatible indeterminado y su resolución para un caso particular. El fichero LyX/pythontex que se puede descargar al final del artículo permite obtener diferentes ejercicios de ese tipo cuyos datos se obtienen de forma aleatoria.

En la resolución del ejercicio se explicitan casi todos los cálculos: cálculo de del determinante, resolución de ecuación de 2º grado …

Lo único que si queremos tendremos que adecuar en el fichero es:

# Valores entre los que obtener los datos aleatorios para dos de las raíces enteras
# del polinomio característico de la matriz A-m*I. La tercera raiz siempre es 0.
rm = -3
rM = 3

Un ejemplo de ejercicio generado a partir de los valores anteriores se muestra a continuación:

Ejercicio

Considera el sistema (112123011)(xyz)=m(xyz)\begin{pmatrix}-1 & -1 & 2\\ 1 & 2 & -3\\ 0 & -1 & 1 \end{pmatrix}\cdot\begin{pmatrix}x\\ y\\ z \end{pmatrix}=m\cdot\begin{pmatrix}x\\ y\\ z \end{pmatrix}

  1. Determina los valores de mm para los que el sistema es compatible indeterminado.
  2. Resuelve el sistema, si es posible, para m=3m=3.

Solución

  1. Si llamamos A=(112123011)A=\begin{pmatrix}-1 & -1 & 2\\ 1 & 2 & -3\\ 0 & -1 & 1 \end{pmatrix}, X=(xyz)X=\begin{pmatrix}x\\ y\\ z \end{pmatrix} y O=(000)O=\begin{pmatrix}0\\ 0\\ 0 \end{pmatrix} el sistema anterior lo podemos escribir de la forma

    AX=mXAXmX=(000)(AmI)X=(000)A\cdot X=m\cdot X\Leftrightarrow A\cdot X-m\cdot X=\begin{pmatrix}0\\ 0\\ 0 \end{pmatrix}\Leftrightarrow(A-m\cdot I)\cdot X=\begin{pmatrix}0\\ 0\\ 0 \end{pmatrix} y si llamamos

    M=AmI=(112123011)m(100010001)=(m11212m3011m)M=A-m\cdot I=\begin{pmatrix}-1 & -1 & 2\\ 1 & 2 & -3\\ 0 & -1 & 1 \end{pmatrix}-m\cdot\begin{pmatrix}1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1 \end{pmatrix}=\begin{pmatrix}-m-1 & -1 & 2\\ 1 & 2-m & -3\\ 0 & -1 & 1-m \end{pmatrix}

    que en forma de sistema lineal homogéneo se puede escribir como:

    {x(m1)y+2z=0x+y(2m)3z=0y+z(1m)=0\left\{ \begin{aligned}x\left(-m-1\right)-y+2z & = & 0\\ x+y\left(2-m\right)-3z & = & 0\\ -y+z\left(1-m\right) & = & 0 \end{aligned} \right.

    El sistema anterior será compatible indeterminado \Leftrightarrow M=0\left|M\right|=0

    Calculemos

    M=m11212m3011m=\left|M\right|=\begin{vmatrix}-m-1 & -1 & 2\\ 1 & 2-m & -3\\ 0 & -1 & 1-m \end{vmatrix}= m11212m3011mm11212m3\begin{array}{c} \begin{vmatrix}-m-1 & -1 & 2\\ 1 & 2-m & -3\\ 0 & -1 & 1-m \end{vmatrix}\\ \textcolor{cyan}{\begin{array}{ccc} -m-1 & -1 & 2\\ 1 & 2-m & -3 \end{array}} \end{array}

    =[(m1)(2m)(1m)+1(1)2+0(1)(3)]=\left[\left(-m-1\right)\left(2-m\right)\left(1-m\right)+1\left(-1\right)2+0\left(-1\right)\left(-3\right)\right]-[2(2m)0+(3)(1)(m1)+(1m)(1)1]\left[2\left(2-m\right)0+\left(-3\right)\left(-1\right)\left(-m-1\right)+\left(1-m\right)\left(-1\right)1\right]=(m3+2m2+m4)(2m4)=m3+2m2+3m=\left(-m^{3}+2m^{2}+m-4\right)-\left(-2m-4\right)=-m^{3}+2m^{2}+3m

    por tanto M=0m3+2m2+3m=0m(m2+2m+3)=0|M|=0\Leftrightarrow-m^{3}+2m^{2}+3m=0\Leftrightarrow m\cdot\left(-m^{2}+2m+3\right)=0

    m=b±b24ac2am=\dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a} == 2±(2)24(1)(3)2(1)\dfrac{-2\pm\sqrt{(2)^{2}-4\cdot(-1)\cdot(3)}}{2\cdot(-1)} == 2±162\dfrac{-2\pm\sqrt{16}}{-2} == 2±42\dfrac{-2\pm{4}}{-2} \Rightarrow m={13m=\left\{ \begin{array}{c} -1\\ 3 \end{array}\right.

    obtenemos que si m=[1, 0, 3]m=\left[-1,\ 0,\ 3\right] nuestro sistema es compatible indeterminado.

  2. Para m=3m=3 la matriz M=(412113012)M=\begin{pmatrix}-4 & -1 & 2\\ 1 & -1 & -3\\ 0 & -1 & -2 \end{pmatrix}. Y en forma de sistema lineal homogéneo quedaría {4xy+2z=0xy3z=0y2z=0\left\{ \begin{aligned}-4x-y+2z & = & 0\\ x-y-3z & = & 0\\ -y-2z & = & 0 \end{aligned} \right.

    Del sistema anterior sabemos:

    • El rango de su matriz de coeficientes es menor que 3 \Rightarrow el sistema no puede ser compatible y determinado.
    • Los sistemas lineales homogéneos son siempre compatibles.

    Por tanto, tenemos un sistema compatible indeterminado. Resolvámoslo por Gauss.

    Escribamos la matriz ampliada, si podemos la simplificamos:

    (412011300120){F1F2F2F1F3F3}(113041200120){F1F1F24F1+F2F3F3}(1130051000120){F1F1F2F25F3F3}(113001200120){F1F1F2F2F3F3}(113001200120){F1F1F2F2F3F2+F3}(113001200000)\left(\begin{matrix}-4 & -1 & 2 & 0\\ 1 & -1 & -3 & 0\\ 0 & -1 & -2 & 0 \end{matrix}\right)\begin{Bmatrix}F_{1} & \leftrightarrows & F_{2}\\ F_{2} & \leftrightarrows & F_{1}\\ F_{3} & \leftrightarrows & F_{3} \end{Bmatrix}\longmapsto\left(\begin{matrix}1 & -1 & -3 & 0\\ -4 & -1 & 2 & 0\\ 0 & -1 & -2 & 0 \end{matrix}\right)\begin{Bmatrix}F_{1} & \leftrightarrows & F_{1}\\ F_{2} & \leftrightarrows & 4F_{1}+F_{2}\\ F_{3} & \leftrightarrows & F_{3} \end{Bmatrix}\longmapsto\left(\begin{matrix}1 & -1 & -3 & 0\\ 0 & -5 & -10 & 0\\ 0 & -1 & -2 & 0 \end{matrix}\right)\begin{Bmatrix}F_{1} & \leftrightarrows & F_{1}\\ F_{2} & \leftrightarrows & \frac{F_{2}}{5}\\ F_{3} & \leftrightarrows & F_{3} \end{Bmatrix}\longmapsto\left(\begin{matrix}1 & -1 & -3 & 0\\ 0 & -1 & -2 & 0\\ 0 & -1 & -2 & 0 \end{matrix}\right)\begin{Bmatrix}F_{1} & \leftrightarrows & F_{1}\\ F_{2} & \leftrightarrows & -F_{2}\\ F_{3} & \leftrightarrows & F_{3} \end{Bmatrix}\longmapsto\left(\begin{matrix}1 & -1 & -3 & 0\\ 0 & 1 & 2 & 0\\ 0 & -1 & -2 & 0 \end{matrix}\right)\begin{Bmatrix}F_{1} & \leftrightarrows & F_{1}\\ F_{2} & \leftrightarrows & F_{2}\\ F_{3} & \leftrightarrows & F_{2}+F_{3} \end{Bmatrix}\longmapsto\left(\begin{matrix}1 & -1 & -3 & 0\\ 0 & 1 & 2 & 0\\ 0 & 0 & 0 & 0 \end{matrix}\right)

    Resolviendo el sistema escalonado

    {xy3z=0y+2z=00=0\left\{ \begin{aligned}x-y-3z & = & 0\\ y+2z & = & 0\\ 0 & = & 0 \end{aligned} \right.

    se obtiene de solución: {x=τ0y=2τ0z=τ0\left\{ \begin{aligned}x & = & \tau_{0}\\ y & = & -2\tau_{0}\\ z & = & \tau_{0} \end{aligned} \right.   τ0R\ \ \tau_{0}\in\mathbb{R}

Enlaces al fichero fuente y al pdf final de una posible compilación.