Question
Question: How do you find domain and range of \(f\left( x \right)=\dfrac{2}{x-5}\) ?...
How do you find domain and range of f(x)=x−52 ?
Solution
We have been given a fractional expression with linear functions in variable-x in the denominator. The denominator consists of a term in x-variable and a constant term, 5 but the numerator only has a constant term. We shall find all values of variable-x for which the given function is defined to find the domain of the function and we shall find all the values of the function f(x) for every value of x given as input to it.
Complete step-by-step answer:
Given that f(x)=x−52.
Any fractional function has one condition for which it is defined. The denominator of the fraction must not be equal to zero.
Hence, x−5=0.
We shall find the value of x for which the denominator of the fraction is zero, then we shall remove that value of x from the solution set of the domain of the function.
⇒x−5=0
Transposing 5 to the right hand side, we get
⇒x=5
Thus, the domain of the function is x\in \mathbb{R}-\left\\{ 5 \right\\}.
We shall find the inverse of the given function to find its range.
f(x)=x−52
⇒y=x−52
We shall first cross-multiply the terms and then write them in terms of variable-y.
⇒yx−5y=2
⇒yx=5y+2⇒x=y5y+2
⇒f−1(x)=y5y+2
This inverse function is valid for all values of y except y=0.
Therefore, y\in \mathbb{R}-\left\\{ 0 \right\\}.
Hence, the range of f(x)=x−52 is \mathbb{R}-\left\\{ 0 \right\\}.
Therefore, for function f(x)=x−52, the domain is x\in \mathbb{R}-\left\\{ 5 \right\\}and the range is f\left( x \right)\in \mathbb{R}-\left\\{ 0 \right\\}
Note:
In the solution set of the range of a given function, we have excluded 0 from the set of all real numbers because the function is not defined for this value of variable-y. The way we had searched for values of x for which the function was not defined to remove them from the solution set while computing the range of the function, similarly we had removed 0 from the solution set of range of function.