Question:medium

The range of the function \[ f(x)=\frac{x^2+x+1}{x^2-x+1} \] is

Show Hint

To find the range of a rational function, put \(y=f(x)\), form a quadratic equation in \(x\), and use the condition discriminant \(\geq 0\).
Updated On: Jun 26, 2026
  • \(\left[\frac{1}{3},3\right]\)
  • \(\left[\frac{1}{2},2\right]\)
  • \(\left[-\frac{1}{2},-\frac{1}{4}\right]\)
  • \(\left[-\frac{1}{2},2\right]\)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Check boundary values and monotonicity.
At \(x=0\): \(f(0)=1\). As \(x\to\infty\): \(f(x)\to 1\). At \(x=1\): \(f(1)=3/1=3\). At \(x=-1\): \(f(-1)=1/3\).

Step 2: Confirm the range by finding critical points.
Set \(y=\frac{x^2+x+1}{x^2-x+1}\), cross-multiply: \((y-1)x^2-(y+1)x+(y-1)=0\). For real \(x\), discriminant \(\geq0\): \((y+1)^2-4(y-1)^2\geq0\Rightarrow(y+1-2y+2)(y+1+2y-2)\geq0\Rightarrow(3-y)(3y-1)\geq0\Rightarrow y\in[1/3,3]\). \[ \boxed{\left[\dfrac{1}{3},3\right]} \]
Was this answer helpful?
0