Discontinuous functions

  • Thread starter Kate2010
  • Start date
  • #1
146
0

Homework Statement



I have to find f: R [tex]\rightarrow[/tex] R which is discontinuous at the points of the set {1/n : n a positive integer}[tex]\cup[/tex] {0} but continuous everywhere else.

Also find g: R [tex]\rightarrow[/tex] R which is discontinuous at the points of the set {1/n : n a positive integer}but continuous everywhere else.

Homework Equations





The Attempt at a Solution



Could I define f as f(x) = 1/(integer(x) -1) for x [tex]\in[/tex] [0,1) (where integer means round up to next integer), f(x) = x otherwise.

Similarly for g, can I say g(x) = 1/(integer(x) -1) for x [tex]\in[/tex] (0,1) (where integer means round up to next integer), g(x) = x otherwise.

I'm not too sure about these functions but cannot think of any more 'normal' ones that would satisfy the criteria.
 

Answers and Replies

  • #2
CompuChip
Science Advisor
Homework Helper
4,302
47
If you are looking for a 'normal' function, you probably want f(x) = 1/g(x), where g(x) has a zero at every integer n and at 0. In that case, I can think of a suitable g(x) off the top of my head.

By the way, note that restricting the domain to [0, 1) or (0, 1) does not define a function on R.
 
  • #3
146
0
Can I say f(x) = 1/g(x) where:
g(x) = 0 if x is in (0,1)
g(x) = 1 otherwise
 
  • #4
1,101
3
Well no, since then you are having it be discontinuous on (0,1). Perhaps try 1/g, where g is a step function with an appropriate argument so that you get 1/x back when x is of the form 1/n, but the left and right limits as you approach an x of this form are different fractions altogether.
 
  • #5
146
0
I think I may be confused about what 'at the points of the set' means, does it just mean the end points, I thought it meant all points in the set?

So for {1/n: n a positive integer} U {0} could I say:
f(x) = -1, x<0
f(x) = -1/2, x=0
f(x) = 1/x, 0<x<1
f(x) = 2, x>1

For {1/n: n a positive integer} I could change this to:
f(x) = -1, x[tex]\leq[/tex]0
f(x) = 1/x, 0<x<1
f(x) = 2, x>1
 

Related Threads on Discontinuous functions

  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
10
Views
813
  • Last Post
Replies
4
Views
5K
  • Last Post
Replies
3
Views
3K
Replies
1
Views
4K
Replies
6
Views
4K
Replies
1
Views
954
Replies
1
Views
2K
Top