Hello
i need to show the following function is not continuous anywhere else but 0.
if x is rational
if x is irrational
I have read the guide on epsilon delta proof and have managed to work out part of it, i have found that it is continuous at 0, and that is fine and completed.
I'm very stuck on the rest though. I tried to do this:
If a is a rational number there exists a set of numbers that converge to f(a).
So
If a is an irrational number, there exists a set of numbers that converge to f(a).
So
which are different, and therefore the function is not continuous when x is not 0.
Is this a valid proof?
Many Thanks
This is my proof that the function is continuous at 0:
Let , and suppose that . Let . Then if then
|f(x)-f(0)| =
If a= 0, however, then f(a)= 0. If x is a rational number close to 0, then f(x)= x^2 is close to 0 and if x is an irrational number, f(x)= 0 so the limit, as x-> 0, exists and is equal to 0. The function is continuous at x= 0.
It is the bit for being discontinuous everywhere else i am confused on!
Thanks for the reply btw
Well, the problem with f is that arbitrarily close to every rational number there is an irrational number, and vice versa. So if x is rational and then you have that , but arbitrarily close to this rational number x there is always an irrational x', for which .
Or to put it another way; for any rational x there exists a sequence of irrational numbers that converge to x, but for which the values are always 0, and hence do not converge to .
Similarly, if x is an irrational number you have that , but arbitrarily close to this irrational number there is always a rational number x', for which .
Well, I just wanted to make sure that you start out with the right intiution. Next comes writing down the proof with all the necessary detail. If the exercise explicitly asks for an epsilon-delta proof, so be it. If not, you have the choice to argue for / against continuity of f at via , and , respectively.
But note, that there are three cases to consider: and .
Thanks again.
So for x = 0, would the proof i gave in post 3 be sufficient ?
And then for the other two cases,
i can then prove it using limits?
If the limits are not equal to each other then the fucntion does it mean that the function is discontinuous for those two cases?
Also, can you please explain to me why my first post is wrong?
Thankyou, your help is greatly appreciated!
Well, it looks like it, and, yes, it is an epsilon-delta proof.
The question is not so much whether to do an epsilon-delta proof of discontinuity or one via limits: it is whether you are allowed to assume it to be known that (1) arbitrarily close to every irrational number there is a rational number and (2) arbitrarily close to every rational number there is an irrational number.And then for the other two cases,
i can then prove it using limits?
To show discontinuity of f at x=a using an epsilon-delta argument amounts to showing that there exists an such that for every there exists an x such that and . (Because this is the exact opposite - the logical negation - of what you would have to show if you wanted to use an epsilon-delta argument to prove that f is continuous at a.)
Example: If (i.e. a is rational, ) you can take . Now let be given (no matter how small). There always exists an irrational x such that for which we have that .
Thus f is discontinuous at a.
If, on the other hand, you wanted to use a limit argument, you could do it like this: there exists a sequence of irrational numbers with , hence f is discontinuous at a.
Can you now try to write down something similar for the remaining case of x being irrational (and, therefore, also non-zero)?
One problem was that you just wrote of a sequence of numbers that converge to f(a). But what you need is a sequence of a particular kind of number (depending on which case you are discussing you need a sequence of irrational numbers or a sequence of rational numbers). Also, you need that this sequence converges to a and not that it converges to f(a), as you wrote. Because: if you want to test a function for continuity, you are getting closer to a on the x-axis, so to speak, and check whether the corresponding values of f tend to the value f(a) or whether they tend to some different value.Also, can you please explain to me why my first post is wrong?
Thank you so much! you have helped me a lot.
For the irrational numbers, could i possibly do it the same: and suppose . Take .
So there is always a rational number, a such that
and so
and so f is discontinuous.
am i allowed to pick that value of epsilon or should it be the same as before?
thanks again!
Opps, no, I am sorry, but that particular value of does not work: you need to specify an (that is strictly greater than 0).
You could take , because we have assumed a to be irrational, therefore it is , and thus .
There is a slight problem here, but it is just one of the naming convention the two of us are using, and that doesn't seem to be quite the same. I assumed that a is the non-zero real number where you want to show that f is not continuous, while you seem to be assuming that x is that number. It doesen't really matter which of the two naming conventions you are using, but you need to use the same convention throughout the proof(s).So there is always a rational number, a such that
So let me change your use of x and a from
toand so
and so f is discontinuous
This almost works. Almost, because: no matter how close you choose x to be to the positive irrational number a, as long as it is very close to a but smaller than a you get that so that you would have that , which is not at all what we want in order to show that f is discontinuous at a.and so
and so f is discontinuous
One way out out is to require, not only that the rational number x satisfy the condition , but in addition that |x| be larger than |a|, which is aways possible. (We need to use the condition here, because a need not be positive: it could be negative, in which case the square of a number larger than a could actually be smaller than the square of a itself, and thus smaller than our chosen value for .)
So let me sum it up: let a be irrational (and therefore also be non-zero), and let . Then, for any , no matter how small, there will always be a rational number x such that and , and therefore , and thus, since was arbitrary (and arbitrarily small at that), f is discontinuous at a.
No, as I wrote, in order to refute continuity of f at a you absolutely need to pick a value of that is strictly greater than 0. But apart from that condition, , you are free to choose any number for , provided of course, that that number allows you to prove that it then follows that for any (no matter how small) there exists an x with , such that .am i allowed to pick that value of epsilon or should it be the same as before?
Please note another problem with your above attempts: you repeatedly wrote "and so f is discontinuous". This is, imho, not sufficiently precise: What you are proving this way is not that "f is discontinuous", but that "f is discontinuous at a" (where a, in our case, is any irrational number).
So try to make it a habit to be very, very precise when stating what, exactly, your argument is intended to prove.
Oh i see, and yes sorry about the a and x mixup! i see what you are saying now.
Thank you so much for your help, I think I understand it now! A lot better than before anyway so thankyou very much for all of your help and patience with me.
And thanks for the last comment too, i should learn to be more precise!