Question
Question: How do you find the domain and range of \(f(x) = \sqrt {{x^2} - x - 6} \)?...
How do you find the domain and range of f(x)=x2−x−6?
Solution
The domain of a function is the complete step of possible values of the independent variable. That is the domain is the set of all possible ‘x’ values which will make the function ‘work’ and will give the output of ‘y’ as a real number. The range of a function is the complete set of all possible resulting values of the dependent variable, after we have substituted the domain.
Complete step by step answer:
Given, f(x)=x2−x−6. To find where the expression is well defined we set the radicand in x2−x−6 greater than or equal to zero. That is
x2−x−6⩾0
We can expand the middle term as
x2−3x+2x−6⩾0
Taking ‘x’ common in the first two terms and 2 common in the remaining two terms we have,
x(x−3)+2(x−3)⩾0
Again taking (x−3) common we have
(x−3)(x+2)⩾0
(x−3)⩾0 and (x+2)⩾0
x⩾3 and x⩾−2
The domain is all values of ‘x’ that make the expression defined.
That is (−∞,−2]∪[3,+∞).
We can write this in set builder form,
The domain is x∈R:−2⩽x⩽3
We have a domain the range is the set of all valid f(x) values.
Since { x \in R: - 2 \leqslant x \leqslant 3\} $
If we put x=3,4,5,... and x=−2,−3,−4,...in f(x)=x2−x−6
We will have f(x)⩾0. That is
Put x=3 in f(x)=x2−x−6 we have,
f(x)=32−3−6
⇒f(x)=9−3−6
⇒f(x)=0
⇒f(x)=0
Put x=−2 in f(x)=x2−x−6 we have,
f(x)=(−2)2−(−2)−6
⇒f(x)=4+2−6
⇒f(x)=0
⇒f(x)=0
Put x=4 in f(x)=x2−x−6 we have,
f(x)=42−4−6
⇒f(x)=16−4−6
⇒f(x)=6
∴f(x)=2.449
For x=−3 we will have f(x)⩾0 and so on. We can say that the range is f(x)⩾0. That is all non-negative real numbers.
The set builder form is f(x)∈R:f(x)⩾0. This is the required range and the domain is x∈R:−2⩽x⩽3.
Note: We know that if we have a. Then ‘a’ is called radicand. Also in the above domain we have a closed interval, hence we can include 3 and -2. When finding the domain remember that the denominator of a fraction cannot be zero and the number under a square root sign must be positive in this section. We generally use graphs to find the domain and range. But it is a little bit difficult to draw.