Continuity of f(x) at Rational and Irrational Points

  • Thread starter bertram
  • Start date
  • Tags
    Continuity
In summary, the function f(x) is continuous at all irrational numbers and discontinuous at all rational numbers, except for one point where it is continuous due to the theorem (4.6 in Rudin). This is because there exists an irrational number between any two rational numbers, and this property causes the function to fail the continuity condition. However, at irrational numbers, the function satisfies the continuity condition and is therefore continuous.
  • #1
bertram
2
0

Homework Statement


f(x) = {x^2 [tex]x \in Q[/tex]
-x^2 [tex]x \in R/Q [/tex]
At what points is f continuous?

Homework Equations



continuity: for every [tex]\epsilon > 0 [/tex] there exists [tex]\delta > 0 d(f(x),f(p)) < \epsilon[/tex] for all points [tex]x\inE[/tex] for which d(x,p) < [tex]\delta[/tex]

The Attempt at a Solution


Alright my initial thought was that it would not be continuous at any point in Q, because for any two rationals there is an irrational between them (this is correct?), but then it would be continuous at all irrationals from a theorem (4.6 in Rudin) for [tex]p\in Q[/tex], lim(x-> p) f(x) = -p^2 [tex]\neq[/tex] p^2 = f(p)
However, then this function is continuous at irrationals. For [tex]p\in R/Q[/tex], lim(x-> p) f(x) = -p^2 = f(p)

is this reasoning sound ok?
 
Physics news on Phys.org
  • #2
I didn't bother understanding what you tried (it's not very clear)... but you seem to be playing with the right idea, using the density of Q and R\Q to show failure of continuity. You should be able to use this reasoning to show that f is discontinuous everywhere but at one point.
 
  • #3
You can say that f(x) is continuous at x0 if and only if lim f(xn)= f(x0) for every sequence {xn} converging to x0. But you can't restrict that to rational numbers only or irrational numbers only.

Notice that the f(xn) will be close to f(x0) for both rational and irrational xn if and only if x02= -x02. For what x0 is that true?
 

FAQ: Continuity of f(x) at Rational and Irrational Points

1. What is the definition of continuity?

Continuity is a property of a function where the function is unbroken or connected at every point in its domain.

2. How is the continuity of a function determined?

The continuity of a function is determined by checking if the limit of the function exists and is equal to the value of the function at that point.

3. Is x^2 a continuous function?

Yes, x^2 is a continuous function as it is a polynomial function and all polynomial functions are continuous.

4. Is -x^2 a continuous function?

Yes, -x^2 is a continuous function as it is also a polynomial function.

5. Are there any discontinuities in the function x^2 and -x^2?

No, both x^2 and -x^2 are continuous functions and therefore do not have any discontinuities.

Back
Top