Question
Question: How do you find the domain and range of \(f\left( x \right) = \sqrt {x - 2} \)?...
How do you find the domain and range of f(x)=x−2?
Solution
First, determine the domain of the real function f(x) by finding all those real numbers for which the expression for f(x) or the formula for f(x) assumes real values only. Next, determine the range of the given function. For this, put y=f(x) and solve the equation y=f(x) for x in terms of y. Next, put x=ϕ(y) and find the values of y for which the values of x, obtained from x=ϕ(y), are real and in the domain of f. Thus, the set of values of y obtained is the range of f.
Formula used:
Domain of real functions:
The domain of the real function f(x) is the set of all those real numbers for which the expression for f(x) or the formula for f(x) assumes real values only. In other words, the domain of f(x) is the set of all those real numbers for which f(x) is meaningful.
Range of real functions:
The range of a real function of a real variable is the set of all real values taken by f(x) at points in its domain. In order to find the range of a real function f(x), we may use the following algorithm.
Algorithm:
Step I Put y=f(x).
Step II Solve the equation y=f(x) for x in terms of y. Let x=ϕ(y).
Step III Find the values of y for which the values of x, obtained from x=ϕ(y), are real and in the domain of f.
Step IV The set of values of y obtained in step III is the range of f.
Complete step by step solution:
Given function: f(x)=x−2
We have to find the domain and range of a given function.
First understand the concept of domain, then determine the domain of given function.
Since we know that the domain of the real function f(x) is the set of all those real numbers for which the expression for f(x) or the formula for f(x) assumes real values only. In other words, the domain of f(x) is the set of all those real numbers for which f(x) is meaningful.
Here, f(x)=x−2
Clearly, f(x) assumes real values, if
x−2⩾0
⇒x⩾2
⇒x∈[2,∞)
Hence, Domain (f) =[2,∞).
Now, determine the range of the given function.
For this, put y=f(x) and solve the equation y=f(x) for x in terms of y.
⇒y=x−2
Square both sides of the equation, we get
⇒y2=x−2
⇒x=y2+2
Now, put x=ϕ(y) and find the values of y for which the values of x, obtained from x=ϕ(y), are real and in the domain of f.
Clearly, Range (f) =[0,∞).
Therefore, the domain of given function is [2,∞) and range is [0,∞).
Note: In above question, we can determine the domain and range of a given question by simply drawing the graph of the function.
Final solution: Therefore, the domain of given function is [2,∞) and range is [0,∞).