Im currently doing my Kumon (A math tutoring center I guess) homework, and Im having a bit of difficulty answering a simultaneous equation, involving $x$ and $y$ variables to the second power. School curriculum wise, we're not close to learning this, so I apologize if I don't understand something.
Here is the equation:
$\displaystyle xy = 12$
$\displaystyle x^2+y^2 = 25$
Assuming that $x+y = A$ and $xy = B$
If I'm forgetting something please let me know, as I'm kind of a noob at this. Any help is welcome!
Thanks!
Using $$x^2+y^2=x^2+y^2+2xy-2xy=(x+y)^2-2xy,$$ we have $$25=(x+y)^2-2\cdot 12\iff (x+y)^2=49\iff x+y=\pm 7.$$
So, we have $$(x+y,xy)=(7,12),(-7,12).$$
Can you take it from here?