I feel so dumb for asking this question but domain of a rational function help

In summary, Cancellation produces a different function that happens to the same as f everywhere except at x=-3.
  • #1
dumbQuestion
125
0
Hello, I have a simple question that has bothered me forever.When I am given a rational function, say,

f(x) = (x2+x-6)/(x+3)say I want to look at the domain of this function. Well the first thing that catches my eye is the fact that if I plug in x=-3, the denominator will be 0, which would be undefined. So I immediately think, the domain of this function is all real numbers except -3. But then when I factor the numerator, I end up realizing that f can be written as:f(x) = (x-2)(x+3)/(x+3)I think to myself, ok, I can just cancel the (x+3) from the denominator and numerator, and now I just have the function f(x)=x-2Great! But that's not the case. I mean at least my calculus book gives me the impression that its not. In my book when introducing limits, they give that f(x) I listed as an example of a function where the function is not defined at a point because of a zero in the denominator. But why can't I just factor this out and cancel the (x+3) from the denominator? It makes me feel like whenever I'm doing ANY calculation with rational functions I shouldn't cancel out any of these (x+c) terms that are common in the numerator and denominator because I feel I'll be losing important information about the function (it's domain)! In other words: I no longer feel I can say (x+3)(x-2)/(x+3) = (x-2) because the function on the left doesn't have the same domain as the function on the right, so they aren't the same function!I just don't understand.
 
Physics news on Phys.org
  • #2
Whenever you cancel terms that are potentially zero you ought to write "either (the term) equals zero or ...".
f(x), as defined, specifies a sequence of operations to map from x to f(x). The final step is the division. If that leads to 0/0 then f(x) is undefined for that x.
Cancellation produces a different function that happens to the same as f everywhere except at x=-3, and is continuous everywhere.
 
  • #3
so in say a college algebra book when you are doing exercises about factoring and canceling, like say you have a problem f(x) = (x^2+x-6)/(x+3)

and then the problem says: reduce the function, and you end up with an answerf(x) = (x-2) its not really true? I mean... these really aren't the same function?
 
  • #4
No, they are not the same function. They are the same everywhere except at x= -3. (And any good textbook would specify that exception.) The first function is undefined at x= -3 while the second has the value f(-3)= -5. If we call f(x)= (x^2+ x- 6)/(x+3) and the second g(x)= x- 2, then "f(x)= g(x) for all x except x= -3".
 
  • #5
This is actually not a dumb question, it results from a good observation on your part.
 
  • #6
Sometimes, the difference between the function x-2 and the partial function (x2+x-6)/(x+3) is relevant.

Sometimes, the difference doesn't matter.Sometimes, they aren't different -- e.g. if you're defining functions on the domain of real numbers that aren't -3, or are doing algebra with formal rational functions.
 
  • #7
[tex]f(x) =\frac{x^2+x-6}{x+3}[/tex]
[tex]g(x) = x-2[/tex]

When using limits, f(-3) and g(-3) will return the same value

[tex]\lim_{x \to -3}f(x) = -5[/tex]
[tex]\lim_{x \to -3}g(x) = -5[/tex]
 
Last edited:
  • #8
Peppino said:
[tex]f(x) =\frac{x^2+x-6}{x+3}[/tex]
[tex]g(x) = x-2[/tex]

When using limits, f(-3) and g(-3) will return the same value

[tex]\lim_{x \to -3}f(x) = -5[/tex]
[tex]\lim_{x \to -3}g(x) = -5[/tex]

The big issue is that f(-3) isn't well defined, even though its limit is.

You have a special criteria for continuity which says that if the limit at a point equals the value of the function at that point then the function mapping is continuous. But in this case, although the limit is defined, the limit and the value of the function at this point are not the same (you get an ill-defined 0/0 for the actual value and not the limit).

Remember the limit is only equal to the value of the mapping in special cases (i.e. in continuous cases across the right interval).
 

Related to I feel so dumb for asking this question but domain of a rational function help

1. What is the domain of a rational function?

The domain of a rational function is the set of all real numbers that can be inputted into the function without causing an undefined output. In other words, it is the set of values that the independent variable can take on.

2. Why is it important to know the domain of a rational function?

Knowing the domain of a rational function is important because it helps us identify any potential restrictions on the input values. It allows us to determine where the function is defined and where it is not defined, which is crucial for solving equations and graphing the function.

3. How can I determine the domain of a rational function?

To determine the domain of a rational function, we need to look for any values that would cause the function to have an undefined output. This includes values that would result in a division by zero, an imaginary number, or any other undefined operation. We also need to consider any restrictions stated in the problem or given by the context of the situation.

4. Can the domain of a rational function be a range of numbers?

No, the domain of a rational function is always a set of numbers, not a range. A range refers to the set of possible output values, while the domain refers to the set of possible input values. A range can be a set of numbers, but a domain cannot be a range.

5. What happens if I include values outside of the domain in a rational function?

If you include values outside of the domain in a rational function, the function will either give an undefined output or it will not make sense in the context of the problem. In some cases, including values outside of the domain may result in incorrect solutions or misleading graphs.

Similar threads

Replies
3
Views
1K
  • Calculus
Replies
3
Views
972
  • Calculus
Replies
3
Views
1K
Replies
2
Views
1K
Replies
36
Views
4K
Replies
3
Views
2K
  • Calculus
Replies
25
Views
1K
Replies
31
Views
1K
Replies
4
Views
2K
Replies
2
Views
521
Back
Top