RATIONAL INEQUALITY - Find the values of a such that range of $f(x)=\frac {x+1}{a+x^2}$ contains $[0,1]$ Find the values of $\text{“}a\text{''}$ such that range of $f(x)=\frac{x+1}{a+x^2}$ contains $[0,1]$
 where  am i  wrong ??:
I took $2$ cases :
Case $1$ : $a+x^2 \gt 0$
, I solved the inequality $f(x) \ge 0$ , $f(x) \le 1$,
Case $2$: $a+x^2 \lt 0$
 , Then I solved inequality $f(x) \ge 0$ , $f(x) \le 1$
If i am wrong , 
HOW CAN I SOLVE THIS  PROBLEM ?
 A: Your mistake is quite common, and it happened in the step of converting a text question into mathematical language.

Think about what the expression "the range of $f$ contains $[0,1]$" actually means. It means that $[0,1]$ is a subset of the range of $f$, or in other words, that every $y\in[0,1]$, is an element of the range of $f$. 
For example, the function $f(x)=x$ satisfies the condition "the range of $f$ contains $[0,1]$", since the range of $f$ is $\mathbb R$, and $\mathbb R$ contains $[0,1]$.
On the other hand, the function $g(x)=\frac12$ does not satisfy the condition, because the range of $g$ is $\{\frac12\}$.
Another function, $h(x)=\sin^2 x$, also satisfies the condition, but "just barely", since the range of $h$ is $[0,1]$, which contains $[0,1]$ (but any smaller set does not).

Now, think about what the demand $0\leq f(x)\leq 1$ actually means. It means that for every $x$, you have $f(x)\in [0,1]$. In other words, you demand that the range of $f$ is contained in $[0,1].
Let's take a look at the previous examples:
$f(x)=x$ does not satisfy this condition, since $f(x)\leq 1$ is not true for $x=3$.
$g(x)=\frac12$ obviously satisfies this condition.
$h(x)=\sin^2 x$ satisfies this condition, but barely (both $0$ and $1$ are reached by $h$ at some point).

So, the conclusion here is that you were looking at functions that have ranges, contained in $[0,1]$, instead of looking at functions that have ranges that contain $[0,1]$.
A: Look at values for $a$ that create a different type of function or function range.
Try first to check when $f(x)$ can reach the values 0 and 1.
You will for instance notice that if $a>\frac{5}{4}$, then the value 1 will not be reached. And when $a<=0$, then the denominator leads to quite a different graph.
A: Here $a$ can not be negative or $0\;,$ otherwise $f(x)$ is unbounded.
Now for $a>0,$ we get $f(x)<0\;\forall x<-1$
Hence $a\in \phi$
