Find all pairs (x,y) of real numbers such that x + y = 10 and x^2 + y^2 = 56.
If you give an answer, please, please explain it.
thanks for helping.
Note that (x+y)2−2xy=100−2xy=x2+y2=56→100−2xy=56→xy=22,x+y=10. So x and y are the roots to this quadratic: z2−10z+22=0→z2−10z+25=3→(z−5)2=3→z=5±√3→(x,y)=(5+√3,5−√3),(5−√3,5+√3).