∣x∣<a⇒−a<x<+a ∴ the given inequality implies −2<x2+x+1x2+kx+1<2 ...(i)
Now x2+x+1=(x+21)2+43 is positive for all values of x.
Multiplying (i) byx2+x+1−2(x2+x+1)<x2+kx+1<2(x2+x+1)
This yields two inequations 3x2+(2+k)x+3>0 and x2+(2−k)x+1>0
For these quadratic expressions to be positive for all values of x, their discriminants must be negative
i.e., (2+k)2−36<0 and (2−k)2−4<0 ... (ii) (k+8)(k−4)<0 and k(k−4)<0 ... (iii) ∴ - 8 < k < 4 and 0 < k < 4
For both these conditions to be satisfied, 0 < k < 4.