Step 1: Set up
Let \(y=\dfrac{x^2+2x+3}{x^2+x+1}\). The denominator is always positive because its discriminant is negative.
Step 2: Form the quadratic
\(y(x^2+x+1)=x^2+2x+3\Rightarrow (y-1)x^2+(y-2)x+(y-3)=0\)
Step 3: Discriminant
For real \(x\): \((y-2)^2-4(y-1)(y-3)\ge 0\Rightarrow -3y^2+12y-8\ge 0\Rightarrow 3y^2-12y+8\le 0\)
Step 4: Sum of endpoints
The range is \([a,b]\) where \(a,b\) are the roots of \(3y^2-12y+8=0\). Then \(a+b=\dfrac{12}{3}=4\).
Final Answer:
The sum a + b equals 4.
\[ \boxed{\text{(B) }4} \]