Question
Question: How do you find the domain and range of \[f(x) = \dfrac{{{x^2} + 5x - 6}}{{{x^2} - 5x + 6}}\] ?...
How do you find the domain and range of f(x)=x2−5x+6x2+5x−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 solution:
Given, f(x)=x2−5x+6x2+5x−6. The given function in the form of fraction, we can never divide by zero. To find the domain by setting the denominator (x2−5x+6) equal to zero and solving for x, you can calculate the values that will be excluded in the function. Let consider the denominator which equate to zero
x2−5x+6
This can be solve for x by using the formula x=2a−b±b2−4ac
Where b=−5, a=1 and c=6, then
x=2(1)−(−5)±(−5)2−4(1)(6)
⇒x=25±25−24
⇒x=25±1
⇒x=25±1
⇒x=25+1 or x=25−1
On simplification, we get
x=3 or x=2
This means that, when x=2 or 3, we have the denominator x2−5x+6=0. It implies that f(x)=0x which is undefined.Hence, the domain is all real numbers except 2 and 3. Also, the domain of given function can be written as:
Df=(−∞,2)∪(2,3)∪(3,+∞)
Or
{D_f} = \mathbb{R} - \left\\{ {2,\infty } \right\\}
To Find the Range, Say the given function f(x)=y and rearrange the function as a quadratic equation.
y=x2−5x+6x2+5x−6
⇒y(x2−5x+6)=x2+5x−6
Take RHS to the LHS, then
yx2−x2−5yx−5x+6y+6=0
⇒(y−1)x2−5(y+1)x+6(y+1)=0
We know the quadratic formula x=2a−b±b2−4ac, that the solutions of x are real when b2−4ac⩾0
So likewise, we can written as 25(y+1)2−24(y−1)(y+1)⩾0
Now, we solve the inequality for the values set of values of y
25(y2+2y+1)−24(y2−1)⩾0
⇒25y2+50y+25−24y2+24⩾0
On simplification, we get
y2+50y+49⩾0
⇒y2+y+49y+49⩾0
⇒y(y+1)+49(y+1)⩾0
⇒(y+1)(y+49)⩾0
⇒(y+1)⩾0 or (y+49)⩾0
∴y⩾−1 or y⩾−49
Hence, the range is (−∞,−49]∪[−1,+∞) and the domain is all real numbers except 2 and 3.
Note: The domain where the x values ranges and the range where the y values ranges. Since the equation is a quadratic equation we find the value of x and then we determine the value of y for the values of x. We must the know the formula x=2a−b±b2−4ac to determine the value of x and it is applicable only to this problem since it contains quadratic equation.