x^2+x+m=0
△ = 1-4m ≥0
m≤1/4
x^2+2mx+m^2-m+2=0
△ = 4m^2 -4(m^2-m+2)≥0
4m-8 ≥0
m≥2
A∪B≠∅
=>A≠∅ or B≠∅
=> m≤1/4 or m≥2