Continuity on a piece-wise function

In summary: If x0= 0, then for any \delta> 0, there exist rational 0< x< \delta and irrational -\delta< y< 0. For such x, f(x)= x2 is in (-x0^2, x0^2)= (-\epsilon, \epsilon) and for such y, f(y)= -y2 is in (-\epsilon, \epsilon).In summary, A piece-wise function is given with two different definitions for x in rational and irrational numbers respectively. The continuity of the function is analyzed using two different definitions. It is proved that the function is continuous at 0 and discontinuous at all other points, by showing that for any \delta
  • #1
varygoode
45
0
[SOLVED] Continuity on a piece-wise function

Problem:

Suppose:

[tex] f(x)=\left\{\begin{array}{cc}x^2, &
x\in\mathbb{Q} \\ -x^2, & x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right [/tex]

At what points is [tex] f [/tex] 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 [tex] f:X \rightarrow Y [/tex], with [tex] X, Y [/tex] metric spaces and the distance between [tex] x, x_0 \in X, y, y_0 \in Y [/tex]
denoted as [tex] d_X(x, x_0), d_Y(y, y_0) [/tex], respectively, is called [tex] continuous \ at \ a \ point \ x_0 [/tex] if, [tex] \forall \ \varepsilon > 0 \ \exists \ \delta > 0[/tex] such that:

[tex] d_X(x, x_0) \leq \delta \Rightarrow d_Y(f(x), f(x_0)) \leq \varepsilon [/tex]​

So, I'm just assuming that our distances are regular distance in [tex] \mathbb{R} [/tex], as this assumption is normal in my class when both sets are over subsets of [tex] \mathbb{R} [/tex].

Now, my question is as follows: should there be four cases here? One with both [tex] x, x_0 [/tex] (as in the definition) in [tex] \mathbb{Q} [/tex], one with both in [tex] \mathbb{R}\setminus\mathbb{Q} [/tex], 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 [tex] x, x_0 \in \mathbb{R}\setminus\mathbb{Q} [/tex]. But I may be thinking about this all wrong.

Any ideas/suggestions/corrections/praise?
 
Physics news on Phys.org
  • #2
Another characterization of continuity that you will recognize from your real analysis course is that f is continuous at x0 iff for all sequences x_n that converge to x0, the sequence of images f(x_n) converges to x0.

In particular, if you can find a sequence such that x_n-->x0 but f(x_n) does not converge to f(x0), then you will have shown that f is not continuous at x0.
 
  • #3
Where do you suggest I start?

I know a sequence of rationals exists that converges to an arbitrary real number; that's a widely-known theorem.

But I don't know what number I should try to make such a sequence to converge to in order to arrive at some concrete conclusion(s).

Also, any other ideas (especially using the given definition) would be just as great.

Thanks!
 
  • #4
I don't what what more to say without giving it away. I'll just repeat my hint:

"If you can find a sequence such that x_n-->x0 but f(x_n) does not converge to f(x0), then you will have shown that f is not continuous at x0."
 
  • #5
You might try graphing that function! Actually, you can't graph individual rational and irrational values but you get basically the same thing by graphing y= x2 and y= -x2. That should make it obvious where your function is continuous!
 
  • #6
Is it continuous only at 0?

This is interesting, indeed.

I think I can rule out it being continuous at any irrational point. Since I can always find a sequence of rationals (only) to converge to any real number, I can find (in particular) such a sequence to converge to any irrational. But then f(sequence of rationals) will stay positive, but f(irrational) will be the opposite of whatever it was. So, if the irrational is positive, it's opposite will be negative. So any sequence of all positive numbers won't converge to a negative number. But I'm not sure what's going on for a negative irrational.

Or for the rationals, for that matter.

But I get the feeling 0 may be the only continuous point here. Just I don't see why yet.
 
  • #7
your intuition is correct.

think some more about this and convince yourself that the argument you applied (my hint) for any point except 0.

then prove it is continuous at 0.

note: there is also an infinity of irrationnal numbers in any interval. (In fact, you could say that there are MORE irrationals than rationals in any interval because there are countably many rationals, but uncountably many irrationals)
 
  • #8
If x0 is not 0, then x02 is positive. Take [itex]\epsilon= x_0^2/2[/itex]. Now, either x0 is rational or x0 is irrational.

If x0 is rational, then f(x0)= -x02. But, for any [itex]\delta> 0[/itex], there exist irrational x, with [itex]|x- x_0|< \delta[/itex]. For such an x, f(x)= x2> 0 and so not within [itex]\epsilon[/itex] of f(x0).

I'll leave "if x0 is irrational" to you.
 

1. What is a piece-wise function?

A piece-wise function is a mathematical function that is defined by different equations or rules over different intervals of the function's domain. This means that the function may have different forms or behaviors in different regions.

2. What does it mean for a piece-wise function to be continuous?

A piece-wise function is continuous if it does not have any breaks or jumps in its graph. In other words, the function is continuous if it can be drawn without lifting the pencil from the paper.

3. How can I determine if a piece-wise function is continuous?

To determine if a piece-wise function is continuous, you need to check if the function is defined at the points where the different pieces of the function meet. If the function is defined at these points and the limit of the function exists at those points, then the function is continuous.

4. What happens when a piece-wise function is not continuous at a certain point?

If a piece-wise function is not continuous at a certain point, it means that the function has a break or jump at that point. This can happen if the function is undefined at that point or if the limit of the function does not exist at that point.

5. Can a piece-wise function be continuous at all points?

Yes, a piece-wise function can be continuous at all points if the function is defined at all points and the limit of the function exists at all points. This means that the function has a smooth and continuous graph with no breaks or jumps.

Similar threads

  • Calculus and Beyond Homework Help
Replies
26
Views
896
  • Calculus and Beyond Homework Help
2
Replies
51
Views
3K
  • Calculus and Beyond Homework Help
Replies
13
Views
965
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
Back
Top