Find the domain and the range of the real function, f(x)=x2+1x2−1
We have, f(x)=x2+1x2−1
Clearly, f(x) is defined for all real values of x except those for which x2−1=0, i.e., x=±1.
∴dom (f)=R−{−1,1}
Let y=f(x). Then,
y=x2+1x2−1⇒x2y−y=x2+1⇒x2(y−1)=(y+1)
⇒x2=y+1y−1⇒x=±√y+1y−1 ..... (i)
It is clear from (i) that x is not defined when y - 1 = 0 or when y+1y−1<0.
Now, y−1=0⇒y=1 ..... (ii)
And y+1y−1<0⇒(y+1>0) and y−1<0 or y+1<0 and y−1>0
⇒(y>−1 and y<1) or (y<−1 and y>1)
⇒−1<y<1 ...... (iii)
[∵y<−1 and y>1 is not possible]
Thus, x is not defined when −1<y≤1. [using (ii) and (iii)]
∴ range (f) = R - (-1, 1]
Hence, dom (f)=R−{−1,1} and range (f) = R - (-1, 1].