We have a real-valued function f:R→R defined by
f(x)=1+x2x,x∈R.
To determine the range of f we need all possible values taken by 1+x2x as x varies over every real number.
Because the expression is a quotient of differentiable functions and the denominator 1+x2 is never zero, f(x) is continuous for every real x. For a continuous function on the entire real line, extreme values (if any) will occur either at critical points (where the derivative is zero or undefined) or as x→±∞.
First we compute the derivative. We state the Quotient Rule: if g(x)=v(x)u(x) with both u,v differentiable and v(x)=0, then
g′(x)=[v(x)]2u′(x)v(x)−u(x)v′(x).
Here u(x)=x and v(x)=1+x2. Their derivatives are u′(x)=1 and v′(x)=2x. Substituting into the Quotient Rule we obtain
f′(x)=(1+x2)21⋅(1+x2)−x⋅(2x)=(1+x2)21+x2−2x2=(1+x2)21−x2.
A critical point occurs where f′(x)=0 or f′(x) is undefined. The denominator (1+x2)2 is always positive, so the only way f′(x)=0 is when the numerator 1−x2=0. Solving,
1−x2=0⟹x2=1⟹x=±1.
Thus, the critical points are x=1 and x=−1. We now evaluate f(x) at these points:
For x=1:
f(1)=1+121=21.
For x=−1:
f(−1)=1+(−1)2−1=2−1.
Next, we study the behaviour of f(x) as x tends to infinity or minus infinity. We write
limx→∞f(x)=limx→∞1+x2x=limx→∞1/x2+11/x=0+10=0.
Similarly,
limx→−∞f(x)=0.
So the function approaches 0 from both sides but never exceeds (in magnitude) the values found at the critical points. To confirm that 21 is the greatest and −21 is the least value, we examine the sign of the derivative.
Using f′(x)=(1+x2)21−x2, notice
- When ∣x∣<1, the numerator 1−x2>0, so f′(x)>0 and the function is increasing.
- When ∣x∣>1, the numerator 1−x2<0, so f′(x)<0 and the function is decreasing.
Hence x=1 gives a local maximum value 21, and x=−1 gives a local minimum value −21. There are no larger or smaller values because the function decreases as we move away from these points and approaches 0 asymptotically.
Therefore the set of all values attained by f(x) is the closed interval
[−21,21].
So the range is exactly [−21,21], which corresponds to Option A.
Hence, the correct answer is Option A.