Solve for x, y
\left\{\begin{matrix}x=-\frac{2b^{2}-2ab-2ba^{2}-ab^{2}-a^{3}}{\left(a-b\right)^{2}}\text{, }y=-\frac{a\left(a+b\right)}{a-b}\text{, }&a\neq b\\x\in \mathrm{R}\text{, }y\in \mathrm{R}\text{, }&a=0\text{ and }b=0\end{matrix}\right.
Graph
Share
Copied to clipboard
\left(a-b\right)y+a\left(a+b\right)=0,\left(a+b\right)y+\left(a-b\right)x=2b
To solve a pair of equations using substitution, first solve one of the equations for one of the variables. Then substitute the result for that variable in the other equation.
\left(a-b\right)y+a\left(a+b\right)=0
Pick one of the two equations which is more simple to solve for y by isolating y on the left hand side of the equal sign.
\left(a-b\right)y=-a\left(a+b\right)
Subtract \left(a+b\right)a from both sides of the equation.
y=-\frac{a\left(a+b\right)}{a-b}
Divide both sides by a-b.
\left(a+b\right)\left(-\frac{a\left(a+b\right)}{a-b}\right)+\left(a-b\right)x=2b
Substitute -\frac{\left(a+b\right)a}{a-b} for y in the other equation, \left(a+b\right)y+\left(a-b\right)x=2b.
-\frac{a\left(a+b\right)^{2}}{a-b}+\left(a-b\right)x=2b
Multiply a+b times -\frac{\left(a+b\right)a}{a-b}.
\left(a-b\right)x=\frac{a^{3}+ab^{2}+2ab-2b^{2}+2ba^{2}}{a-b}
Add \frac{a\left(a+b\right)^{2}}{a-b} to both sides of the equation.
x=\frac{a^{3}+ab^{2}+2ab-2b^{2}+2ba^{2}}{\left(a-b\right)^{2}}
Divide both sides by a-b.
y=-\frac{a\left(a+b\right)}{a-b},x=\frac{a^{3}+ab^{2}+2ab-2b^{2}+2ba^{2}}{\left(a-b\right)^{2}}
The system is now solved.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}