So I have the following system of equations:
$A = X + Y$
$B = 1 + YX$
And I'm asked to solve for $X$ and $Y$. My question is how do I do so? I was taught that I should first try to isolate $X$ and get it in terms of $A$ and $B$. So my attempt was the following:
$A = X + Y$
$B = 1 + YX$
into
$-A = -X-Y$
$B = 1 + YX$
into
$-AX = -x^2-YX$
$B = 1 + YX$
so adding $-AX + B$ together I get
$B-Ax=-x^2+1$
which does not isolate $X$ in terms of $A$ and $B$ as there's still an $X$ on the LHS
So this is where I get stuck. Can someone please help me figure out the necessary algebra? Is my way of going at this completely wrong? I have the same issue isolating $Y$. Any help is greatly appreciated.
$X = A - Y$ and $Y = \frac{B - 1}{X}$ ($X\neq 0$), then $X^2 - AX - B + 1 = 0$. Solving quadratic equation, you get $X = \frac{A \pm \sqrt{A^2 + 4(B - 1)}}{2}$