Question:

Let \(f:R\rightarrow R\) be defined by \(f(x)=\frac{x^{2}+2x+3}{x^{2}+x+1}\). If the range of \(f(x)\) is \([a,b]\), then \(a+b=\ldots\)

Show Hint

Put y equal to the function, form a quadratic in x and require a non-negative discriminant.
Updated On: Nov 12, 2026
  • \(2\)
  • \(4\)
  • \(\frac{4}{\sqrt{3}}\)
  • \(2\sqrt{3}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

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} \]
Was this answer helpful?
0
0