Discontinuity at certain points

  • #1
rainwyz0706
36
0

Homework Statement



1.Find a function f : R → R which is discontinuous at the points of the set
{1/n : n a positive integer} ∪ {0} but is continuous everywhere else.
2. Find a function g : R → R which is discontinuous at the points of the set
{1/n : n a positive integer} but is continuous everywhere else.


Homework Equations





The Attempt at a Solution


I'm thinking of making f(x)=0 at points that f is discontinuous and f(x)=x everywhere else. But that only works for 2, not 1, right? Could anyone give me some hints? I'm not sure what the question is asking for. Thanks!
 

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
43,021
973
Why not just f(x)= 1 if x= 1/n for some positive integer n or x= 0, 0 otherwise?
 
  • #3
vaibhav1803
69
0
only discontinuous..?
try, f(x) =[1/x]...where...[y] is the greatest integer less than or equal to y or as you would call, floor(y)...f(1/n) leads to a jump discontinuity one you can never fix, and hence an implied non-differentiability.
 

Suggested for: Discontinuity at certain points

  • Last Post
Replies
4
Views
291
Replies
2
Views
416
Replies
22
Views
1K
Replies
1
Views
947
Replies
11
Views
898
Replies
8
Views
829
Replies
9
Views
532
Replies
26
Views
1K
Top