• Support PF! Buy your school textbooks, materials and every day products Here!

Continuity of x^2 and -x^2

  • Thread starter bertram
  • Start date
2
0
1. 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?

2. 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]

3. 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?
 

Answers and Replies

quasar987
Science Advisor
Homework Helper
Gold Member
4,771
7
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.
 
HallsofIvy
Science Advisor
Homework Helper
41,738
899
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?
 

Related Threads for: Continuity of x^2 and -x^2

  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
2
Views
808
  • Last Post
Replies
8
Views
1K
  • Last Post
Replies
2
Views
2K
Replies
1
Views
2K
Replies
4
Views
1K
Top