Constructing a Piecewise Continuous Function at a Single Point

Click For Summary
SUMMARY

The discussion centers on constructing a piecewise continuous function that is continuous at a specific point \( x = a \) but discontinuous at all other points. The proposed function is defined as \( f(x) = 0 \) for rational \( x \) and \( f(x) = x \) for irrational \( x \). It is established that this function is continuous at \( x = 0 \) since both rational and irrational sequences converging to 0 yield the same limit. However, the function is discontinuous at all other points due to the density of rational numbers in any interval of real numbers.

PREREQUISITES
  • Understanding of piecewise functions
  • Knowledge of limits and continuity in real analysis
  • Familiarity with rational and irrational numbers
  • Basic concepts of sequences and convergence
NEXT STEPS
  • Study the properties of piecewise functions in calculus
  • Learn about the Bolzano-Weierstrass theorem and its implications for sequences
  • Explore examples of functions that exhibit discontinuity at multiple points
  • Investigate the concept of density in real numbers, focusing on rational and irrational distributions
USEFUL FOR

Mathematics students, educators, and anyone interested in real analysis, particularly those studying continuity and discontinuity in functions.

gaborfk
Messages
53
Reaction score
0

Homework Statement



For each a\in\mathbb{R}, find a function f that is continuous at x=a 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
 
Physics news on Phys.org
what about f(x)={0, x-rational, x, where x irrational.
take a sequence {a} that converges to 0, from this sequence let's take two subsequences {b} of rationals, and {c} of irrationals, since {a} converges to 0 also {b} and {c} should converge to zero. now let's 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.
 
Thank you!

That sound great.
 
gaborfk said:
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.?
 
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?
 
gaborfk said:
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.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K