factor 4
4=1 times 4
2 times 2
they don't add to 2
set up equation
x+y=2
xy=4
first equation, subtract x from both sides
y=2-x
subsitute for y
x(2-x)=4
distribute
2x-x^2=4
add x^2
2x=x^2+4
subtract 2x
0=x^2-2x+4
use quadratic formula which is
if you have ax^2+bx+c=0 then
x=[tex] \frac{ -b+/-\sqrt{b^{2}-4ac} }{2a} [/tex] so
1x^2-2x+4=0
a=1
b=-2
c=4
x=[tex] \frac{ -(-2)+/-\sqrt{(-2)^{2}-4(1)(4)} }{2(1)} [/tex]
x=[tex] \frac{ 2+/-\sqrt{4-16} }{2} [/tex]
x=[tex] \frac{ 2+/-\sqrt{-12} }{2} [/tex]
we have [tex] \sqrt{-12} [/tex] and that doesn't give a real solution
therefor there are no real solutions
but if you want to solve fully
x=[tex] \frac{ 2+/-2\sqrt{-3} }{2} [/tex]
i=[tex] \sqrt{-1} [/tex]
x=[tex] \frac{ 2+/-2i\sqrt{3} }{2} [/tex]
x=[tex] 1+/-i\sqrt{3} [/tex]
x=[tex] 1-i\sqrt{3} [/tex] or x=[tex] 1+i\sqrt{3} [/tex] (those are the 2 numbers)