Continuous function example

  • Thread starter gaborfk
  • Start date
  • #1
53
0

Homework Statement



For each [tex]a\in\mathbb{R}[/tex], find a function [tex]f[/tex] that is continuous at [tex]x=a[/tex] but discontinuous at all other points.


The Attempt at a Solution



I guess I am not getting the question. I need to come up with a function, I was thinking of a piecewise defined one, half rational half irrational, which is continuous on one but not the other? Is this possible?

Thank you in advance
 

Answers and Replies

  • #2
1,631
4
what about f(x)={0, x-rational, x, where x irrational.
take a sequence {a} that converges to 0, from this sequence lets take two subsequences {b} of rationals, and {c} of irrationals, since {a} converges to 0 also {b} and {c} should converge to zero. now lets take the corresponding sequence of the function

f({a})-->0

f({b})-->x-->0

So this function i guess is continuous at x=0, since also f(0)=0, but it is discontinuous everywhere else.

Let's see what other guys have to say on this, cuz, i am not 100% sure that what i did actually works.
 
  • #3
53
0
Thank you!

That sound great.
 
  • #4
1,631
4
Thank you!

That sound great.
Can you show why the function that i took as an example, from the top of my head, is everywhere else discontinous, because i left this part for you to show.???
 
  • #5
53
0
Because there are infinitely many irrational numbers which would make the graph continuous on the irrationals, but on an interval there would be rationals mixed in between the irrationals?
 
  • #6
1,631
4
Because there are infinitely many irrational numbers which would make the graph continuous on the irrationals, but on an interval there would be rationals mixed in between the irrationals?
Well, try to use the same logic i used to show that it is continuous at 0. In other words try to use sequences and see if you can come up with sth. It is quite trivial frome here, i guess.
 

Related Threads on Continuous function example

Replies
11
Views
548
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
4
Views
714
  • Last Post
Replies
6
Views
6K
  • Last Post
Replies
2
Views
1K
Replies
7
Views
850
  • Last Post
Replies
2
Views
4K
Replies
5
Views
5K
Replies
5
Views
52K
Top