Discussing continuity of a function

2 replies · 3K views · last reply
kmeado07
Messages
40
Reaction score
0

Homework Statement



Discuss the continuity of the function f defined for all x belongs to [0,1] by f(x)=x if x is rational and f(x)=x^2 is x is irrational.

Homework Equations





The Attempt at a Solution



I have no idea how to begin this question...some help would be great thanks!
 
Maybe you should try checking some points. Is f continuous at 0? How about sqrt(2)?
 
You will need to know
1) The definition of "continuous at a point".
2) The fact that there exist rational numbers in any interval, no matter how small.
3) The fact theat there exist irrational numbers in any interval, no matter how small.
The last two should help you find the limit, or determine if it does not exist, at any point.