We have,
x−y=3......(1)
xy=10......(2)
By equation (2) and we get,
y=10x
Then, put the value of y in equation (1) and we get,
x−10x=3
x2−10=3x
x2−3x−10=0
x2−(5−2)x−10=0
x2−5x+2x−10=0
x(x−5)+2(x−5)=0
(x−5)(x+2)=0
If x−5=0 then,x=5
If x+2=0 then,x=−2
Put the value of x in equation (2) and we get,
y=105=2
y=10−2=−5
Value of x4+y4
=(5)4+(2)2
=625+16
=641