varygoode
- 45
- 0
[SOLVED] Continuity on a piece-wise function
Problem:
Suppose:
f(x)=\left\{\begin{array}{cc}x^2, &<br /> x\in\mathbb{Q} \\ -x^2, & x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right
At what points is f continuous?
Relevant Questions:
This is in a classical analysis course, not a real analysis course. So we use the metric defininition of continuity:
A function f:X \rightarrow Y, with X, Y metric spaces and the distance between x, x_0 \in X, y, y_0 \in Y
denoted as d_X(x, x_0), d_Y(y, y_0), respectively, is called continuous \ at \ a \ point \ x_0 if, \forall \ \varepsilon > 0 \ \exists \ \delta > 0 such that:
So, I'm just assuming that our distances are regular distance in \mathbb{R}, as this assumption is normal in my class when both sets are over subsets of \mathbb{R}.
Now, my question is as follows: should there be four cases here? One with both x, x_0 (as in the definition) in \mathbb{Q}, one with both in \mathbb{R}\setminus\mathbb{Q}, and two with one in each? Is there more, less? Am I looking at this the wrong way?
Solution Attempt:
I started doing it with the four situation case, and I was getting that it is continuous only when x, x_0 \in \mathbb{R}\setminus\mathbb{Q}. But I may be thinking about this all wrong.
Any ideas/suggestions/corrections/praise?
Problem:
Suppose:
f(x)=\left\{\begin{array}{cc}x^2, &<br /> x\in\mathbb{Q} \\ -x^2, & x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right
At what points is f continuous?
Relevant Questions:
This is in a classical analysis course, not a real analysis course. So we use the metric defininition of continuity:
A function f:X \rightarrow Y, with X, Y metric spaces and the distance between x, x_0 \in X, y, y_0 \in Y
denoted as d_X(x, x_0), d_Y(y, y_0), respectively, is called continuous \ at \ a \ point \ x_0 if, \forall \ \varepsilon > 0 \ \exists \ \delta > 0 such that:
d_X(x, x_0) \leq \delta \Rightarrow d_Y(f(x), f(x_0)) \leq \varepsilon
So, I'm just assuming that our distances are regular distance in \mathbb{R}, as this assumption is normal in my class when both sets are over subsets of \mathbb{R}.
Now, my question is as follows: should there be four cases here? One with both x, x_0 (as in the definition) in \mathbb{Q}, one with both in \mathbb{R}\setminus\mathbb{Q}, and two with one in each? Is there more, less? Am I looking at this the wrong way?
Solution Attempt:
I started doing it with the four situation case, and I was getting that it is continuous only when x, x_0 \in \mathbb{R}\setminus\mathbb{Q}. But I may be thinking about this all wrong.
Any ideas/suggestions/corrections/praise?