Write the domain and range of the function f(x)=x−22−x.
We have,
f(x)=x−22−x
Domain of f : Clearly, f(x) is defined for all xϵR except for which
2−x≠0 i.e., x≠2
Hence, domain (f) = R - \{2\}
Range of f : Let f(x) = y
⇒x−22−x=y⇒−1(2−x)2−x=y⇒−1=y⇒y=−1
∴ Range (f) = (-1).