Possible values an expression can take : ##\dfrac{x^2-x-6}{x-3}##

AI Thread Summary
The discussion revolves around determining the possible values of the expression (x^2 - x - 6) / (x - 3). The initial attempts to solve the problem led to the conclusion that y could take all real values, but this overlooked the restriction that y cannot equal 5, as it corresponds to the undefined point x = 3 in the original function. The participants emphasize the importance of considering the function's domain when inverting it, noting that the discriminant alone does not account for discontinuities. Ultimately, the correct range of the function is established as all real numbers except for 5, highlighting the necessity of careful analysis when dealing with rational functions. The conversation underscores the complexities involved in finding inverses and the need to address domain restrictions explicitly.
brotherbobby
Messages
749
Reaction score
169
Homework Statement
Find the possible values that the following expression can take : ##\dfrac{x^2-x-6}{x-3}##
Relevant Equations
1. For a (rational) function of the form ##y=\frac{f(x)}{g(x)}##, we should have the function ##g(x)\ne 0\; \forall \; x##. This would determine the domain of the function ##\mathscr{D}##
2. If we can invert the function ##y=f(x)## to obtain ##x=f^{-1}(y)##, the allowable values of ##y## would determine the range of the function ##\mathscr{R}##.
1655209588860.png
Problem statement :
Let me copy and paste the problem as it appears in the text :
Attempt 1 (from text) : The book and me independently could solve this problem. I copy and paste the solution from the book below.

1655209411728.png


Attempt 2 (my own) : The problem should afford a solution using the second idea I put in the Relevant Equations above - namely that the range of the function can be obtained by inverting it. So let ##y=x^2−x−6x−3⇒x^2−x−6=xy−3y⇒x^2−x(1+y)+3(y−2)=0##. For the values of x to be real ##(x∈R)##, the discriminant of the function ##D=b^2−4ac≥0⇒(1+y)^2−12(y−2)≥0⇒y^2−10y+25≥0⇒(y−5)^2≥0##. But the square of a number is always greater than 0. Hence y, which is the expression, can take all values : ##y∈R##.

Issue : Clearly my answer misses out on y≠5. This could have been achieved if the discriminant D>0. However, the discriminant can be equal to 0 also, in which case we would only have one real root were the quadratic expression was set to zero.

A help or a hint would be welcome.
 
  • Like
Likes Delta2
Physics news on Phys.org
brotherbobby said:
But the square of a number is always greater than 0.
Not quite. The square of a number is always greater than or equal to 0.
brotherbobby said:
the range of the function can be obtained by inverting it. So let ##y=x^2−x−6x−3⇒x^2−x−6=xy−3y⇒x^2−x(1+y)+3(y−2)=0##.
Your first equation is incorrect, since you omitted the LaTeX to make it a fraction. It took me awhile to figure out how you got the 2nd equation from the first. First equation should be:
##y = \frac{x^2 - x - 6}{x - 3}##

To get to the 2nd equation, you need to multiply both sides by x -3, which presumes that ##x \ne 3##. If y = 5, x will equal 3.
 
Last edited:
  • Like
Likes Delta2
Notice the function is not defined for ##x=3 ##, as you noted. You can define it in any way you wish. There is one choice for ##x## that would make it continuous.
 
I want to respond to @Mark44 with apologies for my typing in ##\LaTeX##. Let me restate the problem and present both solutions as I attempted in my post # 1 above.

Problem statement : Find all the possible values that the expression can take : ##\dfrac{x^2-x-6}{x-3}##.

First Attempt : I paste my written solution below which agrees with the text. (I hope it's readable)

1655297997597.png


Answer : The expression can take values ##\boxed{\mathbb{R} - \{5\}}##.

Second attempt : This is the problematic part. By reason, if I substitute ##y=\dfrac{x^2-x-6}{x-3}## and then express ##x=f^{-1}(y)##, then the allowable values of ##y## is my domain.

I copy and paste, hoping it's readable.

1655298285617.png


The solution I now get is that ##y\in R##. Of course I am aware that ##x\ne 3##. However, that condition, or equivalently ##y \ne 5## must come automatically from the calculation above, but it doesn't.

Please tell me where am going wrong.
 
brotherbobby said:
The solution I now get is that ##y\in R##. Of course I am aware that ##x\ne 3##. However, that condition, or equivalently ##y \ne 5## must come automatically from the calculation above, but it doesn't.

Please tell me where am going wrong.
In your work toward solving for x in terms of y, you focused exclusively on the discriminant. The full equation involving x and y is ##x = \frac{1 + y \pm \sqrt{(y - 5)^2}}{2}##. Of course the discriminant is nonnegative for all real y, but if y = 5, x = 3, which is not in the domain of the original function.
So, as before, the domain for the "inverse" (which is not a function) is ##\{y \in \mathbb R, y \ne 5 \}##
 
I agree with you, but this means that it is not a straightforward thing to ascertain the domain of a function ##f(x)## by simply putting it equal to some variable ##y (=f(x))## and then inverting the function to see what appropriate values ##y## can then take. One might have to, at times, also look for the domain for the function ##(\text{values of x})## and then compute the values in the range (##y##) for those forbidden domain values of ##x##.

My example above in this thread is a good one. There is nothing in the inverted function of ## = f^{-1}(y)## to suggest that the value ##y=5## is forbidden. And yet it is, separately seen from the function ##f(x)## itself.

Thank you for your interest.
 
A case of indiscriminate use of the discriminant!
 
brotherbobby said:
I agree with you, but this means that it is not a straightforward thing to ascertain the domain of a function ##f(x)## by simply putting it equal to some variable ##y (=f(x))## and then inverting the function to see what appropriate values ##y## can then take. One might have to, at times, also look for the domain for the function ##(\text{values of x})## and then compute the values in the range (##y##) for those forbidden domain values of ##x##.
Sure, it's not 100% straightforward, but there are things you can watch out for. In this case, you multiplied both sides of the equation ##y = \frac{x^2 - x - 6}{x - 3}## by x - 3 to get to your second equation. That should be a red flag, because you're multiplying by 0 if x = 3. In the original function there will be a discontinuity at x = 3, and one needs to keep this fact in mind when solving for an "inverse."
brotherbobby said:
My example above in this thread is a good one. There is nothing in the inverted function of ## = f^{-1}(y)## to suggest that the value ##y=5## is forbidden. And yet it is, separately seen from the function ##f(x)## itself.
The "inverted function" ##f^{-1}(y)## is not a function, since for nearly every value of y there are two values of x. Finding the inverse of a function is fraught with difficulties, even with polynomials of low enough degree that an inverse can be found. When you are dealing with rational functions, as in this thread, there are problems with restricted domain that need to be addressed.
 
Last edited:
  • Like
Likes PeroK
Back
Top