Solution:
Since y1+y2=1 and y1y2=6a, we have
(x2−y1x+a)(x2−y2x+a)=x4−(y1+y2)x3+(2a+y1y2)x2−a(y1+y2)x+a2=f(x)
b) The roots of f(x)=0 are the roots x1,x2 and x3,x4 of the equations
x2−y1x+a=0 and x2−y2x+a=0
respectively. It is easy to see that x1,x2,x3 and x4 are real, distinct and positive exactly when the following three conditions are simultaneously satisfied:
1) a=0,y1=y2 are real ⟺a=0,D=1−24a>0⟺a=0, a<241;
2) D1=y12−4a>0 and D2=y22−4a>0⟺y1>10a and y2>10a;
3) x1+x2=y1>0,x1x2=a>0,x3+x4=y2>0 and x3x4=a>0 ⟺y1>0,y2>0 and a>0.
These conditions are equivalent to 0<a<241,y1>10a and y2>10a, which is the same as 0<a<241,g(10a)>0 and 10a<21⟺0<a<241, 4a(25a−1)>0 and a<201.
Hence the required values of a are a∈(251,241).