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

Problemas similares da busca web

Compartir

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