Why aren't these functions the same?

  • Context: Undergrad 
  • Thread starter Thread starter Whistlekins
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary

Discussion Overview

The discussion revolves around the functions f(x) = (x^2+x-2)/(x-1) and g(x) = x+2, specifically addressing their domains and the implications of rewriting one function in terms of the other. Participants explore the mathematical principles behind domain definitions, limits, and function equivalence.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Mathematical reasoning

Main Points Raised

  • Some participants note that f has a domain of R\{1} while g has a domain of R, questioning why rewriting f as g does not change their respective domains.
  • Others argue that the expression (x^2+x-2)/(x-1) = x+2 is valid only for x ≠ 1, which affects the domain of the functions.
  • A participant suggests that the domain is a choice made by the person defining the function, allowing for the possibility of smaller or larger domains than the maximal possible domain.
  • Some participants discuss the role of limits, stating that while f(1) is undefined, the limit as x approaches 1 exists and equals 3.
  • There is a query about whether changing the domain of a function requires defining a new function, with some agreeing that it does.

Areas of Agreement / Disagreement

Participants express differing views on the nature of function domains, with some asserting that domains can be chosen freely while others emphasize the implications of limits and undefined points. The discussion remains unresolved regarding the extent to which domains can be altered and the equivalence of functions under different domain definitions.

Contextual Notes

Limitations include the ambiguity in defining domains and the implications of rewriting functions, as well as the unresolved nature of how domains can be modified without creating new functions.

Whistlekins
Messages
21
Reaction score
0
I have f(x) = (x^2+x-2)/(x-1) and g(x) = x+2

Now everyone would agree that f has a domain R\{1} and g has a domain R.

Yet I can write (x^2+x-2)/(x-1) = x+2

So why wouldn't g have a domain R\{1} if I rewrite the expression, and vice versa for f? What mathematical principle is behind this?
 
Mathematics news on Phys.org
Whistlekins said:
I have f(x) = (x^2+x-2)/(x-1) and g(x) = x+2

Now everyone would agree that f has a domain R\{1} and g has a domain R.

Yet I can write (x^2+x-2)/(x-1) = x+2

So why wouldn't g have a domain R\{1} if I rewrite the expression, and vice versa for f? What mathematical principle is behind this?

If you evaluate f(1) then you get an undefined value 0/0. Of course we know that

\lim_{x\to 1}f(x) = 3

But just because the limit exists doesn't mean that the function is defined at that point.
 
I understand that. But why can't I write g(x) = (x^2+x-2)/(x-1) = x+2 ?
 
Whistlekins said:
I have f(x) = (x^2+x-2)/(x-1) and g(x) = x+2

Now everyone would agree that f has a domain R\{1} and g has a domain R.

Yet I can write (x^2+x-2)/(x-1) = x+2

Only if x is not equal to 1. So you need to write ##\forall x \neq 1, \,\frac{x^2+x-2}{x-1} = x+2##

So why wouldn't g have a domain R\{1} if I rewrite the expression, and vice versa for f? What mathematical principle is behind this?

But you didn't rewrite the expression. If I define
##h : \mathbb{R} \to \mathbb{R}## with ##h(x) = \frac{x^2+x-2}{x-1}## and ##h(1) = 3## then that is indeed equal to g(x), but not equal to f(x).

There is a difference between you can do something, and you did something.
 
Last edited:
Whistlekins said:
I have f(x) = (x^2+x-2)/(x-1) and g(x) = x+2

Now everyone would agree that f has a domain R\{1} and g has a domain R.

I wouldn't agree with this. The domain is something chosen by the person who defines it. All we can say is that the maximal possible domain of ##f## is ##\mathbb{R}\setminus \{1\}##. But the domain can possibly be much smaller if we choose it to be.

Yet I can write (x^2+x-2)/(x-1) = x+2

So why wouldn't g have a domain R\{1} if I rewrite the expression, and vice versa for f? What mathematical principle is behind this?

The equation

\frac{x^2 + x - 2}{x-1} = x+2

is only valid for ##x\in \mathbb{R}## with ##x\neq 1##. For ##x=1##, it is not true. So we have that ##f(x) = x+2## for all ##x\in \mathbb{R}\setminus \{1\}##. The value ##f(1)## still isn't defined.

That ##f(1)=3## somehow, is false. However, this is why limits are invented. So we can say that
\lim_{x\rightarrow 1} f(x) = 3

So although ##f(1)## doesn't make sense, we can take the limit. The limit denotes the value that ##f(1)## would have been if it were defined in ##1## and if ##f## were to be continuous.
 
micromass said:
I wouldn't agree with this. The domain is something chosen by the person who defines it. All we can say is that the maximal possible domain of ##f## is ##\mathbb{R}\setminus \{1\}##. But the domain can possibly be much smaller if we choose it to be.

In fact it could also be larger. No body said x couldn't be complex.
 
pwsnafu said:
In fact it could also be larger. No body said x couldn't be complex.

Very true!
 
So if I previously define the domain, I can't change that domain unless I write an entirely new function?

Would it be true that if h(x) = x+2 , for all x in R\{1}, then f = h?
 
Whistlekins said:
So if I previously define the domain, I can't change that domain unless I write an entirely new function?

Would it be true that if h(x) = x+2 , for all x in R\{1}, then f = h?

Yes to both.
 
  • #10
Cool, thanks for helping me clear my confusion. I guess that never really got explained to me by anyone and I never picked up on it.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K