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

Problemas similares da busca web

Compartir

x+y=4,x-y=4
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=4
Escolle unha das ecuacións e despexa a x mediante o illamento de x no lado esquerdo do signo igual.
x=-y+4
Resta y en ambos lados da ecuación.
-y+4-y=4
Substitúe x por -y+4 na outra ecuación, x-y=4.
-2y+4=4
Suma -y a -y.
-2y=0
Resta 4 en ambos lados da ecuación.
y=0
Divide ambos lados entre -2.
x=4
Substitúe y por 0 en x=-y+4. Dado que a ecuación resultante contén só unha variable, pódese despexar x directamente.
x=4,y=0
O sistema xa funciona correctamente.
x+y=4,x-y=4
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}4\\4\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}4\\4\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}4\\4\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}4\\4\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}4\\4\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}4\\4\end{matrix}\right)
Fai o cálculo.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}\frac{1}{2}\times 4+\frac{1}{2}\times 4\\\frac{1}{2}\times 4-\frac{1}{2}\times 4\end{matrix}\right)
Multiplica as matrices.
\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}4\\0\end{matrix}\right)
Fai o cálculo.
x=4,y=0
Extrae os elementos da matriz x e y.
x+y=4,x-y=4
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=4-4
Resta x-y=4 de x+y=4 mediante a resta de termos semellantes en ambos lados do signo igual.
y+y=4-4
Suma x a -x. x e -x anúlanse, polo que queda unha ecuación cunha única variable que se pode resolver.
2y=4-4
Suma y a y.
2y=0
Suma 4 a -4.
y=0
Divide ambos lados entre 2.
x=4
Substitúe y por 0 en x-y=4. Dado que a ecuación resultante contén só unha variable, pódese despexar x directamente.
x=4,y=0
O sistema xa funciona correctamente.