Saltar ao contido principal
Resolver x, y
Tick mark Image
Gráfico

Problemas similares da busca web

Compartir

x+y=-1,x-y=-7
Para resolver un par de ecuacións mediante substitución, resolve primeiro unha das variables nunha das ecuacións. Despois, substitúe o resultado desa variable na outra ecuación.
x+y=-1
Escolle unha das ecuacións e despexa a x mediante o illamento de x no lado esquerdo do signo igual.
x=-y-1
Resta y en ambos lados da ecuación.
-y-1-y=-7
Substitúe x por -y-1 na outra ecuación, x-y=-7.
-2y-1=-7
Suma -y a -y.
-2y=-6
Suma 1 en ambos lados da ecuación.
y=3
Divide ambos lados entre -2.
x=-3-1
Substitúe y por 3 en x=-y-1. Dado que a ecuación resultante contén só unha variable, pódese despexar x directamente.
x=-4
Suma -1 a -3.
x=-4,y=3
O sistema xa funciona correctamente.
x+y=-1,x-y=-7
Converte as ecuacións a forma estándar e logo usa matrices para resolver o sistema de ecuacións.
\left(\begin{matrix}1&1\\1&-1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-1\\-7\end{matrix}\right)
Escribe as ecuacións en forma matricial.
inverse(\left(\begin{matrix}1&1\\1&-1\end{matrix}\right))\left(\begin{matrix}1&1\\1&-1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&1\\1&-1\end{matrix}\right))\left(\begin{matrix}-1\\-7\end{matrix}\right)
Multiplica a ecuación pola matriz inversa de \left(\begin{matrix}1&1\\1&-1\end{matrix}\right).
\left(\begin{matrix}1&0\\0&1\end{matrix}\right)\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&1\\1&-1\end{matrix}\right))\left(\begin{matrix}-1\\-7\end{matrix}\right)
O produto dunha matriz e o seu inverso é a matriz de identidade.
\left(\begin{matrix}x\\y\end{matrix}\right)=inverse(\left(\begin{matrix}1&1\\1&-1\end{matrix}\right))\left(\begin{matrix}-1\\-7\end{matrix}\right)
Multiplica as matrices no lado esquerdo do signo igual.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-\frac{1}{-1-1}&-\frac{1}{-1-1}\\-\frac{1}{-1-1}&\frac{1}{-1-1}\end{matrix}\right)\left(\begin{matrix}-1\\-7\end{matrix}\right)
Para a matriz 2\times 2 \left(\begin{matrix}a&b\\c&d\end{matrix}\right), a matriz inversa é \left(\begin{matrix}\frac{d}{ad-bc}&\frac{-b}{ad-bc}\\\frac{-c}{ad-bc}&\frac{a}{ad-bc}\end{matrix}\right), polo que a ecuación da matriz se pode escribir como un problema de multiplicación de matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{2}&\frac{1}{2}\\\frac{1}{2}&-\frac{1}{2}\end{matrix}\right)\left(\begin{matrix}-1\\-7\end{matrix}\right)
Fai o cálculo.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{2}\left(-1\right)+\frac{1}{2}\left(-7\right)\\\frac{1}{2}\left(-1\right)-\frac{1}{2}\left(-7\right)\end{matrix}\right)
Multiplica as matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}-4\\3\end{matrix}\right)
Fai o cálculo.
x=-4,y=3
Extrae os elementos da matriz x e y.
x+y=-1,x-y=-7
Para resolver por eliminación, os coeficientes dunha das variables deben ser iguais en ambas ecuacións de xeito que a variable se anule cando unha ecuación se reste da outra.
x-x+y+y=-1+7
Resta x-y=-7 de x+y=-1 mediante a resta de termos semellantes en ambos lados do signo igual.
y+y=-1+7
Suma x a -x. x e -x anúlanse, polo que queda unha ecuación cunha única variable que se pode resolver.
2y=-1+7
Suma y a y.
2y=6
Suma -1 a 7.
y=3
Divide ambos lados entre 2.
x-3=-7
Substitúe y por 3 en x-y=-7. Dado que a ecuación resultante contén só unha variable, pódese despexar x directamente.
x=-4
Suma 3 en ambos lados da ecuación.
x=-4,y=3
O sistema xa funciona correctamente.